添加 一般隐患排查搜索项 整改部门
parent
dc18edd445
commit
ca9ae7aa8b
|
@ -81,13 +81,23 @@
|
|||
<el-input v-model="condform.rectificationorName" placeholder="请输入关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="整改部门" prop="reorganizeDept">
|
||||
<el-cascader
|
||||
ref="deptTree_Select10"
|
||||
:options="hiddenCreatorDeptList"
|
||||
:props="defaultProps1"
|
||||
v-model="condform.reorganizeDept"
|
||||
clearable/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col v-if="hiddenVueType !='ignore'" :span="4" >
|
||||
<el-form-item label="验收人">
|
||||
<el-input v-model="condform.checkrecordName" placeholder="请输入关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="隐患部位">
|
||||
<SelectTree
|
||||
|
@ -279,7 +289,8 @@ export default {
|
|||
hiddenpart: '', // 隐患部位
|
||||
hiddenType: '', // 隐患类型
|
||||
creatorUserDept: '', // 隐患发现部门
|
||||
isrelevant: '' // 是否相关方
|
||||
isrelevant: '', // 是否相关方
|
||||
reorganizeDept: [] // 整改部门
|
||||
},
|
||||
/** 条件中的字段,没有放在form表单中,是因为怕动态加载中出现问题 **/
|
||||
sourceList: [
|
||||
|
@ -306,6 +317,7 @@ export default {
|
|||
{ ID: '16', NAME: '确认打回' },
|
||||
{ ID: '10', NAME: '验收打回' }
|
||||
],
|
||||
defaultProps1: { value: 'id', children: 'nodes', label: 'name', multiple: true, emitPath: false, checkStrictly: true },
|
||||
defaultProps: { value: 'id', children: 'nodes', label: 'name', multiple: true, emitPath: false },
|
||||
pickerOptions0: { disabledDate(time) { return time.getTime() < Date.now() - 8.64e6 } },
|
||||
hiddenlevelList: [], // 隐患级别
|
||||
|
@ -382,11 +394,17 @@ export default {
|
|||
// 获取列表
|
||||
getList() {
|
||||
this.listLoading = true
|
||||
const reorganizeDept = this.condform.reorganizeDept
|
||||
let deptIds = ''
|
||||
if (reorganizeDept != null && reorganizeDept.length > 0) {
|
||||
reorganizeDept.forEach(item => { deptIds = deptIds + ',' + item })
|
||||
}
|
||||
requestFN(
|
||||
'/hiddenApi/getList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
...this.condform,
|
||||
hiddenVueType: this.hiddenVueType,
|
||||
reorganizeDept: deptIds,
|
||||
STARTTIME: this.condform.creatTime[0],
|
||||
ENDTIME: this.condform.creatTime[1]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue