核酸证明 1张
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-right: 16px;">
|
<div style="padding-right: 16px;">
|
||||||
<AiUploader :def.sync="form.proveFileList" multiple placeholder="上传核酸阴性证明" :limit="9" action="/admin/file/add2"></AiUploader>
|
<AiUploader :def.sync="form.proveFileList" multiple placeholder="上传核酸阴性证明" :limit="1" action="/admin/file/add2"></AiUploader>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-height"></div>
|
<div class="btn-height"></div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="ErrorInfo">
|
<div class="ErrorInfo">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<div class="title">基本信息<span class="title-right-btn" @click="show = true">新增风险记录</span></div>
|
<div class="title">基本信息<span class="title-right-btn" @click="showText(7)">新增风险记录</span></div>
|
||||||
<div class="item-flex">
|
<div class="item-flex">
|
||||||
<div class="label">姓名</div>
|
<div class="label">姓名</div>
|
||||||
<div class="value">{{info.name}}</div>
|
<div class="value">{{info.name}}</div>
|
||||||
@@ -37,11 +37,11 @@
|
|||||||
<div class="bg-line"></div>
|
<div class="bg-line"></div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="add" @click="toContent">社区初排</div>
|
<div class="add" @click="toContent">社区初排</div>
|
||||||
<div class="confirm" @click="cancel()">解除风险</div>
|
<div class="confirm" @click="showText(5)">解除风险</div>
|
||||||
</div>
|
</div>
|
||||||
<u-popup v-model="show" mode="bottom">
|
<u-popup v-model="show" mode="bottom">
|
||||||
<div class="textarea">
|
<div class="textarea">
|
||||||
<u-input v-model="value" type="textarea" :height="120" :auto-height="true" placeholder="风险情况记录" :clearable="false" maxlength="1000" />
|
<u-input v-model="value" type="textarea" :height="120" :auto-height="true" placeholder="风险情况说明" :clearable="false" maxlength="1000" />
|
||||||
<p>字数{{value.length}}/1000</p>
|
<p>字数{{value.length}}/1000</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn">
|
<div class="btn">
|
||||||
@@ -63,7 +63,8 @@ export default {
|
|||||||
show: false,
|
show: false,
|
||||||
value: '',
|
value: '',
|
||||||
id: '',
|
id: '',
|
||||||
info: {}
|
info: {},
|
||||||
|
handleType: '', //5解除风险 7新增风险记录
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -79,6 +80,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
showText(status) {
|
||||||
|
this.handleType = status
|
||||||
|
this.show = true
|
||||||
|
},
|
||||||
getDetail() {
|
getDetail() {
|
||||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/queryDetailById?id=${this.id}`).then((res) => {
|
this.$http.post(`/app/appepidemicpreventionregisterinfo/queryDetailById?id=${this.id}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
@@ -89,8 +94,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
|
if(!this.value) {
|
||||||
|
return this.$u.toast('请输入风险解除说明')
|
||||||
|
}
|
||||||
this.$confirm(`是否解除该条风险信息?`).then(() => {
|
this.$confirm(`是否解除该条风险信息?`).then(() => {
|
||||||
var params = {
|
var params = {
|
||||||
|
"remarks": this.value,
|
||||||
"handleType": 5,
|
"handleType": 5,
|
||||||
"registerId": this.id,
|
"registerId": this.id,
|
||||||
"registerIdNumber": this.info.idNumber,
|
"registerIdNumber": this.info.idNumber,
|
||||||
@@ -108,6 +117,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
if(this.handleType == 5) { //解除风险
|
||||||
|
this.cancel()
|
||||||
|
}else {
|
||||||
|
this.addConfirm()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
addConfirm() {
|
||||||
if(!this.value) {
|
if(!this.value) {
|
||||||
return this.$u.toast('请输入风险情况')
|
return this.$u.toast('请输入风险情况')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -242,13 +242,20 @@ export default {
|
|||||||
return this.$u.toast('请选择隔离策略')
|
return this.$u.toast('请选择隔离策略')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal?homeQuarantineOperation=2`, this.form).then((res) => {
|
if(!this.form.quarantineBeginTime) {
|
||||||
|
this.form.quarantineBeginTime = null
|
||||||
|
this.form.quarantineEndTime = null
|
||||||
|
}
|
||||||
|
this.form.registerId = this.info.id
|
||||||
|
this.form.registerIdNumber = this.info.idNumber
|
||||||
|
this.form.handleType = 7
|
||||||
|
this.$http.post(`/app/appepidemicpreventionregisterinfo/cmAdvanceDisposal`, this.form).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('updateDetail')
|
uni.$emit('updateDetail')
|
||||||
uni.$emit('updateList')
|
uni.$emit('updateList')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateTo({ url: './AppCheckpointRegistration' })
|
uni.navigateBack({delta: 2})
|
||||||
}, 600)
|
}, 600)
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line-bg"></div>
|
<div class="line-bg"></div>
|
||||||
<div class="info" v-if="info.handleType != 0 && info.riskDisposalList.length">
|
<div class="info" v-if="info.handleType != 0 && info.riskDisposalList && info.riskDisposalList.length">
|
||||||
<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">
|
||||||
|
|||||||
Reference in New Issue
Block a user