核酸证明
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<u-input v-model="form.controllerContent" type="textarea" placeholder="请输入详细描述信息" height="200" :custom-style="{'font-size': '17px'}" maxlength="500" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="info" style="padding-bottom: 24px;">
|
||||
<div class="info mar-b16" style="padding-bottom: 24px;">
|
||||
<div class="item">
|
||||
<div class="label">
|
||||
<span class="tips">*</span>图片
|
||||
@@ -101,6 +101,16 @@
|
||||
<AiUploader :def.sync="form.fileList" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info" style="padding-bottom: 24px;">
|
||||
<div class="item">
|
||||
<div class="label" style="width:100%;">
|
||||
<span class="tips">*</span>核酸阴性证明图片(解除管理必填)
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding-right: 16px;">
|
||||
<AiUploader :def.sync="form.proveFileList" multiple placeholder="上传核酸阴性证明" :limit="9" action="/admin/file/add2"></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-height"></div>
|
||||
<div class="footer">
|
||||
<div class="cancel" @click="submit('2')">解除管理</div>
|
||||
@@ -126,7 +136,8 @@ export default {
|
||||
homeStatus: '',
|
||||
quarantineBeginTime: '',
|
||||
quarantineStrategy: '',
|
||||
controllerList: []
|
||||
controllerList: [],
|
||||
proveFileList: []
|
||||
},
|
||||
showDateSelect: false,
|
||||
showDictSelect: false,
|
||||
@@ -170,6 +181,9 @@ export default {
|
||||
if( !this.form.fileList.length) {
|
||||
return this.$u.toast('请上传图片')
|
||||
}
|
||||
if(status == 1 && !this.form.proveFileList.length) {
|
||||
return this.$u.toast('请上传核酸阴性证明图片')
|
||||
}
|
||||
|
||||
this.$confirm(status == 2 ? '确认解除管理该记录' : '确认保存该记录').then(() => {
|
||||
this.confirmSubmit(status)
|
||||
|
||||
Reference in New Issue
Block a user