Compare commits
115 Commits
8891738455
...
prod-24-07
Author | SHA1 | Date | |
---|---|---|---|
dfe999e88e | |||
abc3aee7dc | |||
1868e8c17e | |||
7b160e12fb | |||
4c393f3f1e | |||
5afbf9df90 | |||
073814bd69 | |||
06fdbc4f84 | |||
86ed97f265 | |||
0aa9f3ec04 | |||
48cd129290 | |||
b8096b39f3 | |||
3a45615e4f | |||
d1b04ec51c | |||
dc091c6dd5 | |||
45914f0577 | |||
42694d57de | |||
61ccb58af2 | |||
f6c33c8c36 | |||
1fbc66a1d6 | |||
b80a748dc9 | |||
f38e2ce614 | |||
febf9a636e | |||
8deaa85c1c | |||
70675fde50 | |||
af297b5892 | |||
f472c878e8 | |||
5df83abfcf | |||
11664e92bf | |||
4be4015e30 | |||
39603134fb | |||
ad49a716b9 | |||
b1945ab42f | |||
4da4cacd7b | |||
39c8bb857b | |||
0dd54330af | |||
a7c7dafa33 | |||
b2af0684fa | |||
cb50de4039 | |||
7785c7ecbe | |||
f45792b527 | |||
793be9d28d | |||
d4c6081f34 | |||
e11946352c | |||
481c37f708 | |||
605bc306a5 | |||
b300809698 | |||
d5d090cdc8 | |||
b6951292a9 | |||
8d06b195db | |||
d21ee44404 | |||
7922f28a05 | |||
6abcd2471e | |||
0bb135bfba | |||
b05ceb4ba9 | |||
140816da2e | |||
c82feae79c | |||
f1bf9b9e55 | |||
d521aa40ef | |||
21e9d82923 | |||
4ca4d51e29 | |||
27a169ee0d | |||
22cbef4f7a | |||
3a52fe5759 | |||
05708d1ee2 | |||
eb62b71480 | |||
d2adfe6d22 | |||
08120506f6 | |||
374eb5070b | |||
beff1bb6f9 | |||
0a65f7c641 | |||
1bd80326ec | |||
51351b37a4 | |||
ee1ecb1a55 | |||
77195c619f | |||
9e32f377b0 | |||
53be990a24 | |||
f8432ffbba | |||
a6156be569 | |||
8af98c5ef3 | |||
82ddcf67d6 | |||
441d4eb2d4 | |||
1a1336e7ec | |||
5fa462ed00 | |||
2e39152396 | |||
007fcb9e59 | |||
046d253072 | |||
d152323607 | |||
9cf7e1e424 | |||
c872a9d4d8 | |||
6866491a06 | |||
957ee45d75 | |||
916c667d7c | |||
2c59b0f5a0 | |||
5cf2559335 | |||
43bb5a0f1e | |||
b120960c80 | |||
5dd995d82d | |||
87c2e0301a | |||
ae4c177204 | |||
e9324dc580 | |||
d78810a503 | |||
ceb521ed49 | |||
a3948addd1 | |||
0a3eb81c12 | |||
6f861ad9cb | |||
7aa3241046 | |||
903237fd03 | |||
2c66c4bb0a | |||
eb0c77e155 | |||
3d62c84fa8 | |||
70ec1ae4ed | |||
5d5c283e99 | |||
bed3856384 | |||
867cbee6c7 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,7 +6,7 @@ node_modules
|
|||||||
# local env files
|
# local env files
|
||||||
.env.local
|
.env.local
|
||||||
.env.*.local
|
.env.*.local
|
||||||
/http.js
|
src/http.js
|
||||||
http.js
|
http.js
|
||||||
# Log files
|
# Log files
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
112
package-lock.json
generated
112
package-lock.json
generated
@ -2195,9 +2195,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/vue-loader-v15": {
|
"@vue/vue-loader-v15": {
|
||||||
"version": "npm:vue-loader@15.10.1",
|
"version": "npm:vue-loader@15.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.11.1.tgz",
|
||||||
"integrity": "sha512-SaPHK1A01VrNthlix6h1hq4uJu7S/z0kdLUb6klubo738NeQoLbS6V9/d8Pv19tU0XdQKju3D1HSKuI8wJ5wMA==",
|
"integrity": "sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@vue/component-compiler-utils": "^3.1.0",
|
"@vue/component-compiler-utils": "^3.1.0",
|
||||||
@ -2581,6 +2581,14 @@
|
|||||||
"lodash": "^4.17.14"
|
"lodash": "^4.17.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"async-validator": {
|
||||||
|
"version": "1.8.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/async-validator/-/async-validator-1.8.5.tgz",
|
||||||
|
"integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
|
||||||
|
"requires": {
|
||||||
|
"babel-runtime": "6.x"
|
||||||
|
}
|
||||||
|
},
|
||||||
"asynckit": {
|
"asynckit": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||||
@ -2616,6 +2624,11 @@
|
|||||||
"proxy-from-env": "^1.1.0"
|
"proxy-from-env": "^1.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"babel-helper-vue-jsx-merge-props": {
|
||||||
|
"version": "2.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
|
||||||
|
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
|
||||||
|
},
|
||||||
"babel-loader": {
|
"babel-loader": {
|
||||||
"version": "8.3.0",
|
"version": "8.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.3.0.tgz",
|
||||||
@ -2667,6 +2680,27 @@
|
|||||||
"@babel/helper-define-polyfill-provider": "^0.4.2"
|
"@babel/helper-define-polyfill-provider": "^0.4.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"babel-runtime": {
|
||||||
|
"version": "6.26.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
||||||
|
"integrity": "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==",
|
||||||
|
"requires": {
|
||||||
|
"core-js": "^2.4.0",
|
||||||
|
"regenerator-runtime": "^0.11.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"core-js": {
|
||||||
|
"version": "2.6.12",
|
||||||
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
|
||||||
|
"integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="
|
||||||
|
},
|
||||||
|
"regenerator-runtime": {
|
||||||
|
"version": "0.11.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
|
||||||
|
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"balanced-match": {
|
"balanced-match": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||||
@ -3511,8 +3545,7 @@
|
|||||||
"de-indent": {
|
"de-indent": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
|
||||||
"integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==",
|
"integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
"version": "4.3.4",
|
"version": "4.3.4",
|
||||||
@ -3540,8 +3573,7 @@
|
|||||||
"deepmerge": {
|
"deepmerge": {
|
||||||
"version": "1.5.2",
|
"version": "1.5.2",
|
||||||
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz",
|
||||||
"integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==",
|
"integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"default-gateway": {
|
"default-gateway": {
|
||||||
"version": "6.0.3",
|
"version": "6.0.3",
|
||||||
@ -3794,6 +3826,22 @@
|
|||||||
"integrity": "sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w==",
|
"integrity": "sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"echarts": {
|
||||||
|
"version": "5.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/echarts/-/echarts-5.5.0.tgz",
|
||||||
|
"integrity": "sha512-rNYnNCzqDAPCr4m/fqyUFv7fD9qIsd50S6GDFgO1DxZhncCsNsG7IfUlAlvZe5oSEQxtsjnHiUuppzccry93Xw==",
|
||||||
|
"requires": {
|
||||||
|
"tslib": "2.3.0",
|
||||||
|
"zrender": "5.5.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": {
|
||||||
|
"version": "2.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",
|
||||||
|
"integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ee-first": {
|
"ee-first": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
||||||
@ -3806,6 +3854,19 @@
|
|||||||
"integrity": "sha512-6s7NVJz+sATdYnIwhdshx/N/9O6rvMxmhVoDSDFdj6iA45gHR8EQje70+RYsF4GeB+k0IeNSBnP7yG9ZXJFr7A==",
|
"integrity": "sha512-6s7NVJz+sATdYnIwhdshx/N/9O6rvMxmhVoDSDFdj6iA45gHR8EQje70+RYsF4GeB+k0IeNSBnP7yG9ZXJFr7A==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"element-ui": {
|
||||||
|
"version": "2.15.14",
|
||||||
|
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.15.14.tgz",
|
||||||
|
"integrity": "sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==",
|
||||||
|
"requires": {
|
||||||
|
"async-validator": "~1.8.1",
|
||||||
|
"babel-helper-vue-jsx-merge-props": "^2.0.0",
|
||||||
|
"deepmerge": "^1.2.0",
|
||||||
|
"normalize-wheel": "^1.0.1",
|
||||||
|
"resize-observer-polyfill": "^1.5.0",
|
||||||
|
"throttle-debounce": "^1.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"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",
|
||||||
@ -4819,8 +4880,7 @@
|
|||||||
"he": {
|
"he": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
|
||||||
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
|
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"highlight.js": {
|
"highlight.js": {
|
||||||
"version": "10.7.3",
|
"version": "10.7.3",
|
||||||
@ -5448,8 +5508,7 @@
|
|||||||
"lodash": {
|
"lodash": {
|
||||||
"version": "4.17.21",
|
"version": "4.17.21",
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
||||||
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
|
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"lodash.debounce": {
|
"lodash.debounce": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
@ -6025,6 +6084,11 @@
|
|||||||
"integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==",
|
"integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"normalize-wheel": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA=="
|
||||||
|
},
|
||||||
"npm-run-path": {
|
"npm-run-path": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
|
||||||
@ -7067,6 +7131,11 @@
|
|||||||
"integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
|
"integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"resize-observer-polyfill": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
|
||||||
|
},
|
||||||
"resolve": {
|
"resolve": {
|
||||||
"version": "1.22.4",
|
"version": "1.22.4",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
|
||||||
@ -7783,6 +7852,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"throttle-debounce": {
|
||||||
|
"version": "1.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
|
||||||
|
"integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg=="
|
||||||
|
},
|
||||||
"thunky": {
|
"thunky": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
|
||||||
@ -8171,7 +8245,6 @@
|
|||||||
"version": "2.7.14",
|
"version": "2.7.14",
|
||||||
"resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz",
|
"resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz",
|
||||||
"integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==",
|
"integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==",
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
"requires": {
|
||||||
"de-indent": "^1.0.2",
|
"de-indent": "^1.0.2",
|
||||||
"he": "^1.2.0"
|
"he": "^1.2.0"
|
||||||
@ -8716,6 +8789,21 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"zrender": {
|
||||||
|
"version": "5.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.5.0.tgz",
|
||||||
|
"integrity": "sha512-O3MilSi/9mwoovx77m6ROZM7sXShR/O/JIanvzTwjN3FORfLSr81PsUGd7jlaYOeds9d8tw82oP44+3YucVo+w==",
|
||||||
|
"requires": {
|
||||||
|
"tslib": "2.3.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": {
|
||||||
|
"version": "2.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",
|
||||||
|
"integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg=="
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
"amfe-flexible": "^2.2.1",
|
"amfe-flexible": "^2.2.1",
|
||||||
"axios": "^1.4.0",
|
"axios": "^1.4.0",
|
||||||
"core-js": "^3.8.3",
|
"core-js": "^3.8.3",
|
||||||
|
"echarts": "^5.2.2",
|
||||||
"less": "^4.1.3",
|
"less": "^4.1.3",
|
||||||
"less-loader": "^11.1.3",
|
"less-loader": "^11.1.3",
|
||||||
"qs": "^6.11.2",
|
"qs": "^6.11.2",
|
||||||
@ -20,7 +21,9 @@
|
|||||||
"vant": "^2.12.54",
|
"vant": "^2.12.54",
|
||||||
"vue": "^2.6.14",
|
"vue": "^2.6.14",
|
||||||
"vue-router": "^3.0.7",
|
"vue-router": "^3.0.7",
|
||||||
"vuex": "^3.6.2"
|
"vuex": "^3.6.2",
|
||||||
|
"element-ui": "^2.15.9",
|
||||||
|
"dayjs": "^1.8.14"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.16",
|
"@babel/core": "^7.12.16",
|
||||||
@ -49,7 +52,7 @@
|
|||||||
"parser": "@babel/eslint-parser"
|
"parser": "@babel/eslint-parser"
|
||||||
},
|
},
|
||||||
"rules": {},
|
"rules": {},
|
||||||
"globals":{
|
"globals": {
|
||||||
"AMap": "true"
|
"AMap": "true"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -29,5 +29,32 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="https://webapi.amap.com/maps?v=1.4.15&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.Polyline"></script>
|
<script src="https://webapi.amap.com/maps?v=1.4.15&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.Polyline"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// VConsole 默认会挂载到 `window.VConsole` 上
|
||||||
|
// let vConsole = new window.VConsole();
|
||||||
|
(function (doc, win) {
|
||||||
|
let docEl = doc.documentElement
|
||||||
|
let resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
|
||||||
|
recalc = function () {
|
||||||
|
var clientWidth = docEl.clientWidth;
|
||||||
|
// console.log("clientWidth",clientWidth)
|
||||||
|
if (!clientWidth) return;
|
||||||
|
if (clientWidth < 400) {
|
||||||
|
clientWidth = 400;
|
||||||
|
}
|
||||||
|
docEl.style.fontSize = 18 * (clientWidth / 650) + 'px';
|
||||||
|
};
|
||||||
|
if (!doc.addEventListener) return;
|
||||||
|
var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
||||||
|
if (isMobile) {// 是移动端不变
|
||||||
|
|
||||||
|
}else{
|
||||||
|
win.addEventListener(resizeEvt, recalc, false);
|
||||||
|
doc.addEventListener('DOMContentLoaded', recalc, false);
|
||||||
|
}
|
||||||
|
// console.log("isMobile",isMobile)
|
||||||
|
})(document, window);
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
58
src/api/kpi.js
Normal file
58
src/api/kpi.js
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
import request from '@/utils/http'
|
||||||
|
// 首页服务商接口
|
||||||
|
export function getStatisticsKpiByMonth(data){
|
||||||
|
return request({
|
||||||
|
url: '/supplier/supplierKPI/querySupplierStatisticsKpiByMonth',
|
||||||
|
method:'POST',
|
||||||
|
// contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
//服务商kpi
|
||||||
|
export function getStatisticsKpi(data){
|
||||||
|
return request({
|
||||||
|
url: '/supplier/supplierKPI/querySupplierStatisticsKpi',
|
||||||
|
method:'POST',
|
||||||
|
// contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 司机Kpi
|
||||||
|
export function getDriverStatisticsKpi(data){
|
||||||
|
return request({
|
||||||
|
url: '/supplier/supplierKPI/querySupplierDriverStatisticsKpi',
|
||||||
|
method:'POST',
|
||||||
|
// contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 各种详情数据
|
||||||
|
export function getKpiDetailsData(data){
|
||||||
|
return request({
|
||||||
|
url: '/supplier/supplierKPI/querySupplierKpiDetailsData',
|
||||||
|
method:'POST',
|
||||||
|
// contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 关键词搜索服务商名称
|
||||||
|
export function getSupplierId(key) {
|
||||||
|
return request({
|
||||||
|
url: '/supplier/select/supplier',
|
||||||
|
method: 'GET',
|
||||||
|
params: {
|
||||||
|
key: key ,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// supplier/select/driver 关键词搜索司机名称
|
||||||
|
export function getDriverName(key) {
|
||||||
|
return request({
|
||||||
|
url: '/supplier/select/driver',
|
||||||
|
method: 'GET',
|
||||||
|
params: {
|
||||||
|
key: key ,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
46
src/api/maintenance.js
Normal file
46
src/api/maintenance.js
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
import request from '@/utils/http'
|
||||||
|
|
||||||
|
// 调度APP-维保数量
|
||||||
|
export function vehicleMaintenanceCount() {
|
||||||
|
return request({
|
||||||
|
url: '/supplierAppV2/dispatchApp/maintenance/vehicleMaintenanceCount',
|
||||||
|
method:'POST',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//维保列表
|
||||||
|
export function vehicleMaintenanceList(data) {
|
||||||
|
return request({
|
||||||
|
url: '/supplierAppV2/dispatchApp/maintenance/vehicleMaintenanceList',
|
||||||
|
method:'POST',
|
||||||
|
contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 获取维保记录详情
|
||||||
|
export function getVehicleMaintenanceDetail(data) {
|
||||||
|
return request({
|
||||||
|
url: '/supplierAppV2/dispatchApp/maintenance/getVehicleMaintenanceDetail',
|
||||||
|
method:'POST',
|
||||||
|
contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 维保终止
|
||||||
|
export function vehicleMaintenanceStop(data) {
|
||||||
|
return request({
|
||||||
|
url: '/supplierAppV2/dispatchApp/maintenance/vehicleMaintenanceStop',
|
||||||
|
method:'POST',
|
||||||
|
contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 维保审批
|
||||||
|
export function vehicleMaintenanceApproval(data) {
|
||||||
|
return request({
|
||||||
|
url: '/supplierAppV2/dispatchApp/maintenance/vehicleMaintenanceApproval',
|
||||||
|
method:'POST',
|
||||||
|
contentType: 'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
@ -178,3 +178,23 @@ export function userOperationPermissions(){
|
|||||||
method:'POST',
|
method:'POST',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 上传图片
|
||||||
|
export function uploadImage(data){
|
||||||
|
return request({
|
||||||
|
url:'/order/uploadImage',
|
||||||
|
method:'POST',
|
||||||
|
contentType:'multipart/form-data',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// ocr 识别
|
||||||
|
export function ocrHandler(data){
|
||||||
|
return request({
|
||||||
|
url:'/agg-api/tencent-ocr/unifiedOCR',
|
||||||
|
method:'POST',
|
||||||
|
contentType:'application/json',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
@ -7,6 +7,13 @@ export function getToDoList() {
|
|||||||
method:'POST',
|
method:'POST',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 调度APP待办事项列表New
|
||||||
|
export function toDoListNew() {
|
||||||
|
return request({
|
||||||
|
url: '/supplierAppV2/dispatchApp/toDoMessage/toDoListNew',
|
||||||
|
method:'POST',
|
||||||
|
})
|
||||||
|
}
|
||||||
// 代办事项审核
|
// 代办事项审核
|
||||||
export function toDoAudit(data){
|
export function toDoAudit(data){
|
||||||
return request({
|
return request({
|
||||||
|
BIN
src/assets/love.jpg
Normal file
BIN
src/assets/love.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 452 KiB |
BIN
src/assets/todoRight.png
Normal file
BIN
src/assets/todoRight.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 474 B |
BIN
src/assets/trainBg.png
Normal file
BIN
src/assets/trainBg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
@ -2,12 +2,17 @@ import Vue from 'vue'
|
|||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import router from './router'
|
import router from './router'
|
||||||
import Vant from 'vant';
|
import Vant from 'vant';
|
||||||
|
import ElementUI from 'element-ui';
|
||||||
|
import 'element-ui/lib/theme-chalk/index.css';
|
||||||
import 'vant/lib/index.css';
|
import 'vant/lib/index.css';
|
||||||
import "lib-flexible/flexible";
|
import "lib-flexible/flexible";
|
||||||
import "@/utils/rem.js"
|
import "@/utils/rem.js"
|
||||||
import store from './store'
|
import store from './store'
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
|
|
||||||
Vue.use(Vant);
|
Vue.use(Vant);
|
||||||
|
Vue.use(ElementUI);
|
||||||
new Vue({
|
new Vue({
|
||||||
store,
|
store,
|
||||||
router,
|
router,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import Vue from "vue";
|
import Vue from "vue";
|
||||||
import VueRouter from "vue-router";
|
import VueRouter from "vue-router";
|
||||||
Vue.use(VueRouter);
|
Vue.use(VueRouter);
|
||||||
|
import kpiRouter from './kpi-router'
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
@ -70,7 +70,14 @@ const routes = [
|
|||||||
meta: {
|
meta: {
|
||||||
title: '审核完成-详情'
|
title: '审核完成-详情'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/settlementDetail",
|
||||||
|
name: 'settlementDetail',
|
||||||
|
component: () => import('@/views/workOrder/settlementDetail.vue'),
|
||||||
|
meta: {
|
||||||
|
title: '结算单详情'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/invoicingNotify",
|
path: "/invoicingNotify",
|
||||||
@ -167,7 +174,32 @@ const routes = [
|
|||||||
meta: {
|
meta: {
|
||||||
title:'案件详情'
|
title:'案件详情'
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
path: '/newTrainingList',
|
||||||
|
name: 'newTrainingList',
|
||||||
|
component:()=>import('@/views/newcomerTraining/newTrainingList.vue'),
|
||||||
|
meta: {
|
||||||
|
title:'新人培训'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/maintenanceList',
|
||||||
|
name: 'vehicleMaintenanceList',
|
||||||
|
component:()=>import('@/views/vehicle-maintenance/vehicle-maintenance-list.vue'),
|
||||||
|
meta: {
|
||||||
|
title:'车辆维保'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/maintenanceApplication',
|
||||||
|
name: 'maintenanceApplication',
|
||||||
|
component:()=>import('@/views/vehicle-maintenance/maintenance-application.vue'),
|
||||||
|
meta: {
|
||||||
|
title:'维保申请'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
...kpiRouter,
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
|
11
src/router/kpi-router.js
Normal file
11
src/router/kpi-router.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const kpiRouter = [
|
||||||
|
{
|
||||||
|
path: '/kpiIndex',
|
||||||
|
name: 'kpiIndex',
|
||||||
|
component: () => import('@/views/kpi/kpiIndex'),
|
||||||
|
meta:{
|
||||||
|
title: 'kpi首页',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
]
|
||||||
|
export default kpiRouter
|
116
src/styles/approval.scss
Normal file
116
src/styles/approval.scss
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
@import "@/styles/mixin.scss";
|
||||||
|
.refresh{
|
||||||
|
min-height: 100%;
|
||||||
|
//background-color: #F4F5F7;
|
||||||
|
}
|
||||||
|
.wrap{
|
||||||
|
@include wh(100%,100%);
|
||||||
|
box-sizing: border-box;
|
||||||
|
background-color: #F4F5F7;
|
||||||
|
}
|
||||||
|
.tab_wrap {
|
||||||
|
@include fontWeightSize(500, 14px);
|
||||||
|
@include flexColAround();
|
||||||
|
padding: 2px 0 10px 0;
|
||||||
|
background: #2C395F;
|
||||||
|
div {
|
||||||
|
padding-top: 8px;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.alpha{
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
.numTip{
|
||||||
|
display: inline-block;
|
||||||
|
@include wh(15px,15px);
|
||||||
|
@include bgcolorOpa(#F95B45,0.9);
|
||||||
|
border-radius: 4px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 15px;
|
||||||
|
margin-left: 5px;
|
||||||
|
opacity: 1; /* 保持透明度为1 */
|
||||||
|
}
|
||||||
|
.active {
|
||||||
|
position: relative;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.active:after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
@include wh(18px,2px);
|
||||||
|
opacity: .8;
|
||||||
|
background: #FFFFFF;
|
||||||
|
position: absolute;
|
||||||
|
border-radius: 2px;
|
||||||
|
margin-top: 3px;
|
||||||
|
left: 50%;
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
::v-deep .van-pull-refresh{
|
||||||
|
height: calc(100% - 86px) ;
|
||||||
|
}
|
||||||
|
.listWrap{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
|
.listItem{
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 14px 25px 13px 29px;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
.line1{
|
||||||
|
@include flexColBet();
|
||||||
|
.viewBtn{
|
||||||
|
@include wh(48px,18px);
|
||||||
|
text-align: center;
|
||||||
|
line-height: 18px;
|
||||||
|
background: #354D93;
|
||||||
|
border-radius: 3px;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bgEmptyImg{
|
||||||
|
@include flexTwoCenter;
|
||||||
|
height: 90% ;
|
||||||
|
background-color: #FAFAFA;
|
||||||
|
img{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.greColor{
|
||||||
|
color:#38AD00 ;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.redColor{
|
||||||
|
color:#FF5D2E ;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.commonImg{
|
||||||
|
@include widHeiMar(13px,13px,4px);
|
||||||
|
}
|
||||||
|
.rightArrImg{
|
||||||
|
@include wh(6px,9px);
|
||||||
|
margin-left: 6px;
|
||||||
|
}
|
||||||
|
.yelColor{
|
||||||
|
color: #E69B0B;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.greColor{
|
||||||
|
color: #56B628;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.oraColor{
|
||||||
|
color: #FF5D2E;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.garyColor{
|
||||||
|
color: #9C9C9C;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
@ -2,6 +2,11 @@
|
|||||||
font-size: $size;
|
font-size: $size;
|
||||||
font-weight: $weight;
|
font-weight: $weight;
|
||||||
}
|
}
|
||||||
|
@mixin sizeWeightCol($size,$weight,$col){
|
||||||
|
font-size: $size;
|
||||||
|
font-weight: $weight;
|
||||||
|
color: $col;
|
||||||
|
}
|
||||||
@mixin bgFontColor($color,$bgcolor){
|
@mixin bgFontColor($color,$bgcolor){
|
||||||
color:$color;
|
color:$color;
|
||||||
background: $bgcolor;
|
background: $bgcolor;
|
||||||
@ -23,6 +28,14 @@
|
|||||||
width: $w;
|
width: $w;
|
||||||
height: $h;
|
height: $h;
|
||||||
}
|
}
|
||||||
|
@mixin whMarLe($w,$h,$l){
|
||||||
|
@include wh($w,$h);
|
||||||
|
margin-left: $l;
|
||||||
|
}
|
||||||
|
@mixin whBg($w,$h,$bg){
|
||||||
|
@include wh($w,$h);
|
||||||
|
background: $bg;
|
||||||
|
}
|
||||||
@mixin flexColumn{
|
@mixin flexColumn{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -35,6 +48,10 @@
|
|||||||
@include flexColumn;
|
@include flexColumn;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
|
@mixin flexColCen(){
|
||||||
|
@include flexColumn;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
@mixin flexColBet(){
|
@mixin flexColBet(){
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -76,3 +93,15 @@
|
|||||||
padding: $tb $lr;
|
padding: $tb $lr;
|
||||||
border-radius: $rad;
|
border-radius: $rad;
|
||||||
}
|
}
|
||||||
|
@mixin sizing4Padding($t,$r,$b,$l){
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: $t $r $b $l;
|
||||||
|
}
|
||||||
|
@mixin sizing4Radius($t,$r,$b,$l,$radius){
|
||||||
|
@include sizing4Padding($t,$r,$b,$l);
|
||||||
|
border-radius: $radius;
|
||||||
|
}
|
||||||
|
@mixin colHeight($col,$hei){
|
||||||
|
color: $col;
|
||||||
|
line-height: $hei;
|
||||||
|
}
|
42
src/utils/approval.js
Normal file
42
src/utils/approval.js
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
|
||||||
|
const getStatus=(i)=>{
|
||||||
|
switch (i){
|
||||||
|
case 0://待提交
|
||||||
|
case 1://待审核
|
||||||
|
return require('@/assets/waitSubmit.png')
|
||||||
|
case 2://审核通过
|
||||||
|
case 7://已打款
|
||||||
|
return require('@/assets/dakuan.png')
|
||||||
|
case 3://审核不通过
|
||||||
|
return require('@/assets/unpass.png')
|
||||||
|
case 4://报销失败
|
||||||
|
return require('@/assets/unSubmit.png')
|
||||||
|
case 6://代打款
|
||||||
|
return require('@/assets/waitDakuan.png')
|
||||||
|
default:
|
||||||
|
return require('@/assets/waitSubmit.png')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const getStatusColor=(i)=>{
|
||||||
|
switch (i){
|
||||||
|
case 0://待提交
|
||||||
|
case 1://待审核
|
||||||
|
return 'yelColor'
|
||||||
|
case 2://审核通过
|
||||||
|
case 6://代打款
|
||||||
|
case 7://已打款
|
||||||
|
return 'greColor'
|
||||||
|
case 3://审核不通过
|
||||||
|
return 'oraColor'
|
||||||
|
case 4://报销失败
|
||||||
|
return 'garyColor'
|
||||||
|
default:
|
||||||
|
return 'yelColor'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
getStatus,
|
||||||
|
getStatusColor
|
||||||
|
}
|
||||||
|
|
@ -5,7 +5,14 @@ const formatDate = date => {
|
|||||||
const day = tempDate.getDate()
|
const day = tempDate.getDate()
|
||||||
return `${[year, month, day].map(formatNumber).join('-')}`
|
return `${[year, month, day].map(formatNumber).join('-')}`
|
||||||
}
|
}
|
||||||
|
const formatDate1 = date => {
|
||||||
|
let value=date.replace(/\./g, '/')
|
||||||
|
let tempDate = new Date(value)
|
||||||
|
const year = tempDate.getFullYear()
|
||||||
|
const month = tempDate.getMonth() + 1
|
||||||
|
const day = tempDate.getDate()
|
||||||
|
return `${[year, month, day].map(formatNumber).join('/')}`
|
||||||
|
}
|
||||||
const formatNumber = n => {
|
const formatNumber = n => {
|
||||||
n = n.toString()
|
n = n.toString()
|
||||||
return n[1] ? n : `0${n}`
|
return n[1] ? n : `0${n}`
|
||||||
@ -40,5 +47,6 @@ module.exports = {
|
|||||||
formatNumber,
|
formatNumber,
|
||||||
formatDate,
|
formatDate,
|
||||||
leftCopy,
|
leftCopy,
|
||||||
timeFormat
|
timeFormat,
|
||||||
|
formatDate1
|
||||||
}
|
}
|
@ -21,7 +21,7 @@ service.interceptors.request.use(
|
|||||||
let token = localStorage.getItem('token');
|
let token = localStorage.getItem('token');
|
||||||
// alert(token);
|
// alert(token);
|
||||||
// let token='4099761587129c46b03c9316c9e866c9'
|
// let token='4099761587129c46b03c9316c9e866c9'
|
||||||
// let token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJTSENTR1lTIiwiYXVkIjpbInN1cHBsaWVyLWFwcCJdLCJuYmYiOjE3MDgzMjY3NTAsInVzZXJfaW5mbyI6eyJ1c2VySWQiOjUwMTk3LCJuYW1lIjoi5LiK5rW35rWL6K-V5L6b5bqU5ZWGIiwic3VwcGxpZXJOYW1lIjoi5LiK5rW35rWL6K-V5pyN5Yqh5ZWGIiwic3VwcGxpZXJJZCI6MzMwNDEsInN1cHBsaWVyVHlwZSI6MSwiaXNaZCI6MCwidXNlcm5hbWUiOiJTSENTR1lTIiwidXNlclR5cGUiOiJyZXNjdWVBcHAiLCJkZXZpY2VJZCI6IjJjMGU0N2JiMWQxNGYzYTY3YjhkOGRjMTUyM2VhMmQ3MCIsImF1dGhvcml0aWVzIjpbXX0sInNjb3BlIjpbImFsbCJdLCJpc3MiOiJodHRwczovL3Npbm9hc3Npc3QuY29tIiwiZXhwIjoxNzA4NDEzMTUwLCJpYXQiOjE3MDgzMjY3NTB9.hJ4TkZpsDW0c_-o4qopSxNyLyCtCRuuLzKAvH1xQgOw'
|
// let token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzb25nIiwiYXVkIjpbInN1cHBsaWVyLWFwcCJdLCJuYmYiOjE3MTI0NTQ5NTMsInVzZXJfaW5mbyI6eyJ1c2VySWQiOjU0NjU0LCJwaG9uZSI6IjE3NjMwMDM1NjU4IiwibmFtZSI6InNvbmciLCJzdXBwbGllck5hbWUiOiJDLeS4iua1t-a1i-ivleacjeWKoeWVhiIsInN1cHBsaWVySWQiOjMzMDQxLCJzdXBwbGllclR5cGUiOjIsInVzZXJuYW1lIjoic29uZyIsInVzZXJUeXBlIjoicmVzY3VlQXBwIiwiZGV2aWNlSWQiOiIyMmI0OWNhMjBmOWI4MzMwZDk4NzIxNzNmMzllYTY4YmMiLCJhdXRob3JpdGllcyI6W119LCJzY29wZSI6WyJhbGwiXSwiaXNzIjoiaHR0cHM6Ly9zaW5vYXNzaXN0LmNvbSIsImV4cCI6MTcxMjU0MTM1MywiaWF0IjoxNzEyNDU0OTUzfQ.sPU9_OD_TOWcTwqmlawEGyo4mCPrEaRYw2R02gnvYJw'
|
||||||
// console.log("tokentokentoken",token)
|
// console.log("tokentokentoken",token)
|
||||||
if (reqUrl.includes("/driverApp")) {
|
if (reqUrl.includes("/driverApp")) {
|
||||||
config.headers['token'] = `${token}`;
|
config.headers['token'] = `${token}`;
|
||||||
|
@ -198,7 +198,25 @@ export default {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/styles/mixin.scss";
|
@import "@/styles/mixin.scss";
|
||||||
@import "@/styles/common.scss";
|
@import "@/styles/common.scss";
|
||||||
.refresh{
|
@import "@/styles/approval.scss";
|
||||||
|
.navBar{
|
||||||
|
margin-bottom: 46px;
|
||||||
|
}
|
||||||
|
.listItem{
|
||||||
|
padding: 14px 25px 13px 29px;
|
||||||
|
div{
|
||||||
|
line-height: 27px;
|
||||||
|
span:first-child{
|
||||||
|
display: inline-block;
|
||||||
|
width: 60px;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
.right{
|
||||||
|
@include flexCenter();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*.refresh{
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background-color: #F4F5F7;
|
background-color: #F4F5F7;
|
||||||
}
|
}
|
||||||
@ -209,9 +227,9 @@ export default {
|
|||||||
.navBar{
|
.navBar{
|
||||||
margin-bottom: 46px;
|
margin-bottom: 46px;
|
||||||
}
|
}
|
||||||
/*::v-deep .van-nav-bar__content{
|
!*::v-deep .van-nav-bar__content{
|
||||||
background-color: #354683 !important;
|
background-color: #354683 !important;
|
||||||
}*/
|
}*!
|
||||||
.tab_wrap {
|
.tab_wrap {
|
||||||
@include fontWeightSize(500, 14px);
|
@include fontWeightSize(500, 14px);
|
||||||
@include flexColAround();
|
@include flexColAround();
|
||||||
@ -232,7 +250,7 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 15px;
|
line-height: 15px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
opacity: 1; /* 保持透明度为1 */
|
opacity: 1; !* 保持透明度为1 *!
|
||||||
}
|
}
|
||||||
.active {
|
.active {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -329,5 +347,5 @@ export default {
|
|||||||
.garyColor{
|
.garyColor{
|
||||||
color: #9C9C9C;
|
color: #9C9C9C;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}*/
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="wrap">
|
<div class="wrap driverAdd">
|
||||||
<div class="navBar">
|
<div class="navBar">
|
||||||
<van-nav-bar
|
<van-nav-bar
|
||||||
:title="id ? '修改司机信息' : '添加司机'"
|
:title="id ? '修改司机信息' : '添加司机'"
|
||||||
@ -11,15 +11,87 @@
|
|||||||
@click-left="h5GoBack"
|
@click-left="h5GoBack"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<cell-group label="司机姓名" placeholder="请输入司机姓名" v-model="driverName" :disabled="supplierType ==1 ? true:false"/>
|
<div class="itemContent">
|
||||||
<cell-group label="手机号码" v-model="driverPhone" placeholder="请输入手机号" />
|
<div class="titleType">
|
||||||
<cell-group label="身份证号" v-model="identityCardNumber" placeholder="请输入身份证号" />
|
<img class="startImg" src="@/assets/start.png" />
|
||||||
|
<span>身份证正面</span>
|
||||||
|
</div>
|
||||||
|
<van-uploader
|
||||||
|
v-model="identityCardFrontList"
|
||||||
|
:after-read="identityCardFrontHandler"
|
||||||
|
:max-size="5 * 1024 * 1024"
|
||||||
|
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>
|
||||||
|
<van-uploader
|
||||||
|
v-model="identityCardContraryList"
|
||||||
|
:after-read="identityCardBackHandler"
|
||||||
|
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>
|
||||||
|
<van-uploader
|
||||||
|
v-model="drivingLicenceFrontList"
|
||||||
|
:after-read="drivingLicenceFrontHandler"
|
||||||
|
max-count="1"
|
||||||
|
:max-size="5 * 1024 * 1024"
|
||||||
|
: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>
|
||||||
|
<van-uploader
|
||||||
|
v-model="drivingLicenceContraryList"
|
||||||
|
:after-read="drivingLicenceContraryHandler"
|
||||||
|
max-count="1"
|
||||||
|
:preview-size="54"
|
||||||
|
accept="image "
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="lineBot"></div>
|
||||||
|
<div class="itemContent">
|
||||||
|
<div class="titleType">
|
||||||
|
<span>头像</span>
|
||||||
|
</div>
|
||||||
|
<van-uploader
|
||||||
|
v-model="iconList"
|
||||||
|
:after-read="iconListHandler"
|
||||||
|
max-count="1"
|
||||||
|
:preview-size="54"
|
||||||
|
accept="image "
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="lineBot"></div>
|
||||||
|
<!-- :disabled="supplierType ==1 ? true:false"-->
|
||||||
|
<cell-group label="司机姓名" placeholder="司机姓名" v-model="driverName" disabled />
|
||||||
|
<cell-group label="手机号码" v-model="driverPhone" placeholder="手机号码" />
|
||||||
|
<cell-group label="身份证号" v-model="identityCardNumber" placeholder="身份证号" disabled />
|
||||||
<div class="itemContent">
|
<div class="itemContent">
|
||||||
<div class="titleType">
|
<div class="titleType">
|
||||||
<img class="startImg" src="@/assets/start.png" />
|
<img class="startImg" src="@/assets/start.png" />
|
||||||
<span>准驾车型</span>
|
<span>准驾车型</span>
|
||||||
</div>
|
</div>
|
||||||
<select id="mySelect" class="mySelect" v-model="drivingModel" >
|
<select id="mySelect" class="mySelect" v-model="drivingModel" disabled >
|
||||||
<option value="A1">A1</option>
|
<option value="A1">A1</option>
|
||||||
<option value="A2">A2</option>
|
<option value="A2">A2</option>
|
||||||
<option value="A3">A3</option>
|
<option value="A3">A3</option>
|
||||||
@ -63,9 +135,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {myMixins} from "@/utils/myMixins"
|
import {myMixins} from "@/utils/myMixins"
|
||||||
import {saveDriver} from "@/api/mine"
|
import {saveDriver, uploadImage, ocrHandler} from "@/api/mine"
|
||||||
import TwoCommonBtn from "@/components/twoBtnCommon.vue"
|
import TwoCommonBtn from "@/components/twoBtnCommon.vue"
|
||||||
import CellGroup from "@/components/cellGroup.vue"
|
import CellGroup from "@/components/cellGroup.vue"
|
||||||
|
import {formatDate1} from "@/utils/common"
|
||||||
export default {
|
export default {
|
||||||
name: "driverAdd",
|
name: "driverAdd",
|
||||||
mixins:[myMixins],
|
mixins:[myMixins],
|
||||||
@ -80,7 +153,22 @@ export default {
|
|||||||
activeIcon: require('@/assets/check.png'),
|
activeIcon: require('@/assets/check.png'),
|
||||||
inactiveIcon: require('@/assets/uncheck.png'),
|
inactiveIcon: require('@/assets/uncheck.png'),
|
||||||
supplierType:'',
|
supplierType:'',
|
||||||
createTime:''
|
createTime:'',
|
||||||
|
identityCardFront: '', // 身份证正面
|
||||||
|
identityCardFrontList: [], // 身份证正面 列表
|
||||||
|
identityCardContrary: '', // 身份证反面
|
||||||
|
identityCardContraryList: [], // 身份证反面 列表
|
||||||
|
drivingLicenceFront: '', // 驾驶证正面
|
||||||
|
drivingLicenceFrontList: [], // 驾驶证正面 列表
|
||||||
|
drivingLicenceContrary: '', // 驾驶证反面
|
||||||
|
drivingLicenceContraryList: [], // 驾驶证反面 列表
|
||||||
|
icon: '',
|
||||||
|
iconList: [],
|
||||||
|
driverInfo: {},
|
||||||
|
drivingLicenceName: '',
|
||||||
|
idCardAuthority:'',
|
||||||
|
idCardValidStartTime:'',
|
||||||
|
idCardValidEndTime:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -92,6 +180,30 @@ export default {
|
|||||||
this.states = this.$route.params?.states;
|
this.states = this.$route.params?.states;
|
||||||
this.supplierType=this.$route.params?.supplierType;
|
this.supplierType=this.$route.params?.supplierType;
|
||||||
this.createTime=this.$route.params?.createTime;
|
this.createTime=this.$route.params?.createTime;
|
||||||
|
this.driverInfo.drivingBeginDate = this.$route.params?.drivingBeginDate;
|
||||||
|
this.drivingLicenceContrary = this.$route.params?.drivingLicenceContrary;
|
||||||
|
this.drivingLicenceFront = this.$route.params?.drivingLicenceFront;
|
||||||
|
this.driverInfo.drivingLicenceValidityDate = this.$route.params?.drivingLicenceValidityDate;
|
||||||
|
this.icon = this.$route.params?.icon;
|
||||||
|
this.identityCardContrary = this.$route.params?.identityCardContrary;
|
||||||
|
this.identityCardFront = this.$route.params?.identityCardFront;
|
||||||
|
this.driverInfo.lssueDate = this.$route.params?.lssueDate;
|
||||||
|
this.drivingLicenceName = this.$route.params?.drivingLicenceName;
|
||||||
|
if( this.identityCardFront ) {
|
||||||
|
this.identityCardFrontList = [{ url : this.identityCardFront }];
|
||||||
|
}
|
||||||
|
if( this.identityCardContrary ) {
|
||||||
|
this.identityCardContraryList = [{ url : this.identityCardContrary }];
|
||||||
|
}
|
||||||
|
if( this.drivingLicenceFront ) {
|
||||||
|
this.drivingLicenceFrontList = [{ url : this.drivingLicenceFront }];
|
||||||
|
}
|
||||||
|
if( this.drivingLicenceContrary ) {
|
||||||
|
this.drivingLicenceContraryList = [{ url : this.drivingLicenceContrary }];
|
||||||
|
}
|
||||||
|
if( this.icon ) {
|
||||||
|
this.iconList = [{ url : this.icon }];
|
||||||
|
}
|
||||||
const selectElement = document.getElementById('mySelect');
|
const selectElement = document.getElementById('mySelect');
|
||||||
selectElement.addEventListener('change', function() {
|
selectElement.addEventListener('change', function() {
|
||||||
const selectedValue = selectElement.value;
|
const selectedValue = selectElement.value;
|
||||||
@ -103,25 +215,173 @@ export default {
|
|||||||
isUse(e){
|
isUse(e){
|
||||||
this.states=e
|
this.states=e
|
||||||
},
|
},
|
||||||
async submitBtn(){
|
async identityCardFrontHandler(file) { // 上传身份证正面照片
|
||||||
await saveDriver({
|
const formData = new FormData();
|
||||||
driverId:this.id ? this.id : '',
|
formData.append("file" , file.file);
|
||||||
driverName:this.driverName ,
|
let res = await uploadImage(formData)
|
||||||
driverPhone:this.driverPhone,
|
this.identityCardFront = res.data;
|
||||||
identityCardNumber:this.identityCardNumber,
|
await this.idCardOcrHandler();
|
||||||
drivingModel:this.drivingModel,
|
},
|
||||||
states:Number(this.states),
|
async identityCardBackHandler(file) { // 上传身份证反面照片
|
||||||
createTime:this.createTime || ''
|
const formData = new FormData();
|
||||||
})
|
formData.append("file" , file.file);
|
||||||
if(this.id){
|
let res = await uploadImage(formData)
|
||||||
this.$toast('修改成功')
|
this.identityCardContrary = res.data;
|
||||||
|
await this.idCardBackOcrHandler();
|
||||||
|
},
|
||||||
|
async drivingLicenceFrontHandler(file) { // 上传驾驶证主页
|
||||||
|
const formData = new FormData();
|
||||||
|
formData.append("file" , file.file);
|
||||||
|
let res = await uploadImage(formData)
|
||||||
|
this.drivingLicenceFront = res.data;
|
||||||
|
await this.drivingLicenceOcrHandler();
|
||||||
|
},
|
||||||
|
async drivingLicenceContraryHandler(file) { // 上传驾驶证副页
|
||||||
|
const formData = new FormData();
|
||||||
|
formData.append("file" , file.file);
|
||||||
|
let res = await uploadImage(formData)
|
||||||
|
this.drivingLicenceContrary = res.data;
|
||||||
|
},
|
||||||
|
async iconListHandler(file) { // 上传头像
|
||||||
|
const formData = new FormData();
|
||||||
|
formData.append("file" , file.file);
|
||||||
|
let res = await uploadImage(formData)
|
||||||
|
this.icon = res.data;
|
||||||
|
},
|
||||||
|
async idCardOcrHandler() { // 身份证正面 ocr识别
|
||||||
|
this.driverName = '';
|
||||||
|
this.identityCardNumber = '';
|
||||||
|
let res = await ocrHandler({
|
||||||
|
ocrType: 1,
|
||||||
|
imageUrl: this.identityCardFront,
|
||||||
|
cardSide: 'FRONT'
|
||||||
|
})
|
||||||
|
this.driverName = res?.data?.name;
|
||||||
|
this.identityCardNumber = res?.data?.idNum;
|
||||||
|
let aaa=''
|
||||||
|
if(this.drivingLicenceName){
|
||||||
|
aaa = this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
}
|
||||||
|
let bbb=this.driverName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
if( this.drivingLicenceName && aaa != bbb ) {
|
||||||
|
this.$toast('身份证信息与驾驶证信息不匹配')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async idCardBackOcrHandler() { // 身份证反面 ocr识别
|
||||||
|
let res = await ocrHandler({
|
||||||
|
ocrType: 1,
|
||||||
|
imageUrl: this.identityCardContrary,
|
||||||
|
cardSide: 'BACK'
|
||||||
|
});
|
||||||
|
this.idCardAuthority=res.data.authority
|
||||||
|
if(!res.data.validDate){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
let date=res.data.validDate.split('-')
|
||||||
|
if(date[0]){
|
||||||
|
this.idCardValidStartTime=formatDate1(date[0]) +' '+ '00:00:00';
|
||||||
|
}
|
||||||
|
if(date[1]){
|
||||||
|
if(date[1] == '长期'){
|
||||||
|
this.idCardValidEndTime='2099/12/12' +' '+ '00:00:00';
|
||||||
}else{
|
}else{
|
||||||
this.$toast('添加成功')
|
this.idCardValidEndTime=formatDate1(date[1]) +' '+ '00:00:00';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async drivingLicenceOcrHandler() { // 驾驶证正面 ocr识别
|
||||||
|
this.driverInfo.drivingLicenceValidityDate = '';
|
||||||
|
this.driverInfo.drivingBeginDate = '';
|
||||||
|
this.driverInfo.lssueDate = '';
|
||||||
|
this.drivingModel = '';
|
||||||
|
this.drivingLicenceName = '';
|
||||||
|
let res = await ocrHandler({
|
||||||
|
ocrType: 2,
|
||||||
|
imageUrl: this.drivingLicenceFront,
|
||||||
|
cardSide: 'FRONT'
|
||||||
|
});
|
||||||
|
if( res?.data ) {
|
||||||
|
this.driverInfo.drivingBeginDate = res?.data?.dateOfFirstIssue || '';
|
||||||
|
this.driverInfo.lssueDate = res?.data?.dateOfFirstIssue ? (res?.data?.dateOfFirstIssue + ' 00:00:00') : '';
|
||||||
|
if( res?.data?.endDate.indexOf('长期') != -1 ) {
|
||||||
|
this.driverInfo.drivingLicenceValidityDate = '2099-01-01';
|
||||||
|
} else {
|
||||||
|
this.driverInfo.drivingLicenceValidityDate = res?.data?.endDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.drivingModel = res.data?.class_;
|
||||||
|
this.drivingLicenceName = res.data?.name
|
||||||
|
let aaa=''
|
||||||
|
if(this.driverName){
|
||||||
|
aaa = this.driverName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
}
|
||||||
|
let bbb = this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
if( this.driverName && bbb != aaa ) {
|
||||||
|
this.$toast('身份证信息与驾驶证信息不匹配')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async submitBtn(){
|
||||||
|
if(!this.identityCardFront) {
|
||||||
|
this.$toast('身份证正面照未上传')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if(!this.identityCardContrary) {
|
||||||
|
this.$toast('身份证反面照未上传')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if(!this.drivingLicenceFront) {
|
||||||
|
this.$toast('驾驶证首页未上传')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if(!this.drivingLicenceContrary) {
|
||||||
|
this.$toast('驾驶证副页未上传')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
let drivingLicenceName=this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
let driverName=this.driverName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
|
||||||
|
if( drivingLicenceName != driverName ) {
|
||||||
|
this.$toast('身份证信息与驾驶证信息不匹配')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if( this.driverInfo.drivingLicenceValidityDate ) {
|
||||||
|
if(this.driverInfo.drivingLicenceValidityDate && new Date(this.driverInfo.drivingLicenceValidityDate).getTime() < new Date().getTime() ) {
|
||||||
|
this.$toast('驾驶证已过期')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$toast('驾驶证信息识别错误,请重新上传')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
await saveDriver({
|
||||||
|
driverId:this.id ? this.id : '',
|
||||||
|
driverName:this.driverName ,
|
||||||
|
driverPhone:this.driverPhone,
|
||||||
|
identityCardNumber:this.identityCardNumber,
|
||||||
|
drivingModel:this.drivingModel,
|
||||||
|
states:Number(this.states),
|
||||||
|
createTime:this.createTime || '',
|
||||||
|
identityCardFront: this.identityCardFront,
|
||||||
|
identityCardContrary: this.identityCardContrary,
|
||||||
|
drivingLicenceFront: this.drivingLicenceFront,
|
||||||
|
drivingLicenceContrary: this.drivingLicenceContrary,
|
||||||
|
icon: this.icon,
|
||||||
|
drivingLicenceName: this.drivingLicenceName,
|
||||||
|
idCardAuthority:this.idCardAuthority,
|
||||||
|
idCardValidStartTime:this.idCardValidStartTime,
|
||||||
|
idCardValidEndTime:this.idCardValidEndTime,
|
||||||
|
...this.driverInfo
|
||||||
|
})
|
||||||
|
if(this.id){
|
||||||
|
this.$toast('修改成功')
|
||||||
|
}else{
|
||||||
|
this.$toast('添加成功')
|
||||||
|
}
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.$router.back();
|
this.$router.back();
|
||||||
},2000)
|
},2000)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
components:{
|
components:{
|
||||||
TwoCommonBtn,
|
TwoCommonBtn,
|
||||||
@ -129,7 +389,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.driverAdd .van-field__control:disabled {
|
||||||
|
color: #323643 !important;
|
||||||
|
-webkit-text-fill-color: #323643 !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/styles/mixin.scss";
|
@import "@/styles/mixin.scss";
|
||||||
@import "@/styles/common.scss";
|
@import "@/styles/common.scss";
|
||||||
@ -137,6 +402,8 @@ export default {
|
|||||||
@include wh(100%,100%);
|
@include wh(100%,100%);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
|
padding-bottom: 100px;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.mySelect{
|
.mySelect{
|
||||||
@include fontWeightSize(bold,13px);
|
@include fontWeightSize(bold,13px);
|
||||||
|
@ -162,7 +162,16 @@ export default {
|
|||||||
identityCardNumber:item.identityCardNumber,
|
identityCardNumber:item.identityCardNumber,
|
||||||
states:item.states.code,
|
states:item.states.code,
|
||||||
createTime:item.createTime,
|
createTime:item.createTime,
|
||||||
supplierType:this.supplierType
|
supplierType:this.supplierType,
|
||||||
|
drivingBeginDate: item.drivingBeginDate,
|
||||||
|
drivingLicenceContrary: item.drivingLicenceContrary,
|
||||||
|
drivingLicenceFront: item.drivingLicenceFront,
|
||||||
|
drivingLicenceValidityDate: item.drivingLicenceValidityDate,
|
||||||
|
icon: item.icon,
|
||||||
|
identityCardContrary: item.identityCardContrary,
|
||||||
|
identityCardFront: item.identityCardFront,
|
||||||
|
lssueDate: item.lssueDate,
|
||||||
|
drivingLicenceName: item.drivingLicenceName
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -111,7 +111,7 @@ export default {
|
|||||||
padding: 13px 24px 0;
|
padding: 13px 24px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
//overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -1,8 +1,31 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="empty" v-if="show">
|
<div class="wrapCotainer">
|
||||||
<img src="@/assets/empty.png" >
|
<div class="navBar">
|
||||||
|
<van-nav-bar
|
||||||
|
title="待办列表"
|
||||||
|
left-arrow
|
||||||
|
left-arrow-color="#FFFFFF"
|
||||||
|
:border="false"
|
||||||
|
:fixed="true"
|
||||||
|
:safe-area-inset-top="true"
|
||||||
|
@click-left="goBack"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="empty" v-if="show">
|
||||||
|
<img src="@/assets/empty.png" >
|
||||||
|
</div>
|
||||||
|
<div class="wrap" v-else>
|
||||||
|
<div class="itemWrap" @click="goApprovalList" v-for="(item,index) in todolist" :key="index">
|
||||||
|
<div class="left">
|
||||||
|
<div class="title">{{ item.toDoName }}<span class="num" v-if="item.toDoCount">{{item.toDoCount}}</span></div>
|
||||||
|
<img class="ritBtn" src="@/assets/todoRight.png">
|
||||||
|
</div>
|
||||||
|
<div class="time">{{ item.toDoTime }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wrap" v-else>
|
|
||||||
|
<!-- <div class="wrap" v-else>
|
||||||
<ul id="dataList" class="dataList">
|
<ul id="dataList" class="dataList">
|
||||||
<li class="item" v-for="(item,i) in todolist" :key="i">
|
<li class="item" v-for="(item,i) in todolist" :key="i">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
@ -18,14 +41,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>-->
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {getToDoList, toDoAudit} from "@/api/order"
|
//getToDoList,toDoAudit
|
||||||
|
import {toDoListNew} from "@/api/order"
|
||||||
import {userOperationPermissions} from "@/api/mine"
|
import {userOperationPermissions} from "@/api/mine"
|
||||||
|
import {myMixins} from "@/utils/myMixins"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "toDoList",
|
name: "toDoList",
|
||||||
|
mixins:[myMixins],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
todolist: [],
|
todolist: [],
|
||||||
@ -38,9 +65,14 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
goApprovalList(){
|
||||||
|
this.$router.push({ name: 'vehicleMaintenanceList',})
|
||||||
|
},
|
||||||
async getList() {
|
async getList() {
|
||||||
let result = await getToDoList();
|
// let result = await getToDoList();
|
||||||
|
let result=await toDoListNew();
|
||||||
this.todolist = result.data;
|
this.todolist = result.data;
|
||||||
|
console.log("this.todolist",this.todolist)
|
||||||
if (this.todolist?.length === 0) {
|
if (this.todolist?.length === 0) {
|
||||||
this.show = true
|
this.show = true
|
||||||
} else {
|
} else {
|
||||||
@ -50,9 +82,8 @@ export default {
|
|||||||
async getPermissions(){
|
async getPermissions(){
|
||||||
let res = await userOperationPermissions();
|
let res = await userOperationPermissions();
|
||||||
this.permissonList = res.data
|
this.permissonList = res.data
|
||||||
// console.log("代办事项",this.permissonList.includes('approve'))
|
|
||||||
},
|
},
|
||||||
async todoAudit(item,type) {
|
/* async todoAudit(item,type) {
|
||||||
await toDoAudit({
|
await toDoAudit({
|
||||||
toDoId: item.toDoId,
|
toDoId: item.toDoId,
|
||||||
toDoType: item.toDoType.code,
|
toDoType: item.toDoType.code,
|
||||||
@ -60,7 +91,7 @@ export default {
|
|||||||
})
|
})
|
||||||
this.todolist=[]
|
this.todolist=[]
|
||||||
await this.getList();
|
await this.getList();
|
||||||
},
|
},*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -68,6 +99,13 @@ export default {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/styles/mixin.scss";
|
@import "@/styles/mixin.scss";
|
||||||
@import "@/styles/common.scss";
|
@import "@/styles/common.scss";
|
||||||
|
.wrapCotainer{
|
||||||
|
@include wh(100%,100%);
|
||||||
|
background-color: #F4F5F7;
|
||||||
|
}
|
||||||
|
.navBar{
|
||||||
|
height: 46px;
|
||||||
|
}
|
||||||
.empty{
|
.empty{
|
||||||
@include wh(100%,100%);
|
@include wh(100%,100%);
|
||||||
background-color: #FAFAFA;
|
background-color: #FAFAFA;
|
||||||
@ -78,9 +116,36 @@ export default {
|
|||||||
}
|
}
|
||||||
.wrap {
|
.wrap {
|
||||||
@include wh(100%, 100%);
|
@include wh(100%, 100%);
|
||||||
box-sizing: border-box;
|
@include sizing4Padding(13px,13px,0,13px);
|
||||||
padding: 13px 13px 0 13px;
|
.itemWrap{
|
||||||
background-color: #F4F5F7;
|
@include wh(349px, 68px);
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0px 2px 10px 0px rgba(216,216,216,0.5);
|
||||||
|
@include sizing4Radius(11px,12px,16px,15px, 6px);
|
||||||
|
@include flexBetween;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
.left{
|
||||||
|
@include flexColBet;
|
||||||
|
}
|
||||||
|
.ritBtn{
|
||||||
|
@include wh(6px, 9px);
|
||||||
|
}
|
||||||
|
.time{
|
||||||
|
opacity: .6;
|
||||||
|
}
|
||||||
|
.title{
|
||||||
|
@include flexCenter;
|
||||||
|
}
|
||||||
|
.num{
|
||||||
|
display: inline-block;
|
||||||
|
@include whLin(14px, 14px);
|
||||||
|
@include fontWeightSize(10px,bold);
|
||||||
|
@include bgFontColor(#FFFFFF,#F93D3D);
|
||||||
|
border-radius: 2px;
|
||||||
|
text-align: center;
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dataList {
|
.dataList {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="wrap">
|
<div class="wrap vehicleAdd">
|
||||||
<div class="navBar">
|
<div class="navBar">
|
||||||
<van-nav-bar
|
<van-nav-bar
|
||||||
:title="id ? '修改车辆信息' : '添加车辆'"
|
:title="id ? '修改车辆信息' : '添加车辆'"
|
||||||
@ -12,7 +12,49 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="addContentWrap">
|
<div class="addContentWrap">
|
||||||
<cell-group label="车牌号" placeholder="请输入车牌号" v-model="carNum" />
|
<div class="itemContent">
|
||||||
|
<div class="titleType">
|
||||||
|
<img class="startImg" src="@/assets/start.png" />
|
||||||
|
<span>行驶证首页</span>
|
||||||
|
</div>
|
||||||
|
<van-uploader
|
||||||
|
v-model="vehicleLicenseFrontList"
|
||||||
|
:after-read="vehicleLicenseFrontHandler"
|
||||||
|
:max-size="5 * 1024 * 1024"
|
||||||
|
max-count="1"
|
||||||
|
:preview-size="54"
|
||||||
|
accept="image "
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="itemContent">
|
||||||
|
<div class="titleType">
|
||||||
|
<img class="startImg" src="@/assets/start.png" />
|
||||||
|
<span>行驶证副页</span>
|
||||||
|
</div>
|
||||||
|
<van-uploader
|
||||||
|
v-model="vehicleLicenseBackList"
|
||||||
|
:after-read="vehicleLicenseBackHandler"
|
||||||
|
:max-size="5 * 1024 * 1024"
|
||||||
|
max-count="1"
|
||||||
|
:preview-size="54"
|
||||||
|
accept="image "
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="itemContent">
|
||||||
|
<div class="titleType">
|
||||||
|
<img class="startImg" src="@/assets/start.png" />
|
||||||
|
<span>车头照</span>
|
||||||
|
</div>
|
||||||
|
<van-uploader
|
||||||
|
v-model="vehicleFrontPhotoList"
|
||||||
|
:after-read="vehicleFrontPhotoHandler"
|
||||||
|
max-count="1"
|
||||||
|
:preview-size="54"
|
||||||
|
accept="image "
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<cell-group label="车牌号" placeholder="车牌号" disabled v-model="carNum" />
|
||||||
<div class="itemContent">
|
<div class="itemContent">
|
||||||
<div class="titleType">
|
<div class="titleType">
|
||||||
<img class="startImg" src="@/assets/start.png" />
|
<img class="startImg" src="@/assets/start.png" />
|
||||||
@ -78,8 +120,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
// uploadImage
|
||||||
import {myMixins} from "@/utils/myMixins"
|
import {myMixins} from "@/utils/myMixins"
|
||||||
import {vehicleTypeList,saveVehicle,getInfoById,supplierServiceTree} from "@/api/mine"
|
import {vehicleTypeList,saveVehicle,getInfoById,supplierServiceTree, uploadImage, ocrHandler} from "@/api/mine"
|
||||||
import TwoCommonBtn from "@/components/twoBtnCommon.vue"
|
import TwoCommonBtn from "@/components/twoBtnCommon.vue"
|
||||||
import CellGroup from "@/components/cellGroup.vue";
|
import CellGroup from "@/components/cellGroup.vue";
|
||||||
export default {
|
export default {
|
||||||
@ -100,7 +143,15 @@ export default {
|
|||||||
serviceIds:[],//车辆服务种类,
|
serviceIds:[],//车辆服务种类,
|
||||||
supplierServiceList:[],
|
supplierServiceList:[],
|
||||||
show:false,
|
show:false,
|
||||||
imageUrl: require('@/assets/arr_right.png')
|
imageUrl: require('@/assets/arr_right.png'),
|
||||||
|
vehicleLicenseFrontList: [],
|
||||||
|
vehicleLicenseBackList: [],
|
||||||
|
vehicleFrontPhotoList: [],
|
||||||
|
vehicleLicenseFront: '', // 行驶证首页
|
||||||
|
vehicleLicenseBack: '', // 行驶证副页
|
||||||
|
vehicleFrontPhoto: '', // 车头照
|
||||||
|
vehicleLicenseInfo: {},
|
||||||
|
vehicleLicenseBackOcrFlag: false, // 行驶证副页 修改时默认不需要 ocr识别
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
@ -116,6 +167,87 @@ export default {
|
|||||||
await this.getSupplierServiceTree();
|
await this.getSupplierServiceTree();
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
async vehicleLicenseFrontHandler(file) { // 上传 行驶证首页
|
||||||
|
const formData = new FormData();
|
||||||
|
formData.append("file" , file.file);
|
||||||
|
let res = await uploadImage(formData)
|
||||||
|
this.vehicleLicenseFront = res.data;
|
||||||
|
await this.vehicleOcrHandler();
|
||||||
|
},
|
||||||
|
async vehicleLicenseBackHandler(file) { // 上传 行驶证副页
|
||||||
|
this.vehicleLicenseBackOcrFlag = true;
|
||||||
|
const formData = new FormData();
|
||||||
|
formData.append("file" , file.file);
|
||||||
|
let res = await uploadImage(formData);
|
||||||
|
this.vehicleLicenseBack = res.data;
|
||||||
|
await this.vehicleBackOcrHandler();
|
||||||
|
},
|
||||||
|
async vehicleFrontPhotoHandler(file) { // 上传 车头照
|
||||||
|
const formData = new FormData();
|
||||||
|
formData.append("file" , file.file);
|
||||||
|
let res = await uploadImage(formData);
|
||||||
|
this.vehicleFrontPhoto = res.data;
|
||||||
|
},
|
||||||
|
async vehicleOcrHandler() { // 行驶证首页 ocr 识别
|
||||||
|
this.vehicleLicenseInfo.licensePlateNumber = '';
|
||||||
|
this.vehicleLicenseInfo.vehicleType = '';
|
||||||
|
this.vehicleLicenseInfo.owner = '';
|
||||||
|
this.vehicleLicenseInfo.address = '';
|
||||||
|
this.vehicleLicenseInfo.useNature = '';
|
||||||
|
this.vehicleLicenseInfo.model = '';
|
||||||
|
this.vehicleLicenseInfo.vinCode = '';
|
||||||
|
this.vehicleLicenseInfo.engineNumber = '';
|
||||||
|
this.vehicleLicenseInfo.registrationDate = '';
|
||||||
|
this.vehicleLicenseInfo.issueDate = '';
|
||||||
|
this.vehicleLicenseInfo.issueAuthority = '';
|
||||||
|
let res = await ocrHandler({
|
||||||
|
ocrType: 3,
|
||||||
|
imageUrl: this.vehicleLicenseFront,
|
||||||
|
cardSide: 'FRONT'
|
||||||
|
})
|
||||||
|
if ( res?.data?.frontInfo ) {
|
||||||
|
let frontInfo = res?.data?.frontInfo;
|
||||||
|
this.carNum = frontInfo?.plateNo;
|
||||||
|
this.vehicleLicenseInfo.licensePlateNumber = frontInfo?.plateNo;
|
||||||
|
this.vehicleLicenseInfo.vehicleType = frontInfo?.vehicleType;
|
||||||
|
this.vehicleLicenseInfo.owner = frontInfo?.owner;
|
||||||
|
this.vehicleLicenseInfo.address = frontInfo?.address;
|
||||||
|
this.vehicleLicenseInfo.useNature = frontInfo?.useCharacter;
|
||||||
|
this.vehicleLicenseInfo.model = frontInfo?.model;
|
||||||
|
this.vehicleLicenseInfo.vinCode = frontInfo?.vin;
|
||||||
|
this.vehicleLicenseInfo.engineNumber = frontInfo?.engineNo;
|
||||||
|
this.vehicleLicenseInfo.registrationDate = frontInfo?.registerDate;
|
||||||
|
this.vehicleLicenseInfo.issueDate = frontInfo?.issueDate;
|
||||||
|
this.vehicleLicenseInfo.issueAuthority = frontInfo?.seal;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async vehicleBackOcrHandler() { // 行驶证副页 ocr 识别
|
||||||
|
this.vehicleLicenseInfo.recordNumber = '';
|
||||||
|
this.vehicleLicenseInfo.passengerCapacity = '';
|
||||||
|
this.vehicleLicenseInfo.totalWeight = '';
|
||||||
|
this.vehicleLicenseInfo.curbWeight = '';
|
||||||
|
this.vehicleLicenseInfo.permittedWeight = '';
|
||||||
|
this.vehicleLicenseInfo.overallDimension = '';
|
||||||
|
this.vehicleLicenseInfo.tractionWeight = '';
|
||||||
|
this.vehicleLicenseInfo.backPlateNo = ''; // 行驶证副页 车牌号,仅用来判断 ocr 识别是否成功
|
||||||
|
let res = await ocrHandler({
|
||||||
|
ocrType: 3,
|
||||||
|
imageUrl: this.vehicleLicenseBack,
|
||||||
|
cardSide: 'BACK'
|
||||||
|
})
|
||||||
|
if(res?.data?.backInfo) {
|
||||||
|
let backInfo = res?.data?.backInfo;
|
||||||
|
this.vehicleLicenseInfo.recordNumber = backInfo?.fileNo;
|
||||||
|
this.vehicleLicenseInfo.passengerCapacity = backInfo?.allowNum;
|
||||||
|
this.vehicleLicenseInfo.totalWeight = backInfo?.totalMass;
|
||||||
|
this.vehicleLicenseInfo.curbWeight = backInfo?.curbWeight;
|
||||||
|
this.vehicleLicenseInfo.permittedWeight = backInfo?.loadQuality;
|
||||||
|
this.vehicleLicenseInfo.overallDimension = backInfo?.externalSize;
|
||||||
|
this.vehicleLicenseInfo.tractionWeight = backInfo?.TotalQuasiMass;
|
||||||
|
this.vehicleLicenseInfo.backPlateNo = backInfo?.plateNo;
|
||||||
|
}
|
||||||
|
console.log('this.vehicle', this.vehicleLicenseInfo)
|
||||||
|
},
|
||||||
loadAll(i){
|
loadAll(i){
|
||||||
// console.log(i)
|
// console.log(i)
|
||||||
this.show = !this.show
|
this.show = !this.show
|
||||||
@ -145,23 +277,54 @@ export default {
|
|||||||
let res= await getInfoById({
|
let res= await getInfoById({
|
||||||
vehicleId:this.id
|
vehicleId:this.id
|
||||||
})
|
})
|
||||||
let result=res.data;
|
let result=res.data;
|
||||||
this.id=result.vehicleId
|
this.id=result.vehicleId
|
||||||
this.carNum=result.plateNumber
|
this.carNum=result.plateNumber
|
||||||
this.isJoin=result.hasPolymerization.code
|
this.isJoin=result.hasPolymerization.code
|
||||||
this.selectedOption=result.vehicleType;
|
this.selectedOption=result.vehicleType;
|
||||||
this.serviceIds=result.serviceIds
|
this.serviceIds=result.serviceIds
|
||||||
|
this.vehicleLicenseFront = result.vehicleLicenseFront;
|
||||||
|
this.vehicleLicenseBack = result.vehicleLicenseBack;
|
||||||
|
this.vehicleFrontPhoto = result.vehicleFrontPhoto;
|
||||||
|
this.vehicleLicenseInfo = result.vehicleLicenseInfo;
|
||||||
|
this.vehicleLicenseFrontList = [{ url : this.vehicleLicenseFront }];
|
||||||
|
this.vehicleLicenseBackList = [{ url : this.vehicleLicenseBack }];
|
||||||
|
this.vehicleFrontPhotoList = [{ url : this.vehicleFrontPhoto }];
|
||||||
},
|
},
|
||||||
isChange(e){
|
isChange(e){
|
||||||
this.isJoin=e
|
this.isJoin=e
|
||||||
},
|
},
|
||||||
async submitBtn(){
|
async submitBtn(){
|
||||||
|
if( !this.vehicleLicenseFront ) {
|
||||||
|
this.$toast('行驶证主页照片不能为空')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if( !this.vehicleLicenseBack ) {
|
||||||
|
this.$toast('行驶证副页照片不能为空')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if( !this.vehicleLicenseBack ) {
|
||||||
|
this.$toast('车头照片不能为空')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if( !this.vehicleLicenseInfo.licensePlateNumber ) {
|
||||||
|
this.$toast('行驶证主页识别失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if(this.vehicleLicenseBackOcrFlag && !this.vehicleLicenseInfo.backPlateNo ) {
|
||||||
|
this.$toast('行驶证副页识别失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
await saveVehicle({
|
await saveVehicle({
|
||||||
vehicleId:this.id ? this.id : '',
|
vehicleId:this.id ? this.id : '',
|
||||||
plateNumber:this.carNum ? this.carNum :'',
|
plateNumber:this.carNum ? this.carNum :'',
|
||||||
vehicleType:this.selectedOption ? this.selectedOption : '',
|
vehicleType:this.selectedOption ? this.selectedOption : '',
|
||||||
hasPolymerization:this.isJoin,
|
hasPolymerization:this.isJoin,
|
||||||
serviceIds:this.serviceIds ? this.serviceIds : []
|
serviceIds:this.serviceIds ? this.serviceIds : [],
|
||||||
|
vehicleLicenseFront: this.vehicleLicenseFront,
|
||||||
|
vehicleLicenseBack: this.vehicleLicenseBack,
|
||||||
|
vehicleFrontPhoto: this.vehicleFrontPhoto,
|
||||||
|
vehicleLicenseInfo: this.vehicleLicenseInfo,
|
||||||
})
|
})
|
||||||
if(this.id){
|
if(this.id){
|
||||||
this.$toast('修改成功')
|
this.$toast('修改成功')
|
||||||
@ -180,6 +343,12 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.vehicleAdd .van-field__control:disabled {
|
||||||
|
color: #323643 !important;
|
||||||
|
-webkit-text-fill-color: #323643 !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/styles/mixin.scss";
|
@import "@/styles/mixin.scss";
|
||||||
@import "@/styles/common.scss";
|
@import "@/styles/common.scss";
|
||||||
|
113
src/views/kpi/components/circleChar.vue
Normal file
113
src/views/kpi/components/circleChar.vue
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
<template>
|
||||||
|
<div class="wrap">
|
||||||
|
<div id="supplierScore" ref="supplierScore" class="chart" @click="handle"></div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import * as echarts from 'echarts';
|
||||||
|
export default {
|
||||||
|
name: "circleChar",
|
||||||
|
props:['data','bgColor','titleText','isStore'],
|
||||||
|
data(){
|
||||||
|
return{
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
/* if(this.data){
|
||||||
|
this.drawHandle();
|
||||||
|
}*/
|
||||||
|
setTimeout(()=>{
|
||||||
|
this.drawHandle();
|
||||||
|
},500)
|
||||||
|
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
initCircle(){
|
||||||
|
// setTimeout(()=>{
|
||||||
|
this.drawHandle();
|
||||||
|
// },500)
|
||||||
|
},
|
||||||
|
handle(){
|
||||||
|
if(this.titleText == '投诉率'){
|
||||||
|
this.$emit('clickComplain')
|
||||||
|
}else if(this.titleText == '使用率'){
|
||||||
|
this.$emit('clickUse')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 绘制 总分图表
|
||||||
|
drawHandle() {
|
||||||
|
let supplierScoreChart = echarts.init(this.$refs.supplierScore)
|
||||||
|
let option;
|
||||||
|
let arrow=(this.titleText == '投诉率' || this.titleText == '使用率') ? '>' : ''
|
||||||
|
const gaugeData = [
|
||||||
|
{
|
||||||
|
value: this.data,
|
||||||
|
name: this.isStore ? '' : this.titleText+arrow,
|
||||||
|
title: {
|
||||||
|
offsetCenter: ['0%', '20%']
|
||||||
|
},
|
||||||
|
detail: {
|
||||||
|
valueAnimation: true,
|
||||||
|
offsetCenter: ['0%', this.isStore ? '10%' : '-25%']
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
];
|
||||||
|
option = {
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
type: 'gauge',
|
||||||
|
startAngle: 90,
|
||||||
|
endAngle: -270,
|
||||||
|
pointer: {
|
||||||
|
show: false
|
||||||
|
},
|
||||||
|
progress: {
|
||||||
|
show: true,
|
||||||
|
// width:6,
|
||||||
|
itemStyle:{
|
||||||
|
color:this.bgColor
|
||||||
|
}
|
||||||
|
},
|
||||||
|
/* axisLine: {
|
||||||
|
lineStyle: {
|
||||||
|
width:12,
|
||||||
|
}
|
||||||
|
},*/
|
||||||
|
splitLine: { show: false},
|
||||||
|
axisTick: { show: false},
|
||||||
|
axisLabel: {show: false},
|
||||||
|
data: gaugeData,
|
||||||
|
title: {
|
||||||
|
fontSize: 11,
|
||||||
|
color:'rgba(4, 4, 21,0.45)'
|
||||||
|
},
|
||||||
|
detail: {
|
||||||
|
color:this.isStore ? this.bgColor : '#040415',
|
||||||
|
fontSize: this.isStore ? 43 :19,
|
||||||
|
formatter: this.isStore ? '{value}' : '{value}%'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
// 绘制图表
|
||||||
|
option && supplierScoreChart.setOption(option, true);
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "@/styles/mixin.scss";
|
||||||
|
.wrap{
|
||||||
|
@include flexCenter;
|
||||||
|
}
|
||||||
|
.img{
|
||||||
|
@include whMarLe(12px,10px,4px);
|
||||||
|
}
|
||||||
|
.chart{
|
||||||
|
width: 100%;
|
||||||
|
height: 125px;
|
||||||
|
}
|
||||||
|
</style>
|
172
src/views/kpi/components/noFit-table.vue
Normal file
172
src/views/kpi/components/noFit-table.vue
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
<template>
|
||||||
|
<div class="wrap">
|
||||||
|
<el-table :data="tableData"
|
||||||
|
stripe
|
||||||
|
border
|
||||||
|
style="width: 100%"
|
||||||
|
height="100%"
|
||||||
|
v-loading="loading"
|
||||||
|
:cell-style="setTableCellStyle"
|
||||||
|
class="custom-table">
|
||||||
|
<template v-if="active===1">
|
||||||
|
<el-table-column v-for="item in labelList" :key="item.prop" :label="item.label" :prop="item.prop" align="center">
|
||||||
|
<template slot-scope="scope">{{scope.row[item.prop]}} </template>
|
||||||
|
</el-table-column>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<el-table-column v-for="column in labelList" :key="column.prop" :prop="column.prop" :label="column.label"
|
||||||
|
align="center" min-width="100" :width="(isMobile && (column.label=='案件编号' || column.label=='服务内容')) ? 70 : 'auto'">
|
||||||
|
</el-table-column>
|
||||||
|
</template>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "noFit-table",
|
||||||
|
props: ['tableData', 'labelList', 'loading', 'isMobile','active'],
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
setTableCellStyle({ row, column,columnIndex }) {
|
||||||
|
// 月总表格被转置,原始方法失效,重新定义对比
|
||||||
|
if(this.active===1){
|
||||||
|
if(row.month == '3′接单率(%)'){
|
||||||
|
if(columnIndex){
|
||||||
|
let res=row[column.property]
|
||||||
|
const rate = parseFloat(res && res.replace('%', ''));
|
||||||
|
if(rate < 95){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(row.month == '接单时效(分)'){
|
||||||
|
if(columnIndex){
|
||||||
|
let res=row[column.property]
|
||||||
|
if(res > 5){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(row.month == '到达时效(分)'){
|
||||||
|
if(columnIndex){
|
||||||
|
let res=row[column.property]
|
||||||
|
if(res > 40){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(row.month == '总聚合成功率(%)'){
|
||||||
|
if(columnIndex){
|
||||||
|
let res=row[column.property]
|
||||||
|
const rate = parseFloat(res && res.replace('%', ''));
|
||||||
|
if(rate < 80){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(row.month == '使用率(%)'){
|
||||||
|
if(columnIndex){
|
||||||
|
let res=row[column.property]
|
||||||
|
const rate = parseFloat(res && res.replace('%', ''));
|
||||||
|
if(rate < 95){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(row.month == '投诉率(%)'){
|
||||||
|
if(columnIndex){
|
||||||
|
let res=row[column.property]
|
||||||
|
const rate = parseFloat(res && res.replace('%', ''));
|
||||||
|
if(rate > 0.1){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 接单率
|
||||||
|
if(column.property=='threeMinutesReceivingRate'){
|
||||||
|
if(columnIndex){
|
||||||
|
const rate = parseFloat(row.threeMinutesReceivingRate && row.threeMinutesReceivingRate.replace('%', ''));
|
||||||
|
if(rate < 95){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//师傅接单时效》5
|
||||||
|
if(column.property=='receiving'){
|
||||||
|
if(columnIndex){
|
||||||
|
if(row.receiving > 5){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//到达时效》40
|
||||||
|
if(column.property=='arriving'){
|
||||||
|
if(columnIndex){
|
||||||
|
if(row.arriving > 40){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//聚合成功率《80
|
||||||
|
if(column.property=='polymerizationSuccessRate'){
|
||||||
|
if(columnIndex){
|
||||||
|
const rate = parseFloat(row.polymerizationSuccessRate && row.polymerizationSuccessRate.replace('%', ''));
|
||||||
|
if(rate < 80){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//app使用率《95
|
||||||
|
if(column.property=='appRate'){
|
||||||
|
if(columnIndex){
|
||||||
|
const rate = parseFloat(row.appRate && row.appRate.replace('%', ''));
|
||||||
|
if(rate < 95){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//催促率》3
|
||||||
|
if(column.property=='urgeRate'){
|
||||||
|
if(columnIndex){
|
||||||
|
const rate = parseFloat(row.urgeRate && row.urgeRate.replace('%', ''));
|
||||||
|
if(rate > 3){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//投诉率》0.1
|
||||||
|
if(column.property=='complainOrderRate'){
|
||||||
|
if(columnIndex){
|
||||||
|
const rate = parseFloat(row.complainOrderRate.replace('%', ''));
|
||||||
|
if(rate > 0.1){
|
||||||
|
return {backgroundColor: '#F1B289'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "@/styles/mixin.scss";
|
||||||
|
::v-deep .el-table{
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
::v-deep .el-table thead{
|
||||||
|
color: #1D2129;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
::v-deep .el-table th.el-table__cell.is-leaf {
|
||||||
|
background-color: #E5E6EB;
|
||||||
|
}
|
||||||
|
::v-deep .el-table .el-table__cell{
|
||||||
|
padding: 4px 0 !important;
|
||||||
|
}
|
||||||
|
</style>
|
1806
src/views/kpi/kpiIndex.vue
Normal file
1806
src/views/kpi/kpiIndex.vue
Normal file
File diff suppressed because it is too large
Load Diff
340
src/views/newcomerTraining/newTrainingList.vue
Normal file
340
src/views/newcomerTraining/newTrainingList.vue
Normal file
@ -0,0 +1,340 @@
|
|||||||
|
<template>
|
||||||
|
<div class="wrap" :style="{ 'overflow-y': showPoup ? 'hidden' : 'auto' }">
|
||||||
|
<div class="navBar">
|
||||||
|
<van-nav-bar title="新人培训" :border="false" :fixed="true" :safe-area-inset-top="true">
|
||||||
|
<template slot="left" v-if="isFinished">
|
||||||
|
<van-icon name="checked" color="#37ec37" size="20"/>
|
||||||
|
</template>
|
||||||
|
</van-nav-bar>
|
||||||
|
</div>
|
||||||
|
<div class="contentWrap" v-show="!showEmpty">
|
||||||
|
<van-pull-refresh v-model="isLoading" @refresh="onRefresh" style="min-height:85vh">
|
||||||
|
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" @click="goH5Detail(item)">
|
||||||
|
<div class="info flexBetween common">
|
||||||
|
<div class="title">{{ item.pushUser }}</div>
|
||||||
|
<div class="time">{{ item.pushTime }}</div>
|
||||||
|
</div>
|
||||||
|
<div class="imgWrap"><img :src="item.themePicture"></div>
|
||||||
|
<div class="num common">{{ item.synopsis }}</div>
|
||||||
|
<template v-if="item.listShowButton == null">
|
||||||
|
<div class="status" style="color: #cccccc">已处理</div>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<div class="status" >未处理</div>
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</van-pull-refresh>
|
||||||
|
</div>
|
||||||
|
<div class="empty" v-show="showEmpty">
|
||||||
|
<img src="@/assets/empty.png" />
|
||||||
|
</div>
|
||||||
|
<div class="poupCommon" v-if="showPoup">
|
||||||
|
<div class="container showPoupContainer">
|
||||||
|
<div class="con">
|
||||||
|
<div class="title">培训提醒</div>
|
||||||
|
<div class="content">欢迎使用中道供应商APP。请您先完成培训,阅读文章,并问答相应问题。完成后即可正常使用APP。祝您使用愉快!</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="btnWrap">
|
||||||
|
<div class="nextBtn" @click="showPoup = false">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="poupCommon" v-if="isFinished">
|
||||||
|
<div class="container finishContainer">
|
||||||
|
<div class="con">
|
||||||
|
<div class="title">提示</div>
|
||||||
|
<div class="content">恭喜您,您已经全部完成培训!现在您可以正常使用我们的app,请前往体验。</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="btnWrap">
|
||||||
|
<div class="nextBtn" @click="goApp">前往</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// import { Dialog } from 'vant';
|
||||||
|
import {myMixins} from "@/utils/myMixins"
|
||||||
|
import {pageList} from "@/api/mine"
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "newTrainingList",
|
||||||
|
computed: {
|
||||||
|
},
|
||||||
|
mixins:[myMixins],
|
||||||
|
data(){
|
||||||
|
return{
|
||||||
|
pageNum:1,
|
||||||
|
pageSize:10,
|
||||||
|
pageList:[],
|
||||||
|
keyword:'',
|
||||||
|
show:false,
|
||||||
|
showEmpty:false,
|
||||||
|
isLoading:false,
|
||||||
|
showPoup:true,//进入弹框
|
||||||
|
isFinished:false,
|
||||||
|
// showPoup:false,//进入弹框
|
||||||
|
// isFinished:true,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
// this.onRefresh();
|
||||||
|
this.getList();
|
||||||
|
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
// this.getList();
|
||||||
|
// 每次回答完问题之后返回需重新加结果
|
||||||
|
|
||||||
|
},
|
||||||
|
async activated() {
|
||||||
|
await this.getList()
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
onRefresh() {
|
||||||
|
this.getList()
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$toast('刷新成功');
|
||||||
|
this.isLoading = false;
|
||||||
|
}, 1000);
|
||||||
|
},
|
||||||
|
|
||||||
|
async getList(){
|
||||||
|
let res= await pageList({
|
||||||
|
pageNum:this.pageNum,
|
||||||
|
pageSize:this.pageSize,
|
||||||
|
docType:1,
|
||||||
|
trainingType:4,
|
||||||
|
})
|
||||||
|
this.pageList=res.data;
|
||||||
|
let aaa=this.pageList.every(item=>item.listShowButton != 1)
|
||||||
|
if(aaa){
|
||||||
|
this.showPoup=false
|
||||||
|
this.isFinished=true
|
||||||
|
// await this.allProcessed()
|
||||||
|
}
|
||||||
|
if(res.data.length === 0){
|
||||||
|
this.showEmpty = true
|
||||||
|
|
||||||
|
}else {
|
||||||
|
this.showEmpty = false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
initShow(){
|
||||||
|
this.keyword= '',
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
goApp(){
|
||||||
|
let data = {"action":"goBack","params":""}
|
||||||
|
var u = navigator.userAgent;
|
||||||
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
||||||
|
if(isiOS){
|
||||||
|
window.webkit.messageHandlers.nativeObject.postMessage(data);
|
||||||
|
}else {
|
||||||
|
window.android.sendMessage("goBack");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
/*allProcessed(){
|
||||||
|
Dialog.confirm({
|
||||||
|
title: '提示',
|
||||||
|
message: '恭喜您,您已经全部完成培训!现在您可以正常使用我们的app,请前往体验。',
|
||||||
|
confirmButtonText: '前往',
|
||||||
|
cancelButtonText: '稍后'
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
let data = {"action":"goBack","params":""}
|
||||||
|
var u = navigator.userAgent;
|
||||||
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
||||||
|
if(isiOS){
|
||||||
|
window.webkit.messageHandlers.nativeObject.postMessage(data);
|
||||||
|
}else {
|
||||||
|
window.android.sendMessage("goBack");
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
|
// on cancel
|
||||||
|
});
|
||||||
|
console.log("全部处理")
|
||||||
|
},*/
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "@/styles/common.scss";
|
||||||
|
@import "@/styles/mixin.scss";
|
||||||
|
@import "@/styles/docment.scss";
|
||||||
|
.status{
|
||||||
|
color: red;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-right: 8px;
|
||||||
|
text-align: right
|
||||||
|
}
|
||||||
|
.wrap{
|
||||||
|
position: relative;
|
||||||
|
overflow-y: hidden;
|
||||||
|
}
|
||||||
|
.poupCommon{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(0,0,0,.7);
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
.showPoupContainer{
|
||||||
|
height: 310px;
|
||||||
|
background-size: 320px 310px;
|
||||||
|
.content{
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
.btnWrap{
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.finishContainer{
|
||||||
|
height: 260px;
|
||||||
|
background-size: 320px 260px;
|
||||||
|
.con{
|
||||||
|
top: 80px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.container{
|
||||||
|
width: 320px;
|
||||||
|
background-image: url("@/assets/trainBg.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: auto;
|
||||||
|
.con{
|
||||||
|
position: absolute;
|
||||||
|
top: 100px;
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.title{
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 19px;
|
||||||
|
color: #3364B7;
|
||||||
|
line-height: 26px;
|
||||||
|
width: 70%;
|
||||||
|
margin-left: 35px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.content{
|
||||||
|
width: 70%;
|
||||||
|
height: 92px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #4C5361;
|
||||||
|
line-height: 23px;
|
||||||
|
text-align: justify;
|
||||||
|
margin-top: 8px;
|
||||||
|
margin-left: 35px;
|
||||||
|
}
|
||||||
|
.line{
|
||||||
|
width: 285px;
|
||||||
|
height: 1px;
|
||||||
|
border-bottom: 1px solid #F1F2F5;
|
||||||
|
}
|
||||||
|
.btnWrap{
|
||||||
|
width: 92%;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 13px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
.closeBtn{
|
||||||
|
color: #999B9F;
|
||||||
|
}
|
||||||
|
.line{
|
||||||
|
width: 1px;
|
||||||
|
height: 48px;
|
||||||
|
border-right: 1px solid #F1F2F5;
|
||||||
|
}
|
||||||
|
.nextBtn{
|
||||||
|
color: #3364B7;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//.poupWrap{
|
||||||
|
// width: 100%;
|
||||||
|
// height: 100%;
|
||||||
|
// background-color: rgba(0,0,0,.7);
|
||||||
|
// position: absolute;
|
||||||
|
// top: 0;
|
||||||
|
// left: 0;
|
||||||
|
// .container{
|
||||||
|
// width: 320px;
|
||||||
|
// height: 310px;
|
||||||
|
// background-image: url("@/assets/trainBg.png");
|
||||||
|
// background-size: 320px 310px;
|
||||||
|
// background-repeat: no-repeat;
|
||||||
|
// position: absolute;
|
||||||
|
// top: 0;
|
||||||
|
// bottom: 0;
|
||||||
|
// left: 0;
|
||||||
|
// right: 0;
|
||||||
|
// margin: auto;
|
||||||
|
// .con{
|
||||||
|
// position: absolute;
|
||||||
|
// top: 100px;
|
||||||
|
// left: 20px;
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
// .title{
|
||||||
|
// font-weight: bold;
|
||||||
|
// font-size: 19px;
|
||||||
|
// color: #3364B7;
|
||||||
|
// line-height: 26px;
|
||||||
|
// width: 70%;
|
||||||
|
// margin-left: 35px;
|
||||||
|
// text-align: center;
|
||||||
|
// }
|
||||||
|
// .content{
|
||||||
|
// width: 70%;
|
||||||
|
// height: 92px;
|
||||||
|
// font-size: 14px;
|
||||||
|
// color: #4C5361;
|
||||||
|
// line-height: 23px;
|
||||||
|
// text-align: justify;
|
||||||
|
// margin-top: 8px;
|
||||||
|
// margin-bottom: 20px;
|
||||||
|
// margin-left: 35px;
|
||||||
|
// }
|
||||||
|
// .line{
|
||||||
|
// width: 285px;
|
||||||
|
// height: 1px;
|
||||||
|
// border-bottom: 1px solid #F1F2F5;
|
||||||
|
// }
|
||||||
|
// .btnWrap{
|
||||||
|
// width: 92%;
|
||||||
|
// font-weight: bold;
|
||||||
|
// font-size: 13px;
|
||||||
|
// display: flex;
|
||||||
|
// justify-content: space-around;
|
||||||
|
// margin-top: 6px;
|
||||||
|
// height: 40px;
|
||||||
|
// line-height: 40px;
|
||||||
|
// .closeBtn{
|
||||||
|
// color: #999B9F;
|
||||||
|
// }
|
||||||
|
// .line{
|
||||||
|
// width: 1px;
|
||||||
|
// height: 48px;
|
||||||
|
// border-right: 1px solid #F1F2F5;
|
||||||
|
// }
|
||||||
|
// .nextBtn{
|
||||||
|
// color: #3364B7;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
</style>
|
429
src/views/vehicle-maintenance/maintenance-application.vue
Normal file
429
src/views/vehicle-maintenance/maintenance-application.vue
Normal file
@ -0,0 +1,429 @@
|
|||||||
|
<template>
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="navBar">
|
||||||
|
<van-nav-bar
|
||||||
|
title="车辆维保"
|
||||||
|
left-arrow
|
||||||
|
left-arrow-color="#FFFFFF"
|
||||||
|
:border="false"
|
||||||
|
:fixed="true"
|
||||||
|
:safe-area-inset-top="true"
|
||||||
|
@click-left="goPrePage"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="flowWrap">
|
||||||
|
<div class="detailInfo">
|
||||||
|
<div class="line1">
|
||||||
|
<div class="leftTitle commonTitle">{{ rowInfo.stage }}:</div>
|
||||||
|
<div class="right">
|
||||||
|
<img class="commonImg" :src="getStatus(detailInfo.states)">
|
||||||
|
<div :class="getStatusColor(detailInfo.states)" >{{detailInfo.statesStr}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div ><span class="opa">车辆名称:</span><span>{{ detailInfo.vehicleName }}</span></div>
|
||||||
|
<div><span class="opa">车牌号:</span><span>{{ detailInfo.plateNumber }}</span></div>
|
||||||
|
<!-- 审批中,通过,终止detailInfo.states ==1 || detailInfo.states ==2 ||detailInfo.states ==3-->
|
||||||
|
<div class="shopName" v-if="[1,2,3].includes(detailInfo.states)"><span class="opa" >门店信息:</span><span class="textarea">{{detailInfo.repairPoint || ''}}</span></div>
|
||||||
|
<div class="shopImgList" v-if="[1,2,3].includes(detailInfo.states)">
|
||||||
|
<template v-if="detailInfo.storePhotoUrls && detailInfo.storePhotoUrls.indexOf(',') !== -1">
|
||||||
|
<div v-for="(item,index) in (detailInfo.storePhotoUrls?.split(','))" :key="index">
|
||||||
|
<img :src="item" @click="previewPhoto(item)">
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<div v-if="!detailInfo.storePhotoUrls"></div>
|
||||||
|
<img v-else :src="detailInfo.storePhotoUrls" @click="previewPhoto(detailInfo.storePhotoUrls)">
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
<!-- 不通过-->
|
||||||
|
<div v-if="noPassStatus"><span class="opa">车辆里程:</span><span>{{ parseInt(detailInfo.mileage) || '' }}km</span></div>
|
||||||
|
<div v-if="noPassStatus"><span class="opa">结算类型:</span><span>{{ detailInfo.paymentType?.label || '' }}</span></div>
|
||||||
|
<div v-if="noPassStatus && detailInfo.paymentType?.code !=2"><span class="opa">维修金额:</span><span>{{ detailInfo.amount || ''}}元</span></div>
|
||||||
|
<div v-if="noPassStatus && detailInfo.paymentType?.code !=2" class="shopName"><span class="opa">维保项目:</span><span class="project textarea">{{ detailInfo.information ||'' }}</span></div>
|
||||||
|
</div>
|
||||||
|
<!-- 不通过-->
|
||||||
|
<div class="detailInfo" v-if="noPassStatus && detailInfo.paymentType?.code !=2">
|
||||||
|
<div class="line1">
|
||||||
|
<div class="leftTitle commonTitle">维保项目照片:</div>
|
||||||
|
</div>
|
||||||
|
<div class="shopImgList">
|
||||||
|
<template v-if="detailInfo.maintenancePhotoUrls && detailInfo.maintenancePhotoUrls.indexOf(',') !== -1">
|
||||||
|
<div v-for="(item,index) in (detailInfo.maintenancePhotoUrls?.split(','))" :key="index">
|
||||||
|
<img :src="item" @click="previewPhoto(item)">
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<div v-if="!detailInfo.maintenancePhotoUrls"></div>
|
||||||
|
<img v-else :src="detailInfo.maintenancePhotoUrls" @click="previewPhoto(detailInfo.maintenancePhotoUrls)">
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="detailInfo" v-if="noPassStatus && detailInfo.paymentType?.code !=2">
|
||||||
|
<div class="line1">
|
||||||
|
<div class="leftTitle commonTitle">维保清单/凭证照片:</div>
|
||||||
|
</div>
|
||||||
|
<div class="shopImgList">
|
||||||
|
<template v-if="detailInfo.voucherPhotoUrls && detailInfo.voucherPhotoUrls.indexOf(',') !== -1">
|
||||||
|
<div v-for="(item,index) in (detailInfo.voucherPhotoUrls?.split(','))" :key="index">
|
||||||
|
<img :src="item" @click="previewPhoto(item)">
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<div v-if="!detailInfo.voucherPhotoUrls"></div>
|
||||||
|
<img v-else :src="detailInfo.voucherPhotoUrls" @click="previewPhoto(detailInfo.voucherPhotoUrls)">
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 维保申请审批中,维保完成审批中, -->
|
||||||
|
<div class="approvalContent" v-if="[1,4].includes(detailInfo.states)">
|
||||||
|
<div class="title commonTitle">审批意见:</div>
|
||||||
|
<textarea class="multiple" placeholder="输入意见" v-model="auditRemark"></textarea>
|
||||||
|
</div>
|
||||||
|
<!--审批意见显示: 只要不是审批中状态-->
|
||||||
|
<div class="resultWrap" v-if="!(detailInfo.states == 1 || detailInfo.states == 4)">
|
||||||
|
<div class="result">
|
||||||
|
<div class="title commonTitle">审批意见:</div>
|
||||||
|
<div class="right">
|
||||||
|
<img class="commonImg" :src="getStatus(detailInfo.states)">
|
||||||
|
<div :class="getStatusColor(detailInfo.states)" >{{detailInfo.statesStr}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div :class="getStatusColor(detailInfo.states)" class="time">{{ detailInfo.createTime }} {{detailInfo.statesStr}}</div>
|
||||||
|
<!-- 完成不通过-->
|
||||||
|
<div class="line" v-if="detailInfo.auditRemark"></div>
|
||||||
|
<div class="reason" v-if="detailInfo.auditRemark">{{detailInfo.auditRemark}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 维保申请审批中,维保完成审批中-->
|
||||||
|
<div class="btnWrap" v-if="detailInfo.states==1 || detailInfo.states==4">
|
||||||
|
<div class="noPass" @click="approvalHandle(0)">不通过</div>
|
||||||
|
<div class="pass" @click="approvalHandle(1)">通过</div>
|
||||||
|
</div>
|
||||||
|
<!-- 维保申请通过 -->
|
||||||
|
<div class="btnWrap" v-if="detailInfo.states == 3">
|
||||||
|
<div class="stoping pass" @click="show=true">维保终止</div>
|
||||||
|
</div>
|
||||||
|
<div class="dialogWrap" v-if="show">
|
||||||
|
<div class="title">维保终止 </div>
|
||||||
|
<div class="textWrap">
|
||||||
|
<textarea class="ipt" placeholder="请输入终止原因" v-model="reason"></textarea>
|
||||||
|
</div>
|
||||||
|
<div class="btnWrap">
|
||||||
|
<div class="noPass" @click="cancelHandle">取消</div>
|
||||||
|
<div class="pass" @click="handleConfirm">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {getVehicleMaintenanceDetail,vehicleMaintenanceStop,vehicleMaintenanceApproval} from "@/api/maintenance"
|
||||||
|
import {myMixins} from "@/utils/myMixins"
|
||||||
|
import { ImagePreview } from "vant";
|
||||||
|
export default {
|
||||||
|
name: "maintenance-application",
|
||||||
|
mixins:[myMixins],
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
rowInfo:'',
|
||||||
|
noClick:true,
|
||||||
|
detailInfo:'',
|
||||||
|
show:false,
|
||||||
|
auditRemark:'',
|
||||||
|
reason:'',
|
||||||
|
status:'',
|
||||||
|
// activeIndex:'',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.rowInfo=this.$route.params.info
|
||||||
|
this.status=this.$route.params.status
|
||||||
|
this.getDetail()
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
// 维保申请不通过,维保完成不通过
|
||||||
|
noPassStatus(){
|
||||||
|
return this.detailInfo.states===5 || this.detailInfo.states===4 || this.detailInfo.states===6;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
goPrePage(){
|
||||||
|
this.$router.push({
|
||||||
|
name: 'vehicleMaintenanceList',
|
||||||
|
params: {
|
||||||
|
activeIndex:this.$route.params?.activeIndex,
|
||||||
|
status:this.status,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
previewPhoto(url) {
|
||||||
|
let urls=[]
|
||||||
|
// this.auditPhotoList.forEach((item)=>{
|
||||||
|
urls.push(url)
|
||||||
|
// })
|
||||||
|
ImagePreview({
|
||||||
|
images: urls,
|
||||||
|
startPosition: 0,
|
||||||
|
closeable: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
cancelHandle(){
|
||||||
|
this.show=false
|
||||||
|
console.log('this.show0',this.show)
|
||||||
|
},
|
||||||
|
async handleConfirm(){
|
||||||
|
let res=await vehicleMaintenanceStop({id:this.rowInfo.id, vehicleId:this.rowInfo.vehicleId, auditRemark:this.reason,})
|
||||||
|
if (res.code==200){
|
||||||
|
this.show=false
|
||||||
|
await this.getDetail();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async approvalHandle(approvalType){
|
||||||
|
let res=await vehicleMaintenanceApproval({
|
||||||
|
id:this.rowInfo.id,
|
||||||
|
vehicleId:this.rowInfo.vehicleId,
|
||||||
|
auditResult:approvalType,
|
||||||
|
auditRemark:this.auditRemark,
|
||||||
|
})
|
||||||
|
if(res.code==200){
|
||||||
|
await this.getDetail();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 1申请审批,2申请不通过,3申请通过,4完成审批中,5完成不通过,6完成通过,9维保终止
|
||||||
|
getStatusColor(i){
|
||||||
|
switch (i){
|
||||||
|
case 1://
|
||||||
|
case 4://
|
||||||
|
return 'yelColor'
|
||||||
|
case 2://
|
||||||
|
case 5://
|
||||||
|
return 'redColor'
|
||||||
|
case 3://
|
||||||
|
case 6://
|
||||||
|
return 'greColor'
|
||||||
|
case 9://
|
||||||
|
return 'garyColor'
|
||||||
|
default:
|
||||||
|
return ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getStatus(i){
|
||||||
|
switch (i){
|
||||||
|
case 1://
|
||||||
|
case 4://
|
||||||
|
return require('@/assets/waitSubmit.png')
|
||||||
|
case 2://审核通过
|
||||||
|
case 5://已打款
|
||||||
|
return require('@/assets/unpass.png')
|
||||||
|
case 3://
|
||||||
|
case 6://
|
||||||
|
return require('@/assets/dakuan.png')
|
||||||
|
case 9://报销失败
|
||||||
|
return require('@/assets/unSubmit.png')
|
||||||
|
default:
|
||||||
|
return ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async getDetail() {
|
||||||
|
let res=await getVehicleMaintenanceDetail ({
|
||||||
|
id:this.rowInfo.id,
|
||||||
|
vehicleId:this.rowInfo.vehicleId,
|
||||||
|
})
|
||||||
|
if(res.code===200 && res.data){
|
||||||
|
this.detailInfo=res.data
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "@/styles/mixin.scss";
|
||||||
|
@import "@/styles/common.scss";
|
||||||
|
@import "@/styles/approval.scss";
|
||||||
|
.dialogWrap{
|
||||||
|
position:absolute ;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: auto;
|
||||||
|
z-index: 111;
|
||||||
|
width: 326px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 180px;
|
||||||
|
background: #F1F5F7;
|
||||||
|
box-shadow: 0px 6px 21px 0px rgba(0,0,0,0.3);
|
||||||
|
border-radius: 6px;
|
||||||
|
.title{
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
background: #E3ECF1;
|
||||||
|
border-radius: 6px 6px 0px 0px;
|
||||||
|
@include fontWeightSize(16px,bold);
|
||||||
|
color: #262628;
|
||||||
|
}
|
||||||
|
.textWrap{
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 15px 25px;
|
||||||
|
.ipt{
|
||||||
|
width: 100%;
|
||||||
|
height: 52px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 5px;
|
||||||
|
background: #ECF4F9;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: 1px solid #3364B7;
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btnWrap div{
|
||||||
|
width: 130px;
|
||||||
|
@include all-height(40px);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
::v-deep .van-field__control{
|
||||||
|
border: 1px solid #eee8e8 !important;
|
||||||
|
}
|
||||||
|
.navBar{
|
||||||
|
margin-bottom: 46px;
|
||||||
|
}
|
||||||
|
.wrap{
|
||||||
|
background-color: #F4F5F7;
|
||||||
|
}
|
||||||
|
.flowWrap{
|
||||||
|
height: calc(100% - 120px);
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.line{
|
||||||
|
margin: 5px 0;
|
||||||
|
width: 325px;
|
||||||
|
border-bottom: 2px solid;
|
||||||
|
opacity: 0.16;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
.commonTitle{
|
||||||
|
@include fontWeightSize(14px,bold);
|
||||||
|
@include colHeight( #323643,20px);
|
||||||
|
}
|
||||||
|
.detailInfo{
|
||||||
|
width: 100%;
|
||||||
|
background: #FFFFFF;
|
||||||
|
@include sizing4Padding(13px,25px,14px,24px);
|
||||||
|
margin-bottom: 10px;
|
||||||
|
.line1{
|
||||||
|
@include flexColBet;
|
||||||
|
line-height: 23px;
|
||||||
|
.leftTitle{
|
||||||
|
opacity: .66;
|
||||||
|
}
|
||||||
|
.right{
|
||||||
|
@include flexCenter;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.opa{
|
||||||
|
display: inline-block;
|
||||||
|
width: 60px;
|
||||||
|
@include colorOpa(#000000,.5);
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 27px;
|
||||||
|
}
|
||||||
|
.shopName{
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
|
.textarea{
|
||||||
|
width: calc(100% - 60px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.project{
|
||||||
|
color: #E8A524;
|
||||||
|
//width: calc(100% - 60px);
|
||||||
|
}
|
||||||
|
.shopImgList{
|
||||||
|
margin-top: 6px;
|
||||||
|
@include flexColBet;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
img{
|
||||||
|
background: #FAFAFA;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: 1px solid #EAEAEA;
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
@include wh(154px,93px);
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.approvalContent{
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
width: 100%;
|
||||||
|
@include sizing4Padding(13px,25px,24px,25px);
|
||||||
|
.title {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
.multiple{
|
||||||
|
@include wh(100%,125px);
|
||||||
|
background: #FAFAFA;
|
||||||
|
border: 1px solid #E6E6E6;
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
@include sizingPadRadius(7px,10px,3px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.resultWrap{
|
||||||
|
width: 100%;
|
||||||
|
background: #FFFFFF;
|
||||||
|
@include sizing4Padding(12px,23px,16px,24px);
|
||||||
|
@include flexBetween;
|
||||||
|
.title {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
.result{
|
||||||
|
@include flexColBet;
|
||||||
|
}
|
||||||
|
.right{
|
||||||
|
@include flexCenter;
|
||||||
|
}
|
||||||
|
.commonImg{
|
||||||
|
@include widHeiMar(13px,13px,4px);
|
||||||
|
}
|
||||||
|
.time{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.reason {
|
||||||
|
font-size: 13px;
|
||||||
|
color: #FF5D2E;
|
||||||
|
line-height: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btnWrap{
|
||||||
|
@include wh(100%, 54px);
|
||||||
|
@include sizingPadding(0,30px);
|
||||||
|
@include flexBetCen;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 12px;
|
||||||
|
background-color: #F4F5F7;
|
||||||
|
div{
|
||||||
|
@include wh(152px, 48px);
|
||||||
|
line-height: 48px;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 5px;
|
||||||
|
@include fontWeightSize(15px,bold);
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.noPass{
|
||||||
|
background: #9EA7C0;
|
||||||
|
}
|
||||||
|
.pass{
|
||||||
|
background: #354D93;
|
||||||
|
}
|
||||||
|
.stoping{
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
242
src/views/vehicle-maintenance/vehicle-maintenance-list.vue
Normal file
242
src/views/vehicle-maintenance/vehicle-maintenance-list.vue
Normal file
@ -0,0 +1,242 @@
|
|||||||
|
<template>
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="navBar">
|
||||||
|
<van-nav-bar
|
||||||
|
title="车辆维保"
|
||||||
|
:left-arrow="isShowBackBtn ? true : false"
|
||||||
|
left-arrow-color="#FFFFFF"
|
||||||
|
:border="false"
|
||||||
|
:fixed="true"
|
||||||
|
:safe-area-inset-top="true"
|
||||||
|
@click-left="goPrePage"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="tab_wrap">
|
||||||
|
<div v-for="(item, index) in tabArr" :key="index"
|
||||||
|
@click="changeTab(index)">
|
||||||
|
<span :class="{'active' : activeIndex == index , 'alpha' :true}"> {{ item.name }}</span>
|
||||||
|
<span class="numTip" style="opacity: 1 !important;" v-if="index===0 && item.num">{{item.num}}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<van-pull-refresh class="refresh" v-model="isLoading" @refresh="onRefresh" v-show="!show">
|
||||||
|
<van-list
|
||||||
|
v-model="loading"
|
||||||
|
:finished="finished"
|
||||||
|
finished-text="没有更多了"
|
||||||
|
@load="onLoad"
|
||||||
|
>
|
||||||
|
<div class="listWrap">
|
||||||
|
<div class="listItem" @click="noMultipleClicks(goPageDetail,item)" v-for="(item,index) in pageList" :key="index">
|
||||||
|
<div class="line1">
|
||||||
|
<div class="title">{{item.stage}}</div>
|
||||||
|
<div class="right">
|
||||||
|
<img class="commonImg" :src="getStatus(item.states?.code)">
|
||||||
|
<div :class="getStatusColor(item.states?.code)">{{ item.states?.label }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="driverInfo">{{ item.vehicleName }} / {{ item.plateNumber }}</div>
|
||||||
|
<div class="time">{{ item.createTime }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</van-list>
|
||||||
|
</van-pull-refresh>
|
||||||
|
<div class="bgEmptyImg" v-show="show" >
|
||||||
|
<img src="@/assets/empty.png" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {myMixins} from "@/utils/myMixins"
|
||||||
|
import {vehicleMaintenanceList,vehicleMaintenanceCount} from "@/api/maintenance"
|
||||||
|
export default {
|
||||||
|
name: "vehicle-maintenance-list",
|
||||||
|
mixins:[myMixins],
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
id:'',
|
||||||
|
tabArr: [ {name: '待审批', status: 2,num:0 },{name: '已审批', status: 2,num:0 },],
|
||||||
|
activeIndex: 0,
|
||||||
|
pageList:[],
|
||||||
|
pageNum:1,
|
||||||
|
pageSize:10,
|
||||||
|
total:'',
|
||||||
|
noClick:true,
|
||||||
|
isShowBackBtn:true,
|
||||||
|
inApprovalCount:0,
|
||||||
|
status:'',
|
||||||
|
isLoading:"",
|
||||||
|
loading: false,
|
||||||
|
finished: false,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
|
this.status=urlParams.get('status')
|
||||||
|
if(this.status=='crm' || this.$route.params.status == 'crm' ){//后台进入此页面没有返回按钮
|
||||||
|
this.isShowBackBtn=false
|
||||||
|
}else{
|
||||||
|
this.isShowBackBtn=true
|
||||||
|
}
|
||||||
|
this.activeIndex=this.$route.params?.activeIndex || 0
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
computed:{
|
||||||
|
show() {
|
||||||
|
return (this.pageList.length < 0 || this.pageList.length == 0); // 判断数组长度是否大于 0
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
async onLoad(){
|
||||||
|
this.pageNum++;
|
||||||
|
await this.getList()
|
||||||
|
this.loading = false;
|
||||||
|
console.log("this.pageList.length",this.pageList.length)
|
||||||
|
console.log("this.total",this.total)
|
||||||
|
|
||||||
|
if (this.pageList.length >= this.total) {
|
||||||
|
this.finished = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
goPrePage(){
|
||||||
|
this.$router.push({ name: 'toDoList' });
|
||||||
|
},
|
||||||
|
// 1申请审批,2申请不通过,3申请通过,4完成审批中,5完成不通过,6完成通过,9维保终止
|
||||||
|
getStatusColor(i){
|
||||||
|
switch (i){
|
||||||
|
case 1://
|
||||||
|
case 4://
|
||||||
|
return 'yelColor'
|
||||||
|
case 2://
|
||||||
|
case 5://
|
||||||
|
return 'redColor'
|
||||||
|
case 3://
|
||||||
|
case 6://
|
||||||
|
return 'greColor'
|
||||||
|
case 9://
|
||||||
|
return 'garyColor'
|
||||||
|
default:
|
||||||
|
return 'yelColor'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getStatus(i){
|
||||||
|
switch (i){
|
||||||
|
case 1://
|
||||||
|
case 4://
|
||||||
|
return require('@/assets/waitSubmit.png')
|
||||||
|
case 2://审核通过
|
||||||
|
case 5://已打款
|
||||||
|
return require('@/assets/unpass.png')
|
||||||
|
case 3://
|
||||||
|
case 6://
|
||||||
|
return require('@/assets/dakuan.png')
|
||||||
|
case 9://报销失败
|
||||||
|
return require('@/assets/unSubmit.png')
|
||||||
|
default:
|
||||||
|
return require('@/assets/waitSubmit.png')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
/* onRefresh() {
|
||||||
|
vehicleMaintenanceCount();
|
||||||
|
// this.getList()
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$toast('刷新成功');
|
||||||
|
this.isLoading = false;
|
||||||
|
}, 1000);
|
||||||
|
},*/
|
||||||
|
onRefresh() {
|
||||||
|
vehicleMaintenanceCount();
|
||||||
|
this.pageNum=1
|
||||||
|
// this.getList()
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$toast('刷新成功');
|
||||||
|
this.isLoading = false;
|
||||||
|
}, 1000);
|
||||||
|
},
|
||||||
|
async changeTab(index) {
|
||||||
|
this.activeIndex = index
|
||||||
|
this.pageNum = 1
|
||||||
|
this.pageList = [];
|
||||||
|
this.total=0
|
||||||
|
await this.getList()
|
||||||
|
},
|
||||||
|
async getList() {
|
||||||
|
let result=await vehicleMaintenanceCount();
|
||||||
|
if(result.code==200 && result.data){
|
||||||
|
this.tabArr[0].num=result.data.inApprovalCount
|
||||||
|
}
|
||||||
|
let res=await vehicleMaintenanceList ({
|
||||||
|
pageNum:this.pageNum,
|
||||||
|
pageSize:this.pageSize,
|
||||||
|
queryType:this.activeIndex+1,
|
||||||
|
})
|
||||||
|
// this.pageList=res.data
|
||||||
|
// console.log("===",this.pageList)
|
||||||
|
this.total=res.total
|
||||||
|
if(this.pageNum == 1){// 第一页直接赋值
|
||||||
|
this.pageList=res.data
|
||||||
|
}else{// 第二页数据拼接
|
||||||
|
console.log("第二页数据拼接")
|
||||||
|
let preList = this.pageList;
|
||||||
|
// console.log("preList",preList)
|
||||||
|
let arr = res.data;
|
||||||
|
// console.log("arr",arr)
|
||||||
|
this.pageList = preList.concat(arr)
|
||||||
|
console.log("this.pageList====",this.pageList)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
goPageDetail(item){
|
||||||
|
this.$router.push({
|
||||||
|
name: 'maintenanceApplication', // 目标路由的名称
|
||||||
|
params: {
|
||||||
|
info:item,
|
||||||
|
activeIndex:this.activeIndex,
|
||||||
|
status:this.status,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "@/styles/mixin.scss";
|
||||||
|
@import "@/styles/common.scss";
|
||||||
|
@import "@/styles/approval.scss";
|
||||||
|
.wrap{
|
||||||
|
@include wh(100%,100%);
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.navBar{
|
||||||
|
margin-bottom: 46px;
|
||||||
|
}
|
||||||
|
::v-deep .van-list__finished-text{
|
||||||
|
background-color: #F4F5F7 !important;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
::v-deep .van-pull-refresh{
|
||||||
|
height: calc(100% - 86px) ;
|
||||||
|
overflow-y: auto;
|
||||||
|
background-color: #F4F5F7;
|
||||||
|
}
|
||||||
|
.listItem{
|
||||||
|
padding: 11px 28px 11px 23px;
|
||||||
|
div{
|
||||||
|
.title{
|
||||||
|
@include fontWeightSize(bold,14px);
|
||||||
|
line-height: 20px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
.right{
|
||||||
|
@include flexCenter();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.driverInfo{
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 18px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -39,22 +39,20 @@
|
|||||||
<span class="titleLeft">结算类型:</span>
|
<span class="titleLeft">结算类型:</span>
|
||||||
<span class="content" >{{ orderInfo.settleType?.label }}</span>
|
<span class="content" >{{ orderInfo.settleType?.label }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item" >
|
<div class="item">
|
||||||
<span class="titleLeft">结算方式:</span>
|
<span class="titleLeft">结算方式:</span>
|
||||||
<div class="content" style="width: calc(100% - 84px);display: flex;justify-content: space-between;line-height: 27px" >
|
<span class="content" >{{orderInfo.taskSettleType?.label }}</span>
|
||||||
<span>{{orderInfo.taskSettleType?.label}}</span>
|
<span class="driverPoiBtn" v-if="settleDetail.length>0" style="margin-left: 8px" @click="viewSettlementDoc">查看结算单</span>
|
||||||
<!-- <span>包含公里数:15</span>-->
|
|
||||||
<!-- <span>超出单价:6</span>-->
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class="titleLeft">扣除责任险费:</span>
|
<span class="titleLeft">扣除责任险费:</span>
|
||||||
<span class="content">{{orderInfo.policyAmount}} {{orderInfo.cutInsuranceAmount}}</span>
|
<span class="content">{{orderInfo.policyAmount}} {{orderInfo.cutInsuranceAmount==1 ? '是' : (orderInfo.cutInsuranceAmount==0 ? '否' : ' ')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class="leftTitle fontColor">工单照片:</span><span class="rightContent">
|
<span class="leftTitle fontColor">工单照片:</span>
|
||||||
|
<span class="rightContent">
|
||||||
<span class="driverPoiBtn" @click="checkPhoto">查看照片</span>
|
<span class="driverPoiBtn" @click="checkPhoto">查看照片</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="supplierData common" v-show="!auditFormShow">
|
<div class="supplierData common" v-show="!auditFormShow">
|
||||||
@ -210,7 +208,8 @@
|
|||||||
<div class="title" style="margin-bottom: 8px"> 备注:{{orderInfo.supplierRemark}}</div>
|
<div class="title" style="margin-bottom: 8px"> 备注:{{orderInfo.supplierRemark}}</div>
|
||||||
<div class="title" style="margin-bottom: 8px"> 本次补充说明:</div>
|
<div class="title" style="margin-bottom: 8px"> 本次补充说明:</div>
|
||||||
<div style="display: flex;margin-bottom: 5px">
|
<div style="display: flex;margin-bottom: 5px">
|
||||||
<img v-for="(item,index) in supplierPhotoList" :key="index" class="supplierImg" :src="item.url" @click="delSupplierPhoto(item)">
|
<!-- @click="delSupplierPhoto(item) -->
|
||||||
|
<img v-for="(item,index) in supplierPhotoList" :key="index" class="supplierImg" :src="item.url" @click="viewHandle(item)">
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex" >
|
<div style="display: flex" >
|
||||||
<van-uploader
|
<van-uploader
|
||||||
@ -226,7 +225,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<van-dialog v-model="show" title="确定删除此照片吗" show-cancel-button @confirm="handleConfirm"></van-dialog>
|
<van-dialog v-model="show" title="确定删除此照片吗" show-cancel-button @confirm="handleConfirm"></van-dialog>
|
||||||
<!-- <two-common-btn v-show="auditFormShow" class="btn" title1="提交" title2="确定审核" @submitClick1="save" @submitClick="save" />-->
|
|
||||||
<div class="btn" v-show="auditFormShow">
|
<div class="btn" v-show="auditFormShow">
|
||||||
<button v-if="orderInfo.checkCount < 3" :class="{'submit' : true,'loading' : loading}" @click="noMultipleClicks(save)">提交</button>
|
<button v-if="orderInfo.checkCount < 3" :class="{'submit' : true,'loading' : loading}" @click="noMultipleClicks(save)">提交</button>
|
||||||
<button v-if="accountStatus == 2 || accountStatus == 3" :class="{'submit' : true,'loading1' : loading1}" @click="noMultipleClicks(confirmAudit)" >确定审核</button>
|
<button v-if="accountStatus == 2 || accountStatus == 3" :class="{'submit' : true,'loading1' : loading1}" @click="noMultipleClicks(confirmAudit)" >确定审核</button>
|
||||||
@ -243,7 +241,7 @@ import {
|
|||||||
selectRecordPictureList, deleteImage
|
selectRecordPictureList, deleteImage
|
||||||
} from "@/api/mine"
|
} from "@/api/mine"
|
||||||
import { ImagePreview } from "vant";
|
import { ImagePreview } from "vant";
|
||||||
// import TwoCommonBtn from "@/components/twoBtnCommon.vue"
|
import {orderReportingList} from "@/api/order";
|
||||||
export default {
|
export default {
|
||||||
name: "accountingView",
|
name: "accountingView",
|
||||||
mixins:[myMixins],
|
mixins:[myMixins],
|
||||||
@ -356,7 +354,8 @@ export default {
|
|||||||
},
|
},
|
||||||
noClick:true,
|
noClick:true,
|
||||||
loading: false,
|
loading: false,
|
||||||
loading1: false
|
loading1: false,
|
||||||
|
settleDetail:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
@ -366,6 +365,7 @@ export default {
|
|||||||
this.queryTime = this.$route.params?.queryTime
|
this.queryTime = this.$route.params?.queryTime
|
||||||
this.$nextTick(async ()=>{
|
this.$nextTick(async ()=>{
|
||||||
await this.getDetail()
|
await this.getDetail()
|
||||||
|
await this.getSettlementDetail()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
@ -383,12 +383,20 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
viewSettlementDoc(){//查看结算单
|
||||||
|
this.$router.push({
|
||||||
|
name:"settlementDetail",
|
||||||
|
params:{
|
||||||
|
id: this.id, // 参数对象的属性
|
||||||
|
postfix:this.postfix,
|
||||||
|
index:this.activeIndex,
|
||||||
|
queryTime: this.time || this.queryTime,
|
||||||
|
settleDetailList:this.settleDetail
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
checkPhoto(){
|
checkPhoto(){
|
||||||
let isAllowImage = 1
|
let isAllowImage = 1
|
||||||
console.log("this.orderInfo.userOrderId",this.orderInfo.userOrderId)
|
|
||||||
console.log("this.orderInfo.orderCode",this.orderInfo.orderCode)
|
|
||||||
console.log("this.orderInfo.taskOrderId",this.orderInfo.taskOrderId)
|
|
||||||
console.log("isAllowImage",isAllowImage)
|
|
||||||
let data = {
|
let data = {
|
||||||
"action": "orderPhoto",
|
"action": "orderPhoto",
|
||||||
"params": {
|
"params": {
|
||||||
@ -416,12 +424,26 @@ export default {
|
|||||||
startPosition: index,
|
startPosition: index,
|
||||||
closeable: true,
|
closeable: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
async getSettlementDetail(){
|
||||||
|
let res = await orderReportingList({
|
||||||
|
queryType:7,
|
||||||
|
userOrderId:this.orderInfo.userOrderId,
|
||||||
|
orderCode: this.orderInfo.orderCode,
|
||||||
|
taskOrderId:this.orderInfo.taskOrderId,
|
||||||
|
searchCostRemark:1
|
||||||
|
})
|
||||||
|
this.settleDetail=res.data
|
||||||
|
console.log("工单列表接口res",this.settleDetail)
|
||||||
},
|
},
|
||||||
handleFileRead(file) {
|
handleFileRead(file) {
|
||||||
console.log("file",file)
|
console.log("file",file)
|
||||||
},
|
},
|
||||||
|
viewHandle(i){
|
||||||
|
console.log("ii",i)
|
||||||
|
},
|
||||||
goback(){
|
goback(){
|
||||||
// console.log("aaaaa",this.queryTime)
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name:"workOrderReconciliation",
|
name:"workOrderReconciliation",
|
||||||
params:{
|
params:{
|
||||||
@ -449,8 +471,7 @@ export default {
|
|||||||
this.form.supplierBasePrice = dilemmaBasePrice
|
this.form.supplierBasePrice = dilemmaBasePrice
|
||||||
this.form.supplierExtraPrice = 0
|
this.form.supplierExtraPrice = 0
|
||||||
this.form.supplierSettleAmount = dilemmaBasePrice - (parseFloat(this.form.supplierCustomerAmount) || 0)
|
this.form.supplierSettleAmount = dilemmaBasePrice - (parseFloat(this.form.supplierCustomerAmount) || 0)
|
||||||
// console.log("困境案件费用总计",this.form.supplierSettleAmount)
|
}else{
|
||||||
}else{
|
|
||||||
let data = await accountRecordCompute( {
|
let data = await accountRecordCompute( {
|
||||||
...this.form,
|
...this.form,
|
||||||
settleType:this.orderInfo.settleType?.code
|
settleType:this.orderInfo.settleType?.code
|
||||||
@ -458,12 +479,10 @@ export default {
|
|||||||
this.form.supplierBasePrice = data.data.basePrice
|
this.form.supplierBasePrice = data.data.basePrice
|
||||||
this.form.supplierExtraPrice = data.data.extraPrice
|
this.form.supplierExtraPrice = data.data.extraPrice
|
||||||
this.form.supplierSettleAmount = data.data.totalPrice
|
this.form.supplierSettleAmount = data.data.totalPrice
|
||||||
// console.log("计算",this.form.supplierSettleAmount)
|
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
if(this.form.cutInsuranceAmount == 1 && this.form.policyState === 0){
|
if(this.form.cutInsuranceAmount == 1 && this.form.policyState === 0){
|
||||||
this.form.supplierSettleAmount = parseFloat(parseFloat(this.form.supplierSettleAmount) - parseFloat(this.form.policyAmount || 0)).toFixed(2)
|
this.form.supplierSettleAmount = parseFloat(parseFloat(this.form.supplierSettleAmount) - parseFloat(this.form.policyAmount || 0)).toFixed(2)
|
||||||
// console.log("有责任险",this.form.supplierSettleAmount)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async pictureList(){
|
async pictureList(){
|
||||||
@ -785,16 +804,17 @@ export default {
|
|||||||
.rightContent{
|
.rightContent{
|
||||||
width: calc(100% - 90px);
|
width: calc(100% - 90px);
|
||||||
@include fontWeightSize(bold,12px);
|
@include fontWeightSize(bold,12px);
|
||||||
.driverPoiBtn{
|
|
||||||
display: inline-block;
|
}
|
||||||
padding: 3px 8px;
|
.driverPoiBtn{
|
||||||
@include bgFontColor(#FFFFFF,#354D93);
|
display: inline-block;
|
||||||
opacity: .7;
|
padding: 3px 8px;
|
||||||
border-radius: 3px;
|
@include bgFontColor(#FFFFFF,#354D93);
|
||||||
text-align: center;
|
opacity: .7;
|
||||||
//margin-left: 6px;
|
border-radius: 3px;
|
||||||
cursor: pointer;
|
text-align: center;
|
||||||
}
|
//margin-left: 6px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
img{
|
img{
|
||||||
|
@ -163,7 +163,6 @@ export default {
|
|||||||
this.postfix=this.$route.params?.postfix;
|
this.postfix=this.$route.params?.postfix;
|
||||||
this.index=this.$route.params?.index;
|
this.index=this.$route.params?.index;
|
||||||
this.queryTime = this.$route.params?.queryTime
|
this.queryTime = this.$route.params?.queryTime
|
||||||
console.log("111111111111",this.$route.params?.queryTime)
|
|
||||||
await this.getDetail()
|
await this.getDetail()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
113
src/views/workOrder/settlementDetail.vue
Normal file
113
src/views/workOrder/settlementDetail.vue
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
<template>
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="navBar">
|
||||||
|
<van-nav-bar
|
||||||
|
title="结算单详情"
|
||||||
|
left-arrow
|
||||||
|
left-arrow-color="#FFFFFF"
|
||||||
|
:border="false"
|
||||||
|
:fixed="true"
|
||||||
|
:safe-area-inset-top="true"
|
||||||
|
@click-left="goback"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="baseInfo">
|
||||||
|
<div class="itemWrap" v-for="(item,index) in settleDetailList" :key="index">{{item.remark}}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {myMixins} from "@/utils/myMixins"
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "settlementDetail",
|
||||||
|
mixins:[myMixins],
|
||||||
|
data(){
|
||||||
|
return{
|
||||||
|
id:'',
|
||||||
|
postfix:'',
|
||||||
|
orderInfo:{},
|
||||||
|
index:"",
|
||||||
|
queryTime:'',//记录工单对账选择的时间
|
||||||
|
settleDetailList:[]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async mounted() {
|
||||||
|
this.id=this.$route.params?.id;
|
||||||
|
this.postfix=this.$route.params?.postfix;
|
||||||
|
this.index=this.$route.params?.index;
|
||||||
|
this.queryTime = this.$route.params?.queryTime
|
||||||
|
this.settleDetailList=this.$route.params?.settleDetailList
|
||||||
|
console.log(" this.settleDetailList", this.settleDetailList)
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
goback(){
|
||||||
|
this.$router.push({
|
||||||
|
name:"accountingView",
|
||||||
|
params:{
|
||||||
|
id: this.id, // 参数对象的属性
|
||||||
|
postfix:this.postfix,
|
||||||
|
activeIndex:this.index,
|
||||||
|
queryTime:this.queryTime
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "@/styles/mixin.scss";
|
||||||
|
@import "@/styles/common.scss";
|
||||||
|
.wrap{
|
||||||
|
@include wh(100%,100%);
|
||||||
|
background-color: #F4F5F7;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.navBar{
|
||||||
|
margin-bottom: 46px;
|
||||||
|
}
|
||||||
|
.title{
|
||||||
|
@include fontWeightSize(bold,14px);
|
||||||
|
@include colorOpa(#323643,0.66);
|
||||||
|
}
|
||||||
|
.line{
|
||||||
|
@include wh(100%,2px);
|
||||||
|
opacity: 0.16;
|
||||||
|
border-top: 1px solid;
|
||||||
|
margin-top: 7px;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
.item{
|
||||||
|
@include flexCenter;
|
||||||
|
font-size: 12px !important;
|
||||||
|
font-weight: 400 !important;
|
||||||
|
.titleLeft{
|
||||||
|
opacity: .5;
|
||||||
|
line-height: 27px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.itemWrap{
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img{
|
||||||
|
@include wh(35px,15px);
|
||||||
|
margin-left: 21px;
|
||||||
|
}
|
||||||
|
/*.common{
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
padding: 11px 24px 14px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}*/
|
||||||
|
.baseInfo{
|
||||||
|
@include wh(100%,100%);
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
117
yarn.lock
117
yarn.lock
@ -287,6 +287,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.10.tgz#e37634f9a12a1716136c44624ef54283cabd3f55"
|
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.10.tgz#e37634f9a12a1716136c44624ef54283cabd3f55"
|
||||||
integrity sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ==
|
integrity sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ==
|
||||||
|
|
||||||
|
"@babel/parser@^7.23.5":
|
||||||
|
version "7.24.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.7.tgz#9a5226f92f0c5c8ead550b750f5608e766c8ce85"
|
||||||
|
integrity sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==
|
||||||
|
|
||||||
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.22.5":
|
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.22.5":
|
||||||
version "7.22.5"
|
version "7.22.5"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.5.tgz#87245a21cd69a73b0b81bcda98d443d6df08f05e"
|
resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.5.tgz#87245a21cd69a73b0b81bcda98d443d6df08f05e"
|
||||||
@ -1613,6 +1618,17 @@
|
|||||||
postcss "^8.4.14"
|
postcss "^8.4.14"
|
||||||
source-map "^0.6.1"
|
source-map "^0.6.1"
|
||||||
|
|
||||||
|
"@vue/compiler-sfc@2.7.16":
|
||||||
|
version "2.7.16"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-2.7.16.tgz#ff81711a0fac9c68683d8bb00b63f857de77dc83"
|
||||||
|
integrity sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==
|
||||||
|
dependencies:
|
||||||
|
"@babel/parser" "^7.23.5"
|
||||||
|
postcss "^8.4.14"
|
||||||
|
source-map "^0.6.1"
|
||||||
|
optionalDependencies:
|
||||||
|
prettier "^1.18.2 || ^2.0.0"
|
||||||
|
|
||||||
"@vue/component-compiler-utils@^3.1.0", "@vue/component-compiler-utils@^3.3.0":
|
"@vue/component-compiler-utils@^3.1.0", "@vue/component-compiler-utils@^3.3.0":
|
||||||
version "3.3.0"
|
version "3.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.3.0.tgz#f9f5fb53464b0c37b2c8d2f3fbfe44df60f61dc9"
|
resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.3.0.tgz#f9f5fb53464b0c37b2c8d2f3fbfe44df60f61dc9"
|
||||||
@ -1942,6 +1958,13 @@ astral-regex@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
|
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
|
||||||
integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
|
integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
|
||||||
|
|
||||||
|
async-validator@~1.8.1:
|
||||||
|
version "1.8.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-1.8.5.tgz#dc3e08ec1fd0dddb67e60842f02c0cd1cec6d7f0"
|
||||||
|
integrity sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==
|
||||||
|
dependencies:
|
||||||
|
babel-runtime "6.x"
|
||||||
|
|
||||||
async@^2.6.4:
|
async@^2.6.4:
|
||||||
version "2.6.4"
|
version "2.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221"
|
resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221"
|
||||||
@ -1980,6 +2003,11 @@ axios@^1.4.0:
|
|||||||
form-data "^4.0.0"
|
form-data "^4.0.0"
|
||||||
proxy-from-env "^1.1.0"
|
proxy-from-env "^1.1.0"
|
||||||
|
|
||||||
|
babel-helper-vue-jsx-merge-props@^2.0.0:
|
||||||
|
version "2.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz#22aebd3b33902328e513293a8e4992b384f9f1b6"
|
||||||
|
integrity sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==
|
||||||
|
|
||||||
babel-loader@^8.2.2:
|
babel-loader@^8.2.2:
|
||||||
version "8.3.0"
|
version "8.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.3.0.tgz#124936e841ba4fe8176786d6ff28add1f134d6a8"
|
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.3.0.tgz#124936e841ba4fe8176786d6ff28add1f134d6a8"
|
||||||
@ -2021,6 +2049,14 @@ babel-plugin-polyfill-regenerator@^0.5.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@babel/helper-define-polyfill-provider" "^0.4.2"
|
"@babel/helper-define-polyfill-provider" "^0.4.2"
|
||||||
|
|
||||||
|
babel-runtime@6.x:
|
||||||
|
version "6.26.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
|
||||||
|
integrity sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==
|
||||||
|
dependencies:
|
||||||
|
core-js "^2.4.0"
|
||||||
|
regenerator-runtime "^0.11.0"
|
||||||
|
|
||||||
balanced-match@^1.0.0:
|
balanced-match@^1.0.0:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
||||||
@ -2463,6 +2499,11 @@ core-js-compat@^3.31.0, core-js-compat@^3.8.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
browserslist "^4.21.9"
|
browserslist "^4.21.9"
|
||||||
|
|
||||||
|
core-js@^2.4.0:
|
||||||
|
version "2.6.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec"
|
||||||
|
integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==
|
||||||
|
|
||||||
core-js@^3.8.3:
|
core-js@^3.8.3:
|
||||||
version "3.32.0"
|
version "3.32.0"
|
||||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.32.0.tgz#7643d353d899747ab1f8b03d2803b0312a0fb3b6"
|
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.32.0.tgz#7643d353d899747ab1f8b03d2803b0312a0fb3b6"
|
||||||
@ -2634,6 +2675,11 @@ csstype@^3.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b"
|
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b"
|
||||||
integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==
|
integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==
|
||||||
|
|
||||||
|
dayjs@^1.8.14:
|
||||||
|
version "1.11.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.11.tgz#dfe0e9d54c5f8b68ccf8ca5f72ac603e7e5ed59e"
|
||||||
|
integrity sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==
|
||||||
|
|
||||||
de-indent@^1.0.2:
|
de-indent@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
|
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
|
||||||
@ -2665,7 +2711,7 @@ deep-is@^0.1.3:
|
|||||||
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
|
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
|
||||||
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
|
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
|
||||||
|
|
||||||
deepmerge@^1.5.2:
|
deepmerge@^1.2.0, deepmerge@^1.5.2:
|
||||||
version "1.5.2"
|
version "1.5.2"
|
||||||
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-1.5.2.tgz#10499d868844cdad4fee0842df8c7f6f0c95a753"
|
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-1.5.2.tgz#10499d868844cdad4fee0842df8c7f6f0c95a753"
|
||||||
integrity sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==
|
integrity sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==
|
||||||
@ -2813,6 +2859,14 @@ easy-stack@1.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/easy-stack/-/easy-stack-1.0.1.tgz#8afe4264626988cabb11f3c704ccd0c835411066"
|
resolved "https://registry.yarnpkg.com/easy-stack/-/easy-stack-1.0.1.tgz#8afe4264626988cabb11f3c704ccd0c835411066"
|
||||||
integrity sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w==
|
integrity sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w==
|
||||||
|
|
||||||
|
echarts@^5.2.2:
|
||||||
|
version "5.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/echarts/-/echarts-5.5.0.tgz#c13945a7f3acdd67c134d8a9ac67e917830113ac"
|
||||||
|
integrity sha512-rNYnNCzqDAPCr4m/fqyUFv7fD9qIsd50S6GDFgO1DxZhncCsNsG7IfUlAlvZe5oSEQxtsjnHiUuppzccry93Xw==
|
||||||
|
dependencies:
|
||||||
|
tslib "2.3.0"
|
||||||
|
zrender "5.5.0"
|
||||||
|
|
||||||
ee-first@1.1.1:
|
ee-first@1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
|
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
|
||||||
@ -2823,6 +2877,18 @@ electron-to-chromium@^1.4.477:
|
|||||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.487.tgz#e2ef8b15f2791bf68fa6f38f2656f1a551d360ae"
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.487.tgz#e2ef8b15f2791bf68fa6f38f2656f1a551d360ae"
|
||||||
integrity sha512-XbCRs/34l31np/p33m+5tdBrdXu9jJkZxSbNxj5I0H1KtV2ZMSB+i/HYqDiRzHaFx2T5EdytjoBRe8QRJE2vQg==
|
integrity sha512-XbCRs/34l31np/p33m+5tdBrdXu9jJkZxSbNxj5I0H1KtV2ZMSB+i/HYqDiRzHaFx2T5EdytjoBRe8QRJE2vQg==
|
||||||
|
|
||||||
|
element-ui@^2.15.9:
|
||||||
|
version "2.15.14"
|
||||||
|
resolved "https://registry.yarnpkg.com/element-ui/-/element-ui-2.15.14.tgz#3c34df79467636592812d720d2e6784e7a6ec2ea"
|
||||||
|
integrity sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==
|
||||||
|
dependencies:
|
||||||
|
async-validator "~1.8.1"
|
||||||
|
babel-helper-vue-jsx-merge-props "^2.0.0"
|
||||||
|
deepmerge "^1.2.0"
|
||||||
|
normalize-wheel "^1.0.1"
|
||||||
|
resize-observer-polyfill "^1.5.0"
|
||||||
|
throttle-debounce "^1.0.1"
|
||||||
|
|
||||||
emoji-regex@^8.0.0:
|
emoji-regex@^8.0.0:
|
||||||
version "8.0.0"
|
version "8.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
|
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
|
||||||
@ -4398,6 +4464,11 @@ normalize-url@^6.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a"
|
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a"
|
||||||
integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==
|
integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==
|
||||||
|
|
||||||
|
normalize-wheel@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz#aec886affdb045070d856447df62ecf86146ec45"
|
||||||
|
integrity sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA==
|
||||||
|
|
||||||
npm-run-path@^2.0.0:
|
npm-run-path@^2.0.0:
|
||||||
version "2.0.2"
|
version "2.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
|
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
|
||||||
@ -5137,6 +5208,11 @@ regenerate@^1.4.2:
|
|||||||
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a"
|
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a"
|
||||||
integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==
|
integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==
|
||||||
|
|
||||||
|
regenerator-runtime@^0.11.0:
|
||||||
|
version "0.11.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
|
||||||
|
integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==
|
||||||
|
|
||||||
regenerator-runtime@^0.14.0:
|
regenerator-runtime@^0.14.0:
|
||||||
version "0.14.0"
|
version "0.14.0"
|
||||||
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45"
|
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45"
|
||||||
@ -5204,6 +5280,11 @@ requires-port@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
|
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
|
||||||
integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==
|
integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==
|
||||||
|
|
||||||
|
resize-observer-polyfill@^1.5.0, resize-observer-polyfill@^1.5.1:
|
||||||
|
version "1.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464"
|
||||||
|
integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==
|
||||||
|
|
||||||
resolve-from@^4.0.0:
|
resolve-from@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
|
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
|
||||||
@ -5775,6 +5856,11 @@ thread-loader@^3.0.0:
|
|||||||
neo-async "^2.6.2"
|
neo-async "^2.6.2"
|
||||||
schema-utils "^3.0.0"
|
schema-utils "^3.0.0"
|
||||||
|
|
||||||
|
throttle-debounce@^1.0.1:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz#51853da37be68a155cb6e827b3514a3c422e89cd"
|
||||||
|
integrity sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg==
|
||||||
|
|
||||||
thunky@^1.0.2:
|
thunky@^1.0.2:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d"
|
resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d"
|
||||||
@ -5807,6 +5893,11 @@ tr46@~0.0.3:
|
|||||||
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
|
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
|
||||||
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
|
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
|
||||||
|
|
||||||
|
tslib@2.3.0:
|
||||||
|
version "2.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"
|
||||||
|
integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==
|
||||||
|
|
||||||
tslib@^2.0.3, tslib@^2.3.0:
|
tslib@^2.0.3, tslib@^2.3.0:
|
||||||
version "2.6.1"
|
version "2.6.1"
|
||||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.1.tgz#fd8c9a0ff42590b25703c0acb3de3d3f4ede0410"
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.1.tgz#fd8c9a0ff42590b25703c0acb3de3d3f4ede0410"
|
||||||
@ -5939,6 +6030,7 @@ vary@~1.1.2:
|
|||||||
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
|
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
|
||||||
integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==
|
integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==
|
||||||
|
|
||||||
|
|
||||||
vue-eslint-parser@^8.0.1:
|
vue-eslint-parser@^8.0.1:
|
||||||
version "8.3.0"
|
version "8.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz#5d31129a1b3dd89c0069ca0a1c88f970c360bd0d"
|
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz#5d31129a1b3dd89c0069ca0a1c88f970c360bd0d"
|
||||||
@ -5984,6 +6076,14 @@ vue-style-loader@^4.1.0, vue-style-loader@^4.1.3:
|
|||||||
hash-sum "^1.0.2"
|
hash-sum "^1.0.2"
|
||||||
loader-utils "^1.0.2"
|
loader-utils "^1.0.2"
|
||||||
|
|
||||||
|
vue-template-compiler@^2.6.11:
|
||||||
|
version "2.7.16"
|
||||||
|
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.7.16.tgz#c81b2d47753264c77ac03b9966a46637482bb03b"
|
||||||
|
integrity sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==
|
||||||
|
dependencies:
|
||||||
|
de-indent "^1.0.2"
|
||||||
|
he "^1.2.0"
|
||||||
|
|
||||||
vue-template-compiler@^2.6.14:
|
vue-template-compiler@^2.6.14:
|
||||||
version "2.7.14"
|
version "2.7.14"
|
||||||
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz#4545b7dfb88090744c1577ae5ac3f964e61634b1"
|
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz#4545b7dfb88090744c1577ae5ac3f964e61634b1"
|
||||||
@ -5997,6 +6097,14 @@ vue-template-es2015-compiler@^1.9.0:
|
|||||||
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
|
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
|
||||||
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
|
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
|
||||||
|
|
||||||
|
vue@^2.6.12:
|
||||||
|
version "2.7.16"
|
||||||
|
resolved "https://registry.yarnpkg.com/vue/-/vue-2.7.16.tgz#98c60de9def99c0e3da8dae59b304ead43b967c9"
|
||||||
|
integrity sha512-4gCtFXaAA3zYZdTp5s4Hl2sozuySsgz4jy1EnpBHNfpMa9dK1ZCG7viqBPCwXtmgc8nHqUsAu3G4gtmXkkY3Sw==
|
||||||
|
dependencies:
|
||||||
|
"@vue/compiler-sfc" "2.7.16"
|
||||||
|
csstype "^3.1.0"
|
||||||
|
|
||||||
vue@^2.6.14:
|
vue@^2.6.14:
|
||||||
version "2.7.14"
|
version "2.7.14"
|
||||||
resolved "https://registry.yarnpkg.com/vue/-/vue-2.7.14.tgz#3743dcd248fd3a34d421ae456b864a0246bafb17"
|
resolved "https://registry.yarnpkg.com/vue/-/vue-2.7.14.tgz#3743dcd248fd3a34d421ae456b864a0246bafb17"
|
||||||
@ -6286,3 +6394,10 @@ yorkie@^2.0.0:
|
|||||||
is-ci "^1.0.10"
|
is-ci "^1.0.10"
|
||||||
normalize-path "^1.0.0"
|
normalize-path "^1.0.0"
|
||||||
strip-indent "^2.0.0"
|
strip-indent "^2.0.0"
|
||||||
|
|
||||||
|
zrender@5.5.0:
|
||||||
|
version "5.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/zrender/-/zrender-5.5.0.tgz#54d0d6c4eda81a96d9f60a9cd74dc48ea026bc1e"
|
||||||
|
integrity sha512-O3MilSi/9mwoovx77m6ROZM7sXShR/O/JIanvzTwjN3FORfLSr81PsUGd7jlaYOeds9d8tw82oP44+3YucVo+w==
|
||||||
|
dependencies:
|
||||||
|
tslib "2.3.0"
|
||||||
|
Reference in New Issue
Block a user