From 1f477edaef7041649d4c3e8b15fea78e0a38dbcd Mon Sep 17 00:00:00 2001 From: qiushui Date: Mon, 27 Dec 2021 17:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=8212.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 389 ++++++++++++++---- src/layouts/Breadcrumb.vue | 2 +- src/layouts/PageContent.vue | 5 - src/layouts/PageHeader.vue | 10 +- src/views/cameraManage/model.vue | 26 +- src/views/checkManage/checkOperation.vue | 487 ++++++++--------------- src/views/historyMonitoring/index.vue | 21 +- src/views/productSpecManage/index.vue | 4 + src/views/productSpecManage/model.vue | 12 +- vue.config.js | 3 +- 10 files changed, 502 insertions(+), 457 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ffd43f..e32270b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1859,16 +1859,6 @@ "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", "dev": true }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1618995588464&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz", - "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", - "dev": true, - "optional": true, - "requires": { - "color-convert": "^2.0.1" - } - }, "cacache": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/cacache/-/cacache-13.0.1.tgz", @@ -1895,34 +1885,6 @@ "unique-filename": "^1.1.1" } }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646655305&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz", - "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", - "dev": true, - "optional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.nlark.com/color-convert/download/color-convert-2.0.1.tgz", - "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", - "dev": true, - "optional": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz", - "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", - "dev": true, - "optional": true - }, "debug": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", @@ -1953,25 +1915,6 @@ "path-exists": "^4.0.0" } }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz?cache=0&sync_timestamp=1626715907927&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhas-flag%2Fdownload%2Fhas-flag-4.0.0.tgz", - "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", - "dev": true, - "optional": true - }, - "loader-utils": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz", - "integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=", - "dev": true, - "optional": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - } - }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -2042,16 +1985,6 @@ "minipass": "^3.1.1" } }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.nlark.com/supports-color/download/supports-color-7.2.0.tgz", - "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", - "dev": true, - "optional": true, - "requires": { - "has-flag": "^4.0.0" - } - }, "terser-webpack-plugin": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.3.8.tgz", @@ -2068,18 +2001,6 @@ "terser": "^4.6.12", "webpack-sources": "^1.4.3" } - }, - "vue-loader-v16": { - "version": "npm:vue-loader@16.5.0", - "resolved": "https://registry.nlark.com/vue-loader/download/vue-loader-16.5.0.tgz?cache=0&sync_timestamp=1628666727543&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvue-loader%2Fdownload%2Fvue-loader-16.5.0.tgz", - "integrity": "sha1-CcTgcSRmiZ40uZpoZSTxkWX7KJI=", - "dev": true, - "optional": true, - "requires": { - "chalk": "^4.1.0", - "hash-sum": "^2.0.0", - "loader-utils": "^2.0.0" - } } } }, @@ -5896,6 +5817,11 @@ "is-symbol": "^1.0.2" } }, + "es5-shim": { + "version": "4.6.4", + "resolved": "https://registry.npmjs.org/es5-shim/-/es5-shim-4.6.4.tgz", + "integrity": "sha512-Z0f7OUYZ8JfqT12d3Tgh2ErxIH5Shaz97GE8qyDG9quxb2Hmh2vvFHlOFjx6lzyD0CRgvJfnNYcisjdbRp7MPw==" + }, "escalade": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.0.2.tgz", @@ -10162,6 +10088,11 @@ "safe-buffer": "^5.1.1" } }, + "parse-headers": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.4.tgz", + "integrity": "sha512-psZ9iZoCNFLrgRjZ1d8mn0h9WRqJwFxM9q3x7iUjN/YT2OksthDJ5TiPCu2F38kS4zutqfW+YdVVkBZZx3/1aw==" + }, "parse-json": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.1.tgz", @@ -13183,6 +13114,11 @@ "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", "dev": true }, + "tsml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tsml/-/tsml-1.0.1.tgz", + "integrity": "sha1-ifghi52eJX9H1/a1bQHFpNLGj8M=" + }, "tty-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", @@ -13579,11 +13515,164 @@ "videojs-vtt.js": "^0.15.2" } }, + "videojs-contrib-hls": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/videojs-contrib-hls/-/videojs-contrib-hls-5.15.0.tgz", + "integrity": "sha512-18zbMYZ0XRBKTPEayA9bFTWWrqhT9b4G8+zf0czJLD7Epe5PcK1I/3dflTHQeQ5rwlWir+/XnFU3sMg/B2MMcw==", + "requires": { + "aes-decrypter": "1.0.3", + "global": "^4.3.0", + "m3u8-parser": "2.1.0", + "mux.js": "4.3.2", + "url-toolkit": "^2.1.3", + "video.js": "^5.19.1 || ^6.2.0", + "videojs-contrib-media-sources": "4.7.2", + "webwackify": "0.1.6" + }, + "dependencies": { + "aes-decrypter": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/aes-decrypter/-/aes-decrypter-1.0.3.tgz", + "integrity": "sha1-nAa4pUNaWtCduTP4oBSvzxhMw04=", + "requires": { + "pkcs7": "^0.2.3" + } + }, + "m3u8-parser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/m3u8-parser/-/m3u8-parser-2.1.0.tgz", + "integrity": "sha1-yBcDKewc1RXQ1Yu4t2LamJbLA2g=" + }, + "mux.js": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/mux.js/-/mux.js-4.3.2.tgz", + "integrity": "sha512-g0q6DPdvb3yYcoK7ElBGobdSSrhY/RjPt19U7uUc733aqvc5bCS/aCvL9z+448y+IoCZnYDwyZfQBBXMSmGOaQ==" + }, + "pkcs7": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/pkcs7/-/pkcs7-0.2.3.tgz", + "integrity": "sha1-ItYGZtAQZcXyRDkJjkpIMEUic74=" + }, + "video.js": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/video.js/-/video.js-6.13.0.tgz", + "integrity": "sha512-36/JR/GhPQSZj0o+GNbhcEYv/b0SkV9SQsjlodAnzMQYN0TA7VhmqrKPYMCi1NGRYu7S9W3OaFCFoUxkYfSVlg==", + "requires": { + "babel-runtime": "^6.9.2", + "global": "4.3.2", + "safe-json-parse": "4.0.0", + "tsml": "1.0.1", + "videojs-font": "2.1.0", + "videojs-ie8": "1.1.2", + "videojs-vtt.js": "0.12.6", + "xhr": "2.4.0" + } + }, + "videojs-font": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/videojs-font/-/videojs-font-2.1.0.tgz", + "integrity": "sha1-olkwpn9snPvyu4jay4xrRR8JM3k=" + }, + "videojs-vtt.js": { + "version": "0.12.6", + "resolved": "https://registry.npmjs.org/videojs-vtt.js/-/videojs-vtt.js-0.12.6.tgz", + "integrity": "sha512-XFXeGBQiljnElMhwCcZst0RDbZn2n8LU7ZScXryd3a00OaZsHAjdZu/7/RdSr7Z1jHphd45FnOvOQkGK4YrWCQ==", + "requires": { + "global": "^4.3.1" + } + } + } + }, + "videojs-contrib-media-sources": { + "version": "4.7.2", + "resolved": "https://registry.npmjs.org/videojs-contrib-media-sources/-/videojs-contrib-media-sources-4.7.2.tgz", + "integrity": "sha512-e6iCHWBFuV05EGo7v+pS9iepObXnJ9joms467gzi8ZjpKVb3ifha9M0Ja24Rd8JfvYpzjltsgDVtGFDvIg4hQQ==", + "requires": { + "global": "^4.3.0", + "mux.js": "4.3.2", + "video.js": "^5.17.0 || ^6.2.0", + "webwackify": "0.1.6" + }, + "dependencies": { + "mux.js": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/mux.js/-/mux.js-4.3.2.tgz", + "integrity": "sha512-g0q6DPdvb3yYcoK7ElBGobdSSrhY/RjPt19U7uUc733aqvc5bCS/aCvL9z+448y+IoCZnYDwyZfQBBXMSmGOaQ==" + }, + "video.js": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/video.js/-/video.js-6.13.0.tgz", + "integrity": "sha512-36/JR/GhPQSZj0o+GNbhcEYv/b0SkV9SQsjlodAnzMQYN0TA7VhmqrKPYMCi1NGRYu7S9W3OaFCFoUxkYfSVlg==", + "requires": { + "babel-runtime": "^6.9.2", + "global": "4.3.2", + "safe-json-parse": "4.0.0", + "tsml": "1.0.1", + "videojs-font": "2.1.0", + "videojs-ie8": "1.1.2", + "videojs-vtt.js": "0.12.6", + "xhr": "2.4.0" + } + }, + "videojs-font": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/videojs-font/-/videojs-font-2.1.0.tgz", + "integrity": "sha1-olkwpn9snPvyu4jay4xrRR8JM3k=" + }, + "videojs-vtt.js": { + "version": "0.12.6", + "resolved": "https://registry.npmjs.org/videojs-vtt.js/-/videojs-vtt.js-0.12.6.tgz", + "integrity": "sha512-XFXeGBQiljnElMhwCcZst0RDbZn2n8LU7ZScXryd3a00OaZsHAjdZu/7/RdSr7Z1jHphd45FnOvOQkGK4YrWCQ==", + "requires": { + "global": "^4.3.1" + } + } + } + }, + "videojs-flash": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/videojs-flash/-/videojs-flash-2.2.1.tgz", + "integrity": "sha512-mHu6TD12EKkxMvr8tg4AcfV/DuVLff427nneoZom3N9Dd2bv0sJOWwdLPQH1v5BCuAuXAVuAOba56ovTl+G3tQ==", + "requires": { + "global": "^4.4.0", + "video.js": "^6 || ^7", + "videojs-swf": "5.4.2" + }, + "dependencies": { + "global": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", + "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", + "requires": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + } + } + }, "videojs-font": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/videojs-font/-/videojs-font-3.2.0.tgz", "integrity": "sha512-g8vHMKK2/JGorSfqAZQUmYYNnXmfec4MLhwtEFS+mMs2IDY398GLysy6BH6K+aS1KMNu/xWZ8Sue/X/mdQPliA==" }, + "videojs-hotkeys": { + "version": "0.2.27", + "resolved": "https://registry.npmjs.org/videojs-hotkeys/-/videojs-hotkeys-0.2.27.tgz", + "integrity": "sha512-pwtm1QocRmzJy1PWQsmFVHyeldYHHpLdeATK3FsFHVMmNpz6CROkAn8TFy2UILr8Ghgq134K8jEKNue8HWpudQ==" + }, + "videojs-ie8": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/videojs-ie8/-/videojs-ie8-1.1.2.tgz", + "integrity": "sha1-oj09hgitcZK2nGB3/E64SJmNNdk=", + "requires": { + "es5-shim": "^4.5.1" + } + }, + "videojs-swf": { + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/videojs-swf/-/videojs-swf-5.4.2.tgz", + "integrity": "sha512-FGg+Csioa8/A/EacvFefBdb9Z0rSiMlheHDunZnN3xXfUF43jvjawcWFQnZvrv1Cs1nE1LBrHyUZjF7j2mKOLw==" + }, "videojs-vtt.js": { "version": "0.15.2", "resolved": "https://registry.npmjs.org/videojs-vtt.js/-/videojs-vtt.js-0.15.2.tgz", @@ -13694,6 +13783,87 @@ } } }, + "vue-loader-v16": { + "version": "npm:vue-loader@16.8.3", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", + "dev": true, + "optional": true, + "requires": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "loader-utils": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "optional": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "optional": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "optional": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "optional": true + }, + "loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "dev": true, + "optional": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "vue-ref": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/vue-ref/-/vue-ref-2.0.0.tgz", @@ -13738,6 +13908,48 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "vue-video-player": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/vue-video-player/-/vue-video-player-5.0.2.tgz", + "integrity": "sha512-IZXeRGGSX4YIp54G0Q5cB7iqh6Ok6Dpa2jRkjdyvMWw7MShJuh54/d5QNb1CZ+CvZUzX/TH7osnpir7mBNcFvQ==", + "requires": { + "object-assign": "^4.1.1", + "video.js": "^6.6.0", + "videojs-contrib-hls": "^5.12.2", + "videojs-flash": "^2.1.0", + "videojs-hotkeys": "^0.2.20" + }, + "dependencies": { + "video.js": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/video.js/-/video.js-6.13.0.tgz", + "integrity": "sha512-36/JR/GhPQSZj0o+GNbhcEYv/b0SkV9SQsjlodAnzMQYN0TA7VhmqrKPYMCi1NGRYu7S9W3OaFCFoUxkYfSVlg==", + "requires": { + "babel-runtime": "^6.9.2", + "global": "4.3.2", + "safe-json-parse": "4.0.0", + "tsml": "1.0.1", + "videojs-font": "2.1.0", + "videojs-ie8": "1.1.2", + "videojs-vtt.js": "0.12.6", + "xhr": "2.4.0" + } + }, + "videojs-font": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/videojs-font/-/videojs-font-2.1.0.tgz", + "integrity": "sha1-olkwpn9snPvyu4jay4xrRR8JM3k=" + }, + "videojs-vtt.js": { + "version": "0.12.6", + "resolved": "https://registry.npmjs.org/videojs-vtt.js/-/videojs-vtt.js-0.12.6.tgz", + "integrity": "sha512-XFXeGBQiljnElMhwCcZst0RDbZn2n8LU7ZScXryd3a00OaZsHAjdZu/7/RdSr7Z1jHphd45FnOvOQkGK4YrWCQ==", + "requires": { + "global": "^4.3.1" + } + } + } + }, "vuex": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.5.1.tgz", @@ -14388,6 +14600,11 @@ "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", "dev": true }, + "webwackify": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/webwackify/-/webwackify-0.1.6.tgz", + "integrity": "sha512-pGcw1T3HpNnM/UTRQqqRkkkzythSLts05mB+7Gr00B+0VbL0m39dFL5g20rSIEUt9Wrpw+/8k+snxRlUFHhcqA==" + }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", @@ -14521,6 +14738,17 @@ "async-limiter": "~1.0.0" } }, + "xhr": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.4.0.tgz", + "integrity": "sha1-4W5mpF+GmGHu76tBbV7/ci3ECZM=", + "requires": { + "global": "~4.3.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, "xmldom": { "version": "0.1.31", "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.31.tgz", @@ -14529,8 +14757,7 @@ "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" }, "y18n": { "version": "4.0.0", diff --git a/src/layouts/Breadcrumb.vue b/src/layouts/Breadcrumb.vue index 4f58f19..980b9c1 100644 --- a/src/layouts/Breadcrumb.vue +++ b/src/layouts/Breadcrumb.vue @@ -46,7 +46,7 @@ export default { diff --git a/src/layouts/PageContent.vue b/src/layouts/PageContent.vue index 44a7eff..61739ed 100644 --- a/src/layouts/PageContent.vue +++ b/src/layouts/PageContent.vue @@ -1,11 +1,6 @@ @@ -230,25 +225,10 @@ const columns = [ scopedSlots: { customRender: 'name' } }, { - title: '位置', + title: '配置', dataIndex: 'position', scopedSlots: { customRender: 'position' } - }, - { - title: '对焦', - dataIndex: 'focusing', - scopedSlots: { customRender: 'focusing' } - }, - { - title: '倍数', - dataIndex: 'multiple', - scopedSlots: { customRender: 'multiple' } - }, - { - title: '光圈', - dataIndex: 'aperture', - scopedSlots: { customRender: 'aperture' } - }, + } ]; export default { props:[ 'visible', 'modelType', 'modelData'], @@ -903,7 +883,7 @@ export default { } .config-table { width: 800px; - height: 450px; + height: 600px; overflow: hidden; h2 { diff --git a/src/views/checkManage/checkOperation.vue b/src/views/checkManage/checkOperation.vue index 62442e0..8392d3d 100644 --- a/src/views/checkManage/checkOperation.vue +++ b/src/views/checkManage/checkOperation.vue @@ -10,7 +10,6 @@ {{i.name}} - + + 货架号 : {{ shelveId }} {{rowCount}} {{columnCount}} + -
-
-
- -
+
- +
- <上一个 + > + <上一个

{{checkObj.row}}行{{checkObj.column}}列

- 下一个> + 下一个>
-
-
-
-
-
-
-
- -
-
+ { - if(res.code === 200) { - this.scanAndCheck.ScanCode = res.data.new_category; - this.scanAndCheck.CheckNumber = res.data.new_count; - } - }) - } - // this.$api.httpApi.scanAndCheck({ - // name: 'getData' - // }).then(res=>{ - // // 如果还未执行完成 2秒后再次请求 - // if(res.status === '0') { - // setTimeout(()=>{ - // this.getScanAndCheck(); - // }, 2000); - // }else{ - // this.scanAndCheck = res.data[0]; - // } - // }) - }, //获取巷道列表 getStreetList() { this.$api.httpApi.getStreetList({ @@ -385,7 +228,8 @@ export default { this.listData = res.data.list; this.select = this.id this.getStreetDetail(this.id) - this.getStockList(this.id) + this.getStockInfo(this.row,this.column,this.id) + //this.getStockList(this.id) }).catch(err => { console.error(err); }); @@ -396,24 +240,19 @@ export default { data: {} }).then(res => { this.streetDetail = res.data - console.log(this.streetDetail) - + this.getRowColumnCounts() }).catch(err => { }) }, - //获取盘点列表 - getStockList(streetId) { - this.$api.httpApi.getStockList({ - params: { - streetId: streetId, - } - }).then(res => { - this.checkList = res.data - console.log(this.checkList) - }).catch(err => { - - }); + //获取总行列数 + getRowColumnCounts(){ + if(this.selectType != 'none' && this.selectType != ''){ + this.handleTypeChange(this.selectType) + }else{ + this.handleTypeChange2(this.selectType2) + } + }, //获取复核页面的核对信息 getStockInfo(row, column, shelveId) { @@ -426,147 +265,139 @@ export default { }).then(res => { if (res.data) { this.checkObj = res.data; - this.shelveId = res.data.shelveId; - this.getScanAndCheck(); + //this.shelveId = res.data.shelveId; + //this.getScanAndCheck(); } }).catch(err => { - + console.log(err) }); }, handleChange(value) { - console.log(value) + this.select = value this.id = value this.row = 1 this.column =1 - console.log(JSON.stringify(this.checkObj)) + this.getStreetList() for (var i = 0; i < this.listData.length; i++) { - console.log(this.listData[i]) if (this.listData[i].id == value) { if (this.listData[i].leftShelveId) { this.shelveId = this.listData[i].leftShelveId this.selectType = 'left' this.selectType2 = 'none' - this.getStockInfo(1, 1, this.shelveId) + this.rowCount = this.listData[i].leftRow + this.columnCount = this.listData[i].leftColumn + } else if (this.listData[i].leftInsideShelveId) { this.shelveId = this.listData[i].leftInsideShelveId this.selectType = 'left' this.selectType2 = 'inside' - this.getStockInfo(1, 1, this.shelveId) + this.rowCount = this.listData[i].leftRow + this.columnCount = this.listData[i].leftColumn } else if (this.listData[i].leftOutsideShelveId) { this.shelveId = this.listData[i].leftOutsideShelveId this.selectType = 'left' this.selectType2 = 'out' - this.getStockInfo(1, 1, this.shelveId) + this.rowCount = this.listData[i].leftRow + this.columnCount = this.listData[i].leftColumn } + } } + this.getStockInfo(1, 1, this.shelveId) }, handleTypeChange(value) { - console.log(this.streetDetail.leftShelveId) - console.log(value) + this.row = 1 + this.column = 1 this.selectType = value if (value == 'left') { + this.rowCount = this.streetDetail.leftRow + this.columnCount = this.streetDetail.leftColumn if (this.streetDetail.leftShelveId) { - this.getStockInfo(1, 1, this.streetDetail.leftShelveId) + this.shelveId = this.streetDetail.leftShelveId + } else if (this.streetDetail.leftInsideShelveId) { - this.getStockInfo(1, 1, this.streetDetail.leftInsideShelveId) + this.shelveId = this.streetDetail.leftInsideShelveId + } else if (this.streetDetail.leftOutsideShelveId) { - this.getStockInfo(1, 1, this.streetDetail.leftOutsideShelveId) + this.shelveId = this.streetDetail.leftOutsideShelveId } } else if (value == 'right') { + this.rowCount = this.streetDetail.rightRow + this.columnCount = this.streetDetail.rightColumn if (this.streetDetail.rightShelveId) { - this.getStockInfo(1, 1, this.streetDetail.rightShelveId) + this.shelveId = this.streetDetail.rightShelveId } else if (this.streetDetail.rightInsideShelveId) { - this.getStockInfo(1, 1, this.streetDetail.rightInsideShelveId) + this.shelveId = this.streetDetail.rightInsideShelveId } else if (this.streetDetail.rightOutsideShelveId) { - this.getStockInfo(1, 1, this.streetDetail.rightOutsideShelveId) + this.shelveId = this.streetDetail.rightOutsideShelveId } } + this.getStockInfo(this.row, this.column, this.shelveId) }, handleTypeChange2(value) { - console.log(this.streetDetail.leftShelveId) - console.log(value) + this.row = 1 + this.column = 1 this.selectType2 = value if (this.selectType == 'left' && value == 'none') { - this.getStockInfo(1, 1, this.streetDetail.leftShelveId) + this.shelveId = this.streetDetail.leftShelveId + this.rowCount = this.streetDetail.leftRow + this.columnCount = this.streetDetail.leftColumn } else if (this.selectType == 'right' && value == 'none') { - this.getStockInfo(1, 1, this.streetDetail.rightShelveId) + this.rowCount = this.streetDetail.rightRow + this.columnCount = this.streetDetail.rightColumn + this.shelveId = this.streetDetail.rightShelveId } else if (this.selectType == 'left' && value == 'inside') { - this.getStockInfo(1, 1, this.streetDetail.leftInsideShelveId) + this.rowCount = this.streetDetail.leftRow + this.columnCount = this.streetDetail.leftColumn + this.shelveId = this.streetDetail.leftInsideShelveId } else if (this.selectType == 'left' && value == 'out') { - this.getStockInfo(1, 1, this.streetDetail.leftOutsideShelveId) + this.rowCount = this.streetDetail.leftRow + this.columnCount = this.streetDetail.leftColumn + this.shelveId = this.streetDetail.leftOutsideShelveId } else if (this.selectType == 'right' && value == 'inside') { - this.getStockInfo(1, 1, this.streetDetail.rightInsideShelveId) + this.rowCount = this.streetDetail.rightRow + this.columnCount = this.streetDetail.rightColumn + this.shelveId = this.streetDetail.rightInsideShelveId } else if (this.selectType == 'right' && value == 'out') { - this.getStockInfo(1, 1, this.streetDetail.rightOutsideShelveId) + this.rowCount = this.streetDetail.rightRow + this.columnCount = this.streetDetail.rightColumn + this.shelveId = this.streetDetail.rightOutsideShelveId } + this.getStockInfo(this.row, this.column, this.shelveId) }, - prev(index) { - index-- - console.log(index) - for (let x in this.checkList) { - if (this.checkObj.shelveId == this.checkList[x][index].shelveId) { - console.log(this.checkList[x][index].row) - console.log(this.checkList[x][index].column) - console.log(this.checkList[x][index].shelveId) - this.getStockInfo(this.checkList[x][index].row, this.checkList[x][index].column, this.checkList[x][index].shelveId) + prev() { + if(this.column > 1){ + this.column = this.column - 1 + }else{ + if(this.row > 1){ + this.row = this.row - 1 + this.column = this.columnCount + }else{ + this.row = this.rowCount + this.column = this.columnCount } } + + this.getStockInfo(this.row,this.column,this.shelveId) }, - next(index) { - index++ - console.log(index) - for (let x in this.checkList) { - if (this.checkObj.shelveId == this.checkList[x][index].shelveId) { - console.log(this.checkList[x][index].row) - console.log(this.checkList[x][index].column) - console.log(this.checkList[x][index].shelveId) - this.getStockInfo(this.checkList[x][index].row, this.checkList[x][index].column, this.checkList[x][index].shelveId) - } - } - }, - defaultPrev(row, column) { - for (var i = 1; i < this.streetDetail.leftColumn + 1; i++) { - for (var j = 1; j < this.streetDetail.leftRow + 1; j++) { - console.log(i) - console.log(j) - if (i == row && j == column) { - this.column = j - 1 - if (this.column < 1) { - this.row = i - 1 - this.column = this.streetDetail.leftColumn - } - if (i == 1 && j == 1) { - this.row = 1 - this.column = 1 - } - } - } - } - }, - defaultNext(row, column) { - - for (var i = 1; i < this.streetDetail.leftColumn + 1; i++) { - for (var j = 1; j < this.streetDetail.leftRow + 1; j++) { - console.log(i) - console.log(j) - if (i == row && j == column) { - this.column = j + 1 - if (this.column == this.streetDetail.leftColumn + 1) { - this.row = i + 1 - this.column = 1 - } - if (i == this.streetDetail.leftColumn && j == this.streetDetail.leftRow) { - this.row = this.streetDetail.leftRow - this.column = this.streetDetail.leftColumn - } - } + next() { + if(this.column < this.columnCount){ + this.column = this.column + 1 + }else{ + //最大列了 row+1 + if(this.row < this.rowCount){ + this.row = this.row + 1 + this.column = 1 + }else{ + this.row = 1 + this.column = 1 } } + this.getStockInfo(this.row,this.column,this.shelveId) }, checkSure(row, column, shelveId, index) { this.$api.httpApi.stockCheckCorrect({ @@ -697,8 +528,8 @@ export default { .status-btn { display: flex; - align-items: center; - justify-content: center; + align-items: flex-start; + justify-content: flex-start; .btn { padding: 25px; @@ -716,7 +547,7 @@ export default { .bottom-btn { width: 100%; display: flex; - align-items: center; + align-items: right; justify-content: center; p { diff --git a/src/views/historyMonitoring/index.vue b/src/views/historyMonitoring/index.vue index 0e44b6c..321512e 100644 --- a/src/views/historyMonitoring/index.vue +++ b/src/views/historyMonitoring/index.vue @@ -63,7 +63,7 @@ - + 查看视频 @@ -71,7 +71,7 @@ - + 查看视频 @@ -226,19 +226,10 @@ export default { this.queryParam.startTimestamp = "" this.queryParam.endTimestamp = "" }, - showModel(path, cmd) { - // 使用第三方软件打开海康视频 - if(cmd) { - let params = { - openCmd: cmd - }; - this.$api.httpNodeApi.viewVideoAPI({params}).then(res=> { - console.log(res); - }) - }else { - this.visible = true - this.vid = videoUrl + path; - } + showModel(path) { + this.visible = true + this.vid = videoUrl + path; + }, closeModel(visible, data) { this.visible = visible diff --git a/src/views/productSpecManage/index.vue b/src/views/productSpecManage/index.vue index 8bad1ea..e727ce5 100644 --- a/src/views/productSpecManage/index.vue +++ b/src/views/productSpecManage/index.vue @@ -71,6 +71,10 @@ const columns = [ title: '品类', dataIndex: 'name', }, + { + title: '条码', + dataIndex: 'code', + }, { title: '修改时间', dataIndex: 'updateTime', diff --git a/src/views/productSpecManage/model.vue b/src/views/productSpecManage/model.vue index 9dbcf3c..bfd9dc2 100644 --- a/src/views/productSpecManage/model.vue +++ b/src/views/productSpecManage/model.vue @@ -17,12 +17,21 @@ > + + + + @@ -58,6 +67,7 @@ export default { this.$nextTick(()=>{ //this.$nextTick解决不能在表单渲染之前赋值的报错问题 this.form.setFieldsValue({ //setFieldsValue 表示对form表单重新设置值 name:newVal.name, + code:newVal.code, ip:newVal.ip, rtsp:newVal.rtsp }) diff --git a/vue.config.js b/vue.config.js index a55a954..17edf88 100644 --- a/vue.config.js +++ b/vue.config.js @@ -33,7 +33,8 @@ module.exports = { }, '/api': { // target: 'http://192.168.0.133:8099', - target: 'http://115.236.65.98:13001/monitor', + // target: 'http://115.236.65.98:13001/monitor', + target: 'http://127.0.0.1:9007', logLevel:'debug', //控制台终端打印代理前的真实地址 }, },