From a474c2eba7bea5c0b8946e17582cc2128d641a0f Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Fri, 13 Dec 2024 17:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8=E6=96=B0?= =?UTF-8?q?=E5=8A=A0=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/deviceSystem.vue | 46 +++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) 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 +