| | |
| | | <u-button class="btn-item" color="#2CD5C0" plain style="width: 300rpx;" @click="addRentForm">再加一人</u-button>
|
| | | <u-button class="btn-item" type="error" @click="isModelShow = true" v-if="btnControls.deleteBtn">删除
|
| | | </u-button>
|
| | | <u-button class="btn-item" type="success" @click="verify" v-if="btnControls.verifyBtn">确认</u-button>
|
| | | <u-button class="btn-item" type="success" @click="verifyConfirm" v-if="btnControls.verifyBtn">确认</u-button>
|
| | | <u-button class="btn-item" color="linear-gradient(to right, #06B0FD, #027BFE)" @click="saveOrUpdate">
|
| | | {{ rentId === '' ? "保存" : "确认修改" }}</u-button>
|
| | | </view>
|
| | |
| | | verify() {
|
| | | this.isAuditShow = true
|
| | | },
|
| | | verifyConfirm(e) {
|
| | | const auditStatus = e.value[0].status
|
| | | verifyConfirm() {
|
| | | // const auditStatus = e.value[0].status
|
| | |
|
| | |
|
| | |
|
| | | uni.showModal({
|
| | | title: "提示",
|
| | | content: "是否确认该租户?",
|
| | | success: (res) => {
|
| | | if (res.confirm) {
|
| | | this.confirmRequest();
|
| | | }
|
| | | }
|
| | | })
|
| | |
|
| | |
|
| | | },
|
| | |
|
| | | confirmRequest() {
|
| | | confirmHouseRental({
|
| | | id: this.rentId,
|
| | | auditStatus
|
| | | auditStatus: 1
|
| | | }).then(res => {
|
| | | const {
|
| | | code,
|
| | | data
|
| | | } = res
|
| | | if (code !== 200) {
|
| | | uni.showToast({
|
| | | title: "确认失败",
|
| | | icon: 'error'
|
| | | })
|
| | | this.$showTips("确认失败", 'error')
|
| | | return
|
| | | }
|
| | | uni.showToast({
|
| | | title: "确认成功",
|
| | | icon: 'success'
|
| | | })
|
| | | this.isAuditShow = false
|
| | | this.$showTips("确认成功", 'success')
|
| | | // this.isAuditShow = false
|
| | | this.getCurrentRentInfo()
|
| | | })
|
| | | },
|
| | |
|
| | |
|
| | | // 更新操作
|
| | | async update() {
|
| | | let householdVOList = []
|
| | |
| | | </view> |
| | | </view> --> |
| | | |
| | | <view class="nav-item flex j-c-s-b a-i-c" @click="navTo(i.path)" v-for="i in securityList"> |
| | | <view class="nav-item flex j-c-s-b a-i-c" @click="navTo(`${i.path}&from=task`)" v-for="i in securityList"> |
| | | <text class="f-28">{{i.name}}</text> |
| | | <view class="flex"> |
| | | <block v-if="bailCount > 0"> |
| | |
| | | console.log(option); |
| | | if (option.reportType) { |
| | | this.reportType = option.reportType; |
| | | uni.setNavigationBarTitle({ |
| | | title: "取保候审" |
| | | }) |
| | | if (option.reportType == 1) { |
| | | uni.setNavigationBarTitle({ |
| | | title: "取保候审" |
| | | }) |
| | | } else if (option.reportType == 2) { |
| | | uni.setNavigationBarTitle({ |
| | | title: "消防自查" |
| | | }) |
| | | } else if (option.reportType == 3) { |
| | | uni.setNavigationBarTitle({ |
| | | title: "二手交易" |
| | | }) |
| | | } |
| | | } |
| | | |
| | | if (option.from == "index") { |
| | | uni.setNavigationBarTitle({ |
| | | title: "场所任务" |
| | | }) |
| | | } |
| | | if (option.from == "task") { |
| | | this.tabIndex = 1; |
| | | this.tabIndex = 2; |
| | | this.currentStatus = 1; |
| | | } |
| | | if (option.code) { |
| | |
| | | |
| | | onLoad(option) { |
| | | console.log(option); |
| | | if (option.reportType) { |
| | | this.reportType = option.reportType; |
| | | uni.setNavigationBarTitle({ |
| | | title: "取保候审" |
| | | }) |
| | | } |
| | | if (option.from == "index") { |
| | | uni.setNavigationBarTitle({ |
| | | title: "场所任务" |
| | | }) |
| | | } |
| | | if (option.from == "task") { |
| | | this.tabIndex = 1; |
| | | this.tabIndex = 2; |
| | | this.currentStatus = 1; |
| | | } |
| | | if (option.code) { |