查询设备接口修改

master
zhangdi 2 weeks ago
parent 39b093b5ef
commit 9ac866777f
  1. 5
      api/device.js
  2. 2
      pages/plan/binding.vue
  3. 2
      pages/production/cardEquipmentSet.vue
  4. 2
      pages/production/feibaDevice.vue
  5. 2
      pages/production/rackEcSet.vue
  6. 2
      pages/production/sjCardEquipmentSet.vue
  7. 2
      pages/production/unBinding.vue

@ -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
})
}

@ -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);
}

@ -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();

@ -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();

@ -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();

@ -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();

@ -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;

Loading…
Cancel
Save