Code Management/WCS/WIDESEAWCS_Client/src/api/http.js
@@ -20,7 +20,7 @@ } else if (process.env.NODE_ENV == 'production') { axios.defaults.baseURL = 'http://192.168.5.251:9291/'; axios.defaults.baseURL = 'http://192.168.20.251:9291/'; } if (!axios.defaults.baseURL.endsWith('/')) { axios.defaults.baseURL+="/"; Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/Volume.vue
@@ -21,7 +21,7 @@ const num = reactive([]) onMounted(() => { eventBus.on('locationData', eventData => { if (eventData.deviceName === "å容3çº¿å ¥åºè¾é线" || eventData.deviceName === "å容åºåºè¾é线") { if (eventData.deviceName.indexOf("å容") != -1) { if (devices.length <= 0) { devices.push({ deviceName: eventData.deviceName, data: eventData.data, childDeviceCode: eventData.data.childDeviceCode }); } Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/hightemperature.vue
@@ -15,33 +15,32 @@ import DeviceStacker from "@/components/DeviceStacker.vue"; // å åæº const Stackers = reactive([]); var i=0; var i = 0; // 设å¤å表ï¼ä¿®æ¹éå¤è®¾å¤åç§°ï¼ const devices = reactive([]); const num = reactive([]) onMounted(() => { eventBus.on('stackerData', eventData => { eventBus.on('locationData', eventData => { // console.log(eventData) console.log(eventData) if (eventData.deviceName === "èåå ¥åºè¾é线") { if (devices.length <= 0) { console.log(eventData) if (eventData.deviceName.indexOf("èå") != -1) { if (devices.length <= 0) { devices.push({ deviceName: eventData.deviceName, data: eventData.data, childDeviceCode: eventData.data.childDeviceCode }); } else { const device = devices.find(c => c.childDeviceCode == eventData.data.childDeviceCode) if(device){ if (device) { device.data = eventData.data }else{ } else { devices.push({ deviceName: eventData.deviceName, data: eventData.data, childDeviceCode: eventData.data.childDeviceCode }); } } } }) eventBus.on('stackerData', eventData => { if (eventData.deviceName == "èå1å·å åæº") { if (eventData.deviceName.indexOf("èå") != -1) { if (Stackers.length == 0) { Stackers.push({ deviceName: eventData.deviceName, data: eventData.data }); } @@ -58,6 +57,4 @@ }) }) </script> <style scoped> </style> <style scoped></style> Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/roomtemperature.vue
@@ -15,33 +15,33 @@ import DeviceStacker from "@/components/DeviceStacker.vue"; // å åæº const Stackers = reactive([]); var i=0; var i = 0; // 设å¤å表ï¼ä¿®æ¹éå¤è®¾å¤åç§°ï¼ const devices = reactive([]); const num = reactive([]) onMounted(() => { eventBus.on('locationData', eventData => { // console.log(eventData) console.log(eventData) if (eventData.deviceName === "å¸¸æ¸©å ¥åºè¾é线") { if (devices.length <= 0) { console.log(eventData) if (eventData.deviceName.indexOf("常温") != -1) { if (devices.length <= 0) { devices.push({ deviceName: eventData.deviceName, data: eventData.data, childDeviceCode: eventData.data.childDeviceCode }); } else { const device = devices.find(c => c.childDeviceCode == eventData.data.childDeviceCode) if(device){ if (device) { device.data = eventData.data }else{ } else { devices.push({ deviceName: eventData.deviceName, data: eventData.data, childDeviceCode: eventData.data.childDeviceCode }); } } } }) eventBus.on('stackerData', eventData => { if (eventData.deviceName.indexOf("常温")) { if (eventData.deviceName.indexOf("常温") != -1) { if (Stackers.length == 0) { Stackers.push({ deviceName: eventData.deviceName, data: eventData.data }); } @@ -58,6 +58,4 @@ }) }) </script> <style scoped> </style> <style scoped></style> ÏîÄ¿×ÊÁÏ/ÏîĿͼֽ/µçо2FͼֽÓëµçÆø±àºÅ¶ÔÕÕ£¨08ÏîÄ¿£©/08¶þÂ¥ÊäËͲ¼¾Öµãλͼ1106(4).dwg.bakBinary files differ