diff --git a/.eslintrc.js b/.eslintrc.js index 1db462659441433c8a5d4fd8190f7bbdf0630de0..6f55c5a127f1f40408150036b225113bd84aad97 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -192,4 +192,4 @@ module.exports = { }], 'array-bracket-spacing': [2, 'never'] } -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 3d4cf8d52e4fe1fc9020b2df67092f7071830f5d..bd68e7aabbab1e632766fdd4499f8d0f919fb54a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "element-ui": "^2.15.6", "js-file-download": "^0.4.12", "lodash": "^4.17.21", + "path": "^0.12.7", "qrcodejs2": "^0.0.2", "sass": "^1.26.5", "sass-loader": "^8.0.2", @@ -93,6 +94,10 @@ }, "engines": { "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" } }, "node_modules/@babel/generator": { @@ -2387,78 +2392,6 @@ "node": ">=0.4.0" } }, - "node_modules/@vue/cli-service/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "optional": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@vue/cli-service/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "optional": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@vue/cli-service/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "optional": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@vue/cli-service/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "optional": true - }, - "node_modules/@vue/cli-service/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@vue/cli-service/node_modules/loader-utils": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.2.tgz", - "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", - "dev": true, - "optional": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, "node_modules/@vue/cli-service/node_modules/ssri": { "version": "8.0.1", "resolved": "https://registry.nlark.com/ssri/download/ssri-8.0.1.tgz?cache=0&sync_timestamp=1621364918494&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fssri%2Fdownload%2Fssri-8.0.1.tgz", @@ -2471,32 +2404,6 @@ "node": ">= 8" } }, - "node_modules/@vue/cli-service/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "optional": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@vue/cli-service/node_modules/vue-loader-v16": { - "name": "vue-loader", - "version": "16.8.3", - "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz", - "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", - "dev": true, - "optional": true, - "dependencies": { - "chalk": "^4.1.0", - "hash-sum": "^2.0.0", - "loader-utils": "^2.0.0" - } - }, "node_modules/@vue/cli-shared-utils": { "version": "4.5.13", "resolved": "https://registry.nlark.com/@vue/cli-shared-utils/download/@vue/cli-shared-utils-4.5.13.tgz", @@ -2851,6 +2758,10 @@ "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, "node_modules/ajv-errors": { @@ -2894,6 +2805,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/ansi-escapes/node_modules/type-fest": { @@ -2903,6 +2817,9 @@ "dev": true, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/ansi-html": { @@ -2965,7 +2882,21 @@ "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/arch/download/arch-2.2.0.tgz", "integrity": "sha1-G8R4GPMFdk8jqzMGsL/AhsWinRE=", - "dev": true + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, "node_modules/argparse": { "version": "1.0.10", @@ -3026,6 +2957,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array-includes/node_modules/es-abstract": { @@ -3057,6 +2991,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array-includes/node_modules/is-callable": { @@ -3066,6 +3003,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array-includes/node_modules/is-regex": { @@ -3079,6 +3019,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array-includes/node_modules/is-string": { @@ -3091,13 +3034,19 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array-includes/node_modules/object-inspect": { "version": "1.12.0", "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.0.tgz", "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/array-union": { "version": "1.0.2", @@ -3140,6 +3089,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array.prototype.flat/node_modules/es-abstract": { @@ -3171,6 +3123,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array.prototype.flat/node_modules/is-callable": { @@ -3180,6 +3135,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array.prototype.flat/node_modules/is-regex": { @@ -3193,6 +3151,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array.prototype.flat/node_modules/is-string": { @@ -3205,13 +3166,19 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array.prototype.flat/node_modules/object-inspect": { "version": "1.12.0", "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.0.tgz", "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/asn1": { "version": "0.2.4", @@ -3348,6 +3315,10 @@ }, "bin": { "autoprefixer": "bin/autoprefixer" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" } }, "node_modules/aws-sign2": { @@ -3509,7 +3480,8 @@ "version": "2.6.12", "resolved": "https://registry.npmmirror.com/core-js/-/core-js-2.6.12.tgz", "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "deprecated": "core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js." + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "hasInstallScript": true }, "node_modules/babel-runtime/node_modules/regenerator-runtime": { "version": "0.11.1", @@ -3587,7 +3559,21 @@ "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npm.taobao.org/base64-js/download/base64-js-1.5.1.tgz", - "integrity": "sha1-GxtEAWClv3rUC2UPCVljSBkDkwo=" + "integrity": "sha1-GxtEAWClv3rUC2UPCVljSBkDkwo=", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, "node_modules/batch": { "version": "0.6.1", @@ -3845,7 +3831,21 @@ "node_modules/browserify-sign/node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.2.1.tgz", - "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" + "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, "node_modules/browserify-zlib": { "version": "0.2.0", @@ -3872,6 +3872,10 @@ }, "engines": { "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" } }, "node_modules/buffer": { @@ -3989,6 +3993,9 @@ "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/call-me-maybe": { @@ -4047,6 +4054,9 @@ "dev": true, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/caniuse-api": { @@ -4065,7 +4075,17 @@ "version": "1.0.30001322", "resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001322.tgz", "integrity": "sha512-neRmrmIrCGuMnxGSoh+x7zYtQFFgnSY2jaomjU56sCkTA6JINqQrxutF459JpWcWRajvoyn95sOXq4Pqrnyjew==", - "dev": true + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] }, "node_modules/case-sensitive-paths-webpack-plugin": { "version": "2.4.0", @@ -4286,6 +4306,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/cli-highlight/node_modules/chalk": { @@ -4299,6 +4322,9 @@ }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/cli-highlight/node_modules/color-convert": { @@ -4347,6 +4373,9 @@ "dev": true, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/cli-width": { @@ -4405,6 +4434,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/cliui/node_modules/color-convert": { @@ -4739,6 +4771,9 @@ "dev": true, "dependencies": { "is-what": "^3.14.1" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" } }, "node_modules/copy-concurrently": { @@ -4784,6 +4819,10 @@ "engines": { "node": ">= 6.9.0" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, "peerDependencies": { "webpack": "^4.0.0 || ^5.0.0" } @@ -4947,7 +4986,13 @@ "node_modules/core-js": { "version": "3.15.2", "resolved": "https://registry.nlark.com/core-js/download/core-js-3.15.2.tgz?cache=0&sync_timestamp=1624966012065&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcore-js%2Fdownload%2Fcore-js-3.15.2.tgz", - "integrity": "sha1-dAZg0v9V7zTOZk1+JFURnFvdPWE=" + "integrity": "sha1-dAZg0v9V7zTOZk1+JFURnFvdPWE=", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } }, "node_modules/core-js-compat": { "version": "3.15.2", @@ -4957,6 +5002,10 @@ "dependencies": { "browserslist": "^4.16.6", "semver": "7.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" } }, "node_modules/core-js-compat/node_modules/semver": { @@ -5131,6 +5180,10 @@ "engines": { "node": ">= 8.9.0" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, "peerDependencies": { "webpack": "^4.0.0 || ^5.0.0" } @@ -5191,6 +5244,9 @@ "dev": true, "engines": { "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" } }, "node_modules/cssesc": { @@ -5414,6 +5470,9 @@ "object-is": "^1.0.1", "object-keys": "^1.1.1", "regexp.prototype.flags": "^1.2.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/deep-is": { @@ -5487,6 +5546,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/default-gateway/node_modules/is-stream": { @@ -5529,6 +5591,9 @@ }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/default-gateway/node_modules/p-finally": { @@ -5822,7 +5887,13 @@ "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/domelementtype/download/domelementtype-2.2.0.tgz", "integrity": "sha1-mgtsJ4LtahxzI9QiZxg9+b2LHVc=", - "dev": true + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] }, "node_modules/dom7": { "version": "2.1.5", @@ -5857,13 +5928,22 @@ }, "engines": { "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" } }, "node_modules/domhandler/node_modules/domelementtype": { "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/domelementtype/download/domelementtype-2.2.0.tgz", "integrity": "sha1-mgtsJ4LtahxzI9QiZxg9+b2LHVc=", - "dev": true + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] }, "node_modules/domutils": { "version": "1.7.0", @@ -5974,6 +6054,7 @@ "resolved": "https://registry.npm.taobao.org/ejs/download/ejs-2.7.4.tgz?cache=0&sync_timestamp=1612644037163&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fejs%2Fdownload%2Fejs-2.7.4.tgz", "integrity": "sha1-SGYSh1c9zFPjZsehrlLDoSDuybo=", "dev": true, + "hasInstallScript": true, "engines": { "node": ">=0.10.0" } @@ -6079,7 +6160,10 @@ "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/entities/download/entities-2.2.0.tgz?cache=0&sync_timestamp=1611535512969&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fentities%2Fdownload%2Fentities-2.2.0.tgz", "integrity": "sha1-CY3JDruD2N/6CJ1VJWs1HTTE2lU=", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } }, "node_modules/errno": { "version": "0.1.8", @@ -6135,6 +6219,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/es-to-primitive": { @@ -6149,6 +6236,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/escalade": { @@ -6224,6 +6314,9 @@ }, "engines": { "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint-import-resolver-node": { @@ -6439,6 +6532,9 @@ "engines": { "node": ">=8.10.0" }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, "peerDependencies": { "eslint": ">=4.19.1" } @@ -6453,6 +6549,9 @@ }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" } }, "node_modules/eslint-plugin-es/node_modules/regexpp": { @@ -6462,6 +6561,9 @@ "dev": true, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" } }, "node_modules/eslint-plugin-import": { @@ -6529,6 +6631,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/eslint-plugin-import/node_modules/is-callable": { @@ -6538,6 +6643,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/eslint-plugin-import/node_modules/is-core-module": { @@ -6547,6 +6655,9 @@ "dev": true, "dependencies": { "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/eslint-plugin-import/node_modules/is-glob": { @@ -6572,6 +6683,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/eslint-plugin-import/node_modules/is-string": { @@ -6584,6 +6698,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/eslint-plugin-import/node_modules/ms": { @@ -6596,7 +6713,10 @@ "version": "1.12.0", "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.0.tgz", "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/eslint-plugin-import/node_modules/object.values": { "version": "1.1.5", @@ -6610,6 +6730,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/eslint-plugin-node": { @@ -6642,6 +6765,9 @@ }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" } }, "node_modules/eslint-plugin-node/node_modules/ignore": { @@ -6667,6 +6793,20 @@ "resolved": "https://registry.npmmirror.com/eslint-plugin-standard/-/eslint-plugin-standard-4.1.0.tgz", "integrity": "sha512-ZL7+QRixjTR6/528YNGyDotyffm5OQst/sGxKDwGb9Uqs4In5Egi4+jbobhqJoyoCM6/7v/1A5fhQ7ScMtDjaQ==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "peerDependencies": { "eslint": ">=5.0.0" } @@ -6765,6 +6905,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint/node_modules/ignore": { @@ -6787,6 +6930,9 @@ }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint/node_modules/resolve-from": { @@ -7312,6 +7458,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/file-entry-cache": { @@ -7427,6 +7576,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, "node_modules/find-root": { @@ -7493,6 +7645,12 @@ "version": "1.14.1", "resolved": "https://registry.nlark.com/follow-redirects/download/follow-redirects-1.14.1.tgz?cache=0&sync_timestamp=1620555246888&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.14.1.tgz", "integrity": "sha1-2RFN7Qoc/dM04WTmZirQK/2R/0M=", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], "engines": { "node": ">=4.0" }, @@ -7605,6 +7763,7 @@ "version": "2.3.2", "resolved": "https://registry.npm.taobao.org/fsevents/download/fsevents-2.3.2.tgz?cache=0&sync_timestamp=1612536409579&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffsevents%2Fdownload%2Ffsevents-2.3.2.tgz", "integrity": "sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=", + "hasInstallScript": true, "optional": true, "os": [ "darwin" @@ -7652,6 +7811,9 @@ "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/get-stream": { @@ -7677,6 +7839,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/get-value": { @@ -7710,6 +7875,9 @@ }, "engines": { "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/glob-parent": { @@ -7838,7 +8006,10 @@ "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/has-bigints/download/has-bigints-1.0.1.tgz?cache=0&sync_timestamp=1615461282623&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhas-bigints%2Fdownload%2Fhas-bigints-1.0.1.tgz", "integrity": "sha1-ZP5qywIGc+O3jbA1pa9pqp0HsRM=", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/has-flag": { "version": "3.0.0", @@ -7856,6 +8027,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-tostringtag": { @@ -7868,6 +8042,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-value": { @@ -7935,7 +8112,21 @@ "node_modules/hash-base/node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.2.1.tgz", - "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" + "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, "node_modules/hash-sum": { "version": "2.0.0", @@ -8143,6 +8334,13 @@ "resolved": "https://registry.npm.taobao.org/htmlparser2/download/htmlparser2-6.1.0.tgz", "integrity": "sha1-xNditsM3GgXb5l6UrkOp+EX7j7c=", "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", @@ -8159,13 +8357,22 @@ "domelementtype": "^2.0.1", "domhandler": "^4.2.0", "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, "node_modules/htmlparser2/node_modules/domelementtype": { "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/domelementtype/download/domelementtype-2.2.0.tgz", "integrity": "sha1-mgtsJ4LtahxzI9QiZxg9+b2LHVc=", - "dev": true + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] }, "node_modules/htmlparser2/node_modules/domutils": { "version": "2.7.0", @@ -8176,6 +8383,9 @@ "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" } }, "node_modules/http-deceiver": { @@ -8356,7 +8566,21 @@ "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npm.taobao.org/ieee754/download/ieee754-1.2.1.tgz", - "integrity": "sha1-jrehCmP/8l0VpXsAFYbRd9Gw01I=" + "integrity": "sha1-jrehCmP/8l0VpXsAFYbRd9Gw01I=", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, "node_modules/iferr": { "version": "0.1.5", @@ -8569,6 +8793,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/inquirer/node_modules/chalk": { @@ -8582,6 +8809,9 @@ }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/inquirer/node_modules/cli-cursor": { @@ -8651,6 +8881,9 @@ }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/inquirer/node_modules/restore-cursor": { @@ -8818,6 +9051,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-arrayish": { @@ -8830,7 +9066,10 @@ "version": "1.0.2", "resolved": "https://registry.nlark.com/is-bigint/download/is-bigint-1.0.2.tgz", "integrity": "sha1-/7OBRCUDI1rSReqJ5Fs9v/BA7lo=", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/is-binary-path": { "version": "2.1.0", @@ -8853,6 +9092,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-buffer": { @@ -8867,6 +9109,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-ci": { @@ -8902,6 +9147,9 @@ "dev": true, "dependencies": { "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-data-descriptor": { @@ -8933,6 +9181,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-descriptor": { @@ -8975,6 +9226,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-extendable": { @@ -9020,6 +9274,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-number": { @@ -9040,6 +9297,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-number/node_modules/kind-of": { @@ -9102,6 +9362,9 @@ "dev": true, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-plain-object": { @@ -9126,6 +9389,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-resolvable": { @@ -9138,7 +9404,10 @@ "version": "1.0.1", "resolved": "https://registry.npmmirror.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/is-stream": { "version": "1.1.0", @@ -9156,6 +9425,9 @@ "dev": true, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-symbol": { @@ -9168,6 +9440,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-typedarray": { @@ -9183,6 +9458,9 @@ "dev": true, "dependencies": { "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-what": { @@ -9708,6 +9986,10 @@ "dev": true, "engines": { "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" } }, "node_modules/lower-case": { @@ -9734,6 +10016,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/map-cache": { @@ -10396,7 +10681,10 @@ "version": "1.10.3", "resolved": "https://registry.nlark.com/object-inspect/download/object-inspect-1.10.3.tgz", "integrity": "sha1-wqp9LQn1DJk3VwT3oK3yTFeC02k=", - "dev": true + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/object-is": { "version": "1.1.5", @@ -10409,6 +10697,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/object-keys": { @@ -10444,6 +10735,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/object.getownpropertydescriptors": { @@ -10458,6 +10752,9 @@ }, "engines": { "node": ">= 0.8" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/object.pick": { @@ -10483,6 +10780,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/obuf": { @@ -10652,6 +10952,9 @@ }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-locate": { @@ -10765,6 +11068,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/parse5": { @@ -10805,6 +11111,15 @@ "node": ">=0.10.0" } }, + "node_modules/path": { + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz", + "integrity": "sha512-aXXC6s+1w7otVF9UletFkFcDsJeO7lSZBPUQhtb5O0xJe8LtYhj/GxldoL09bBj9+ZmE2hNoHqQSFMN5fikh4Q==", + "dependencies": { + "process": "^0.11.1", + "util": "^0.10.3" + } + }, "node_modules/path-browserify": { "version": "0.0.1", "resolved": "https://registry.npm.taobao.org/path-browserify/download/path-browserify-0.0.1.tgz", @@ -10881,6 +11196,19 @@ "node": ">=4" } }, + "node_modules/path/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" + }, + "node_modules/path/node_modules/util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dependencies": { + "inherits": "2.0.3" + } + }, "node_modules/pbkdf2": { "version": "3.1.2", "resolved": "https://registry.npm.taobao.org/pbkdf2/download/pbkdf2-3.1.2.tgz?cache=0&sync_timestamp=1617975984684&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpbkdf2%2Fdownload%2Fpbkdf2-3.1.2.tgz", @@ -10908,6 +11236,9 @@ "integrity": "sha1-8fBh3o9qS/AiiS4tEoI0+5gwKXI=", "engines": { "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/pify": { @@ -11006,6 +11337,10 @@ }, "engines": { "node": ">=6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" } }, "node_modules/postcss-calc": { @@ -11119,6 +11454,10 @@ }, "engines": { "node": ">= 4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" } }, "node_modules/postcss-loader": { @@ -11997,6 +12336,9 @@ }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/regexpp": { @@ -12100,6 +12442,9 @@ "domhandler": "^4.2.0", "domutils": "^2.6.0", "nth-check": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" } }, "node_modules/renderkid/node_modules/css-what": { @@ -12109,6 +12454,9 @@ "dev": true, "engines": { "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" } }, "node_modules/renderkid/node_modules/dom-serializer": { @@ -12120,13 +12468,22 @@ "domelementtype": "^2.0.1", "domhandler": "^4.2.0", "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, "node_modules/renderkid/node_modules/domelementtype": { "version": "2.2.0", "resolved": "https://registry.npm.taobao.org/domelementtype/download/domelementtype-2.2.0.tgz", "integrity": "sha1-mgtsJ4LtahxzI9QiZxg9+b2LHVc=", - "dev": true + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] }, "node_modules/renderkid/node_modules/domutils": { "version": "2.7.0", @@ -12137,6 +12494,9 @@ "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" } }, "node_modules/renderkid/node_modules/nth-check": { @@ -12146,6 +12506,9 @@ "dev": true, "dependencies": { "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" } }, "node_modules/renderkid/node_modules/strip-ansi": { @@ -12242,6 +12605,9 @@ "dependencies": { "is-core-module": "^2.2.0", "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/resolve-cwd": { @@ -12414,6 +12780,10 @@ "engines": { "node": ">= 8.9.0" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, "peerDependencies": { "fibers": ">= 3.1.0", "node-sass": "^4.0.0", @@ -12449,6 +12819,10 @@ }, "engines": { "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, "node_modules/select-hose": { @@ -12715,6 +13089,9 @@ "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/signal-exit": { @@ -13134,6 +13511,7 @@ "version": "0.1.8", "resolved": "https://registry.npm.taobao.org/stable/download/stable-0.1.8.tgz", "integrity": "sha1-g26zyDgv4pNv6vVEYxAXzn1Ho88=", + "deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility", "dev": true }, "node_modules/stackframe": { @@ -13268,6 +13646,9 @@ "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/string.prototype.trimstart": { @@ -13278,6 +13659,9 @@ "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/strip-ansi": { @@ -13344,6 +13728,9 @@ "dev": true, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/stylehacks": { @@ -13424,12 +13811,17 @@ "version": "5.4.5", "resolved": "https://registry.npmmirror.com/swiper/-/swiper-5.4.5.tgz", "integrity": "sha512-7QjA0XpdOmiMoClfaZ2lYN6ICHcMm72LXiY+NF4fQLFidigameaofvpjEEiTQuw3xm5eksG5hzkaRsjQX57vtA==", + "hasInstallScript": true, "dependencies": { "dom7": "^2.1.5", "ssr-window": "^2.0.0" }, "engines": { "node": ">= 4.7.0" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/vladimirkharlampidi" } }, "node_modules/table": { @@ -13984,6 +14376,9 @@ "has-bigints": "^1.0.1", "has-symbols": "^1.0.2", "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/unicode-canonical-property-names-ecmascript": { @@ -14244,6 +14639,9 @@ "es-abstract": "^1.17.2", "has-symbols": "^1.0.1", "object.getownpropertydescriptors": "^2.1.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/util/node_modules/inherits": { @@ -14305,7 +14703,11 @@ "version": "1.0.4", "resolved": "https://registry.npm.taobao.org/vendors/download/vendors-1.0.4.tgz?cache=0&sync_timestamp=1615203397897&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvendors%2Fdownload%2Fvendors-1.0.4.tgz", "integrity": "sha1-4rgApT56Kbk1BsPPQRANFsTErY4=", - "dev": true + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } }, "node_modules/verror": { "version": "1.10.0", @@ -14353,6 +14755,7 @@ "version": "4.5.1", "resolved": "https://registry.npmmirror.com/swiper/-/swiper-4.5.1.tgz", "integrity": "sha512-se6I7PWWu950NAMXXT+ENtF/6SVb8mPyO+bTfNxbQBILSeLqsYp3Ndap+YOA0EczOIUlea274PKejT6gKZDseA==", + "hasInstallScript": true, "dependencies": { "dom7": "^2.1.3", "ssr-window": "^1.0.1" @@ -14383,6 +14786,9 @@ "engines": { "node": ">=8.10" }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, "peerDependencies": { "eslint": ">=5.0.0" } @@ -14431,6 +14837,110 @@ } } }, + "node_modules/vue-loader-v16": { + "name": "vue-loader", + "version": "16.8.3", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", + "dev": true, + "optional": true, + "dependencies": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "loader-utils": "^2.0.0" + } + }, + "node_modules/vue-loader-v16/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/vue-loader-v16/node_modules/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, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/vue-loader-v16/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/vue-loader-v16/node_modules/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 + }, + "node_modules/vue-loader-v16/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/vue-loader-v16/node_modules/loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "dev": true, + "optional": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/vue-loader-v16/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/vue-loader/node_modules/hash-sum": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/hash-sum/download/hash-sum-1.0.2.tgz", @@ -14571,6 +15081,7 @@ "resolved": "https://registry.npm.taobao.org/fsevents/download/fsevents-1.2.13.tgz?cache=0&sync_timestamp=1612536409579&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffsevents%2Fdownload%2Ffsevents-1.2.13.tgz", "integrity": "sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg=", "deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.", + "hasInstallScript": true, "optional": true, "os": [ "darwin" @@ -14684,6 +15195,10 @@ "engines": { "node": ">=6.11.5" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, "peerDependenciesMeta": { "webpack-cli": { "optional": true @@ -14947,6 +15462,7 @@ "integrity": "sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg=", "deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.", "dev": true, + "hasInstallScript": true, "optional": true, "os": [ "darwin" @@ -15299,6 +15815,9 @@ "is-number-object": "^1.0.4", "is-string": "^1.0.5", "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/which-module": { @@ -15336,6 +15855,9 @@ }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/wrap-ansi/node_modules/ansi-styles": { @@ -15348,6 +15870,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/wrap-ansi/node_modules/color-convert": { @@ -17329,63 +17854,6 @@ "integrity": "sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo=", "dev": true }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/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.npmmirror.com/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.npmmirror.com/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.npmmirror.com/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.npmmirror.com/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.npmmirror.com/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" - } - }, "ssri": { "version": "8.0.1", "resolved": "https://registry.nlark.com/ssri/download/ssri-8.0.1.tgz?cache=0&sync_timestamp=1621364918494&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fssri%2Fdownload%2Fssri-8.0.1.tgz", @@ -17394,28 +17862,6 @@ "requires": { "minipass": "^3.1.1" } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/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-loader-v16": { - "version": "npm:vue-loader@16.8.3", - "resolved": "https://registry.npmmirror.com/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" - } } } }, @@ -24306,6 +24752,30 @@ "resolved": "https://registry.npm.taobao.org/pascalcase/download/pascalcase-0.1.1.tgz", "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=" }, + "path": { + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz", + "integrity": "sha512-aXXC6s+1w7otVF9UletFkFcDsJeO7lSZBPUQhtb5O0xJe8LtYhj/GxldoL09bBj9+ZmE2hNoHqQSFMN5fikh4Q==", + "requires": { + "process": "^0.11.1", + "util": "^0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" + }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "requires": { + "inherits": "2.0.3" + } + } + } + }, "path-browserify": { "version": "0.0.1", "resolved": "https://registry.npm.taobao.org/path-browserify/download/path-browserify-0.0.1.tgz", @@ -27354,6 +27824,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.npmmirror.com/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-router": { "version": "3.5.3", "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.5.3.tgz", diff --git a/package.json b/package.json index 6b2bf86364e8f9919b9ff7749034b7e230605319..134b9b18d90e3fde74d81cb481dae2e2f2065fc4 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "element-ui": "^2.15.6", "js-file-download": "^0.4.12", "lodash": "^4.17.21", + "path": "^0.12.7", "qrcodejs2": "^0.0.2", "sass": "^1.26.5", "sass-loader": "^8.0.2", diff --git a/src/App.vue b/src/App.vue index 4f1034b5c8d62dc0fb393cbe5c14939d4ab9523f..3561108485889a330f1ad1dfef1ddb2d39c57935 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,6 +2,34 @@
+ +
+
+
+ 设备离线通知: +
+
+ +
+ 设备编号 + {{ item }} +
+
+
+
+
+
+
+
+ +
+ +
+
+
+
@@ -11,10 +39,13 @@ export default { name: 'App', components: { // NewsDialog + }, data() { return { - show: false + show: false, + dialogVisible: false, + equipmentNoList: [] } }, computed: { @@ -27,35 +58,261 @@ export default { immediate: true, handler(newVal, oldVal) { if (newVal) { - console.log(newVal) - const h = this.$createElement - this.$message({ - // title: '安检门掉线警告', - type: 'warning', - message: - h('p', null, [ - h('h4', { style: 'color: black' }, '安检门离线警告'), - h('h4', { style: 'color: red' }, `安检门${newVal}已掉线!`) - ]), - offset: 300, - duration: 0, - showClose: true, - customClass: 'notify-warning', - iconClass: 'el-icon-warning' - }) - // Message.warning({ message: `安检门:${newVal}掉线了` }) + this.equipmentNoList = this.equipmentNoList.filter(item => item !== newVal.equipmentNo) + if (newVal.status === 2) { + this.equipmentNoList.push(newVal.equipmentNo) + } + if (this.equipmentNoList.length > 0) { + this.dialogVisible = true + } else { + this.dialogVisible = false + } } }, deep: true } }, created() { - + // websocket全局连接 + this.$Socket.connect() + }, + methods: { + onsubmit() { + this.dialogVisible = false + this.equipmentNoList = [] + } } } - diff --git a/src/views/ESD/ESDGroupSetting.vue b/src/views/ESD/ESDGroupSetting.vue new file mode 100644 index 0000000000000000000000000000000000000000..ee9d9f4d35ab232e6738576861f5cd96bf67f434 --- /dev/null +++ b/src/views/ESD/ESDGroupSetting.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/src/views/NewMainPage.vue b/src/views/ESD/ESDMainPage/ESDMainPage.vue similarity index 67% rename from src/views/NewMainPage.vue rename to src/views/ESD/ESDMainPage/ESDMainPage.vue index e729babc93bab02f0e6a03dd6d4dbb2bf64683c4..e819b68e1f17e7775f980a429d3bbb1495bf4b05 100644 --- a/src/views/NewMainPage.vue +++ b/src/views/ESD/ESDMainPage/ESDMainPage.vue @@ -2,39 +2,44 @@ -
-
+
+
安检门
-
+
- 人脸ESD + 人脸ESD设备
-
+
手探
+
+ 安检设备综合管理平台 +
+ -
+
后台
-
+
炸探/液探
-
+
X光机
+
@@ -46,6 +51,7 @@
+
设备状态总览 @@ -60,10 +66,10 @@ 服务器 - IP地址:{{ netWorkIp }} + IP地址:{{ ipInfo.ipAddress }}
- 端口号:20001 + 端口号:{{ ipInfo.safetyPort }}
@@ -108,7 +114,7 @@
-
+
@@ -126,124 +132,45 @@
- +
安检门
- + {{ item.topTenChartVO.currentPassageNumber }}
- + {{ item.topTenChartVO.currentPoliceNumber }}
- + {{ item.topTenChartVO.alarmRate }}%
- - - <!– 服务器文字 –> -
-
- 人脸ESD -
- - 通行:5020 -
- - 报警:2011 -
- - 报警率:40.1% - -
- <!– 服务器文字 –> +
- X射线机 -
- - 通行:5020 -
- - 报警:2011 -
- - 报警率:40.1% - -
--> -
- + {{ item.topTenChartVO.currentPassageNumber }} +
+
+ + {{ item.topTenChartVO.currentPoliceNumber }} +
+
+ + {{ item.topTenChartVO.alarmRate }}% +
- <!– 服务器文字 –> -
--> +
@@ -260,16 +187,18 @@ diff --git a/src/views/ESD/ESDRegionalManagement.vue b/src/views/ESD/ESDRegionalManagement.vue index 218b628222aa2877cdc7fe53a273bc60e04584d1..6035271cfd80501e00ffc1fcf842c15ef0065c1e 100644 --- a/src/views/ESD/ESDRegionalManagement.vue +++ b/src/views/ESD/ESDRegionalManagement.vue @@ -26,7 +26,8 @@
- 选择人员 + 选择人员 @@ -139,7 +140,26 @@
+ +
+
+ 选择部门 + 清空 +
+ + + +
+
@@ -155,8 +175,9 @@ import { addRegionInfo, deleteESDRegionInfoById, getESDRegionInfo, getESDRegionInfoById, - getSelectTrafficInfo, updateRegionInfo + getSelectTrafficInfo, selectRegionPersonByReginId, updateRegionInfo } from "../../utils/DeviceManagementApi"; +import {selectDepartment, selectPersonDeptInfo} from "@/utils/ESD"; export default { name: 'ESDRegionalManagement', @@ -167,12 +188,16 @@ export default { data() { return { drawer: false, + addPersonDialog:false, + departmentList:[], activeName: 'first', inner: { title: 'ESD区域管理' }, searchFrom: { searchData: '' }, - tableData: [], // 表格数据 + tableData: [], + departmentTable:[], + personTable:[], trafficRulesData: [], // 存放通行规则数据 pager: { currentPage: 1, // 当前页面 @@ -188,7 +213,8 @@ export default { regionName: '', // 区域名称 regionAttribute: undefined, // 区域属性:1、公共区域;2、限制区域 regionAttendance: 1, // 区域考勤 1、考勤;2、不考勤 - trafficRule: undefined // 通行规则 + trafficRule: undefined, // 通行规则 + personList:[] }, // 区域信息表单 trafficSelectInfo: [], // 通行规则下拉框数据 regionInfoRules: { @@ -199,7 +225,15 @@ export default { }, // 区域信息表单规则验证 isShow: false, // 是否为查看控制是否可选 openDrawerLoading: false, - editArray: [] + editArray: [], + query: { + pager: { + pageSize: 10, + currentPage: 1, + total: 100 + }, + searchObject: '' + } } }, created() { @@ -207,6 +241,8 @@ export default { mounted() { this.getData() this.getSelectInfo() + this.getDepartmentTable() + this.getPersonTable() }, methods: { // 抽屉打开后,其他的关闭样式 @@ -215,13 +251,29 @@ export default { this.$nextTick(() => { this.$refs.regionInfoRef.resetFields() }) - /*this.regionInfoForm = { - regionId: '', // 区域id - regionName: '', // 区域名称 - regionAttribute: undefined, // 区域属性:1、公共区域;2、限制区域 - regionAttendance: 1, // 区域考勤 1、考勤;2、不考勤 - trafficRule: undefined // 通行规则 - }*/ + }, + async getDepartmentTable() { + const res = await selectDepartment() + this.departmentTable = res.data.list + for (let i=0; i { if(valid) { try { + // 创建一个空的对象 const query = { authId: undefined, checkWork: null, @@ -301,12 +363,15 @@ export default { regionName: '', remark: '', userList: [{name: '', personId: ''}], - userNotList: [{name: '', personId: ''}] + userNotList: [{name: '', personId: ''}], + personList:[] } + // 给对象赋值 query.regionAttribute = this.regionInfoForm.regionAttribute query.regionName = this.regionInfoForm.regionName query.authId = this.regionInfoForm.trafficRule query.checkWork = this.regionInfoForm.regionAttendance + query.personList = this.regionInfoForm.personList console.log('添加的请求头数据为:', query) if(this.regionInfoDrawerTitle === '添加区域信息') { await addRegionInfo(query) // 提交信息 @@ -318,7 +383,7 @@ export default { } catch (err) { this.$message.error(err.message) } finally { - this.openDrawerLoading = false + // this.openDrawerLoading = false } } else { return false @@ -473,4 +538,24 @@ export default { /deep/ .el-drawer__header { margin-bottom: 0 !important; } + +/deep/ .el-transfer-panel__item.el-checkbox .el-checkbox__label { + width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: inline-block; + box-sizing: border-box; + padding-left: 24px; + line-height: 30px; + text-align: left; +} + +transfer_box{ + display: flex; + flex-direction: column; + span{ + margin:0 5px + } +} diff --git a/src/views/ESD/ESDServiceList.vue b/src/views/ESD/ESDServiceList.vue index 5b6ccff08719ded503c8ffa93b594f0b52516c5b..59d3fd3dd35fb5cf71f00fe7c68e8d4a5559254b 100644 --- a/src/views/ESD/ESDServiceList.vue +++ b/src/views/ESD/ESDServiceList.vue @@ -90,7 +90,7 @@ - 绑定区域 + 绑定区域 开闸 @@ -433,14 +433,14 @@ > - - + + 取 消 - 确 定 + 确 定 @@ -509,8 +509,8 @@ import { deleteESDDeviceByDeviceId, editESDParameter, getESDDeviceData, - getESDParameterByDeviceId, - getESDSelectData, operateESDDevice + getESDParameterByDeviceId, getESDRegionInfo, + getESDSelectData, operateESDDevice, updateSnByRegionId } from "../../utils/DeviceManagementApi"; export default { @@ -526,13 +526,22 @@ export default { searchData: '' }, // 查询表格数据表单 tableData: [], // 表格数据 + regionList: [], filterData: [{text: '关闭', value: 0}, {text: '运行中', value: 1}, {text: '异常', value: 2}], // 过滤筛选数据 pager: { currentPage: 1, // 当前页面 pageSize: 10, // 每页条数 totalPage: 1 // 总页数 }, // 分页数据 - loading: false, // 加载动画 + query: { + pager: { + pageSize: 10, + currentPage: 1, + total: 100 + }, + searchObject: '' + }, + loading: false, // 加载动画 multipleSelection: [], // 选中列表 titleOfDialog: '', // 操作弹框标题 operationDialogVisible: false, // 操作弹框 @@ -657,7 +666,8 @@ export default { /* 绑定区域所需数据 */ regionBindForm: { - region: '' + regionId: '', + sn:'' }, // 区域绑定表单 regionBindForm_Rules: { region: [{required: true, message: '必填项', trigger: 'blur'}] @@ -678,7 +688,8 @@ export default { rangeValue: { lowPowerTimes: [], // 息屏时间 fillLightTimes: [], // 补光灯时间 - } //表单中需要用的到范围值 + }, //表单中需要用的到范围值 + curentDeviceInfo: {} } }, computed: {}, @@ -688,6 +699,7 @@ export default { mounted() { this.getData() this.getConfigData() + this.getESDRegionList() }, methods: { // 表格清空多选的回调 @@ -728,6 +740,20 @@ export default { this.loading = false } }, + // 获取区域列表 + async getESDRegionList() { + const res = await getESDRegionInfo(this.query) + this.regionList = res.tableData + }, + // 重置设备绑定的区域 + async resetDeviceRegion() { + console.log(this.regionBindForm) + console.log(this.curentDeviceInfo) + this.regionBindForm.sn = this.curentDeviceInfo.deviceId + const res = await updateSnByRegionId(this.regionBindForm) + console.log(res) + this.regionBindDialogVisible = false + }, // 获取产品类型、开门方式、开门条件下拉框 async getConfigData() { this.editEquipmentOption = await getESDSelectData() @@ -798,12 +824,13 @@ export default { }, // 设备绑定区域 - regionBind(data) { + regionBind(data,row) { // 先判断是否选择数据 if (data <= 0) { this.$message('请至少选择一条记录!') } else { this.regionBindDialogVisible = true + this.curentDeviceInfo = row } }, @@ -880,6 +907,7 @@ export default { handleClose(done) { this.editFormVisible = false this.editEquipmentVisible = false + this.regionBindDialogVisible = false }, // 批量编辑操作数据 async batchEdit() { diff --git a/src/views/ESD/ESDSetting.vue b/src/views/ESD/ESDSetting.vue new file mode 100644 index 0000000000000000000000000000000000000000..127b2b1b55ae5b956293a956024780561864938b --- /dev/null +++ b/src/views/ESD/ESDSetting.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/ESD/ESDShiftManagement.vue b/src/views/ESD/ESDShiftManagement.vue new file mode 100644 index 0000000000000000000000000000000000000000..ee9d9f4d35ab232e6738576861f5cd96bf67f434 --- /dev/null +++ b/src/views/ESD/ESDShiftManagement.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/src/views/ESD/ESDVisitorManagement.vue b/src/views/ESD/ESDVisitorManagement.vue index 014d40d5f01dafa6e7769082599da875957dee6a..3c07f248eb784d7db76439f1220c3c7163c990b7 100644 --- a/src/views/ESD/ESDVisitorManagement.vue +++ b/src/views/ESD/ESDVisitorManagement.vue @@ -1,7 +1,7 @@ + +
@@ -150,7 +178,9 @@
-
+
+
+
@@ -258,6 +288,8 @@ import BreadCrumb from '@/components/BreadCrumb' import EmptyCard from '@/components/EmptyCard' import {getESDParameterByDeviceId} from "../../utils/DeviceManagementApi"; +import {getEsdLogList, getSearFormSelection} from "@/utils/ESD"; +import {baseUrl} from "@/utils/config"; export default { name: "FlowRecord", @@ -268,35 +300,32 @@ export default { data() { return { drawer: false, + query: { + pager: { + pageSize: 10, + currentPage: 1, + total: null + }, + searchObject: '' + }, + personTypeList: [{id: 1, name: '访客'}, {id: 3, name: '教师'}, {id: 2, name: '黑名单'}], + snList:[], activeName: 'first', - inner: {title: '流水管理'}, + inner: { title: '流水管理' }, searchForm: { - date: '', // 时间 - range: 0, // 范围 - deviceId: '', // 设备号 - resistanceStatus: '', // 阻值状态 - regionName: '', // 区域名称 - name: '', // 员工名称 - handResistance: '', // 手阻值 - leftFootResistance: '', // 左脚阻值 - rightFootResistance: '', // 右脚阻值 - }, // 查询数据 - tableData: [ - { - registerPhoto: '', // 注册照片 - snapPhoto: '', // 抓拍照片 - deviceId: '', // 设备号 - workId: '', // 工号 - name: '', // 姓名 - department: '', // 部门 - regionName: '', // 区域名称 - accessTime: '', // 通行时间 - handResistance: '', // 手阻值 - leftFootResistance: '', // 左脚阻值 - rightFootResistance: '', // 右脚阻值 - resistanceStatus: '', // 阻值状态 - } - ], // 表格数据 + date: '', + personType: '', + an: '', + resistanceStatus: '', + areaName: '', + name: '', + handResistance: '', + leftFootResistance: '', + rightFootResistance: '', + startTime: '', + endTime: '' + }, + tableData: [], // 表格数据 tableLoading: false, // 表格加载动画 multipleSelection: [], // 选中列表 pager: { @@ -306,12 +335,12 @@ export default { }, // 分页数据 kanbanVisible: false, // 看板模式对话框 selectForm: { - deviceName:'', // 设备名称 + deviceName: '', // 设备名称 }, // 筛选表单 detailInfo: { IDCard: '', // 身份证号 name: '', // 姓名 - workId: '', // 工号 + employeeCardId: '', // 工号 snapPhoto: '', // 抓拍照片 accessTime: '', // 通行时间 sex: '', // 性别 @@ -327,11 +356,57 @@ export default { detailVisible: false // 详情信息 } }, + created() { + this.getSearFormSelection() + this.getTableData() + }, methods: { // 表格选中函数 handleSelectionChange(val) { this.multipleSelection = val }, + async getTableData() { + this.searchForm.startTime = this.searchForm.date[0] + this.searchForm.endTime = this.searchForm.date[1] + console.log(this.query) + this.query.searchObject = this.searchForm + const res = await getEsdLogList(this.query) + if (res.code === 200) { + this.tableData = res.data.tableData + this.query.pager.total = res.data.totalPage + } + for (let i = 0; i < this.tableData.length; i++) { + this.tableData[i].currentImage = 'http://' + baseUrl + '/esd-image/now_img/' + this.tableData[i].nowImg + } + for (let i = 0; i < this.tableData.length; i++) { + this.tableData[i].idImg = 'http://' + baseUrl + '/esd-image/id_img/' + this.tableData[i].idImg + } + console.log(res.data) + }, + // 获取下拉框的数据 + async getSearFormSelection() { + const res = await getSearFormSelection() + if (res.code === 200) { + console.log(res.data) + this.snList = res.data.snList + let temp + for (let i = 0; i < res.data.personTypeList.length; i++) { + temp = { id: null, name: null } + temp.id = res.data.personTypeList[i].id + temp.name = res.data.personTypeList[i].name + this.personTypeList.push(temp) + } + console.log(this.personTypeList) + } + }, + changeTableSize(value) { + this.query.pager.pageSize = value + this.getTableData() + }, + changeTableCurrent(value) { + this.query.pager.currentPage = value + this.getTableData() + }, // 表格清空多选的回调 clearCheck() { // 清空表格多选框 @@ -339,8 +414,8 @@ export default { }, // 点击编辑设备信息 函数 async editEquipment(scope, row) { - console.log("row:",row) - console.log("scope:",scope) + console.log("row:", row) + console.log("scope:", scope) this.detailVisible = true }, // 分页回调函数 @@ -458,6 +533,7 @@ export default { margin-right: 15px !important; margin-bottom: 12px !important; } + // 日期填写宽度样式修改 /deep/ .el-date-editor--daterange.el-input__inner { width: 280px !important; @@ -475,6 +551,7 @@ export default { width: 100%; background: #010f24; box-sizing: border-box; + .top-bar { box-sizing: border-box; height: 100px; @@ -482,16 +559,20 @@ export default { display: flex; margin-bottom: 10px; } - .top-item, .left-item, .right-item{ + + .top-item, .left-item, .right-item { width: 33.33%; } - .left-box,.right-box { + + .left-box, .right-box { display: flex; } + .left-border { margin: 20px auto; position: relative; } + .left-border:before { content: ""; position: absolute; @@ -501,6 +582,7 @@ export default { height: 4px; background-color: #010f24; } + .divider { display: block; height: 2px; @@ -509,14 +591,17 @@ export default { border: 0.5px solid #01e1e3; box-sizing: border-box; } + .button-box { height: 40px; width: 90px; line-height: 60px; text-align: left; } + .squares-item { position: relative; + .quadrilateral { box-sizing: border-box; border: 2px solid #01e1e3; @@ -525,6 +610,7 @@ export default { position: relative; border-left: 0; border-right: 0; + &:before { box-sizing: border-box; content: ""; @@ -535,6 +621,7 @@ export default { height: 4px; background-color: #010f24; } + &:after { box-sizing: border-box; content: ""; @@ -545,6 +632,7 @@ export default { height: 4px; background-color: #010f24; } + .left-line, .right-line, .left-border-two, .right-line-two { height: 22px; width: 2px; @@ -554,6 +642,7 @@ export default { top: -3px; } } + .squares-one { box-sizing: border-box; height: 12px; @@ -561,6 +650,7 @@ export default { position: absolute; right: 1px; top: 22px; + &:before { box-sizing: border-box; content: ""; @@ -575,10 +665,12 @@ export default { } } } + .right-border { box-sizing: border-box; margin: 38px auto; position: relative; + &:before { content: ""; position: absolute; @@ -590,6 +682,7 @@ export default { background-color: #010f24; } } + .center-content { box-sizing: border-box; margin: 0 auto; @@ -603,10 +696,12 @@ export default { font-size: 24px; box-shadow: inset 0 0 15px #2c808d; } + .left-border-two { margin: 38px auto; position: relative; - &:before{ + + &:before { content: ""; position: absolute; right: -1px; @@ -614,8 +709,9 @@ export default { width: 15px; height: 4px; background-color: #010f24; - } } + } + .quadrilateral-two { box-sizing: border-box; border: 2px solid #01e1e3; @@ -624,7 +720,8 @@ export default { position: relative; border-left: 0; border-right: 0; - &:before{ + + &:before { content: ""; position: absolute; left: 0; @@ -633,7 +730,8 @@ export default { height: 4px; background-color: #010f24; } - .left-line-two,.right-line-two { + + .left-line-two, .right-line-two { height: 22px; width: 2px; background: #01e1e3; @@ -642,6 +740,7 @@ export default { top: -3px; } } + .squares-two { box-sizing: border-box; height: 12px; @@ -649,6 +748,7 @@ export default { position: absolute; right: 6px; top: 44px; + &:before { content: ""; position: absolute; @@ -661,10 +761,12 @@ export default { z-index: 1; } } + .right-border-two { margin: 56px auto; position: relative; box-sizing: border-box; + &:before { content: ""; position: absolute; @@ -675,6 +777,7 @@ export default { background-color: #010f24; } } + .close-box { width: 30px; height: 30px; diff --git a/src/views/NewMainPageComponents/LeftCenter.vue b/src/views/ESD/MainPageComponents/ESDLeftCenter.vue similarity index 31% rename from src/views/NewMainPageComponents/LeftCenter.vue rename to src/views/ESD/MainPageComponents/ESDLeftCenter.vue index f3cfa9b58fe889dde0f8c2e8629a89d52691a138..db6a50a3f89ca707f68d0cf9b2254182ee04c1b7 100644 --- a/src/views/NewMainPageComponents/LeftCenter.vue +++ b/src/views/ESD/MainPageComponents/ESDLeftCenter.vue @@ -2,7 +2,7 @@
- 报警Top10 + 报警Top10 @@ -18,15 +18,18 @@ > - + + + + - - - + + + + + + +

加载中... @@ -37,550 +40,550 @@

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - 取 消 - 确 定 - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + - - - + + + + + + +

加载中... @@ -633,10 +639,10 @@ import { editDeviceOperateData, getConfigureByDeviceId, getConfigData -} from '../../utils/DeviceManagementApi' +} from '../../../utils/DeviceManagementApi' export default { - name: 'LeftCenter', + name: 'ESDLeftCenter', data() { return { imgVisible: false, @@ -759,13 +765,11 @@ export default { }, mounted() { this.getConfigData() - console.log('leftCenterVO:',this.leftCenterVO) }, methods: { zoomEvent() { this.imgVisible = true const dialogEl = this.$refs.imgDialog.$refs.dialog - console.log(dialogEl) dialogEl.removeAttribute('zoom') }, async getConfigData() { @@ -773,17 +777,14 @@ export default { }, // 编辑设备操作 async editOperation(row) { - console.log(row) if (this.$refs.EquipmentOperation) { this.$refs.EquipmentOperation.resetFields() } - console.log(window.localStorage.getItem('menuList')) if (JSON.parse(window.localStorage.getItem('menuList')) !== null && JSON.parse(window.localStorage.getItem('menuList'))[0].children[0].menuId === 4) { this.isShow = false } else { this.isShow = true } - console.log('fdsafdasf') this.operationDialogVisible = true this.operationDialogLoading = true this.editArray = [row.deviceId] @@ -805,10 +806,8 @@ export default { await editDeviceOperateData(query) } catch (err) { this.$message.error(err) - console.log(err, '111') } } else { - console.log('error submit!!') return false } this.operationDialogVisible = false @@ -908,7 +907,7 @@ export default { } /deep/ .el-dialog { height: 100%!important; - background-image: url("../../assets/images/left-center-big-bgc.png"); + //background-image: url("../src/assets/images/left-center-big-bgc.png"); background-repeat: no-repeat; background-size:100% 100% ; } diff --git a/src/views/NewMainPageComponents/LeftTop.vue b/src/views/ESD/MainPageComponents/ESDLeftTop.vue similarity index 73% rename from src/views/NewMainPageComponents/LeftTop.vue rename to src/views/ESD/MainPageComponents/ESDLeftTop.vue index 2d5deeb8b3ffb20f90fe74c2f3009aeacada8048..ce5615ca2b31dc8dbd05d1748e5a4f9edd54203f 100644 --- a/src/views/NewMainPageComponents/LeftTop.vue +++ b/src/views/ESD/MainPageComponents/ESDLeftTop.vue @@ -1,9 +1,9 @@