Compare commits
14 Commits
prod-25-11
...
prod-25-03
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a0a60afb7 | |||
| 321414ad87 | |||
| fc4cbbed7a | |||
| a69d57b0fd | |||
| 6e9acbcf1e | |||
| d147b77d25 | |||
| 89fc3ac753 | |||
| 06c51d6b65 | |||
| f2a45915fe | |||
| 7b06331eb6 | |||
| ef247173a1 | |||
| 3c9dc6ecf5 | |||
| 82fc504fb5 | |||
| 42a75a644c |
330
package-lock.json
generated
@ -18,7 +18,6 @@
|
|||||||
"element-ui": "^2.15.9",
|
"element-ui": "^2.15.9",
|
||||||
"less": "^4.1.3",
|
"less": "^4.1.3",
|
||||||
"less-loader": "^11.1.3",
|
"less-loader": "^11.1.3",
|
||||||
"qrcode": "^1.5.4",
|
|
||||||
"qs": "^6.11.2",
|
"qs": "^6.11.2",
|
||||||
"sass": "^1.65.1",
|
"sass": "^1.65.1",
|
||||||
"sass-loader": "^13.3.2",
|
"sass-loader": "^13.3.2",
|
||||||
@ -3351,6 +3350,7 @@
|
|||||||
"version": "5.0.1",
|
"version": "5.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||||
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||||
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
@ -4801,15 +4801,6 @@
|
|||||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/decamelize": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/decamelize/-/decamelize-1.2.0.tgz",
|
|
||||||
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/decimal.js": {
|
"node_modules/decimal.js": {
|
||||||
"version": "10.4.3",
|
"version": "10.4.3",
|
||||||
"resolved": "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz",
|
"resolved": "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz",
|
||||||
@ -5029,12 +5020,6 @@
|
|||||||
"integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",
|
"integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/dijkstrajs": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/dijkstrajs/-/dijkstrajs-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/dir-glob": {
|
"node_modules/dir-glob": {
|
||||||
"version": "3.0.1",
|
"version": "3.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
|
||||||
@ -5225,7 +5210,8 @@
|
|||||||
"node_modules/emoji-regex": {
|
"node_modules/emoji-regex": {
|
||||||
"version": "8.0.0",
|
"version": "8.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||||
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
|
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/emojis-list": {
|
"node_modules/emojis-list": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
@ -6229,6 +6215,7 @@
|
|||||||
"version": "4.1.0",
|
"version": "4.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
||||||
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
||||||
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"locate-path": "^5.0.0",
|
"locate-path": "^5.0.0",
|
||||||
"path-exists": "^4.0.0"
|
"path-exists": "^4.0.0"
|
||||||
@ -6383,6 +6370,7 @@
|
|||||||
"version": "2.0.5",
|
"version": "2.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
||||||
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
||||||
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "6.* || 8.* || >= 10.*"
|
"node": "6.* || 8.* || >= 10.*"
|
||||||
}
|
}
|
||||||
@ -7004,6 +6992,7 @@
|
|||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
||||||
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
|
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
|
||||||
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
@ -7419,6 +7408,7 @@
|
|||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
||||||
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
||||||
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"p-locate": "^4.1.0"
|
"p-locate": "^4.1.0"
|
||||||
},
|
},
|
||||||
@ -8455,6 +8445,7 @@
|
|||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
|
||||||
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
|
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
|
||||||
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"p-try": "^2.0.0"
|
"p-try": "^2.0.0"
|
||||||
},
|
},
|
||||||
@ -8469,6 +8460,7 @@
|
|||||||
"version": "4.1.0",
|
"version": "4.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
||||||
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
||||||
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"p-limit": "^2.2.0"
|
"p-limit": "^2.2.0"
|
||||||
},
|
},
|
||||||
@ -8493,6 +8485,7 @@
|
|||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
||||||
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
|
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
|
||||||
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
@ -8589,6 +8582,7 @@
|
|||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
|
||||||
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
|
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
|
||||||
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
@ -8669,15 +8663,6 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/pngjs": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/pngjs/-/pngjs-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10.13.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/portfinder": {
|
"node_modules/portfinder": {
|
||||||
"version": "1.0.32",
|
"version": "1.0.32",
|
||||||
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz",
|
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz",
|
||||||
@ -9409,131 +9394,6 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/qrcode": {
|
|
||||||
"version": "1.5.4",
|
|
||||||
"resolved": "https://registry.npmmirror.com/qrcode/-/qrcode-1.5.4.tgz",
|
|
||||||
"integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"dijkstrajs": "^1.0.1",
|
|
||||||
"pngjs": "^5.0.0",
|
|
||||||
"yargs": "^15.3.1"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"qrcode": "bin/qrcode"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10.13.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/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==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"color-convert": "^2.0.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/node_modules/camelcase": {
|
|
||||||
"version": "5.3.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/camelcase/-/camelcase-5.3.1.tgz",
|
|
||||||
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/node_modules/cliui": {
|
|
||||||
"version": "6.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/cliui/-/cliui-6.0.0.tgz",
|
|
||||||
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"string-width": "^4.2.0",
|
|
||||||
"strip-ansi": "^6.0.0",
|
|
||||||
"wrap-ansi": "^6.2.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/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==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"color-name": "~1.1.4"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=7.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/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==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/node_modules/wrap-ansi": {
|
|
||||||
"version": "6.2.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
|
|
||||||
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"ansi-styles": "^4.0.0",
|
|
||||||
"string-width": "^4.1.0",
|
|
||||||
"strip-ansi": "^6.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/node_modules/y18n": {
|
|
||||||
"version": "4.0.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/y18n/-/y18n-4.0.3.tgz",
|
|
||||||
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
|
|
||||||
"license": "ISC"
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/node_modules/yargs": {
|
|
||||||
"version": "15.4.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/yargs/-/yargs-15.4.1.tgz",
|
|
||||||
"integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"cliui": "^6.0.0",
|
|
||||||
"decamelize": "^1.2.0",
|
|
||||||
"find-up": "^4.1.0",
|
|
||||||
"get-caller-file": "^2.0.1",
|
|
||||||
"require-directory": "^2.1.1",
|
|
||||||
"require-main-filename": "^2.0.0",
|
|
||||||
"set-blocking": "^2.0.0",
|
|
||||||
"string-width": "^4.2.0",
|
|
||||||
"which-module": "^2.0.0",
|
|
||||||
"y18n": "^4.0.0",
|
|
||||||
"yargs-parser": "^18.1.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qrcode/node_modules/yargs-parser": {
|
|
||||||
"version": "18.1.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
||||||
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"camelcase": "^5.0.0",
|
|
||||||
"decamelize": "^1.2.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/qs": {
|
"node_modules/qs": {
|
||||||
"version": "6.11.2",
|
"version": "6.11.2",
|
||||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz",
|
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz",
|
||||||
@ -9783,6 +9643,7 @@
|
|||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
|
||||||
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
|
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
|
||||||
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
@ -9796,12 +9657,6 @@
|
|||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/require-main-filename": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/require-main-filename/-/require-main-filename-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
|
|
||||||
"license": "ISC"
|
|
||||||
},
|
|
||||||
"node_modules/requires-port": {
|
"node_modules/requires-port": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
|
||||||
@ -10178,12 +10033,6 @@
|
|||||||
"node": ">= 0.8.0"
|
"node": ">= 0.8.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/set-blocking": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/set-blocking/-/set-blocking-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
|
|
||||||
"license": "ISC"
|
|
||||||
},
|
|
||||||
"node_modules/setprototypeof": {
|
"node_modules/setprototypeof": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
|
||||||
@ -10475,6 +10324,7 @@
|
|||||||
"version": "4.2.3",
|
"version": "4.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
||||||
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
||||||
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"emoji-regex": "^8.0.0",
|
"emoji-regex": "^8.0.0",
|
||||||
"is-fullwidth-code-point": "^3.0.0",
|
"is-fullwidth-code-point": "^3.0.0",
|
||||||
@ -10488,6 +10338,7 @@
|
|||||||
"version": "6.0.1",
|
"version": "6.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||||
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ansi-regex": "^5.0.1"
|
"ansi-regex": "^5.0.1"
|
||||||
},
|
},
|
||||||
@ -11851,12 +11702,6 @@
|
|||||||
"which": "bin/which"
|
"which": "bin/which"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/which-module": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/which-module/-/which-module-2.0.1.tgz",
|
|
||||||
"integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
|
|
||||||
"license": "ISC"
|
|
||||||
},
|
|
||||||
"node_modules/wildcard": {
|
"node_modules/wildcard": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz",
|
||||||
@ -14573,7 +14418,8 @@
|
|||||||
"ansi-regex": {
|
"ansi-regex": {
|
||||||
"version": "5.0.1",
|
"version": "5.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||||
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
|
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"ansi-styles": {
|
"ansi-styles": {
|
||||||
"version": "3.2.1",
|
"version": "3.2.1",
|
||||||
@ -15627,11 +15473,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"decamelize": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/decamelize/-/decamelize-1.2.0.tgz",
|
|
||||||
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA=="
|
|
||||||
},
|
|
||||||
"decimal.js": {
|
"decimal.js": {
|
||||||
"version": "10.4.3",
|
"version": "10.4.3",
|
||||||
"resolved": "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz",
|
"resolved": "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz",
|
||||||
@ -15786,11 +15627,6 @@
|
|||||||
"integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",
|
"integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"dijkstrajs": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/dijkstrajs/-/dijkstrajs-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA=="
|
|
||||||
},
|
|
||||||
"dir-glob": {
|
"dir-glob": {
|
||||||
"version": "3.0.1",
|
"version": "3.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
|
||||||
@ -15947,7 +15783,8 @@
|
|||||||
"emoji-regex": {
|
"emoji-regex": {
|
||||||
"version": "8.0.0",
|
"version": "8.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||||
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
|
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"emojis-list": {
|
"emojis-list": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
@ -16708,6 +16545,7 @@
|
|||||||
"version": "4.1.0",
|
"version": "4.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
||||||
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"locate-path": "^5.0.0",
|
"locate-path": "^5.0.0",
|
||||||
"path-exists": "^4.0.0"
|
"path-exists": "^4.0.0"
|
||||||
@ -16812,7 +16650,8 @@
|
|||||||
"get-caller-file": {
|
"get-caller-file": {
|
||||||
"version": "2.0.5",
|
"version": "2.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
||||||
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
|
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"get-intrinsic": {
|
"get-intrinsic": {
|
||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
@ -17249,7 +17088,8 @@
|
|||||||
"is-fullwidth-code-point": {
|
"is-fullwidth-code-point": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
||||||
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
|
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"is-glob": {
|
"is-glob": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.3",
|
||||||
@ -17559,6 +17399,7 @@
|
|||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
||||||
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"p-locate": "^4.1.0"
|
"p-locate": "^4.1.0"
|
||||||
}
|
}
|
||||||
@ -18343,6 +18184,7 @@
|
|||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
|
||||||
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
|
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"p-try": "^2.0.0"
|
"p-try": "^2.0.0"
|
||||||
}
|
}
|
||||||
@ -18351,6 +18193,7 @@
|
|||||||
"version": "4.1.0",
|
"version": "4.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
||||||
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"p-limit": "^2.2.0"
|
"p-limit": "^2.2.0"
|
||||||
}
|
}
|
||||||
@ -18368,7 +18211,8 @@
|
|||||||
"p-try": {
|
"p-try": {
|
||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
||||||
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
|
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"param-case": {
|
"param-case": {
|
||||||
"version": "3.0.4",
|
"version": "3.0.4",
|
||||||
@ -18448,7 +18292,8 @@
|
|||||||
"path-exists": {
|
"path-exists": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
|
||||||
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
|
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"path-is-absolute": {
|
"path-is-absolute": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
@ -18505,11 +18350,6 @@
|
|||||||
"find-up": "^4.0.0"
|
"find-up": "^4.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pngjs": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/pngjs/-/pngjs-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw=="
|
|
||||||
},
|
|
||||||
"portfinder": {
|
"portfinder": {
|
||||||
"version": "1.0.32",
|
"version": "1.0.32",
|
||||||
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz",
|
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz",
|
||||||
@ -18995,96 +18835,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
|
||||||
"integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA=="
|
"integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA=="
|
||||||
},
|
},
|
||||||
"qrcode": {
|
|
||||||
"version": "1.5.4",
|
|
||||||
"resolved": "https://registry.npmmirror.com/qrcode/-/qrcode-1.5.4.tgz",
|
|
||||||
"integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==",
|
|
||||||
"requires": {
|
|
||||||
"dijkstrajs": "^1.0.1",
|
|
||||||
"pngjs": "^5.0.0",
|
|
||||||
"yargs": "^15.3.1"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"ansi-styles": {
|
|
||||||
"version": "4.3.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
|
||||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
|
||||||
"requires": {
|
|
||||||
"color-convert": "^2.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"camelcase": {
|
|
||||||
"version": "5.3.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/camelcase/-/camelcase-5.3.1.tgz",
|
|
||||||
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
|
|
||||||
},
|
|
||||||
"cliui": {
|
|
||||||
"version": "6.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/cliui/-/cliui-6.0.0.tgz",
|
|
||||||
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
||||||
"requires": {
|
|
||||||
"string-width": "^4.2.0",
|
|
||||||
"strip-ansi": "^6.0.0",
|
|
||||||
"wrap-ansi": "^6.2.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==",
|
|
||||||
"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=="
|
|
||||||
},
|
|
||||||
"wrap-ansi": {
|
|
||||||
"version": "6.2.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
|
|
||||||
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
|
|
||||||
"requires": {
|
|
||||||
"ansi-styles": "^4.0.0",
|
|
||||||
"string-width": "^4.1.0",
|
|
||||||
"strip-ansi": "^6.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"y18n": {
|
|
||||||
"version": "4.0.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/y18n/-/y18n-4.0.3.tgz",
|
|
||||||
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
||||||
},
|
|
||||||
"yargs": {
|
|
||||||
"version": "15.4.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/yargs/-/yargs-15.4.1.tgz",
|
|
||||||
"integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
|
|
||||||
"requires": {
|
|
||||||
"cliui": "^6.0.0",
|
|
||||||
"decamelize": "^1.2.0",
|
|
||||||
"find-up": "^4.1.0",
|
|
||||||
"get-caller-file": "^2.0.1",
|
|
||||||
"require-directory": "^2.1.1",
|
|
||||||
"require-main-filename": "^2.0.0",
|
|
||||||
"set-blocking": "^2.0.0",
|
|
||||||
"string-width": "^4.2.0",
|
|
||||||
"which-module": "^2.0.0",
|
|
||||||
"y18n": "^4.0.0",
|
|
||||||
"yargs-parser": "^18.1.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"yargs-parser": {
|
|
||||||
"version": "18.1.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
||||||
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
||||||
"requires": {
|
|
||||||
"camelcase": "^5.0.0",
|
|
||||||
"decamelize": "^1.2.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"qs": {
|
"qs": {
|
||||||
"version": "6.11.2",
|
"version": "6.11.2",
|
||||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz",
|
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz",
|
||||||
@ -19271,7 +19021,8 @@
|
|||||||
"require-directory": {
|
"require-directory": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
|
||||||
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="
|
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"require-from-string": {
|
"require-from-string": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
@ -19279,11 +19030,6 @@
|
|||||||
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
|
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"require-main-filename": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/require-main-filename/-/require-main-filename-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
|
|
||||||
},
|
|
||||||
"requires-port": {
|
"requires-port": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
|
||||||
@ -19547,11 +19293,6 @@
|
|||||||
"send": "0.18.0"
|
"send": "0.18.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"set-blocking": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/set-blocking/-/set-blocking-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw=="
|
|
||||||
},
|
|
||||||
"setprototypeof": {
|
"setprototypeof": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
|
||||||
@ -19793,6 +19534,7 @@
|
|||||||
"version": "4.2.3",
|
"version": "4.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
||||||
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"emoji-regex": "^8.0.0",
|
"emoji-regex": "^8.0.0",
|
||||||
"is-fullwidth-code-point": "^3.0.0",
|
"is-fullwidth-code-point": "^3.0.0",
|
||||||
@ -19803,6 +19545,7 @@
|
|||||||
"version": "6.0.1",
|
"version": "6.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ansi-regex": "^5.0.1"
|
"ansi-regex": "^5.0.1"
|
||||||
}
|
}
|
||||||
@ -20781,11 +20524,6 @@
|
|||||||
"isexe": "^2.0.0"
|
"isexe": "^2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"which-module": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/which-module/-/which-module-2.0.1.tgz",
|
|
||||||
"integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ=="
|
|
||||||
},
|
|
||||||
"wildcard": {
|
"wildcard": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz",
|
||||||
|
|||||||
@ -19,7 +19,6 @@
|
|||||||
"element-ui": "^2.15.9",
|
"element-ui": "^2.15.9",
|
||||||
"less": "^4.1.3",
|
"less": "^4.1.3",
|
||||||
"less-loader": "^11.1.3",
|
"less-loader": "^11.1.3",
|
||||||
"qrcode": "^1.5.4",
|
|
||||||
"qs": "^6.11.2",
|
"qs": "^6.11.2",
|
||||||
"sass": "^1.65.1",
|
"sass": "^1.65.1",
|
||||||
"sass-loader": "^13.3.2",
|
"sass-loader": "^13.3.2",
|
||||||
|
|||||||
@ -26,16 +26,11 @@
|
|||||||
<van-number-keyboard safe-area-inset-bottom />
|
<van-number-keyboard safe-area-inset-bottom />
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window._AMapSecurityConfig = {
|
window._AMapSecurityConfig = {
|
||||||
// serviceHost: 'https://api.sinoassist.com/_AMapService',
|
serviceHost: 'https://api.sinoassist.com/_AMapService',
|
||||||
securityJsCode:'91ab1ebc492d5479a68b11527bd73dc9',
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script>
|
<script src="https://webapi.amap.com/maps?v=1.4.15&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.Polyline"></script>
|
||||||
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
|
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
|
||||||
<script>
|
|
||||||
window.selfLink = window.location.href;
|
|
||||||
window.selfSearch = window.location.search;
|
|
||||||
</script>
|
|
||||||
<script>
|
<script>
|
||||||
// VConsole 默认会挂载到 `window.VConsole` 上
|
// VConsole 默认会挂载到 `window.VConsole` 上
|
||||||
// let vConsole = new window.VConsole();
|
// let vConsole = new window.VConsole();
|
||||||
|
|||||||
@ -44,10 +44,10 @@
|
|||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h3>声明</h3>
|
<h3>声明</h3>
|
||||||
<p>本平台为二手拖车买卖双方提供免费信息发布服务。在您使用本平台之前,请仔细阅读并理解本免责声明。一旦使用本平台,即视为您已阅读、理解并同意接受本免责声明的所有条款。</p>
|
<p>本平台为二手车买卖双方提供免费信息发布服务。在您使用本平台之前,请仔细阅读并理解本免责声明。一旦使用本平台,即视为您已阅读、理解并同意接受本免责声明的所有条款。</p>
|
||||||
|
|
||||||
<h4>一、平台性质</h4>
|
<h4>一、平台性质</h4>
|
||||||
<p>1. 本平台仅为信息发布平台,不参与任何二手拖车交易环节,包括但不限于交易洽谈、合同签订、款项支付、车辆交付等,实际交易价格由买卖双方自行协商确定。</p>
|
<p>1. 本平台仅为信息发布平台,不参与任何二手车交易环节,包括但不限于交易洽谈、合同签订、款项支付、车辆交付等,实际交易价格由买卖双方自行协商确定。</p>
|
||||||
<p>2. 本平台不对发布信息的真实性、准确性、完整性、合法性进行任何形式的担保或保证,用户应自行判断信息的真实性并承担由此产生的风险。</p>
|
<p>2. 本平台不对发布信息的真实性、准确性、完整性、合法性进行任何形式的担保或保证,用户应自行判断信息的真实性并承担由此产生的风险。</p>
|
||||||
|
|
||||||
<h4>二、用户责任</h4>
|
<h4>二、用户责任</h4>
|
||||||
|
|||||||
@ -1,72 +0,0 @@
|
|||||||
import request from '@/utils/http'
|
|
||||||
// 根据订单 获取报备类型
|
|
||||||
/*export function getReportListByOrder(key){
|
|
||||||
return request({
|
|
||||||
url: '/order/baseDriverReportConfigs/getByOrderId',
|
|
||||||
method:'GET',
|
|
||||||
params: key
|
|
||||||
})
|
|
||||||
}*/
|
|
||||||
// 弹框
|
|
||||||
export function successPopup( data) {
|
|
||||||
return request({
|
|
||||||
url: '/returnOrder/wechatDriver/user/successPopup',
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/x-www-form-urlencoded',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// 认证进度
|
|
||||||
export function infoVerifyProgress(data){
|
|
||||||
return request({
|
|
||||||
url: '/returnOrder/wechatDriver/user/infoVerifyProgress',
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/json',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 认证详情
|
|
||||||
export function driverInfoVerifyDetail(data) {
|
|
||||||
return request({
|
|
||||||
url:'/returnOrder/wechatDriver/user/driverInfoVerifyDetail',
|
|
||||||
method:'POST',
|
|
||||||
data: data,
|
|
||||||
contentType: 'application/json',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 我的信息
|
|
||||||
export function getMyInfo(data) {
|
|
||||||
return request({
|
|
||||||
url:'/returnOrder/wechatDriver/user/driverDetail',
|
|
||||||
method:'POST',
|
|
||||||
data: data,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// ocr识别
|
|
||||||
export function ocrRecognize( data) {
|
|
||||||
return request( {
|
|
||||||
url:'/returnOrder/wechatDriver/user/ocrRecognize',
|
|
||||||
data: data,
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/json'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// 认证
|
|
||||||
export function driverInfoVerify( data) {
|
|
||||||
return request({
|
|
||||||
url:'/returnOrder/wechatDriver/user/driverInfoVerify',
|
|
||||||
data: data,
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/json'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// 实名认证
|
|
||||||
export function driverRealName( data) {
|
|
||||||
return request('/returnOrder/wechatDriver/user/driverRealNameAuth', {
|
|
||||||
data: data,
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/json'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
107
src/api/mine.js
@ -18,25 +18,6 @@ export function saveVehicle(data){
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/*车辆更改状态 /supplierAppV2/dispatchApp/user/enableVehicle*/
|
|
||||||
export function enableVehicle(data){
|
|
||||||
return request({
|
|
||||||
url:'/supplierAppV2/dispatchApp/user/enableVehicle',
|
|
||||||
method:'POST',
|
|
||||||
contentType:'application/json',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
//编辑车辆信息
|
|
||||||
export function updateInsurance(data){
|
|
||||||
return request({
|
|
||||||
url:'/supplierAppV2/dispatchApp/user/updateInsurance',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取车辆信息(用于修改时回显的值,只需传vehicleId)
|
// 获取车辆信息(用于修改时回显的值,只需传vehicleId)
|
||||||
export function getInfoById(data){
|
export function getInfoById(data){
|
||||||
return request({
|
return request({
|
||||||
@ -69,62 +50,6 @@ export function supplierServiceTree(){
|
|||||||
method:'POST'
|
method:'POST'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 服务商服务能力
|
|
||||||
export function supplierServicePartTree(data){
|
|
||||||
return request({
|
|
||||||
url:'/supplier/approval/getSupplierServiceTree',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 申请加入
|
|
||||||
export function saveSupplier(data){
|
|
||||||
return request({
|
|
||||||
url:'/supplier/potential/save',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 申请加入
|
|
||||||
export function auditSupplier(data){
|
|
||||||
return request({
|
|
||||||
url:'/supplier/potential/audit',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 修改申请信息
|
|
||||||
export function getSupplierInfo(key){
|
|
||||||
return request({
|
|
||||||
url:'/supplier/potential/getById',
|
|
||||||
method:'GET',
|
|
||||||
params:key
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取企微二维码
|
|
||||||
export function getOrCodeInfo(data){
|
|
||||||
return request({
|
|
||||||
url:'/agg-api/wxcp/createContactQrCode',
|
|
||||||
method:'POST',
|
|
||||||
contentType:'application/json',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取是否添加企微结果
|
|
||||||
export function getContactQrCodeResult(data){
|
|
||||||
return request({
|
|
||||||
url:'/agg-api/wxcp/getContactQrCodeResult',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
//司机列表
|
//司机列表
|
||||||
export function driverList(data){
|
export function driverList(data){
|
||||||
return request({
|
return request({
|
||||||
@ -392,35 +317,3 @@ export function unifiedOCRWithCompress(data){
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getArea(data){
|
|
||||||
return request({
|
|
||||||
url:'/base/area/tree',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 服务商是否培训
|
|
||||||
export function jumpPage(data){
|
|
||||||
return request({
|
|
||||||
url:'/supplierAppV2/dispatchApp/user/jumpPage',
|
|
||||||
method:'POST',
|
|
||||||
contentType:'application/json',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
//发送确认参保
|
|
||||||
export function sendInsuranceEmail(){
|
|
||||||
return request({
|
|
||||||
url:'/supplierAppV2/dispatchApp/user/sendInsuranceEmail',
|
|
||||||
method:'POST',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// 判断服务商是否参保
|
|
||||||
export function isSendInsuranceEmail(){
|
|
||||||
return request({
|
|
||||||
url:'/supplierAppV2/dispatchApp/user/isSendInsuranceEmail',
|
|
||||||
method:'POST',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|||||||
@ -112,50 +112,3 @@ export function correctionHandle(data) {
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 获取报警列表
|
|
||||||
export function getAlarmList(data) {
|
|
||||||
return request({
|
|
||||||
url: '/supplierAppV2/dispatchApp/alarm/alarmList',
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/json',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取报警数目
|
|
||||||
export function getAlarmCount(data) {
|
|
||||||
return request({
|
|
||||||
url: '/supplierAppV2/dispatchApp/alarm/alarmCount',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取报警详情
|
|
||||||
export function getAlarmByCode(data) {
|
|
||||||
return request({
|
|
||||||
url: '/supplierAppV2/dispatchApp/alarm/getAlarmByCode',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 处理报警
|
|
||||||
export function dealWithAlarm(data) {
|
|
||||||
return request({
|
|
||||||
url: '/supplierAppV2/dispatchApp/alarm/handAlarm',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
//获取当前任务信息
|
|
||||||
export function getConfigByCode(data){
|
|
||||||
return request({
|
|
||||||
url: '/base/baseConfig/getConfigByCode',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,37 +0,0 @@
|
|||||||
import request from '@/utils/http'
|
|
||||||
// 根据订单 获取报备类型
|
|
||||||
export function getReportListByOrder(key){
|
|
||||||
return request({
|
|
||||||
url: '/order/baseDriverReportConfigs/getByOrderId',
|
|
||||||
method:'GET',
|
|
||||||
params: key
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 添加报备
|
|
||||||
export function newOrderReporting(data){
|
|
||||||
return request({
|
|
||||||
url: '/supplierAppV2/dispatchApp/order/newOrderReporting',
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/json',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取报备列表
|
|
||||||
export function reportHistory(data){
|
|
||||||
return request({
|
|
||||||
url: '/supplierAppV2/dispatchApp/order/reportHistory',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取订单信息
|
|
||||||
export function getOrderInfo(data){
|
|
||||||
return request({
|
|
||||||
url: '/supplierAppV2/dispatchApp/order/reportOrderDetail',
|
|
||||||
method:'POST',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
@ -54,14 +54,14 @@ export function userFeedback(data){
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//二手拖车信息擦亮
|
//二手车信息擦亮
|
||||||
export function usedCarPolish(data){
|
export function usedCarPolish(data){
|
||||||
return request({
|
return request({
|
||||||
url: `/toc-user/car-app/usedCarPolish/${data}`,
|
url: `/toc-user/car-app/usedCarPolish/${data}`,
|
||||||
method:'POST',
|
method:'POST',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//二手拖车信息下架
|
//二手车信息下架
|
||||||
export function usedCarRemove(data){
|
export function usedCarRemove(data){
|
||||||
return request({
|
return request({
|
||||||
url: '/toc-user/car-app/usedCarRemove',
|
url: '/toc-user/car-app/usedCarRemove',
|
||||||
@ -70,7 +70,7 @@ export function usedCarRemove(data){
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//二手拖车信息重新上架
|
//二手车信息重新上架
|
||||||
export function usedCarReShelf(data){
|
export function usedCarReShelf(data){
|
||||||
return request({
|
return request({
|
||||||
url: `/toc-user/car-app/usedCarReShelf/${data}`,
|
url: `/toc-user/car-app/usedCarReShelf/${data}`,
|
||||||
@ -94,22 +94,3 @@ export function saveRecord(data){
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 审核不通过再次提交
|
|
||||||
export function auditCarInfoAgain(data){
|
|
||||||
return request({
|
|
||||||
url: '/toc-user/car-app/auditCarInfoAgain',
|
|
||||||
method:'POST',
|
|
||||||
contentType: 'application/json',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// 我的发布列表
|
|
||||||
export function getAddressForService(data){
|
|
||||||
return request({
|
|
||||||
url: '/base/gaodeMap/getPlaceByAddress',
|
|
||||||
method:'GET',
|
|
||||||
params: data,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 785 B |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 770 B |
|
Before Width: | Height: | Size: 790 B |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 727 B |
|
Before Width: | Height: | Size: 901 B |
|
Before Width: | Height: | Size: 803 B |
|
Before Width: | Height: | Size: 478 B |
|
Before Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 795 B |
|
Before Width: | Height: | Size: 725 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 721 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 727 B |
|
Before Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 589 B |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 1022 B |
|
Before Width: | Height: | Size: 355 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 300 B |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
BIN
src/assets/secondHandCar/车辆描述@2x.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 11 KiB |
@ -1,43 +0,0 @@
|
|||||||
const authenticationRouter = [
|
|
||||||
{
|
|
||||||
path: '/auditList',
|
|
||||||
name: 'auditList',
|
|
||||||
component: () => import('@/views/rvDriverAuthentication/auditList.vue'),
|
|
||||||
meta:{
|
|
||||||
title: '小板运输司机认证',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/personAudit',
|
|
||||||
name: 'personAudit',
|
|
||||||
component: () => import('@/views/rvDriverAuthentication/personAudit.vue'),
|
|
||||||
meta:{
|
|
||||||
title: '实名认证',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/carAudit',
|
|
||||||
name: 'carAudit',
|
|
||||||
component: () => import('@/views/rvDriverAuthentication/carAudit.vue'),
|
|
||||||
meta:{
|
|
||||||
title: '驾驶证认证',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/carInfoAudit',
|
|
||||||
name: 'carInfoAudit',
|
|
||||||
component: () => import('@/views/rvDriverAuthentication/carInfoAudit.vue'),
|
|
||||||
meta:{
|
|
||||||
title: '车辆信息认证',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/bankInfo',
|
|
||||||
name: 'bankInfo',
|
|
||||||
component: () => import('@/views/rvDriverAuthentication/bankInfo.vue'),
|
|
||||||
meta:{
|
|
||||||
title: '银行卡信息认证',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
]
|
|
||||||
export default authenticationRouter
|
|
||||||
@ -4,37 +4,11 @@ Vue.use(VueRouter);
|
|||||||
import kpiRouter from './kpi-router'
|
import kpiRouter from './kpi-router'
|
||||||
import invoiceRouter from "@/router/invoice-router";
|
import invoiceRouter from "@/router/invoice-router";
|
||||||
import secondHandRouter from "@/router/second-hand-router";
|
import secondHandRouter from "@/router/second-hand-router";
|
||||||
import reportRouter from "@/router/report-router"
|
|
||||||
import authenticationRouter from "@/router/authentication-router"
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: '/index'
|
redirect: '/index'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/supplierAdd',
|
|
||||||
name: 'supplierAdd',
|
|
||||||
component: () => import('@/views/index/supplierAdd'),
|
|
||||||
meta:{
|
|
||||||
title: '信息录入',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/supplierAddResult',
|
|
||||||
name: 'supplierAddResult',
|
|
||||||
component: () => import('@/views/index/supplierAddResult'),
|
|
||||||
meta:{
|
|
||||||
title: '审核中',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/supplierInfo',
|
|
||||||
name: 'supplierInfo',
|
|
||||||
component: () => import('@/views/index/supplierInfo'),
|
|
||||||
meta:{
|
|
||||||
title: '信息查看',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/toDoList',
|
path: '/toDoList',
|
||||||
name: 'toDoList',
|
name: 'toDoList',
|
||||||
@ -172,14 +146,6 @@ const routes = [
|
|||||||
title: '车辆新增或修改'
|
title: '车辆新增或修改'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "/continueInsurance",
|
|
||||||
name: 'continueInsurance',
|
|
||||||
component: () => import('@/views/index/continueInsurance'),
|
|
||||||
meta: {
|
|
||||||
title: '续保更新'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/driverManage',
|
path: '/driverManage',
|
||||||
name: 'driverManage',
|
name: 'driverManage',
|
||||||
@ -284,22 +250,6 @@ const routes = [
|
|||||||
title:'车辆维保'
|
title:'车辆维保'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/vehicleAlarmList',
|
|
||||||
name: 'vehicleAlarmList',
|
|
||||||
component:()=>import('@/views/vehicle-maintenance/vehicle-alarm-list.vue'),
|
|
||||||
meta: {
|
|
||||||
title:'车辆报警'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/vehicleAlarmDetail',
|
|
||||||
name: 'vehicleAlarmDetail',
|
|
||||||
component:()=>import('@/views/vehicle-maintenance/vehicle-alarm-detail.vue'),
|
|
||||||
meta: {
|
|
||||||
title:'报警详情'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/maintenanceApplication',
|
path: '/maintenanceApplication',
|
||||||
name: 'maintenanceApplication',
|
name: 'maintenanceApplication',
|
||||||
@ -327,8 +277,6 @@ const routes = [
|
|||||||
...kpiRouter,
|
...kpiRouter,
|
||||||
...invoiceRouter,
|
...invoiceRouter,
|
||||||
...secondHandRouter,
|
...secondHandRouter,
|
||||||
...reportRouter,
|
|
||||||
...authenticationRouter
|
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
|
|||||||
@ -1,29 +0,0 @@
|
|||||||
const reportRouter = [
|
|
||||||
{
|
|
||||||
path: '/reportIndex',
|
|
||||||
name: 'reportIndex',
|
|
||||||
component: () => import('@/views/report/reportIndex'),
|
|
||||||
meta:{
|
|
||||||
title: '道路救援',
|
|
||||||
cache: true,
|
|
||||||
modalState: false,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/addressMap',
|
|
||||||
name: 'addressMap',
|
|
||||||
component: () => import('@/views/report/addressMap'),
|
|
||||||
meta:{
|
|
||||||
title: '道路救援',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/insuredPage',
|
|
||||||
name: 'insuredPage',
|
|
||||||
component: () => import('@/views/liabilityInsurance/insuredPage'),
|
|
||||||
meta:{
|
|
||||||
title: '参保救援职业责任险',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
]
|
|
||||||
export default reportRouter
|
|
||||||
@ -55,13 +55,5 @@ const secondHandCar = [
|
|||||||
title: '免责声明',
|
title: '免责声明',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/sellingInfo',
|
|
||||||
name: 'sellingInfo',
|
|
||||||
component: () => import('@/views/secondHandCar/sellingInfo.vue'),
|
|
||||||
meta:{
|
|
||||||
title: '售出信息',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
export default secondHandCar
|
export default secondHandCar
|
||||||
|
|||||||
@ -47,84 +47,4 @@ select{
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
.text_center {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
//同意协议勾选
|
|
||||||
.protocol-list {
|
|
||||||
display: flex;
|
|
||||||
//align-items: top;
|
|
||||||
margin-top: 5px;
|
|
||||||
justify-content: center;
|
|
||||||
position: fixed;
|
|
||||||
bottom: 20px;
|
|
||||||
text-align: center;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
.protocol-text {
|
|
||||||
font-size: 12px;
|
|
||||||
color: #203152;
|
|
||||||
line-height: 18px;
|
|
||||||
//text-align: left;
|
|
||||||
.linkColor {
|
|
||||||
color: #3364B7;
|
|
||||||
word-break: keep-all;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon_register {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
.mr15 {
|
|
||||||
margin-right: 15px;
|
|
||||||
}
|
|
||||||
.mt20 {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
.flex_vertical_center {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.flex {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.flex_between {
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*@mixin wh($w,$h) {
|
|
||||||
width: $w;
|
|
||||||
height: $h;
|
|
||||||
}
|
|
||||||
@mixin flex(){
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
@mixin alignCenter(){
|
|
||||||
@include flex();
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
@mixin col(){
|
|
||||||
@include flex();
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
@mixin colBothCenter(){
|
|
||||||
@include col();
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
@mixin sizingPadding($t,$r,$b,$l) {
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: $t $r $b $l;
|
|
||||||
}*/
|
|
||||||
/*@mixin weigthSize($wei,$size){
|
|
||||||
font-weight:$wei ;
|
|
||||||
font-size: $size;
|
|
||||||
}
|
|
||||||
@mixin weigthSizeColor($wei,$size,$col){
|
|
||||||
@include weigthSize($wei,$size);
|
|
||||||
color: $col;
|
|
||||||
}*/
|
|
||||||
|
|||||||
@ -1,43 +0,0 @@
|
|||||||
.carInfo{
|
|
||||||
margin-top: 10px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
width: 100%;
|
|
||||||
min-height: 151px;
|
|
||||||
background: #FFFFFF;
|
|
||||||
padding:8px 23px 17px 30px ;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
.left_wrap,.right_wrap{
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-around;
|
|
||||||
}
|
|
||||||
.title {
|
|
||||||
font-size: 14px;
|
|
||||||
font-family: PingFangSC-Medium, PingFang SC;
|
|
||||||
font-weight: 500;
|
|
||||||
color: #323643;
|
|
||||||
.mar_left{
|
|
||||||
margin-left: 8px;
|
|
||||||
}
|
|
||||||
.star {
|
|
||||||
color: red;
|
|
||||||
margin-right: 3px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.right_wrap{
|
|
||||||
align-items: flex-end;
|
|
||||||
.phone{
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 500;
|
|
||||||
color: #323643;
|
|
||||||
}
|
|
||||||
input{
|
|
||||||
font-size: 12px;
|
|
||||||
text-align: right;
|
|
||||||
&::-webkit-input-placeholder { /* WebKit browsers,webkit内核浏览器 */
|
|
||||||
color: #A1A1A1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -105,32 +105,3 @@
|
|||||||
color: $col;
|
color: $col;
|
||||||
line-height: $hei;
|
line-height: $hei;
|
||||||
}
|
}
|
||||||
@mixin width_height($width,$height){
|
|
||||||
width: $width;
|
|
||||||
height: $height;
|
|
||||||
}
|
|
||||||
@mixin flex($row,$colum){
|
|
||||||
display: flex;
|
|
||||||
justify-content: $row;
|
|
||||||
align-items: $colum;
|
|
||||||
}
|
|
||||||
@mixin center(){
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
@mixin direction($justify-content){
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: $justify-content;
|
|
||||||
}
|
|
||||||
@mixin iconImg($width,$height,$marginRight){
|
|
||||||
width: $width;
|
|
||||||
height: $height;
|
|
||||||
margin-right: $marginRight;
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin iconImgLeft($width,$height,$marginRight){
|
|
||||||
width: $width;
|
|
||||||
height: $height;
|
|
||||||
margin-left: $marginRight;
|
|
||||||
}
|
|
||||||
@ -42,89 +42,11 @@ const timeFormat=(data) =>{
|
|||||||
return formattedDate;
|
return formattedDate;
|
||||||
|
|
||||||
}
|
}
|
||||||
// 认证状态
|
|
||||||
const verifyStatus=(id)=> {
|
|
||||||
const ids = String(id)
|
|
||||||
const status = {
|
|
||||||
'0': 1, // 个人信息认证
|
|
||||||
'-1': 1, // 已注册
|
|
||||||
'7': 1, // 已发送待认证
|
|
||||||
'1': 2, // 驾照信息认证
|
|
||||||
'2': 3, // 车辆信息审核
|
|
||||||
'3': 4, // 银行卡信息审核
|
|
||||||
'4': 5, // 认证中
|
|
||||||
'8': 6, // 审核中
|
|
||||||
'11': 6, // 审核失败
|
|
||||||
'12': 6 // 审核成功
|
|
||||||
}
|
|
||||||
return status[ids]
|
|
||||||
}
|
|
||||||
|
|
||||||
// 认证状态 简易版
|
|
||||||
const verifyStatusSimple=(id)=> {
|
|
||||||
const ids = String(id)
|
|
||||||
const status = {
|
|
||||||
'0': 1, // 个人信息认证
|
|
||||||
'-1': 1, // 已注册
|
|
||||||
'7': 1, // 已发送待认证
|
|
||||||
'1': 3, // 驾照信息认证
|
|
||||||
'2': 3, // 车辆信息审核
|
|
||||||
'3': 4, // 银行卡信息审核
|
|
||||||
'4': 5, // 认证中
|
|
||||||
'8': 6, // 审核中
|
|
||||||
'11': 6, // 审核失败
|
|
||||||
'12': 6 // 审核成功
|
|
||||||
}
|
|
||||||
return status[ids]
|
|
||||||
}
|
|
||||||
|
|
||||||
// 认证状态
|
|
||||||
const tipString=(id)=> {
|
|
||||||
const ids = String(id)
|
|
||||||
const status = {
|
|
||||||
'0': { // 个人信息认证
|
|
||||||
tip: '认证待提交',
|
|
||||||
button: '待认证'
|
|
||||||
},
|
|
||||||
'1': { // 驾照信息认证
|
|
||||||
tip: '认证待提交',
|
|
||||||
button: '待认证'
|
|
||||||
},
|
|
||||||
'2': { // 车辆信息审核
|
|
||||||
tip: '认证待提交',
|
|
||||||
button: '待认证'
|
|
||||||
},
|
|
||||||
'3': { // 银行卡信息审核
|
|
||||||
tip: '认证待提交',
|
|
||||||
button: '待认证'
|
|
||||||
},
|
|
||||||
'4': { // 认证中
|
|
||||||
tip: '认证待提交',
|
|
||||||
button: '待认证'
|
|
||||||
},
|
|
||||||
'8': { // 审核中
|
|
||||||
tip: '认证审核中',
|
|
||||||
button: '审核中'
|
|
||||||
},
|
|
||||||
'11': { // 审核失败
|
|
||||||
tip: '认证审核失败',
|
|
||||||
button: '审核失败'
|
|
||||||
},
|
|
||||||
'12': { // 审核成功
|
|
||||||
tip: '认证审核成功',
|
|
||||||
button: '审核成功'
|
|
||||||
},
|
|
||||||
}
|
|
||||||
return status[ids]
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
formatNumber,
|
formatNumber,
|
||||||
formatDate,
|
formatDate,
|
||||||
leftCopy,
|
leftCopy,
|
||||||
timeFormat,
|
timeFormat,
|
||||||
formatDate1,
|
formatDate1
|
||||||
verifyStatus,
|
|
||||||
verifyStatusSimple,
|
|
||||||
tipString
|
|
||||||
}
|
}
|
||||||
@ -11,34 +11,22 @@ const service = axios.create({
|
|||||||
})
|
})
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
let token = urlParams.get('token');
|
let token = urlParams.get('token');
|
||||||
if( token ) {
|
|
||||||
localStorage.setItem('token', token);
|
localStorage.setItem('token', token);
|
||||||
} else {
|
|
||||||
localStorage.setItem('token', '');
|
|
||||||
}
|
|
||||||
service.interceptors.request.use(
|
service.interceptors.request.use(
|
||||||
config => {
|
config => {
|
||||||
let reqUrl=config.url
|
let reqUrl=config.url
|
||||||
console.log('config',config)
|
|
||||||
config.data = config.contentType ? config.data : qs.stringify(config.data)
|
config.data = config.contentType ? config.data : qs.stringify(config.data)
|
||||||
if (config.testFlag) {
|
if (config.testFlag) {
|
||||||
config.data = qs.stringify(config.data, {arrayFormat: 'indices', allowDots: true})
|
config.data = qs.stringify(config.data, {arrayFormat: 'indices', allowDots: true})
|
||||||
}
|
}
|
||||||
config.headers['Content-Type'] = config.contentType || 'application/x-www-form-urlencoded'
|
config.headers['Content-Type'] = config.contentType || 'application/x-www-form-urlencoded'
|
||||||
let token = localStorage.getItem('token');
|
let token = localStorage.getItem('token');
|
||||||
// let token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBTkNIQU5HIiwidXNlcklkIjo0NTY3MSwibmFtZSI6IuWuieeVhSIsInVzZXJOYW1lIjoiQU5DSEFORyIsInN1cHBsaWVySWQiOjExMjgsImlzWmQiOjAsImV4cCI6MTc1NTQyMjUyNX0.xzDZhaANJFnbeViIHJA0SEtOyTv7Ja3rKmXqRKRuFkc'
|
// let token='4099761587129c46b03c9316c9e866c9'
|
||||||
// let token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJTSEhQWEIiLCJ1c2VySWQiOjU0NzI2LCJuYW1lIjoiI-a1i-ivleWwj-eZveeZvSIsInVzZXJOYW1lIjoiU0hIUFhCIiwic3VwcGxpZXJJZCI6MTAwMDE2NSwiZXhwIjoxNzQ0NTEwNzkwfQ.JPk0OA7slYJN3FIi_uhW4Y0CiWRvl6R1dK8MRTbyhD8'
|
// let token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJTSEhQWEIiLCJ1c2VySWQiOjU0NzI2LCJuYW1lIjoiI-a1i-ivleWwj-eZveeZvSIsInVzZXJOYW1lIjoiU0hIUFhCIiwic3VwcGxpZXJJZCI6MTAwMDE2NSwiZXhwIjoxNzQ0NTEwNzkwfQ.JPk0OA7slYJN3FIi_uhW4Y0CiWRvl6R1dK8MRTbyhD8'
|
||||||
// if(!(reqUrl=='/supplier/supplierTraining/trainingTask' || reqUrl=='/supplier/supplierTraining/normalList' || reqUrl=='/supplier/supplierTraining/trainingList')){
|
if(!(reqUrl=='/supplier/supplierTraining/trainingTask' || reqUrl=='/supplier/supplierTraining/normalList' || reqUrl=='/supplier/supplierTraining/trainingList')){
|
||||||
if (reqUrl=='/supplier/supplierTraining/trainingList' && config?.params?.type==1){
|
|
||||||
console.log('司机app使用该请求不挂token')
|
|
||||||
} else {
|
|
||||||
if(token) {
|
|
||||||
config.headers['Authorization'] = `${token}`;
|
config.headers['Authorization'] = `${token}`;
|
||||||
config.headers['token'] = `${token}`;
|
config.headers['token'] = `${token}`;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// }
|
|
||||||
return config
|
return config
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
import { getAddressForService } from "@/api/secondHandCar"
|
|
||||||
// 获取定位, 返回 经纬度
|
// 获取定位, 返回 经纬度
|
||||||
export function getLocal(mapContext) {
|
export function getLocal(mapContext) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@ -37,7 +36,6 @@ export function getAddress(mapContext, lnglat) {
|
|||||||
} else {
|
} else {
|
||||||
console.log(result)
|
console.log(result)
|
||||||
alert(JSON.stringify(result))
|
alert(JSON.stringify(result))
|
||||||
reject(result)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -46,20 +44,8 @@ export function getAddress(mapContext, lnglat) {
|
|||||||
|
|
||||||
// 输入提示
|
// 输入提示
|
||||||
export function searchFun(mapContext, cityCode, keyword) {
|
export function searchFun(mapContext, cityCode, keyword) {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve, reject) => {
|
||||||
getAddressForService({
|
mapContext.plugin('AMap.AutoComplete', function(){
|
||||||
city: '',
|
|
||||||
address: keyword
|
|
||||||
}).then((res) => {
|
|
||||||
if(res.code == 200) {
|
|
||||||
resolve(res?.data?.pois || [])
|
|
||||||
} else {
|
|
||||||
resolve([])
|
|
||||||
}
|
|
||||||
}).catch(() => {
|
|
||||||
resolve([])
|
|
||||||
})
|
|
||||||
/*mapContext.plugin('AMap.AutoComplete', function(){
|
|
||||||
var autoOptions = {
|
var autoOptions = {
|
||||||
city: cityCode || '全国',
|
city: cityCode || '全国',
|
||||||
};
|
};
|
||||||
@ -71,10 +57,10 @@ export function searchFun(mapContext, cityCode, keyword) {
|
|||||||
if(result.info == 'OK') {
|
if(result.info == 'OK') {
|
||||||
resolve(result.tips)
|
resolve(result.tips)
|
||||||
} else {
|
} else {
|
||||||
resolve([])
|
reject(result)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})*/
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,7 +90,6 @@ export function getRoad( mapContext, startLng, startLat, endLng, endLat ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
function drawRoute(route, map) {
|
function drawRoute(route, map) {
|
||||||
let path = parseRouteToPath(route)
|
let path = parseRouteToPath(route)
|
||||||
|
|
||||||
@ -121,4 +106,3 @@ function drawRoute(route, map) {
|
|||||||
|
|
||||||
map.add(routeLine);
|
map.add(routeLine);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|||||||
@ -5,12 +5,6 @@ export const myMixins = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
showFun() {
|
|
||||||
if( localStorage.getItem('infoVerify') == 8 || localStorage.getItem('infoVerify') == 12 ) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
},
|
|
||||||
goPage(page, query) {
|
goPage(page, query) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: page,
|
name: page,
|
||||||
|
|||||||
@ -90,7 +90,6 @@ export default {
|
|||||||
totalList:[],
|
totalList:[],
|
||||||
numInfo:'',
|
numInfo:'',
|
||||||
keyword:'',
|
keyword:'',
|
||||||
serviceTypeName:'',
|
|
||||||
show:false,
|
show:false,
|
||||||
showEmpty:false,
|
showEmpty:false,
|
||||||
isLoading:false,
|
isLoading:false,
|
||||||
@ -102,8 +101,7 @@ export default {
|
|||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.driverId = urlParams.get('driverId');
|
this.driverId = urlParams.get('driverId');
|
||||||
this.time=timeFormat(Date.now())
|
this.time=timeFormat(Date.now())
|
||||||
this.keyword=urlParams.get('keyword') || ''
|
this.keyword=urlParams.get('keyWord') || ''
|
||||||
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
|
|
||||||
this.getTrainingList();
|
this.getTrainingList();
|
||||||
document.addEventListener('visibilitychange', async ( ) => {
|
document.addEventListener('visibilitychange', async ( ) => {
|
||||||
let state = document.visibilityState
|
let state = document.visibilityState
|
||||||
@ -131,7 +129,6 @@ export default {
|
|||||||
type:1,
|
type:1,
|
||||||
id:this.driverId,
|
id:this.driverId,
|
||||||
text:this.keyword || '',
|
text:this.keyword || '',
|
||||||
serviceTypeName:this.serviceTypeName || ''
|
|
||||||
})
|
})
|
||||||
this.totalList=[]
|
this.totalList=[]
|
||||||
this.pageList=[]
|
this.pageList=[]
|
||||||
|
|||||||
@ -36,6 +36,9 @@
|
|||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
placeholder="名称/关键词/简介"
|
placeholder="名称/关键词/简介"
|
||||||
>
|
>
|
||||||
|
<!-- <template #button>
|
||||||
|
<van-icon class="search" name="search" size="20" @click="getTrainingList"/>
|
||||||
|
</template>-->
|
||||||
</van-field>
|
</van-field>
|
||||||
</template>
|
</template>
|
||||||
<template slot="left">
|
<template slot="left">
|
||||||
@ -94,7 +97,6 @@ export default {
|
|||||||
showEmpty:false,
|
showEmpty:false,
|
||||||
supplierId:'',
|
supplierId:'',
|
||||||
driverId:'',
|
driverId:'',
|
||||||
serviceTypeName:'',
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -102,36 +104,32 @@ export default {
|
|||||||
this.supplierId = urlParams.get('supplierId');
|
this.supplierId = urlParams.get('supplierId');
|
||||||
this.driverId = urlParams.get('driverId');
|
this.driverId = urlParams.get('driverId');
|
||||||
if(this.driverId){
|
if(this.driverId){
|
||||||
this.keyword=urlParams.get('keyword') || ''
|
this.keyword=urlParams.get('keyWord') || ''
|
||||||
}
|
}
|
||||||
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
|
|
||||||
this.getNormalList()
|
this.getNormalList()
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
onRefresh() {
|
onRefresh() {
|
||||||
this.getNormalList()
|
this.getNormalList()
|
||||||
if(!this.isLoading){
|
setTimeout(() => {
|
||||||
this.$toast('刷新成功');
|
|
||||||
}
|
|
||||||
/* setTimeout(() => {
|
|
||||||
this.$toast('刷新成功');
|
this.$toast('刷新成功');
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
}, 1000);*/
|
}, 1000);
|
||||||
},
|
},
|
||||||
async changeTab(index) {
|
async changeTab(index) {
|
||||||
this.activeIndex = index
|
this.activeIndex = index
|
||||||
await this.getNormalList()
|
await this.getNormalList()
|
||||||
},
|
},
|
||||||
async getNormalList(){
|
async getNormalList(){
|
||||||
this.isLoading = true;
|
|
||||||
this.totalList=[]
|
|
||||||
this.pageList=[]
|
|
||||||
let res= await getNormalList({
|
let res= await getNormalList({
|
||||||
type:this.supplierId ? 2 : 1,
|
type:this.supplierId ? 2 : 1,
|
||||||
|
// type:2,
|
||||||
id: this.supplierId ? this.supplierId : this.driverId,
|
id: this.supplierId ? this.supplierId : this.driverId,
|
||||||
|
// id:this.supplierId,//33041,
|
||||||
text:this.keyword || '',
|
text:this.keyword || '',
|
||||||
serviceTypeName:this.serviceTypeName || ''
|
|
||||||
})
|
})
|
||||||
|
this.totalList=[]
|
||||||
|
this.pageList=[]
|
||||||
this.totalList=res.data.list
|
this.totalList=res.data.list
|
||||||
let result=[]
|
let result=[]
|
||||||
if(this.activeIndex === 0){
|
if(this.activeIndex === 0){
|
||||||
@ -151,7 +149,6 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.showEmpty = false
|
this.showEmpty = false
|
||||||
}
|
}
|
||||||
this.isLoading = false
|
|
||||||
},
|
},
|
||||||
initShow(){
|
initShow(){
|
||||||
this.keyword= '',
|
this.keyword= '',
|
||||||
|
|||||||
@ -68,7 +68,6 @@ export default {
|
|||||||
pageList:[],
|
pageList:[],
|
||||||
totalList:[],
|
totalList:[],
|
||||||
keyword:'',
|
keyword:'',
|
||||||
serviceTypeName:'',
|
|
||||||
show:false,
|
show:false,
|
||||||
showEmpty:false,
|
showEmpty:false,
|
||||||
isLoading:false,
|
isLoading:false,
|
||||||
@ -78,8 +77,6 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.supplierId = urlParams.get('supplierId');
|
this.supplierId = urlParams.get('supplierId');
|
||||||
this.keyword=urlParams.get('keyword') || ''
|
|
||||||
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
|
|
||||||
this.getTrainingList();
|
this.getTrainingList();
|
||||||
document.addEventListener('visibilitychange', async ( ) => {
|
document.addEventListener('visibilitychange', async ( ) => {
|
||||||
let state = document.visibilityState
|
let state = document.visibilityState
|
||||||
@ -107,7 +104,6 @@ export default {
|
|||||||
type:2,
|
type:2,
|
||||||
id: this.supplierId,
|
id: this.supplierId,
|
||||||
text:this.keyword || '',
|
text:this.keyword || '',
|
||||||
serviceTypeName:this.serviceTypeName || ''
|
|
||||||
})
|
})
|
||||||
this.totalList=[]
|
this.totalList=[]
|
||||||
this.pageList=[]
|
this.pageList=[]
|
||||||
|
|||||||
@ -1,415 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="wrap vehicleAdd">
|
|
||||||
<div class="navBar">
|
|
||||||
<van-nav-bar
|
|
||||||
title="续保更新"
|
|
||||||
left-arrow
|
|
||||||
left-arrow-color="#FFFFFF"
|
|
||||||
:border="false"
|
|
||||||
:fixed="true"
|
|
||||||
:safe-area-inset-top="true"
|
|
||||||
@click-left="h5GoBack"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="addContentWrap">
|
|
||||||
<div class="itemContent">
|
|
||||||
<div class="titleType">
|
|
||||||
<img class="startImg" src="@/assets/start.png" />
|
|
||||||
<span>有无投保救援职业责任险或货运险</span>
|
|
||||||
</div>
|
|
||||||
<div class="isJoin">
|
|
||||||
<van-radio-group v-model="hasLiabilityInsurance" @change="isChange" class="joinWrap">
|
|
||||||
<van-radio :name="1" style="margin-right: 26px">
|
|
||||||
有
|
|
||||||
<img
|
|
||||||
slot="icon"
|
|
||||||
slot-scope="props"
|
|
||||||
:src="props.checked ? activeIcon : inactiveIcon"
|
|
||||||
>
|
|
||||||
</van-radio>
|
|
||||||
<van-radio :name="0">
|
|
||||||
无
|
|
||||||
<img
|
|
||||||
slot="icon"
|
|
||||||
slot-scope="props"
|
|
||||||
:src="props.checked ? activeIcon : inactiveIcon"
|
|
||||||
>
|
|
||||||
</van-radio>
|
|
||||||
</van-radio-group>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<span style="color: red">如有投保,选“有”,未投保选“无”,不必上传交强险或者商业险等其他保单</span>
|
|
||||||
<div class="lineBot"></div>
|
|
||||||
<template v-if="hasLiabilityInsurance == 1">
|
|
||||||
<div class="itemContent">
|
|
||||||
<div class="titleType">
|
|
||||||
<img class="startImg" src="@/assets/start.png" />
|
|
||||||
<span style="line-height: 20px">请上传救援职业责任险或货运险保单PDF或者关键信息页截图</span>
|
|
||||||
</div>
|
|
||||||
<van-uploader
|
|
||||||
v-model="insurancePictureFiles"
|
|
||||||
:after-read="insurancePictureFilesHandler"
|
|
||||||
max-count="1"
|
|
||||||
:preview-size="54"
|
|
||||||
accept="image "
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="lineBot"></div>
|
|
||||||
<div class="itemContent">
|
|
||||||
<div class="titleType">
|
|
||||||
<img class="startImg" src="@/assets/start.png" />
|
|
||||||
<span>承保保司</span>
|
|
||||||
</div>
|
|
||||||
<el-select
|
|
||||||
v-model="insuranceCorp"
|
|
||||||
value-key="name"
|
|
||||||
class="elSelect"
|
|
||||||
collapse-tags="collapse-tags"
|
|
||||||
placeholder="请选择" style="width: 55%"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in insuranceOptions"
|
|
||||||
:key="item.name"
|
|
||||||
:label="item.name"
|
|
||||||
:value="item.value"
|
|
||||||
>
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</div>
|
|
||||||
<div class="lineBot"></div>
|
|
||||||
<div class="itemContent">
|
|
||||||
<div class="titleType">
|
|
||||||
<img class="startImg" src="@/assets/start.png" />
|
|
||||||
<span>保险有效期</span>
|
|
||||||
</div>
|
|
||||||
<el-input style="width: 55%" readonly @focus="showDatePicker = true" v-model="dateVal" placeholder="请选择发布日期" :class="{'customSel':true,'customInput':true , 'has-value': dateVal }" >
|
|
||||||
<template #suffix>
|
|
||||||
<i
|
|
||||||
v-if="dateVal"
|
|
||||||
class="el-icon-circle-close el-input__icon"
|
|
||||||
@click="dateVal = ''"
|
|
||||||
></i>
|
|
||||||
</template>
|
|
||||||
</el-input>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<common-btn title="保存" @submitClick="submitBtn"/>
|
|
||||||
<van-calendar v-model="showDatePicker" :min-date="minDate"
|
|
||||||
:max-date="maxDate" type="range" @confirm="onConfirm" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import {Dialog} from "vant";
|
|
||||||
import {myMixins} from "@/utils/myMixins"
|
|
||||||
import {formatDate1} from "@/utils/common"
|
|
||||||
import { uploadImage, updateInsurance, getInfoById} from "@/api/mine"
|
|
||||||
import CommonBtn from "@/components/commonBtn.vue"
|
|
||||||
export default {
|
|
||||||
name: "vehicleAdd",
|
|
||||||
mixins:[myMixins],
|
|
||||||
data(){
|
|
||||||
return{
|
|
||||||
defaultProps: {
|
|
||||||
children: 'children',
|
|
||||||
label: 'name'
|
|
||||||
},
|
|
||||||
minDate: new Date(1970, 0, 1), // 设置最小可选日期(1970年1月1日)
|
|
||||||
maxDate: new Date(2099, 11, 31), // 设置最大可选日期(2099年12月31日)
|
|
||||||
showDatePicker: false,
|
|
||||||
dateVal: '',
|
|
||||||
hasLiabilityInsurance: 1, // 有无责任险
|
|
||||||
activeIcon: require('@/assets/check.png'),
|
|
||||||
inactiveIcon: require('@/assets/uncheck.png'),
|
|
||||||
// result: [],
|
|
||||||
checked: true,
|
|
||||||
show:false,
|
|
||||||
imageUrl: require('@/assets/arr_right.png'),
|
|
||||||
insurancePictureFiles: [],
|
|
||||||
insurancePicturePhoto: '', // 保单照片
|
|
||||||
isMultiple: false, // 是否支持多选
|
|
||||||
insuranceCorp: '',
|
|
||||||
insuranceOptions: [{
|
|
||||||
name: '太平洋',
|
|
||||||
value: 1
|
|
||||||
}, {
|
|
||||||
name: '人保',
|
|
||||||
value: 2
|
|
||||||
}, {
|
|
||||||
name: '平安',
|
|
||||||
value: 3
|
|
||||||
}, {
|
|
||||||
name: '中华联合',
|
|
||||||
value: 4
|
|
||||||
}, {
|
|
||||||
name: '大地',
|
|
||||||
value: 5
|
|
||||||
}, {
|
|
||||||
name: '阳光',
|
|
||||||
value: 6
|
|
||||||
}, {
|
|
||||||
name: '太平',
|
|
||||||
value: 7
|
|
||||||
}, {
|
|
||||||
name: '人寿',
|
|
||||||
value: 8
|
|
||||||
}, {
|
|
||||||
name: '永安',
|
|
||||||
value: 9
|
|
||||||
}, {
|
|
||||||
name: '华安',
|
|
||||||
value: 10
|
|
||||||
}, {
|
|
||||||
name: '申能',
|
|
||||||
value: 11
|
|
||||||
}, {
|
|
||||||
name: '大家',
|
|
||||||
value: 12
|
|
||||||
}, {
|
|
||||||
name: '富德',
|
|
||||||
value: 13
|
|
||||||
}, {
|
|
||||||
name: '其他',
|
|
||||||
value: 14
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
},
|
|
||||||
watch:{
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
async mounted() {
|
|
||||||
this.id=this.$route.params?.id
|
|
||||||
if( this.id){
|
|
||||||
// await this.vehicleInfo()
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods:{
|
|
||||||
async vehicleInfo(){
|
|
||||||
let res= await getInfoById({
|
|
||||||
vehicleId:this.id
|
|
||||||
})
|
|
||||||
let result=res.data;
|
|
||||||
this.id=result.vehicleId
|
|
||||||
this.insurancePicturePhoto = result.insurancePicturePhoto;
|
|
||||||
this.hasLiabilityInsurance = result.hasLiabilityInsurance
|
|
||||||
this.insuranceCorp = result.insuranceCorp;
|
|
||||||
if(this.insurancePicturePhoto) {
|
|
||||||
this.insurancePictureFiles = [{url: this.insurancePicturePhoto}]
|
|
||||||
}
|
|
||||||
if( result.liabilityInsuranceEndTime && result.liabilityInsuranceStartTime ) {
|
|
||||||
this.dateVal = formatDate1(result.liabilityInsuranceStartTime) + ' - ' + formatDate1(result.liabilityInsuranceEndTime)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
formatDate(date) {
|
|
||||||
return `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`;
|
|
||||||
},
|
|
||||||
onConfirm(date) {
|
|
||||||
const [start, end] = date;
|
|
||||||
this.showDatePicker = false;
|
|
||||||
this.dateVal = `${this.formatDate(start)} - ${this.formatDate(end)}`;
|
|
||||||
},
|
|
||||||
formatDateTimeRange(str) {
|
|
||||||
const [startStr, endStr] = str.split(' - ').map(s => s.trim());
|
|
||||||
const startDate = new Date(startStr);
|
|
||||||
const startTime = `${startDate.getFullYear()}-${(startDate.getMonth() + 1).toString().padStart(2, '0')}-${startDate.getDate().toString().padStart(2, '0')} 00:00:00`;
|
|
||||||
const endDate = new Date(endStr);
|
|
||||||
const endTime = `${endDate.getFullYear()}-${(endDate.getMonth() + 1).toString().padStart(2, '0')}-${endDate.getDate().toString().padStart(2, '0')} 23:59:59`;
|
|
||||||
return {
|
|
||||||
startTime,
|
|
||||||
endTime
|
|
||||||
};
|
|
||||||
},
|
|
||||||
async insurancePictureFilesHandler(file) {
|
|
||||||
const formData = new FormData();
|
|
||||||
formData.append("file" , file.file);
|
|
||||||
let res = await uploadImage(formData);
|
|
||||||
this.insurancePicturePhoto = res.data;
|
|
||||||
},
|
|
||||||
isChange(e){
|
|
||||||
this.hasLiabilityInsurance=e
|
|
||||||
if (e === 0) {
|
|
||||||
Dialog.confirm({
|
|
||||||
title: '提醒',
|
|
||||||
message: '有救援职业责任险车辆会提升案件聚合能力和接单能力。',
|
|
||||||
confirmButtonText: '我已知晓', // 确认按钮文字,默认为“确认”
|
|
||||||
showCancelButton: false // 是否显示取消按钮,默认为 true。如果不需要取消按钮,可以设置为 false。
|
|
||||||
})
|
|
||||||
.then(() => { /* 确认后的操作 */ })
|
|
||||||
.catch(() => { /* 取消后的操作 */ });
|
|
||||||
}
|
|
||||||
},
|
|
||||||
async submitBtn(){
|
|
||||||
if(this.hasLiabilityInsurance === null || this.hasLiabilityInsurance === undefined || this.hasLiabilityInsurance === '') { // 有职业责任险,就需要有保单照片
|
|
||||||
this.$toast('救援职业责任险不能为空')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if(!this.insurancePicturePhoto && this.hasLiabilityInsurance == 1) { // 有职业责任险,就需要有保单照片
|
|
||||||
this.$toast('保单照片不能为空')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if(!this.insuranceCorp && this.hasLiabilityInsurance == 1) { // 有职业责任险,就需要有保单照片
|
|
||||||
this.$toast('承保保司不能为空')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if(!this.dateVal && this.hasLiabilityInsurance == 1) { // 有职业责任险,就需要有保单照片
|
|
||||||
this.$toast('保单有效期不能为空')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
let timeObj;
|
|
||||||
if(this.dateVal) {
|
|
||||||
timeObj = this.formatDateTimeRange(this.dateVal)
|
|
||||||
}
|
|
||||||
let params = {
|
|
||||||
id: this.id ? this.id : '',
|
|
||||||
renewInsureInfo: JSON.stringify({
|
|
||||||
hasLiabilityInsurance: this.hasLiabilityInsurance,
|
|
||||||
insurancePictureUrls: this.hasLiabilityInsurance == 1 ? this.insurancePicturePhoto : '',
|
|
||||||
insuranceCorp: this.hasLiabilityInsurance == 1 ? this.insuranceCorp : '',
|
|
||||||
liabilityInsuranceStartTime: this.hasLiabilityInsurance == 1 ? (timeObj?.startTime || '' ) : '',
|
|
||||||
liabilityInsuranceEndTime: this.hasLiabilityInsurance == 1 ? (timeObj?.endTime || '') : '',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
await updateInsurance(params)
|
|
||||||
if(this.id){
|
|
||||||
this.$toast('修改成功')
|
|
||||||
}else{
|
|
||||||
this.$toast('添加成功')
|
|
||||||
}
|
|
||||||
setTimeout(()=>{
|
|
||||||
this.$router.back();
|
|
||||||
},2000)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
components:{
|
|
||||||
CommonBtn
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.vehicleAdd .van-field__control:disabled {
|
|
||||||
color: #323643 !important;
|
|
||||||
-webkit-text-fill-color: #323643 !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<style scoped lang="scss">
|
|
||||||
@import "@/styles/mixin.scss";
|
|
||||||
@import "@/styles/common.scss";
|
|
||||||
.mySelect{
|
|
||||||
@include fontWeightSize(bold,13px);
|
|
||||||
color: #323643;
|
|
||||||
appearance: none;
|
|
||||||
padding-right: 16px;
|
|
||||||
background: url('@/assets/arrow_bot.png') no-repeat right center / 15px 14px;
|
|
||||||
}
|
|
||||||
.checkbox-group {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.navBar{
|
|
||||||
margin-bottom: 46px;
|
|
||||||
}
|
|
||||||
.wrap{
|
|
||||||
@include wh(100%,100%);
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
.addContentWrap{
|
|
||||||
margin-left: 16px;
|
|
||||||
.item_content_btn {
|
|
||||||
padding-right: 25px;
|
|
||||||
text-align: right;
|
|
||||||
span {
|
|
||||||
display: inline-block;
|
|
||||||
background: #354D93;
|
|
||||||
padding: 5px 10px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #fff;
|
|
||||||
border-radius: 4px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.itemContent{
|
|
||||||
@include flexColBet;
|
|
||||||
line-height: 56px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding-right: 25px;
|
|
||||||
.titleType{
|
|
||||||
@include fontWeightSize(bold,14px);
|
|
||||||
color: #323643;
|
|
||||||
}
|
|
||||||
.isJoin{
|
|
||||||
display: flex;
|
|
||||||
.joinWrap{
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
img{
|
|
||||||
@include widHeiMar(16px,16px,6px)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.startImg{
|
|
||||||
@include widHeiMar(6px,6px,3px);
|
|
||||||
vertical-align: super;
|
|
||||||
}
|
|
||||||
input{
|
|
||||||
border: none;
|
|
||||||
text-align: right;
|
|
||||||
@include fontWeightSize(bold,13px);
|
|
||||||
opacity: .5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.lineBot{
|
|
||||||
@include wh(100%,1px);
|
|
||||||
background: #E9E9EA;
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
.serviceType{
|
|
||||||
@include fontWeightSize(bold,13px);
|
|
||||||
margin-left: 15px;
|
|
||||||
.trailerService{
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.serviceline{
|
|
||||||
@include flexCenter;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.item{
|
|
||||||
margin: 20px 0;
|
|
||||||
@include flexCenter;
|
|
||||||
}
|
|
||||||
.radioWrap{
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
.service{
|
|
||||||
@include colorOpa(#323643,0.7);
|
|
||||||
line-height: 18px;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.line{
|
|
||||||
display: inline-block;
|
|
||||||
@include wh(240px,2px);
|
|
||||||
opacity: 0.16;
|
|
||||||
border-bottom: 1px solid;
|
|
||||||
border-image: linear-gradient(270deg, rgba(217, 217, 217, 0.6), rgba(178, 178, 178, 1), rgba(178, 178, 178, 1), rgba(217, 217, 217, 0.6)) 1 1;
|
|
||||||
}
|
|
||||||
img{
|
|
||||||
@include widHeiMar(16px,16px,12px)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.btn{
|
|
||||||
width: 90%;
|
|
||||||
margin: 40px 0 30px 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.elSelect ::v-deep .el-input__inner{
|
|
||||||
border: none !important;
|
|
||||||
text-align: right !important;
|
|
||||||
}
|
|
||||||
.disabled-tree {
|
|
||||||
pointer-events: none;
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||