This commit is contained in:
liuye
2022-09-30 10:14:02 +08:00
parent 6f07d5c729
commit 1813f272e8
2 changed files with 11 additions and 9 deletions

View File

@@ -125,17 +125,10 @@ export default {
}, },
methods: { methods: {
submit(status) { submit(status) {
if(this.form.handleType == 6) { //移交 if([3, 6].includes(this.form.handleType)) { //3居家隔离 //6移交
this.form.quarantineBeginTime = null this.form.quarantineBeginTime = null
this.form.quarantineEndTime = null this.form.quarantineEndTime = null
} }
if(this.form.handleType == 3) { //居家隔离
this.form.homeStatus = null
this.form.quarantineBeginTime = null
this.form.quarantineEndTime = null
this.form.quarantineStrategy = null
this.form.controlMethod = null
}
this.form.homeQuarantineOperation = status this.form.homeQuarantineOperation = status
this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal?homeQuarantineOperation=${this.form.homeQuarantineOperation}`, this.form).then((res) => { this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal?homeQuarantineOperation=${this.form.homeQuarantineOperation}`, this.form).then((res) => {
if (res.code == 0) { if (res.code == 0) {

View File

@@ -152,6 +152,15 @@
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" /> <u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
</div> </div>
</div> </div>
<div class="item solid">
<div class="label">
<span class="tips">*</span>管控方式
</div>
<div class="value" @click="dictSelectClick('EP_controlMethod', 'controlMethod')">
<span :class="form.controlMethod === '' ? 'color-999' : ''">{{ $dict.getLabel('EP_controlMethod', form.controlMethod) || '请选择'}}</span>
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
</div>
</div>
<div class="item"> <div class="item">
<div class="label"> <div class="label">
<span class="tips"></span>附件上传 <span class="tips"></span>附件上传
@@ -208,7 +217,7 @@ export default {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.$dict.load('yesOrNo', 'EP_registerPersonType', 'EP_travelType', 'EP_abnormalType', 'epidemicTouchInFourteen', this.$dict.load('yesOrNo', 'EP_registerPersonType', 'EP_travelType', 'EP_abnormalType', 'epidemicTouchInFourteen',
'EP_homeStatus2', 'EP_quarantineStrategy', 'EP_communityHandleType', 'EP_highRiskIndustries').then(() => { 'EP_homeStatus2', 'EP_quarantineStrategy', 'EP_communityHandleType', 'EP_highRiskIndustries', 'EP_controlMethod').then(() => {
this.id = option.id this.id = option.id
this.handleTypeList = this.$dict.getDict('EP_communityHandleType') this.handleTypeList = this.$dict.getDict('EP_communityHandleType')
this.getDetail() this.getDetail()