社区管理
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
<div class="line-bg" style="padding-bottom: 56px;"></div>
|
||||
<div class="footer" v-if="status == 0">
|
||||
<div class="cancel" @click="toChangeArea()">变更管理地</div>
|
||||
<div class="confirm" @click="toManageAdd()">纳入管理</div>
|
||||
<div class="confirm" @click="changeStatus()">纳入管理</div>
|
||||
</div>
|
||||
<!-- <div class="footer" v-if="info.haveOnlyTransferBtn" @click="toChangeUser">移交人员</div> -->
|
||||
</div>
|
||||
@@ -216,6 +216,19 @@ export default {
|
||||
}).catch((err) => {
|
||||
this.$u.toast(err)
|
||||
})
|
||||
},
|
||||
changeStatus() {
|
||||
this.$confirm(`是否将${this.info.name}纳入管理`).then(() => {
|
||||
this.$http.post(`/app/appepidemicpreventioncommunitymanagement/cancel?id=${this.id}`, ).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('操作成功')
|
||||
uni.$emit('updateList')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user