This commit is contained in:
shijingjing
2022-04-27 16:08:53 +08:00
parent 0e68d7e645
commit 5c448addd0
2 changed files with 12 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="MonitorRemoveView">
<div class="user-info" v-if="info.length">
<div class="user-info" v-if="info">
<div class="title">审核信息</div>
<div class="info">
<div class="item">
@@ -37,13 +37,13 @@
<div class="result">
<div class="title">处理意见</div>
<div class="check" v-if="info.status != 2">
<div class="check">
<div class="left">
<span style="color: #FF4466;">*</span>
<span>审核结果</span>
</div>
<div class="right">
<div class="check-item" :class="form.pass == '1' ? 'check-active' : '' " @click="form.pass='1'">{{ info.operationType == 0? '纳入监测': '解除风险'}}<img src="./components/img/check-icon.png" alt=""></div>
<div class="check-item" :class="form.pass == '1' ? 'check-active' : '' " @click="form.pass='1'">{{ type == 0? '纳入监测': '解除风险'}}<img src="./components/img/check-icon.png" alt=""></div>
<div class="check-item" :class="form.pass == '0' ? 'check-active' : '' " @click="form.pass='0'">驳回申请<img src="./components/img/check-icon.png" alt=""></div>
</div>
</div>
@@ -82,6 +82,7 @@ export default {
files: [],
},
files: [],
type: '',
}
},
onLoad(o) {
@@ -90,10 +91,11 @@ export default {
this.id = o.id;
this.status = o.status;
this.form.pass = this.pass;
this.type = o.type
},
created() {
this.getInfo()
document.title = this.info.operationType == 0? '纳入监测审核': '解除风险审核'
document.title = this.type == 0? '纳入监测审核': '解除风险审核'
},
methods: {
getInfo() {
@@ -111,7 +113,7 @@ export default {
})
},
submit() {
if (this.form.pass == 1) { // 申请纳入
if (this.type == 0) { // 纳入审核
this.$http.post(`/app/apppreventionreturntopoverty/examine`,null,{
params: {
...this.form,
@@ -128,7 +130,7 @@ export default {
},600)
}
})
} else if (this.form.pass == 0){ // 申请解除
} else if (this.type == 1){ // 解除审核
this.$http.post(`/app/apppreventionreturntopoverty/relieve`,null,{
params: {
...this.form,