[问题修复](pet)

修复筛选项失效问题
dev
huangyuxuan 2024-11-12 16:20:20 +08:00
parent e5dba3b4d0
commit 565df5ed49
2 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@
<el-form-item :rules="form.IS_NORMAL =='1' ?formRule.RECTIFICATIONTIME:[{required: false}]" label="整改时间" prop="RECTIFICATIONTIME"> <el-form-item :rules="form.IS_NORMAL =='1' ?formRule.RECTIFICATIONTIME:[{required: false}]" label="整改时间" prop="RECTIFICATIONTIME">
<el-date-picker v-model="form.RECTIFICATIONTIME" value-format="yyyy-MM-dd HH:mm:ss" type="datetime" placeholder="选择日期" /> <el-date-picker v-model="form.RECTIFICATIONTIME" value-format="yyyy-MM-dd HH:mm:ss" type="datetime" placeholder="选择日期" />
</el-form-item> </el-form-item>
<el-form-item :rules="DAYNUM >= 1 ?formRule.TEMPORARY_SAFE_MEASURE:[{required: false}]" label="临时安全措施" prop="TEMPORARY_SAFE_MEASURE" > <el-form-item :rules="DAYNUM >= 1 ?formRule.TEMPORARY_SAFE_MEASURE:[{required: false}]" label="临时安全措施" prop="TEMPORARY_SAFE_MEASURE" >
<el-input :rows="3" v-model="form.TEMPORARY_SAFE_MEASURE" type="textarea" placeholder="请在此处输入临时安全措施..."/> <el-input :rows="3" v-model="form.TEMPORARY_SAFE_MEASURE" type="textarea" placeholder="请在此处输入临时安全措施..."/>
</el-form-item> </el-form-item>
<el-form-item :rules="[{required: true}]" label="整改后图片" label-width="100px"> <el-form-item :rules="[{required: true}]" label="整改后图片" label-width="100px">

View File

@ -18,7 +18,7 @@
<el-form-item label="发现部门" prop="keyFindUserDept"> <el-form-item label="发现部门" prop="keyFindUserDept">
<SelectTree <SelectTree
ref="deptTree_Select" ref="deptTree_Select"
:clearable="false" :clearable="true"
:options="hiddenCreatorDeptList" :options="hiddenCreatorDeptList"
:props="defaultProps" :props="defaultProps"
v-model="condform.creatorUserDept" v-model="condform.creatorUserDept"
@ -43,7 +43,7 @@
<SelectTree <SelectTree
v-if="hiddenlevelList.length !== 0" v-if="hiddenlevelList.length !== 0"
ref="hlTree_Select" ref="hlTree_Select"
:clearable="false" :clearable="true"
:options="hiddenlevelList" :options="hiddenlevelList"
:props="defaultProps" :props="defaultProps"
v-model="condform.hiddenlevel" v-model="condform.hiddenlevel"
@ -102,7 +102,7 @@
<el-form-item label="隐患部位"> <el-form-item label="隐患部位">
<SelectTree <SelectTree
ref="hiddenPart_Select" ref="hiddenPart_Select"
:clearable="false" :clearable="true"
:options="hiddenPartList" :options="hiddenPartList"
:props="defaultProps" :props="defaultProps"
v-model="condform.hiddenpart" v-model="condform.hiddenpart"
@ -471,10 +471,10 @@ export default {
hiddenType: '', // hiddenType: '', //
creatorUserDept: ''// creatorUserDept: ''//
} }
this.$refs.deptTree_Select3.clearHandle()
this.$refs.deptTree_Select.clearHandle() this.$refs.deptTree_Select.clearHandle()
this.$refs.hlTree_Select.clearHandle() this.$refs.hlTree_Select.clearHandle()
this.$refs.hiddenPart_Select.clearHandle() this.$refs.hiddenPart_Select.clearHandle()
this.$refs.deptTree_Select3.clearHandle()
this.getList() this.getList()
}, },
// //
@ -793,7 +793,7 @@ export default {
}) })
this.loading = false this.loading = false
return false return false
}else { } else {
this.addSafeMeasureForm.TEMPORARY_SAFE_MEASURE = '' this.addSafeMeasureForm.TEMPORARY_SAFE_MEASURE = ''
} }
} }