30495
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="MonitorAddView">
|
||||
<div class="containter">
|
||||
<div class="type" v-if="status == 3 || status == 4 || status == 0">
|
||||
<div class="type" v-if="status == 3 || status == 4 || status == 0 || status == 5">
|
||||
<div><span style="color: #FF4466">*</span>风险因素</div>
|
||||
<div>
|
||||
<AiSelect dict="fpRiskType" v-model="riskType" />
|
||||
@@ -50,7 +50,7 @@ export default {
|
||||
this.status = o.status
|
||||
},
|
||||
onShow() {
|
||||
document.title = (this.status == 3 || this.status == 4 ) && this.pass ==''? '申请纳入监测': this.status == 1 && this.pass ==''? '申请解除风险' : this.status == 1 && this.pass ==1? '解除风险': (this.status == 4 || this.status==3) && this.pass == 1? '纳入监测':''
|
||||
document.title = (this.status == 3 || this.status == 4 || this.status==5) && this.pass ==''? '申请纳入监测': this.status == 1 && this.pass ==''? '申请解除风险' : this.status == 1 && this.pass ==1? '解除风险': (this.status == 4 || this.status==3 || this.status==5) && this.pass == 1? '纳入监测':''
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
@@ -63,14 +63,14 @@ export default {
|
||||
riskType: this.riskType,
|
||||
riskEliminationMethod: this.riskEliminationMethod,
|
||||
}
|
||||
// 0:待纳入、1:监测中、2:待解除、3:已解除、4:已驳回
|
||||
// 0:待纳入、1:监测中、2:待解除、3:已解除、4:已驳回、5:已脱贫
|
||||
if(this.pass == 1) { // 网格长
|
||||
if(this.status == 1) {
|
||||
if(!this.riskEliminationMethod) {
|
||||
return this.$u.toast('请选择风险消除方式')
|
||||
}
|
||||
url = '/app/apppreventionreturntopoverty/relieve' // 解除
|
||||
} else if (this.status == 3 || this.status == 4) {
|
||||
} else if (this.status == 3 || this.status == 4 || this.status == 5) {
|
||||
if(!this.riskType) {
|
||||
return this.$u.toast('请选择风险因素')
|
||||
}
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
}
|
||||
}
|
||||
if (this.pass == '') { // 网格员
|
||||
if(this.status == '0' || this.status == '3' || this.status == '4') {
|
||||
if(this.status == '0' || this.status == '3' || this.status == '4' || this.status == '5') {
|
||||
if(!this.riskType) {
|
||||
return this.$u.toast('请选择风险因素')
|
||||
}
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
this.filesList = files.join(',')
|
||||
}
|
||||
|
||||
if(this.status == 0 || this.status == 3 || this.status == 4) {
|
||||
if(this.status == 0 || this.status == 3 || this.status == 4 || this.status == 5) {
|
||||
url = `/app/apppreventionreturntopoverty/examine` // 纳入监测申请
|
||||
} else {
|
||||
url = `/app/apppreventionreturntopoverty/relieve` // 消除申请
|
||||
|
||||
Reference in New Issue
Block a user