This commit is contained in:
shijingjing
2022-04-29 13:19:06 +08:00
parent 4e56f446b6
commit 18600f10b1
2 changed files with 12 additions and 11 deletions

View File

@@ -36,7 +36,7 @@
</div> </div>
<div class="item-info"> <div class="item-info">
<label>采取措施</label> <label>采取措施</label>
<span>{{ $dict.getLabel('fpAssistanceMeasures',info.helpLog.operationDesc) }}</span> <span>{{ info.helpLog? $dict.getLabel('fpAssistanceMeasures',info.helpLog.operationDesc): '-' }}</span>
</div> </div>
</div> </div>
<div class="item-wrapper"> <div class="item-wrapper">

View File

@@ -56,18 +56,19 @@ export default {
submit() { submit() {
var url = '' var url = ''
var params = { var params = {
pass: this.pass, pass: this.pass || '',
opinion: this.opinion, opinion: this.opinion,
files: this.filesList, files: this.filesList,
id: this.id, id: this.id,
riskType: this.riskType,
} }
if(this.pass == 1) { if(this.pass == 1) { // 网格长
if(this.status == 1) { // 解除 if(this.status == 1) {
url = '/app/apppreventionreturntopoverty/relieve' url = '/app/apppreventionreturntopoverty/relieve' // 解除
} else if (this.status == 4 || this.status == 3 || this.status == 0) { // 纳入监测 } else if (this.status == 4 || this.status == 3) {
url = `/app/apppreventionreturntopoverty/examine` url = `/app/apppreventionreturntopoverty/examine` // 纳入监测
} }
} else { } else { // 网格员
if(this.status == '0') { if(this.status == '0') {
if(!this.riskType) { if(!this.riskType) {
return this.$u.toast('请选择监测对象类型') return this.$u.toast('请选择监测对象类型')
@@ -86,10 +87,10 @@ export default {
this.filesList = files.join(',') this.filesList = files.join(',')
} }
if(this.status == 0) { // 纳入监测 if(this.status == 0 || this.status == 3 || this.status == 4) {
url = `/app/apppreventionreturntopoverty/examine` url = `/app/apppreventionreturntopoverty/examine` // 纳入监测申请
} else { } else {
url = `/app/apppreventionreturntopoverty/relieve` // 驳回 url = `/app/apppreventionreturntopoverty/relieve` // 消除申请
} }
} }