解除风险
This commit is contained in:
@@ -131,7 +131,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: { ...mapState(['user']) },
|
computed: { ...mapState(['user']) },
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '居家隔离确认'
|
document.title = '风险处置'
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.form = uni.getStorageSync('checkPointContent')
|
this.form = uni.getStorageSync('checkPointContent')
|
||||||
|
|||||||
@@ -243,6 +243,10 @@ export default {
|
|||||||
return this.$u.toast('请选择隔离策略')
|
return this.$u.toast('请选择隔离策略')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(this.form.communityHandleType == 2) { //风险解除
|
||||||
|
this.form.handleType = 5
|
||||||
|
}
|
||||||
|
|
||||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal?homeQuarantineOperation=2`, this.form).then((res) => {
|
this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal?homeQuarantineOperation=2`, this.form).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
|
|||||||
@@ -25,12 +25,13 @@
|
|||||||
<div class="title">异常情况记录</div>
|
<div class="title">异常情况记录</div>
|
||||||
<div class="error-list">
|
<div class="error-list">
|
||||||
<div class="item" v-for="(item, index) in info.riskDisposalList" :key="index">
|
<div class="item" v-for="(item, index) in info.riskDisposalList" :key="index">
|
||||||
<p>{{item.content}}</p>
|
<p>{{item.remarks}}</p>
|
||||||
<div>{{item.createTime}}
|
<div>{{item.createTime}}
|
||||||
<span>{{item.createUserName}}</span>
|
<span>{{item.createUserName}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="height:16px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-line"></div>
|
<div class="bg-line"></div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
@@ -87,8 +88,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
this.$confirm(`是否解除该条异常信息?`).then(() => {
|
this.$confirm(`是否解除该条风险信息?`).then(() => {
|
||||||
this.$http.post("/app/appepidemicbackhomerecord/release", {id: this.id}).then(res => {
|
var params = {
|
||||||
|
"handleType": 5,
|
||||||
|
"registerId": this.id,
|
||||||
|
"registerIdNumber": this.info.idNumber,
|
||||||
|
}
|
||||||
|
this.$http.post("/app/appepidemicpreventionregisterinfo/riskDisposal", params).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast("解除成功!")
|
this.$u.toast("解除成功!")
|
||||||
uni.$emit('updateDetail')
|
uni.$emit('updateDetail')
|
||||||
@@ -109,6 +115,7 @@ export default {
|
|||||||
"remarks": this.value,
|
"remarks": this.value,
|
||||||
"registerId": this.id,
|
"registerId": this.id,
|
||||||
"registerIdNumber": this.info.idNumber,
|
"registerIdNumber": this.info.idNumber,
|
||||||
|
"handleType": 7
|
||||||
}
|
}
|
||||||
this.$http.post("/app/appepidemicpreventionregisterinfo/riskDisposal", params).then(res => {
|
this.$http.post("/app/appepidemicpreventionregisterinfo/riskDisposal", params).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user