15164 增加个部门下拉框搜索 要不太多无法搜索
parent
cbb8d3e539
commit
8e990f8b60
|
@ -235,6 +235,19 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="4">
|
||||||
|
<el-form-item label="负责部门" label-width="80px">
|
||||||
|
<SelectTree
|
||||||
|
ref="deptTree_Select"
|
||||||
|
:clearable="false"
|
||||||
|
:key="waitFor.DEPARTMENT_ID"
|
||||||
|
:options="treeDataDepart"
|
||||||
|
:props="defaultProps"
|
||||||
|
v-model="waitFor.DEPARTMENT_ID"
|
||||||
|
placeholder="请选择部门"
|
||||||
|
style="width: 100%;"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="4" label-width="80px">
|
<el-col :span="4" label-width="80px">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button v-waves class="filter-item" type="success" icon="el-icon-refresh" @click="getDevice">
|
<el-button v-waves class="filter-item" type="success" icon="el-icon-refresh" @click="getDevice">
|
||||||
|
@ -404,8 +417,10 @@ export default {
|
||||||
POSTNAME: '',
|
POSTNAME: '',
|
||||||
USERNAME: '',
|
USERNAME: '',
|
||||||
varList: [],
|
varList: [],
|
||||||
idListFcS: []
|
idListFcS: [],
|
||||||
|
DEPARTMENT_ID: ''
|
||||||
},
|
},
|
||||||
|
treeDataDepart: [],
|
||||||
pointList: [],
|
pointList: [],
|
||||||
pointCode: '',
|
pointCode: '',
|
||||||
// ------------end
|
// ------------end
|
||||||
|
@ -531,7 +546,8 @@ export default {
|
||||||
FIRE_DEVICE_TYPE_ID: this.waitFor.FIRE_DEVICE_TYPE_ID,
|
FIRE_DEVICE_TYPE_ID: this.waitFor.FIRE_DEVICE_TYPE_ID,
|
||||||
FIRE_POINT_ID: this.waitFor.FIRE_POINT_ID,
|
FIRE_POINT_ID: this.waitFor.FIRE_POINT_ID,
|
||||||
FIRE_DEVICE_CODE: this.waitFor.FIRE_DEVICE_CODE,
|
FIRE_DEVICE_CODE: this.waitFor.FIRE_DEVICE_CODE,
|
||||||
FIRE_REGION_ID: this.waitFor.FIRE_REGION_ID
|
FIRE_REGION_ID: this.waitFor.FIRE_REGION_ID,
|
||||||
|
DEPARTMENT_ID: this.waitFor.DEPARTMENT_ID
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
@ -587,6 +603,7 @@ export default {
|
||||||
this.treeData.forEach((item) => {
|
this.treeData.forEach((item) => {
|
||||||
item.isDisabled = true
|
item.isDisabled = true
|
||||||
})
|
})
|
||||||
|
this.treeDataDepart = JSON.parse(data.zTreeNodes)
|
||||||
resolve()
|
resolve()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
})
|
})
|
||||||
|
@ -828,6 +845,7 @@ export default {
|
||||||
this.waitFor.FIRE_DEVICE_ID = ''
|
this.waitFor.FIRE_DEVICE_ID = ''
|
||||||
this.waitFor.FIRE_DEVICE_CODE = ''
|
this.waitFor.FIRE_DEVICE_CODE = ''
|
||||||
this.waitFor.FIRE_POINT_NAME = ''
|
this.waitFor.FIRE_POINT_NAME = ''
|
||||||
|
this.waitFor.DEPARTMENT_ID = ''
|
||||||
this.pointList = []
|
this.pointList = []
|
||||||
this.getList()
|
this.getList()
|
||||||
this.getDevice()
|
this.getDevice()
|
||||||
|
|
Loading…
Reference in New Issue