[BUG修复](hyx_2024-9-11)

修复新增消防点位检查时检查器材添加多个问题
hyx_2024-9-11_changeUpload
huangyuxuan 2024-09-20 09:09:16 +08:00
parent 1e2f9ae668
commit 1f1d39949f
1 changed files with 7 additions and 2 deletions

View File

@ -128,7 +128,7 @@
</el-row> </el-row>
</el-form> </el-form>
<div> <div>
<el-table ref="multipleTable" :data="checkList" border style="width: 100%"> <el-table ref="multipleTable" :data="checkList" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column <el-table-column
type="selection" type="selection"
width="55"/> width="55"/>
@ -300,6 +300,7 @@ export default {
directives: { waves }, directives: { waves },
data() { data() {
return { return {
POINTS_LIST: [],
FILTER_LIST_REGION: [], FILTER_LIST_REGION: [],
FILTER_LIST_POINT: [], FILTER_LIST_POINT: [],
deviceCriteria: { deviceCriteria: {
@ -758,7 +759,7 @@ export default {
// //
if (valid) { if (valid) {
this.listLoading = true this.listLoading = true
this.form.DATA = this.checkList this.form.DATA = this.pointList
requestFN( requestFN(
'/fireCheckList/saveInfo', '/fireCheckList/saveInfo',
{ {
@ -1127,6 +1128,10 @@ export default {
}, },
updateDeptChange() { updateDeptChange() {
this.form.UPDATE_USER_ID = '' this.form.UPDATE_USER_ID = ''
},
handleSelectionChange(val) {
this.pointList = val
console.log('当前选中项', val)
} }
} }
} }