From 9ac866777fcac5393baea691d1e96b759279c1d0 Mon Sep 17 00:00:00 2001 From: zhangdi <1104545947@qq.com> Date: Tue, 19 May 2026 19:49:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=AE=BE=E5=A4=87=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/device.js | 5 +++-- pages/plan/binding.vue | 2 +- pages/production/cardEquipmentSet.vue | 2 +- pages/production/feibaDevice.vue | 2 +- pages/production/rackEcSet.vue | 2 +- pages/production/sjCardEquipmentSet.vue | 2 +- pages/production/unBinding.vue | 2 +- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/api/device.js b/api/device.js index 2cdb5bc..bad6616 100644 --- a/api/device.js +++ b/api/device.js @@ -8,10 +8,11 @@ const getBsFeiBaSetByCode=(fsCode)=> { }) } // 获取设备 -const getEcByDeviceCodeS=(deviceCode)=> { +const getEcByDeviceCodeS=(params)=> { return http.request({ - url: '/blade-desk/pdaLoad/getEcByDeviceCode/'+deviceCode, + url: '/blade-desk/pdaLoad/getEcByDeviceCode', method: 'get', + params }) } diff --git a/pages/plan/binding.vue b/pages/plan/binding.vue index 51c44f4..cb49ca9 100644 --- a/pages/plan/binding.vue +++ b/pages/plan/binding.vue @@ -401,7 +401,7 @@ if (this.facilityValue.length >= 1) { this.facilityValue = e.detail.value.slice(this.oldFacilityValue.length); this.oldValue = this.facilityValue; - this.getEcByDeviceCode(this.facilityValue); + this.getEcByDeviceCodeS({deviceCode:this.facilityValue}); } }, 2000); } diff --git a/pages/production/cardEquipmentSet.vue b/pages/production/cardEquipmentSet.vue index 32561f5..b676003 100644 --- a/pages/production/cardEquipmentSet.vue +++ b/pages/production/cardEquipmentSet.vue @@ -186,7 +186,7 @@ export default { }, getEcByDeviceCode(code) { this.twoInput = code; - this.$u.api.getEcByDeviceCode(code).then((res) => { + this.$u.api.getEcByDeviceCodeS({deviceCode:code}).then((res) => { let data = res.data; this.facilityObj = data; this.clearTwoInput(); diff --git a/pages/production/feibaDevice.vue b/pages/production/feibaDevice.vue index 1d5e2fc..3e14023 100644 --- a/pages/production/feibaDevice.vue +++ b/pages/production/feibaDevice.vue @@ -161,7 +161,7 @@ export default { // }); } else { this.twoInput = code; - this.$u.api.getEcByDeviceCodeS(code).then((res) => { + this.$u.api.getEcByDeviceCodeS({deviceCode:code}).then((res) => { let data = res.data; this.facilityObj = data; this.clearTwoInput(); diff --git a/pages/production/rackEcSet.vue b/pages/production/rackEcSet.vue index 9e78553..ad153a0 100644 --- a/pages/production/rackEcSet.vue +++ b/pages/production/rackEcSet.vue @@ -154,7 +154,7 @@ export default { getEcByDeviceCode(code) { this.twoInput = code; - this.$u.api.getEcByDeviceCode(code).then((res) => { + this.$u.api.getEcByDeviceCodeS({deviceCode:code}).then((res) => { let data = res.data; this.facilityObj = data; this.clearTwoInput(); diff --git a/pages/production/sjCardEquipmentSet.vue b/pages/production/sjCardEquipmentSet.vue index 0cff607..04b58e3 100644 --- a/pages/production/sjCardEquipmentSet.vue +++ b/pages/production/sjCardEquipmentSet.vue @@ -461,7 +461,7 @@ export default { }, getEcByDeviceCode(code) { this.twoInput = code; - this.$u.api.getEcByDeviceCode(code).then((res) => { + this.$u.api.getEcByDeviceCodeS({deviceCode:code}).then((res) => { let data = res.data; this.facilityObj = data; this.clearTwoInput(); diff --git a/pages/production/unBinding.vue b/pages/production/unBinding.vue index 6bb4c6d..512c0ef 100644 --- a/pages/production/unBinding.vue +++ b/pages/production/unBinding.vue @@ -208,7 +208,7 @@ export default { }, getEcByDeviceCode(code) { this.therrInput = code; - this.$u.api.getEcByDeviceCode(code).then((res) => { + this.$u.api.getEcByDeviceCodeS({deviceCode:code}).then((res) => { let data = res.data; this.facilityObj = data; this.oneFlag = true;