bug
This commit is contained in:
@@ -174,7 +174,7 @@
|
||||
|
||||
<div v-if="checkType == 2 && currIndex != 1">
|
||||
|
||||
<div class="footer-btn" v-if="info.status == 0 && userInfo == ''">
|
||||
<div class="footer-btn" v-if="info.status == 0 && userInfo != ''">
|
||||
<div class="confirm-btn" @click="toRemove('您确认要将此居民纳入监测对象吗?', 1,0)">纳入监测审核</div>
|
||||
</div>
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
<div class="confirm-btn" @click="toRemove('您确认要解除此监测对象的风险吗?', 1,1)">消除风险审核</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-btn" v-if="(info.status == 4 || info.status == 3 || info.status == 0) && userInfo != ''">
|
||||
<div class="footer-btn" v-if="(info.status == 4 || info.status == 3) && userInfo != ''">
|
||||
<div @click="del">删除人员</div>
|
||||
<div class="confirm-btn" @click="toAddView('您确认要将此居民纳入监测对象吗?', 1)">纳入监测</div>
|
||||
</div>
|
||||
|
||||
@@ -163,7 +163,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current = this.current + 1
|
||||
this.current++
|
||||
this.getList()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -61,17 +61,24 @@ export default {
|
||||
files: this.filesList,
|
||||
id: this.id,
|
||||
riskType: this.riskType,
|
||||
riskEliminationMethod: '',
|
||||
}
|
||||
if(this.pass == 1) { // 网格长
|
||||
if(!this.riskEliminationMethod) {
|
||||
return this.$u.toast('请选择风险消除方式')
|
||||
}
|
||||
if(this.status == 1) {
|
||||
url = '/app/apppreventionreturntopoverty/relieve' // 解除
|
||||
} else if (this.status == 4 || this.status == 3) {
|
||||
if(!this.riskType) {
|
||||
return this.$u.toast('请选择风险因素')
|
||||
}
|
||||
url = `/app/apppreventionreturntopoverty/examine` // 纳入监测
|
||||
}
|
||||
} else { // 网格员
|
||||
if(this.status == '0') {
|
||||
if(!this.riskType) {
|
||||
return this.$u.toast('请选择监测对象类型')
|
||||
return this.$u.toast('请选择风险因素')
|
||||
}
|
||||
}
|
||||
if(this.status == '1') {
|
||||
|
||||
@@ -114,12 +114,13 @@ export default {
|
||||
},
|
||||
|
||||
submit() {
|
||||
var url = ''
|
||||
var params = {
|
||||
...this.form,
|
||||
id: this.id,
|
||||
}
|
||||
if (this.type == 0) { // 纳入审核
|
||||
var url = `/app/apppreventionreturntopoverty/examine`
|
||||
var params = {
|
||||
...this.form,
|
||||
id: this.id,
|
||||
}
|
||||
url = `/app/apppreventionreturntopoverty/examine`
|
||||
} else if (this.type == 1){ // 解除审核
|
||||
url = `/app/apppreventionreturntopoverty/relieve`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user