Showing
6 changed files
with
11 additions
and
9 deletions
| 1 | # port | 1 | # port |
| 2 | VITE_PORT = 8083 | 2 | VITE_PORT = 8083 |
| 3 | - | 3 | +VITE_GLOB_USE_MOCK = false |
| 4 | # spa-title | 4 | # spa-title |
| 5 | VITE_GLOB_APP_TITLE = ThingsKit | 5 | VITE_GLOB_APP_TITLE = ThingsKit |
| 6 | +VITE_PROXY = [["/api","http://10.9.0.205:8080/api"],["/thingskit-scada","http://localhost:5173/thingskit-scada"],["/large-designer", "http://localhost:5555/large-designer/"]] | ||
| 6 | 7 | ||
| 7 | # spa shortname | 8 | # spa shortname |
| 8 | # VITE_GLOB_APP_SHORT_NAME = Yunteng IOT | 9 | # VITE_GLOB_APP_SHORT_NAME = Yunteng IOT |
| @@ -8,10 +8,10 @@ VITE_GLOB_PUBLIC_PATH = / | @@ -8,10 +8,10 @@ VITE_GLOB_PUBLIC_PATH = / | ||
| 8 | # Please note that no line breaks | 8 | # Please note that no line breaks |
| 9 | 9 | ||
| 10 | # 本地 | 10 | # 本地 |
| 11 | -VITE_PROXY = [["/api","http://localhost:8080/api"],["/thingskit-scada","http://localhost:5173/thingskit-scada"],["/large-designer", "http://localhost:5555/large-designer/"]] | 11 | +VITE_PROXY = [["/api","http://10.9.0.205:8080/api"],["/thingskit-scada","http://localhost:5173/thingskit-scada"],["/large-designer", "http://localhost:5555/large-designer/"]] |
| 12 | 12 | ||
| 13 | # 实时数据的ws地址 | 13 | # 实时数据的ws地址 |
| 14 | -VITE_GLOB_WEB_SOCKET = ws://localhost:8080/api/ws/plugins/telemetry?token= | 14 | +VITE_GLOB_WEB_SOCKET = ws://10.9.0.205:8080/api/ws/plugins/telemetry?token= |
| 15 | 15 | ||
| 16 | # Delete console | 16 | # Delete console |
| 17 | VITE_GLOB_DROP_CONSOLE = true | 17 | VITE_GLOB_DROP_CONSOLE = true |
| @@ -35,7 +35,7 @@ VITE_USE_PWA = false | @@ -35,7 +35,7 @@ VITE_USE_PWA = false | ||
| 35 | VITE_LEGACY = true | 35 | VITE_LEGACY = true |
| 36 | 36 | ||
| 37 | # 实时数据的ws地址 | 37 | # 实时数据的ws地址 |
| 38 | -VITE_GLOB_WEB_SOCKET = ws://localhost:8080/api/ws/plugins/telemetry?token= | 38 | +VITE_GLOB_WEB_SOCKET = ws://iot.qgutech.com/api/ws/plugins/telemetry?token= |
| 39 | 39 | ||
| 40 | #configuration | 40 | #configuration |
| 41 | VITE_GLOB_CONFIGURATION = /thingskit-scada | 41 | VITE_GLOB_CONFIGURATION = /thingskit-scada |
| 1 | -<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="200" height="200" src="https://anncwb.github.io/anncwb/images/logo.png"> </a> <br> <br> | 1 | + <div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="200" height="200" src="https://anncwb.github.io/anncwb/images/logo.png"> </a> <br> <br> |
| 2 | 2 | ||
| 3 | [](LICENSE) | 3 | [](LICENSE) |
| 4 | 4 |
| @@ -11,7 +11,8 @@ | @@ -11,7 +11,8 @@ | ||
| 11 | "serve": "npm run dev", | 11 | "serve": "npm run dev", |
| 12 | "dev": "vite", | 12 | "dev": "vite", |
| 13 | "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", | 13 | "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", |
| 14 | - "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts", | 14 | + "build:test2": "cross-env NODE_ENV=test vite build && esno ./build/script/postBuild.ts", |
| 15 | + "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts", | ||
| 15 | "build:no-cache": "yarn clean:cache && npm run build", | 16 | "build:no-cache": "yarn clean:cache && npm run build", |
| 16 | "report": "cross-env REPORT=true npm run build", | 17 | "report": "cross-env REPORT=true npm run build", |
| 17 | "type:check": "vue-tsc --noEmit --skipLibCheck", | 18 | "type:check": "vue-tsc --noEmit --skipLibCheck", |
| @@ -75,7 +76,7 @@ | @@ -75,7 +76,7 @@ | ||
| 75 | "vue": "3.3.4", | 76 | "vue": "3.3.4", |
| 76 | "vue-i18n": "9.1.7", | 77 | "vue-i18n": "9.1.7", |
| 77 | "vue-json-pretty": "^2.0.4", | 78 | "vue-json-pretty": "^2.0.4", |
| 78 | - "vue-router": "^4.0.11", | 79 | + "vue-router": "4.0.11", |
| 79 | "vue-types": "^4.0.3", | 80 | "vue-types": "^4.0.3", |
| 80 | "vue3-grid-layout": "^1.0.0", | 81 | "vue3-grid-layout": "^1.0.0", |
| 81 | "xgplayer": "^3.0.14", | 82 | "xgplayer": "^3.0.14", |
| @@ -104,7 +105,7 @@ | @@ -104,7 +105,7 @@ | ||
| 104 | "@types/qs": "^6.9.7", | 105 | "@types/qs": "^6.9.7", |
| 105 | "@types/sortablejs": "^1.10.7", | 106 | "@types/sortablejs": "^1.10.7", |
| 106 | "@typescript-eslint/eslint-plugin": "^4.29.1", | 107 | "@typescript-eslint/eslint-plugin": "^4.29.1", |
| 107 | - "@typescript-eslint/parser": "^4.29.1", | 108 | + "@typescript-eslint/parser": "4.29.1", |
| 108 | "@vitejs/plugin-legacy": "^1.5.1", | 109 | "@vitejs/plugin-legacy": "^1.5.1", |
| 109 | "@vitejs/plugin-vue": "^1.4.0", | 110 | "@vitejs/plugin-vue": "^1.4.0", |
| 110 | "@vitejs/plugin-vue-jsx": "^1.1.7", | 111 | "@vitejs/plugin-vue-jsx": "^1.1.7", |
| @@ -86,7 +86,7 @@ export const descSchema = (emit: EmitType): DescItem[] => { | @@ -86,7 +86,7 @@ export const descSchema = (emit: EmitType): DescItem[] => { | ||
| 86 | }, | 86 | }, |
| 87 | }, | 87 | }, |
| 88 | { | 88 | { |
| 89 | - field: 'deviceInfo.sip.cameraCode', | 89 | + field: 'sn', |
| 90 | label: t('deviceManagement.device.deviceCameraCodeText'), | 90 | label: t('deviceManagement.device.deviceCameraCodeText'), |
| 91 | }, | 91 | }, |
| 92 | { | 92 | { |