| | |
| | | </view> |
| | | </u-form> |
| | | <button class="submit-btn" @click="sumitInfo">提交</button> |
| | | <!-- <button class="list-btn" @click="navigatorPage">我上报的事件</button> --> |
| | | <button class="list-btn" @click="navigatorPage">我上报的事件</button> |
| | | <u-datetime-picker ref="datetimePicker" :show="showSelectDate" v-model="checkTime" mode="datetime" |
| | | :formatter="formatter" @confirm="confirmDate" @cancel="showSelectDate = false"></u-datetime-picker> |
| | | <u-picker :show="isShowFireStatus" :columns="fireStatus" :defaultIndex="fireStatusIndex" |
| | |
| | | onReady() { |
| | | // 微信小程序需要用此写法 |
| | | this.$refs.datetimePicker.setFormatter(this.formatter) |
| | | console.log("==>", this) |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | title: '提交成功', |
| | | success() { |
| | | setTimeout(() => { |
| | | that.$u.func.globalNavigator("", "navBack") |
| | | uni.navigateBack() |
| | | // that.$u.func.globalNavigator("", "navBack") |
| | | }, 1000) |
| | | } |
| | | }) |
| | |
| | | }) |
| | | }, |
| | | navigatorPage() { |
| | | let url = "/subPackage/bs/views/repairList" + "?title=" + this.title + "&type=" + this.info.type |
| | | this.$u.func.globalNavigator(url, "navTo") |
| | | this.$u.func.globalNavigator('hotelList', "navTo") |
| | | } |
| | | } |
| | | } |