diff --git a/src/views/device/deviceSystem.vue b/src/views/device/deviceSystem.vue index 9c9f5a6..c51fdf1 100644 --- a/src/views/device/deviceSystem.vue +++ b/src/views/device/deviceSystem.vue @@ -106,6 +106,10 @@ + + + @@ -115,6 +119,9 @@ + + 是否在保 +
{ this.treeOptions = res.data.data }) @@ -624,6 +660,7 @@ export default { this.addForm.startTime = this.tableData.length > 0 ? this.tableData.find(item => item.startTime).startTime : '' this.dialogTitle = '设备查看' this.dialogVisible = true + this.addForm.isMaintain = res.data.data.isMaintain//是否在保 }) }, handleImport() { @@ -759,6 +796,7 @@ export default { limsId: this.addForm.lab[0], //实验室id floorId: this.addForm.lab[1], //楼层id roomId: this.addForm.lab[2], //房间id + brand:this.addForm.brand,//品牌 } if (this.viewType == 'add') { addDevice(query).then(res => { @@ -794,11 +832,15 @@ export default { }) }, onLoad(page, params = {}) { + console.log(1111111111,this.searchForm) let query = { name: this.searchForm.name ? this.searchForm.name : '', position: this.searchForm.position ? this.searchForm.position : '', type: this.searchForm.type ? this.searchForm.type : '', current: this.page.currentPage, + runStatus:this.searchForm.runStatus?this.searchForm.runStatus:'',//运行状态 + supplier:this.searchForm.supplier?this.searchForm.supplier:'',//供应商 + brand:this.searchForm.brand?this.searchForm.brand:'',//品牌 size: this.page.pageSize, } getDeviceList(query).then(res => { @@ -823,4 +865,4 @@ export default { font-size: 20px; } } - \ No newline at end of file +