@ -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.$u.api.getEcByDeviceCodeS(code).then((res) => {
@ -154,7 +154,7 @@ export default {
@ -461,7 +461,7 @@ export default {
@ -208,7 +208,7 @@ export default {
this.therrInput = code;
this.oneFlag = true;