需求变更

This commit is contained in:
liuye
2022-09-30 08:34:31 +08:00
parent e5d98bbc80
commit 77ab556180
4 changed files with 16 additions and 17 deletions

View File

@@ -33,7 +33,7 @@
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
</div>
</div>
<div class="item solid">
<div class="item">
<div class="label">
<span class="tips">*</span>隔离策略
</div>
@@ -44,7 +44,7 @@
</div>
</div>
<div class="info mar-b16" v-if="form.handleType == 3">
<div class="item solid">
<!-- <div class="item solid">
<div class="label">
<span class="tips">*</span>居家状态
</div>
@@ -88,7 +88,7 @@
</div>
<div class="solid">
<textarea placeholder="请输入备注" v-model="form.remarks" maxlength="500"></textarea>
</div>
</div> -->
<div class="item">
<div class="label">
<span class="tips"></span>图片
@@ -204,17 +204,16 @@ export default {
if(this.form.handleType == 2 && this.form.quarantineAddress === '') {
return this.$u.toast('请选择地点')
}
if([2, 3].includes(this.form.handleType) && !this.form.quarantineBeginTime) {
if([2].includes(this.form.handleType) && !this.form.quarantineBeginTime) {
return this.$u.toast('请选择隔离时间')
}
if([2, 3].includes(this.form.handleType) && this.form.quarantineStrategy === '') {
if([2].includes(this.form.handleType) && this.form.quarantineStrategy === '') {
return this.$u.toast('请选择隔离策略')
}
if(this.form.handleType == 3 && this.form.controlMethod === '') {
return this.$u.toast('请选择管控方式')
}
// if(this.form.handleType == 3 && this.form.controlMethod === '') {
// return this.$u.toast('请选择管控方式')
// }
if(this.form.handleType == 6 && this.form.handoverObject === '') {
return this.$u.toast('请选择移交对象')