This commit is contained in:
shijingjing
2022-04-29 15:52:11 +08:00
parent ff7fda2b30
commit 455d0b2064
4 changed files with 19 additions and 11 deletions

View File

@@ -61,17 +61,24 @@ export default {
files: this.filesList,
id: this.id,
riskType: this.riskType,
riskEliminationMethod: '',
}
if(this.pass == 1) { // 网格长
if(this.status == 1) {
if(!this.riskEliminationMethod) {
return this.$u.toast('请选择风险消除方式')
}
if(this.status == 1) {
url = '/app/apppreventionreturntopoverty/relieve' // 解除
} else if (this.status == 4 || this.status == 3) {
} 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') {