From c72b7beef4ff579f896db2943446eb95fcc698a0 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Wed, 4 Sep 2024 15:22:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E9=A2=86=E7=94=A8=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../construction/deviceReceive/index.vue | 108 ++++++++++++------ 1 file changed, 76 insertions(+), 32 deletions(-) diff --git a/src/views/construction/deviceReceive/index.vue b/src/views/construction/deviceReceive/index.vue index 2e7754d..3b0bf2d 100644 --- a/src/views/construction/deviceReceive/index.vue +++ b/src/views/construction/deviceReceive/index.vue @@ -58,6 +58,16 @@ /> + + + + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} - + + + - + - - + + - - - - + + + + + + - + @@ -262,7 +296,6 @@ return { // 遮罩层 loading: true, - // 选中数组 ids: [], // 非单个禁用 @@ -271,6 +304,7 @@ multiple: true, // 显示搜索条件 showSearch: true, + lyList:[{id:'0',name:'在用'},{id:'1',name:'归还'}], // 总条数 total: 0, //绑定设备总条数 @@ -293,11 +327,15 @@ queryParams: { pageNum: 1, pageSize: 10, - // sidebandName: undefined, - // sidebandCode: undefined, - // projectName: undefined, - // gtCode: undefined, - // bindTime: undefined, + proName:'', + powerName:'', + teamName:'', + devName:'', + devCode:'', + devType:'', + isLy:'', + lyTime:'', + ghTime:'', }, stateList:['在用','未用'], // 表单参数 @@ -394,7 +432,9 @@ getPowerLists(proId){ getPowerLists({proId:proId}).then(response => { this.GtList = response.data; - }); + this.$set(this.form,'powerId','') + // this.form.powerId='' + }); }, //添加设备 addDevice() { @@ -412,7 +452,6 @@ item.devCode='' } }) - }, //聚焦设备列表select时根据类型更新下拉数据 focusDevice(type){ @@ -525,4 +564,9 @@ display: none; } } + .maxsize { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } \ No newline at end of file