From 246b5c26a2c17f5baa0a70c893fae819ef8d2e84 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 26 十二月 2024 18:28:54 +0800 Subject: [PATCH] ll --- screen/package-lock.json | 37 +++++++++++++++++- pda/utils/config.js | 4 +- h5_meeting/pages/index/index.vue | 12 +++--- screen/package.json | 1 screen/src/views/videoUrl/Video.vue | 2 h5_meeting/manifest.json | 4 +- screen/src/views/FireFighting.vue | 20 +++++----- 7 files changed, 55 insertions(+), 25 deletions(-) diff --git a/h5_meeting/manifest.json b/h5_meeting/manifest.json index eeba487..89ba255 100644 --- a/h5_meeting/manifest.json +++ b/h5_meeting/manifest.json @@ -96,9 +96,9 @@ "disableHostCheck" : true, "proxy" : { "/gateway_interface" : { - "target" : "http://10.50.250.253:8088/gateway_interface", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃 + // "target" : "http://10.50.250.253:8088/gateway_interface", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃 // "target" : "http://192.168.0.173/gateway_interface", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃 - // "target" : "http://192.168.0.173/gateway_interface", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃 + "target" : "https://atwl.ahzyssl.com/zhyq_interface", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃 "changeOrigin" : true, // 鍏佽璺ㄥ煙 "pathRewrite" : { "^/gateway_interface" : "" diff --git a/h5_meeting/pages/index/index.vue b/h5_meeting/pages/index/index.vue index 94b405d..07b8517 100644 --- a/h5_meeting/pages/index/index.vue +++ b/h5_meeting/pages/index/index.vue @@ -153,7 +153,7 @@ qr.data = "https://atwl.ahzyssl.com/zhyq_h5/#/pages/login/login/?type=2&yw=1&ywid=" + this.meetingInfo.id // 璁剧疆浜岀淮鐮佸ぇ灏忥紝蹇呴』涓巆anvas璁剧疆鐨勫楂樹竴鑷� - qr.size = 83; + qr.size = 104; // 璋冪敤鍒朵綔浜岀淮鐮佹柟娉� qr.make(); // 鑾峰彇canvas涓婁笅鏂� @@ -340,16 +340,16 @@ } .qrcode_wrap { - width: 92px; - height: 92px; + width: 110px; + height: 110px; display: flex; align-items: center; justify-content: center; background-color: #fff; - + .qrcode { - width: 84px; - height: 84px; + width: 104px; + height: 104px; } } diff --git a/pda/utils/config.js b/pda/utils/config.js index 0d82c16..4803406 100644 --- a/pda/utils/config.js +++ b/pda/utils/config.js @@ -1,6 +1,6 @@ -// export const baseUrl = 'gateway_interface/' -export const baseUrl = 'http://10.50.250.253:8088/gateway_interface/' +export const baseUrl = 'gateway_interface/' +// export const baseUrl = 'http://10.50.250.253:8088/gateway_interface/' export const uploadAvatar = `${baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do` export const uploadUrl = `${baseUrl}visitsAdmin/cloudService/public/uploadBatch` diff --git a/screen/package-lock.json b/screen/package-lock.json index d1d2315..f33334f 100644 --- a/screen/package-lock.json +++ b/screen/package-lock.json @@ -22,7 +22,6 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", - "sass": "^1.77.6", "scss": "^0.2.4", "vite": "^5.2.8", "vite-plugin-vue-devtools": "^7.0.25" @@ -900,6 +899,7 @@ "dev": true, "hasInstallScript": true, "optional": true, + "peer": true, "dependencies": { "detect-libc": "^1.0.3", "is-glob": "^4.0.3", @@ -941,6 +941,7 @@ "os": [ "android" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -961,6 +962,7 @@ "os": [ "darwin" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -981,6 +983,7 @@ "os": [ "darwin" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1001,6 +1004,7 @@ "os": [ "freebsd" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1021,6 +1025,7 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1041,6 +1046,7 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1061,6 +1067,7 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1081,6 +1088,7 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1101,6 +1109,7 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1121,6 +1130,7 @@ "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1141,6 +1151,7 @@ "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1161,6 +1172,7 @@ "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1181,6 +1193,7 @@ "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -1822,6 +1835,7 @@ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "optional": true, + "peer": true, "dependencies": { "fill-range": "^7.1.1" }, @@ -1924,6 +1938,8 @@ "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-4.0.1.tgz", "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "readdirp": "^4.0.1" }, @@ -2101,6 +2117,7 @@ "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", "dev": true, "optional": true, + "peer": true, "bin": { "detect-libc": "bin/detect-libc.js" }, @@ -2271,6 +2288,7 @@ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "optional": true, + "peer": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -2454,7 +2472,9 @@ "version": "5.0.3", "resolved": "https://registry.npmmirror.com/immutable/-/immutable-5.0.3.tgz", "integrity": "sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/inflight": { "version": "1.0.6", @@ -2492,6 +2512,7 @@ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, "optional": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -2502,6 +2523,7 @@ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "optional": true, + "peer": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -2533,6 +2555,7 @@ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, "optional": true, + "peer": true, "engines": { "node": ">=0.12.0" } @@ -2696,6 +2719,7 @@ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "optional": true, + "peer": true, "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -2791,7 +2815,8 @@ "resolved": "https://registry.npmmirror.com/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", "dev": true, - "optional": true + "optional": true, + "peer": true }, "node_modules/node-releases": { "version": "2.0.19", @@ -2914,6 +2939,7 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, "optional": true, + "peer": true, "engines": { "node": ">=8.6" }, @@ -3083,6 +3109,8 @@ "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-4.0.2.tgz", "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==", "dev": true, + "optional": true, + "peer": true, "engines": { "node": ">= 14.16.0" }, @@ -3170,6 +3198,8 @@ "resolved": "https://registry.npmjs.org/sass/-/sass-1.83.0.tgz", "integrity": "sha512-qsSxlayzoOjdvXMVLkzF84DJFc2HZEL/rFyGIKbbilYtAvlCxyuzUeff9LawTn4btVnLKg75Z8MMr1lxU1lfGw==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "chokidar": "^4.0.0", "immutable": "^5.0.2", @@ -3377,6 +3407,7 @@ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "optional": true, + "peer": true, "dependencies": { "is-number": "^7.0.0" }, diff --git a/screen/package.json b/screen/package.json index 828491a..cd3987f 100644 --- a/screen/package.json +++ b/screen/package.json @@ -24,7 +24,6 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", - "sass": "^1.77.6", "scss": "^0.2.4", "vite": "^5.2.8", "vite-plugin-vue-devtools": "^7.0.25" diff --git a/screen/src/views/FireFighting.vue b/screen/src/views/FireFighting.vue index ef06b7f..473d5ec 100644 --- a/screen/src/views/FireFighting.vue +++ b/screen/src/views/FireFighting.vue @@ -147,7 +147,7 @@ <div class="item"> <img class="icon" src="@/assets/images/FireFighting/ic_wendu@2x.png" alt=""> <div class="content"> - <div class="num">{{ dataList8[dataIndex8].temperatureData?.latestValue }}<span>掳C</span></div> + <div class="num" v-if="dataList8[dataIndex8].temperatureData && dataList8[dataIndex8].temperatureData.latestValue">{{ Number(dataList8[dataIndex8].temperatureData.latestValue).toFixed(1) }}<span>掳C</span></div> <div class="la">闃堝�� {{ dataList8[dataIndex8].temperatureData?.alarmLow }}锝瀧{ dataList8[dataIndex8].temperatureData?.alarmHigh }}掳C</div> </div> @@ -155,9 +155,9 @@ <div class="item"> <img class="icon" src="@/assets/images/FireFighting/ic_shidu@2x.png" alt=""> <div class="content"> - <div class="num">{{ dataList8[dataIndex8].humidityData?.latestValue }}<span>%</span></div> + <div class="num" v-if="dataList8[dataIndex8].humidityData && dataList8[dataIndex8].humidityData.latestValue">{{ Number(dataList8[dataIndex8].humidityData.latestValue).toFixed(1) }}<span>%</span></div> <div class="la">闃堝�� {{ dataList8[dataIndex8].humidityData?.alarmLow }}锝瀧{ - dataList8[dataIndex8].humidityData?.alarmHigh }}</div> + dataList8[dataIndex8].humidityData?.alarmHigh }}掳C</div> </div> </div> </div> @@ -559,7 +559,7 @@ { name: '鏈�涓婂眰绔嬩綋鍦�', type: 'pictorialBar', - symbolSize: [170, 40], + symbolSize: [182, 40], symbolOffset: [0, -20], z: 12, itemStyle: { @@ -577,7 +577,7 @@ { name: '涓棿绔嬩綋鍦�', type: 'pictorialBar', - symbolSize: [170, 40], + symbolSize: [182, 40], symbolOffset: [0, -20], z: 12, itemStyle: { @@ -610,7 +610,7 @@ { name: '鏈�搴曢儴绔嬩綋鍦�', type: 'pictorialBar', - symbolSize: [170, 40], + symbolSize: [182, 40], symbolOffset: [0, 20], z: 12, itemStyle: { @@ -1249,9 +1249,9 @@ } .center_box_two { - width: 100%; + width: 108%; display: flex; - + margin: 0 -4%; .content_wrap { flex: 1; flex-shrink: 0; @@ -1440,7 +1440,7 @@ position: absolute; top: 99px; left: 0; - width: 192px; + width: 206px; display: flex; flex-direction: column; align-items: center; @@ -1462,7 +1462,7 @@ } */ .liquidlevel { - width: 206px; + width: 220px; height: 400px; transform: scale(0.27); color: #fff; diff --git a/screen/src/views/videoUrl/Video.vue b/screen/src/views/videoUrl/Video.vue index f5e72a5..a034c60 100644 --- a/screen/src/views/videoUrl/Video.vue +++ b/screen/src/views/videoUrl/Video.vue @@ -6,7 +6,7 @@ </template> <script setup> -import { defineProps, ref, onMounted, onUnmounted, watch } from 'vue' +import { ref, onMounted, onUnmounted, watch } from 'vue' const props = defineProps({ indexCode: String, href: String, -- Gitblit v1.9.3