bug
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user