diff --git a/.env.development b/.env.development index 1252cf2..045cc8b 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ VITE_BASE_URL=http://192.168.0.69:7082/ -VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/ -VITE_LEARNING_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/websocket/ +VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.0.31:8869 +VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.0.31:8899 diff --git a/.env.production b/.env.production index e120c4c..07df8ad 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,10 @@ -VITE_BASE_URL=http://192.168.0.31:7082/integrated_traffic/ -VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/ -VITE_LEARNING_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/websocket/ +VITE_BASE_URL=http://39.101.166.211:8073/integrated_traffic/ + +#websocket t掉线 +VITE_ON_LINE_WEB_SOCKET_URL=ws://39.101.166.211:8869 +# VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/disconnected/ + +#websocket 在线学习 +VITE_LEARNING_WEB_SOCKET_URL=ws://39.101.166.211:8899 +# VITE_LEARNING_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/onlinelearning/ diff --git a/env.d.ts b/env.d.ts index a6b6bbe..433693a 100644 --- a/env.d.ts +++ b/env.d.ts @@ -1,9 +1,5 @@ interface ImportMetaEnv { // Auto generate by env-parse - /** - * undefined - */ - readonly VITE_BASE_URL: string /** * undefined */ @@ -16,6 +12,10 @@ interface ImportMetaEnv { * undefined */ readonly VITE_TEMPLATE_URL: string + /** + * undefined + */ + readonly VITE_BASE_URL: string /** * undefined */ diff --git a/src/request/customer_management.js b/src/request/customer_management.js index 5dd4a8f..f1c4e0c 100644 --- a/src/request/customer_management.js +++ b/src/request/customer_management.js @@ -20,4 +20,3 @@ export const editSafetyCustomerInfo = (params) => export const deleteContactInfo = (params) => upload("/securitycustomer/deleteContactInfo", params); // 删除 - diff --git a/src/views/electronic_waybill_management/waybill_registration/edit.vue b/src/views/electronic_waybill_management/waybill_registration/edit.vue index 9f49d65..186eb7e 100644 --- a/src/views/electronic_waybill_management/waybill_registration/edit.vue +++ b/src/views/electronic_waybill_management/waybill_registration/edit.vue @@ -553,7 +553,6 @@ fnCustomerType(); const fnLocation = async () => { const res = await getTrafficLocationSelectList(); const varList = res.varList || []; - console.log(res); const StartOptionstMap = new Map(); varList.forEach((item) => { if (item.LOCATIONTYPE === "1") { diff --git a/src/views/enterprise_management/information/edit.vue b/src/views/enterprise_management/information/edit.vue index 772727f..e4a18b5 100644 --- a/src/views/enterprise_management/information/edit.vue +++ b/src/views/enterprise_management/information/edit.vue @@ -614,7 +614,6 @@ const data = reactive({ const fnGetData = async () => { const resData = await getEnterpriseInfo(); data.form = resData.pd; - console.log(data.form); data.form.bus_images = addingPrefixToFile(resData.busImgs); data.form.official_seal_file = [ { diff --git a/src/views/enterprise_management/user_practitioner/index.vue b/src/views/enterprise_management/user_practitioner/index.vue index e90fe13..ecf5810 100644 --- a/src/views/enterprise_management/user_practitioner/index.vue +++ b/src/views/enterprise_management/user_practitioner/index.vue @@ -234,7 +234,7 @@ const reviewItem = async (row) => { /* const fnWindow = async () => { window.open( - "http://192.168.0.69:8081/#/middlePage?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd2QiOiJMZmtmcUAxMjM0NTYiLCJleHAiOjE3MTI3MTUxNDYsInVzZXIiOiJsZnlqemhkcCIsInRhcmdldCI6Imh0dHA6Ly8xOTIuMTY4LjAuNjk6ODA4Mi8jL21pZGRsZVBhZ2UifQ.xb0HD3sqJOCi4y3Ogtg27rTkKPrmdKd-DK660LpM_X8" + "http://60.10.47.50:9001/#/middlePage?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd2QiOiJMZmtmcUAxMjM0NTYiLCJleHAiOjE3MTI4OTc1NjcsInVzZXIiOiJsZnlqemhkcCIsInRhcmdldCI6Imh0dHA6Ly8xOTIuMTY4LjAuNjk6ODA4Mi8jL21pZGRsZVBhZ2UifQ.TUl_q6hcWaXMAVlVqOVQup77MjQWcxc-g8SNrhQRbzc" ); }; */ // 页面下拉选项字典获取 diff --git a/src/views/index/components/info.vue b/src/views/index/components/info.vue index 93ec883..52eac25 100644 --- a/src/views/index/components/info.vue +++ b/src/views/index/components/info.vue @@ -8,7 +8,7 @@