diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> =12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ =12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - @@ -137,6 +212,7 @@
测量设备 - {{ theMonthTotalData.testValue }} + {{ theMonthTotalData.measureSum }}
@@ -209,7 +287,7 @@
标准装置 - {{ theMonthTotalData.standardValue }} + {{ theMonthTotalData.standardSum }}
@@ -260,6 +338,7 @@
待检定设备数量 - {{ myEquipment.stay }} + {{ myEquipment.verifiedNum }}
超期未检定设备数量 - {{ myEquipment.not }} + {{ myEquipment.overtimeNum }}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - @@ -137,6 +212,7 @@
测量设备 - {{ theMonthTotalData.testValue }} + {{ theMonthTotalData.measureSum }}
@@ -209,7 +287,7 @@
标准装置 - {{ theMonthTotalData.standardValue }} + {{ theMonthTotalData.standardSum }}
@@ -260,6 +338,7 @@
待检定设备数量 - {{ myEquipment.stay }} + {{ myEquipment.verifiedNum }}
超期未检定设备数量 - {{ myEquipment.not }} + {{ myEquipment.overtimeNum }}
diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue index d905cc5..63e1ee8 100644 --- a/src/views/device/receive/applyList.vue +++ b/src/views/device/receive/applyList.vue @@ -27,8 +27,10 @@ const loadingTable = ref(false) // 表格loading const active = ref('0') // 选中的按钮 const approvalDialog = ref() // 审批对话框显隐 -const usePersonList = ref([]) // 申请人列表(用户) const useDeptList = ref([]) // 部门列表 +const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) // 申请人模糊搜索框loading // 查询条件 const listQuery: Ref = ref({ @@ -82,6 +84,7 @@ { text: '申请部门', value: 'applyUnitName', align: 'center' }, { text: '申请人', value: 'applyPersonName', align: 'center' }, { text: '领用时间', value: 'time', align: 'center' }, + { text: '申请说明', value: 'applyDesc', align: 'center' }, { text: '审批状态', value: 'approvalStatus', align: 'center' }, ]) // 选中的内容 @@ -315,10 +318,27 @@ fetchData(true) } -// 获取用户列表 +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + +// 获取用户列表(增加模糊查询) const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -363,8 +383,17 @@ - - + + @@ -374,8 +403,8 @@ range-separator="到" format="YYYY-MM-DD" value-format="YYYY-MM-DD" - start-placeholder="申请开始日期" - end-placeholder="申请结束日期" + start-placeholder="领用开始日期" + end-placeholder="领用结束日期" /> diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - @@ -137,6 +212,7 @@
测量设备 - {{ theMonthTotalData.testValue }} + {{ theMonthTotalData.measureSum }}
@@ -209,7 +287,7 @@
标准装置 - {{ theMonthTotalData.standardValue }} + {{ theMonthTotalData.standardSum }}
@@ -260,6 +338,7 @@
待检定设备数量 - {{ myEquipment.stay }} + {{ myEquipment.verifiedNum }}
超期未检定设备数量 - {{ myEquipment.not }} + {{ myEquipment.overtimeNum }}
diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue index d905cc5..63e1ee8 100644 --- a/src/views/device/receive/applyList.vue +++ b/src/views/device/receive/applyList.vue @@ -27,8 +27,10 @@ const loadingTable = ref(false) // 表格loading const active = ref('0') // 选中的按钮 const approvalDialog = ref() // 审批对话框显隐 -const usePersonList = ref([]) // 申请人列表(用户) const useDeptList = ref([]) // 部门列表 +const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) // 申请人模糊搜索框loading // 查询条件 const listQuery: Ref = ref({ @@ -82,6 +84,7 @@ { text: '申请部门', value: 'applyUnitName', align: 'center' }, { text: '申请人', value: 'applyPersonName', align: 'center' }, { text: '领用时间', value: 'time', align: 'center' }, + { text: '申请说明', value: 'applyDesc', align: 'center' }, { text: '审批状态', value: 'approvalStatus', align: 'center' }, ]) // 选中的内容 @@ -315,10 +318,27 @@ fetchData(true) } -// 获取用户列表 +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + +// 获取用户列表(增加模糊查询) const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -363,8 +383,17 @@ - - + + @@ -374,8 +403,8 @@ range-separator="到" format="YYYY-MM-DD" value-format="YYYY-MM-DD" - start-placeholder="申请开始日期" - end-placeholder="申请结束日期" + start-placeholder="领用开始日期" + end-placeholder="领用结束日期" /> diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue index 51dfb04..ec48847 100644 --- a/src/views/device/receive/createOrCheck.vue +++ b/src/views/device/receive/createOrCheck.vue @@ -29,9 +29,10 @@ const approvalStatus = ref() // 审批类型 const useDeptList = ref([]) // 部门列表 const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) const isMulti = ref(false) // 是否批量添加(允许多选) const selectIndex = ref() // 点击选择的index--点击第几行 -const { proxy } = getCurrentInstance() as any const dialogSelectDiviceVisible = ref(false) // 控制选择设备对话框显隐 const textMap: { [key: string]: string } = { edit: '编辑', @@ -45,6 +46,7 @@ taskId: '', // 任务id(审批用) id: '', processId: '', // 流程id--查询审批记录使用 + applyName: '', // 申请名称 applyUnit: '', // 申请单位 applyPerson: '', // 申请人 time: '', // 领用时间 @@ -79,6 +81,7 @@ ]) // 表单校验规则 const rules = reactive({ + applyName: [{ required: true, message: '申请名称不能为空', trigger: 'blur' }], applyUnit: [{ required: true, message: '申请单位不能为空', trigger: 'change' }], applyPerson: [{ required: true, message: '申请人不能为空', trigger: 'blur' }], time: [{ type: 'date', required: true, message: '领用时间不能为空', trigger: 'change' }], @@ -153,6 +156,11 @@ // 增加行 const addRow = () => { + const index = list.value.findIndex(item => !item.equipmentNo) + if (index !== -1) { + ElMessage.warning('请完善上一条设备信息') + return + } list.value.push({ equipmentName: '', // 设备名称 equipmentNo: '', // 设备编号 @@ -200,10 +208,10 @@ } // 把选择好的设备添加到列表中后,清除空行 - const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) - if (index !== -1) { - list.value.splice(index, 1) - } + // const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) + // if (index !== -1) { + // list.value.splice(index, 1) + // } } // 保存 @@ -215,6 +223,7 @@ background: 'rgba(255, 255, 255, 0.8)', }) const params = { + applyName: form.value.applyName, // 申请名称 applyUnit: form.value.applyUnit, // 申请单位 applyPerson: form.value.applyPerson, // 申请人 time: form.value.time, // 领用时间 @@ -276,6 +285,7 @@ const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -309,6 +319,22 @@ }) } +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + onMounted(() => { typeValue.value = $route.query.typeValue // 类型add、edit、detail form.value.id = $route.query.id as string // id @@ -365,7 +391,17 @@ :rules="rules" > - + + + + + + - + - - + + - + - + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - @@ -137,6 +212,7 @@
测量设备 - {{ theMonthTotalData.testValue }} + {{ theMonthTotalData.measureSum }}
@@ -209,7 +287,7 @@
标准装置 - {{ theMonthTotalData.standardValue }} + {{ theMonthTotalData.standardSum }}
@@ -260,6 +338,7 @@
待检定设备数量 - {{ myEquipment.stay }} + {{ myEquipment.verifiedNum }}
超期未检定设备数量 - {{ myEquipment.not }} + {{ myEquipment.overtimeNum }}
diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue index d905cc5..63e1ee8 100644 --- a/src/views/device/receive/applyList.vue +++ b/src/views/device/receive/applyList.vue @@ -27,8 +27,10 @@ const loadingTable = ref(false) // 表格loading const active = ref('0') // 选中的按钮 const approvalDialog = ref() // 审批对话框显隐 -const usePersonList = ref([]) // 申请人列表(用户) const useDeptList = ref([]) // 部门列表 +const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) // 申请人模糊搜索框loading // 查询条件 const listQuery: Ref = ref({ @@ -82,6 +84,7 @@ { text: '申请部门', value: 'applyUnitName', align: 'center' }, { text: '申请人', value: 'applyPersonName', align: 'center' }, { text: '领用时间', value: 'time', align: 'center' }, + { text: '申请说明', value: 'applyDesc', align: 'center' }, { text: '审批状态', value: 'approvalStatus', align: 'center' }, ]) // 选中的内容 @@ -315,10 +318,27 @@ fetchData(true) } -// 获取用户列表 +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + +// 获取用户列表(增加模糊查询) const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -363,8 +383,17 @@ - - + + @@ -374,8 +403,8 @@ range-separator="到" format="YYYY-MM-DD" value-format="YYYY-MM-DD" - start-placeholder="申请开始日期" - end-placeholder="申请结束日期" + start-placeholder="领用开始日期" + end-placeholder="领用结束日期" /> diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue index 51dfb04..ec48847 100644 --- a/src/views/device/receive/createOrCheck.vue +++ b/src/views/device/receive/createOrCheck.vue @@ -29,9 +29,10 @@ const approvalStatus = ref() // 审批类型 const useDeptList = ref([]) // 部门列表 const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) const isMulti = ref(false) // 是否批量添加(允许多选) const selectIndex = ref() // 点击选择的index--点击第几行 -const { proxy } = getCurrentInstance() as any const dialogSelectDiviceVisible = ref(false) // 控制选择设备对话框显隐 const textMap: { [key: string]: string } = { edit: '编辑', @@ -45,6 +46,7 @@ taskId: '', // 任务id(审批用) id: '', processId: '', // 流程id--查询审批记录使用 + applyName: '', // 申请名称 applyUnit: '', // 申请单位 applyPerson: '', // 申请人 time: '', // 领用时间 @@ -79,6 +81,7 @@ ]) // 表单校验规则 const rules = reactive({ + applyName: [{ required: true, message: '申请名称不能为空', trigger: 'blur' }], applyUnit: [{ required: true, message: '申请单位不能为空', trigger: 'change' }], applyPerson: [{ required: true, message: '申请人不能为空', trigger: 'blur' }], time: [{ type: 'date', required: true, message: '领用时间不能为空', trigger: 'change' }], @@ -153,6 +156,11 @@ // 增加行 const addRow = () => { + const index = list.value.findIndex(item => !item.equipmentNo) + if (index !== -1) { + ElMessage.warning('请完善上一条设备信息') + return + } list.value.push({ equipmentName: '', // 设备名称 equipmentNo: '', // 设备编号 @@ -200,10 +208,10 @@ } // 把选择好的设备添加到列表中后,清除空行 - const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) - if (index !== -1) { - list.value.splice(index, 1) - } + // const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) + // if (index !== -1) { + // list.value.splice(index, 1) + // } } // 保存 @@ -215,6 +223,7 @@ background: 'rgba(255, 255, 255, 0.8)', }) const params = { + applyName: form.value.applyName, // 申请名称 applyUnit: form.value.applyUnit, // 申请单位 applyPerson: form.value.applyPerson, // 申请人 time: form.value.time, // 领用时间 @@ -276,6 +285,7 @@ const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -309,6 +319,22 @@ }) } +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + onMounted(() => { typeValue.value = $route.query.typeValue // 类型add、edit、detail form.value.id = $route.query.id as string // id @@ -365,7 +391,17 @@ :rules="rules" > - + + + + + + - + - - + + - + - + diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 844b717..2754aee 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -23,8 +23,8 @@ applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 @@ -33,14 +33,15 @@ processId: string // 流程ID-查询审批记录时使用 } +// 设备领用处理列表 export interface IsolveListType { id: string applyNo: string // 申请编号 applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8926777..64aa9b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -618,6 +618,24 @@ get-tsconfig: 4.2.0 dev: true + /@esbuild/android-arm/0.15.12: + resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.12: + resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@eslint/eslintrc/1.3.3: resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -797,6 +815,10 @@ picomatch: 2.3.1 dev: true + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + /@tinymce/tinymce-vue/5.0.0_vue@3.2.44: resolution: {integrity: sha512-1HRCNa2eGdztOKShYAiHIry50LTU6YJG//qSP9AJElrXhb3BIBN0Bef6E56nZObVgwCgSmI4cnX35VU9D49aow==} peerDependencies: @@ -2163,7 +2185,7 @@ normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/3.5.0: @@ -2953,6 +2975,186 @@ ext: 1.7.0 dev: false + /esbuild-android-64/0.15.12: + resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.12: + resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.12: + resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.12: + resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.12: + resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.12: + resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.12: + resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.12: + resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.12: + resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.12: + resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.12: + resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.12: + resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.12: + resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.12: + resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.12: + resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.12: + resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.12: + resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.12: + resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.12: + resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.12: + resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.11.3: resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==} hasBin: true @@ -2965,28 +3167,28 @@ hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': registry.npmmirror.com/@esbuild/android-arm/0.15.12 - '@esbuild/linux-loong64': registry.npmmirror.com/@esbuild/linux-loong64/0.15.12 - esbuild-android-64: registry.npmmirror.com/esbuild-android-64/0.15.12 - esbuild-android-arm64: registry.npmmirror.com/esbuild-android-arm64/0.15.12 - esbuild-darwin-64: registry.npmmirror.com/esbuild-darwin-64/0.15.12 - esbuild-darwin-arm64: registry.npmmirror.com/esbuild-darwin-arm64/0.15.12 - esbuild-freebsd-64: registry.npmmirror.com/esbuild-freebsd-64/0.15.12 - esbuild-freebsd-arm64: registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12 - esbuild-linux-32: registry.npmmirror.com/esbuild-linux-32/0.15.12 - esbuild-linux-64: registry.npmmirror.com/esbuild-linux-64/0.15.12 - esbuild-linux-arm: registry.npmmirror.com/esbuild-linux-arm/0.15.12 - esbuild-linux-arm64: registry.npmmirror.com/esbuild-linux-arm64/0.15.12 - esbuild-linux-mips64le: registry.npmmirror.com/esbuild-linux-mips64le/0.15.12 - esbuild-linux-ppc64le: registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12 - esbuild-linux-riscv64: registry.npmmirror.com/esbuild-linux-riscv64/0.15.12 - esbuild-linux-s390x: registry.npmmirror.com/esbuild-linux-s390x/0.15.12 - esbuild-netbsd-64: registry.npmmirror.com/esbuild-netbsd-64/0.15.12 - esbuild-openbsd-64: registry.npmmirror.com/esbuild-openbsd-64/0.15.12 - esbuild-sunos-64: registry.npmmirror.com/esbuild-sunos-64/0.15.12 - esbuild-windows-32: registry.npmmirror.com/esbuild-windows-32/0.15.12 - esbuild-windows-64: registry.npmmirror.com/esbuild-windows-64/0.15.12 - esbuild-windows-arm64: registry.npmmirror.com/esbuild-windows-arm64/0.15.12 + '@esbuild/android-arm': 0.15.12 + '@esbuild/linux-loong64': 0.15.12 + esbuild-android-64: 0.15.12 + esbuild-android-arm64: 0.15.12 + esbuild-darwin-64: 0.15.12 + esbuild-darwin-arm64: 0.15.12 + esbuild-freebsd-64: 0.15.12 + esbuild-freebsd-arm64: 0.15.12 + esbuild-linux-32: 0.15.12 + esbuild-linux-64: 0.15.12 + esbuild-linux-arm: 0.15.12 + esbuild-linux-arm64: 0.15.12 + esbuild-linux-mips64le: 0.15.12 + esbuild-linux-ppc64le: 0.15.12 + esbuild-linux-riscv64: 0.15.12 + esbuild-linux-s390x: 0.15.12 + esbuild-netbsd-64: 0.15.12 + esbuild-openbsd-64: 0.15.12 + esbuild-sunos-64: 0.15.12 + esbuild-windows-32: 0.15.12 + esbuild-windows-64: 0.15.12 + esbuild-windows-arm64: 0.15.12 dev: true /escalade/3.1.1: @@ -3744,6 +3946,14 @@ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -3974,7 +4184,7 @@ source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: registry.npmmirror.com/uglify-js/3.17.4 + uglify-js: 3.17.4 dev: true /har-schema/2.0.0: @@ -4825,7 +5035,7 @@ dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 + graceful-fs: 4.2.10 dev: true /jsprim/1.4.2: @@ -6449,7 +6659,7 @@ engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-async/2.4.1: @@ -7377,7 +7587,7 @@ '@esbuild-kit/core-utils': 3.0.0 '@esbuild-kit/esm-loader': 2.5.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -7448,6 +7658,14 @@ resolution: {integrity: sha512-fk6CmUgwKCfX79EzcDQQpSCMxrHstvbLswFChHS0Vump+kFkw7nJBfTZoC1j0bOGoY9I7R3n2DGek5ajbcYnOw==} dev: true + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -7877,7 +8095,7 @@ rollup: 2.79.1 sass: 1.56.1 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vue-demi/0.13.11_vue@3.2.44: @@ -8149,28 +8367,6 @@ vue: 3.2.44 dev: false - registry.npmmirror.com/@esbuild/android-arm/0.15.12: - resolution: {integrity: sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz} - name: '@esbuild/android-arm' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/@esbuild/linux-loong64/0.15.12: - resolution: {integrity: sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz} - name: '@esbuild/linux-loong64' - version: 0.15.12 - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/@floating-ui/core/1.0.1: resolution: {integrity: sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@floating-ui/core/-/core-1.0.1.tgz} name: '@floating-ui/core' @@ -8185,12 +8381,6 @@ '@floating-ui/core': registry.npmmirror.com/@floating-ui/core/1.0.1 dev: false - registry.npmmirror.com/@sxzz/popperjs-es/2.11.7: - resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz} - name: '@sxzz/popperjs-es' - version: 2.11.7 - dev: false - registry.npmmirror.com/@types/lodash-es/4.17.6: resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.6.tgz} name: '@types/lodash-es' @@ -8366,7 +8556,7 @@ '@ctrl/tinycolor': registry.npmmirror.com/@ctrl/tinycolor/3.4.1 '@element-plus/icons-vue': registry.npmmirror.com/@element-plus/icons-vue/2.0.10_vue@3.2.44 '@floating-ui/dom': registry.npmmirror.com/@floating-ui/dom/1.0.3 - '@popperjs/core': registry.npmmirror.com/@sxzz/popperjs-es/2.11.7 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 '@types/lodash': registry.npmmirror.com/@types/lodash/4.14.186 '@types/lodash-es': registry.npmmirror.com/@types/lodash-es/4.17.6 '@vueuse/core': registry.npmmirror.com/@vueuse/core/9.5.0_vue@3.2.44 @@ -8395,226 +8585,6 @@ version: 1.0.3 dev: false - registry.npmmirror.com/esbuild-android-64/0.15.12: - resolution: {integrity: sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz} - name: esbuild-android-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-android-arm64/0.15.12: - resolution: {integrity: sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz} - name: esbuild-android-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-64/0.15.12: - resolution: {integrity: sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz} - name: esbuild-darwin-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-darwin-arm64/0.15.12: - resolution: {integrity: sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz} - name: esbuild-darwin-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-64/0.15.12: - resolution: {integrity: sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz} - name: esbuild-freebsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-freebsd-arm64/0.15.12: - resolution: {integrity: sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz} - name: esbuild-freebsd-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-32/0.15.12: - resolution: {integrity: sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz} - name: esbuild-linux-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-64/0.15.12: - resolution: {integrity: sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz} - name: esbuild-linux-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm/0.15.12: - resolution: {integrity: sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz} - name: esbuild-linux-arm - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-arm64/0.15.12: - resolution: {integrity: sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz} - name: esbuild-linux-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-mips64le/0.15.12: - resolution: {integrity: sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz} - name: esbuild-linux-mips64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-ppc64le/0.15.12: - resolution: {integrity: sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz} - name: esbuild-linux-ppc64le - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-riscv64/0.15.12: - resolution: {integrity: sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz} - name: esbuild-linux-riscv64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-linux-s390x/0.15.12: - resolution: {integrity: sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz} - name: esbuild-linux-s390x - version: 0.15.12 - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-netbsd-64/0.15.12: - resolution: {integrity: sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz} - name: esbuild-netbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-openbsd-64/0.15.12: - resolution: {integrity: sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz} - name: esbuild-openbsd-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-sunos-64/0.15.12: - resolution: {integrity: sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz} - name: esbuild-sunos-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-32/0.15.12: - resolution: {integrity: sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz} - name: esbuild-windows-32 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-64/0.15.12: - resolution: {integrity: sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz} - name: esbuild-windows-64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - registry.npmmirror.com/esbuild-windows-arm64/0.15.12: - resolution: {integrity: sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz} - name: esbuild-windows-arm64 - version: 0.15.12 - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/escape-html/1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz} name: escape-html @@ -8631,16 +8601,6 @@ path-exists: registry.npmmirror.com/path-exists/4.0.0 dev: false - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz} name: get-caller-file @@ -8855,16 +8815,6 @@ version: 2.4.0 dev: true - registry.npmmirror.com/uglify-js/3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz} - name: uglify-js - version: 3.17.4 - engines: {node: '>=0.8.0'} - hasBin: true - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/utrie/1.0.2: resolution: {integrity: sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz} name: utrie diff --git a/src/api/customer/advice.ts b/src/api/customer/advice.ts index 738dac3..c581a4e 100644 --- a/src/api/customer/advice.ts +++ b/src/api/customer/advice.ts @@ -3,12 +3,11 @@ */ import request from '../index' import type { IAdviceQuery } from '@/views/customer/advice/advice_interface' -const prefix = '/meter' // 列表查询 export function getAdviceList(data: IAdviceQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/advice/listPage?offset=${data.offset}&limit=${data.limit}`, method: 'post', data, }) @@ -17,7 +16,7 @@ // 数据删除 export function deleteAdvice(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/advice/delete', method: 'post', data, }) @@ -26,7 +25,7 @@ // 查看详情 export function getAdviceDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/advice/detail', method: 'post', data, }) @@ -35,7 +34,7 @@ // 新增数据 export function addAdvice(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/advice/add', method: 'post', data, }) @@ -43,7 +42,7 @@ // 编辑数据 export function updateAdvice(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/advice/update', method: 'post', data, }) @@ -52,7 +51,7 @@ // 导出列表 export function exportAdviceList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/advice/export', method: 'post', responseType: 'blob', data, diff --git a/src/api/customer/customer.ts b/src/api/customer/customer.ts index ebdebe6..724da6e 100644 --- a/src/api/customer/customer.ts +++ b/src/api/customer/customer.ts @@ -3,12 +3,20 @@ */ import request from '../index' import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface' -const prefix = '/meter' // 列表查询 export function getCustomerList(data: ICustomerQuery) { return request({ - url: `${prefix}/supplier/listPage?offset=${data.offset}&limit=${data.limit}`, + url: `/customer/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 列表查询 +export function getCustomerListSimple(data: ICustomerQuery) { + return request({ + url: '/customer/listPage', method: 'post', data, }) @@ -17,7 +25,7 @@ // 数据删除 export function deleteCustomer(data: { id: string }) { return request({ - url: `${prefix}/supplier/delete`, + url: '/customer/delete', method: 'post', data, }) @@ -26,7 +34,7 @@ // 查看详情 export function getCustomerDetail(data: { id: string }) { return request({ - url: `${prefix}/supplier/detail`, + url: '/customer/detail', method: 'post', data, }) @@ -35,7 +43,7 @@ // 新增数据 export function addCustomer(data: object) { return request({ - url: '/meter/supplier/submit', + url: '/customer/add', method: 'post', data, }) @@ -43,7 +51,7 @@ // 编辑数据 export function updateCustomer(data: object) { return request({ - url: `${prefix}/supplier/update`, + url: '/customer/update', method: 'post', data, }) @@ -52,10 +60,44 @@ // 导出列表 export function exportCustomerList(data: Omit) { return request({ - url: `${prefix}/supplier/listExport`, + url: '/customer/export', method: 'post', responseType: 'blob', data, }) } +// 根据客户查样品id +export function getSampleByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查合同记录 +export function getContractByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// 根据客户查检定记录 +export function getOrderByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/contractRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 根据客户查检定记录 +export function getCertificationByCustomer(data: { id: string; offset: number; limit: number }) { + return request({ + url: `/customer/certificateRecords?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} diff --git a/src/api/customer/sampleList.ts b/src/api/customer/sampleList.ts index 3ac7392..2610494 100644 --- a/src/api/customer/sampleList.ts +++ b/src/api/customer/sampleList.ts @@ -26,7 +26,7 @@ // 导出列表 export function exportSapmleList(data: Omit) { return request({ - url: `${prefix}/sample/listExport`, + url: `${prefix}/sample/export`, method: 'post', responseType: 'blob', data, @@ -36,7 +36,7 @@ // 新增数据 export function addSample(data: object) { return request({ - url: `${prefix}/sample/submit`, + url: `${prefix}/sample/add`, method: 'post', data, }) diff --git a/src/api/device/bench.ts b/src/api/device/bench.ts new file mode 100644 index 0000000..f4792d1 --- /dev/null +++ b/src/api/device/bench.ts @@ -0,0 +1,44 @@ +// 设备借用相关接口api +import request from '../index' +const prefix = '/equipment/workbench' + +// 设备检定趋势 +export function getMeasureTrend() { + return request({ + url: `${prefix}/measureTrend`, + method: 'post', + }) +} + +// 装置检定趋势 +export function getStandardTrend() { + return request({ + url: `${prefix}/standardTrend`, + method: 'post', + }) +} + +// 本月统计数据 +export function getMonthlyStatistics() { + return request({ + url: `${prefix}/dataStatistics`, + method: 'post', + }) +} + +// 我的设备 +export function getMyEquipment() { + return request({ + url: `${prefix}/myselfEquipment`, + method: 'post', + }) +} + +// 设备台账检定提醒 +export function getStandingBookRemind() { + return request({ + url: `${prefix}/remindListPage`, + method: 'post', + }) +} + diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue index 60aa04c..9cbd57f 100644 --- a/src/components/AddressSelect/AddressSelect.vue +++ b/src/components/AddressSelect/AddressSelect.vue @@ -172,7 +172,7 @@ /> { + $router.push('/schedule/order/add') +} + // 点击编辑详情 const goEdit = (row: IOrderList, pageType: 'edit' | 'detail') => { $router.push(`/schedule/order/${pageType}/${row.id}`) diff --git a/src/views/business/schedule/order/orderListEdit.vue b/src/views/business/schedule/order/orderListEdit.vue index 7ff92d4..6599250 100644 --- a/src/views/business/schedule/order/orderListEdit.vue +++ b/src/views/business/schedule/order/orderListEdit.vue @@ -15,6 +15,7 @@ const infoId = ref('') // id const visible = ref(false) // 控制选择委托方对话框显隐 const sampleVisible = ref(false) // 控制选择样品对话框显隐 +const printHiddenButton = ref(false) // 打印的时候需要隐藏打印和关闭两个按钮 // 表单 const dataForm: Ref = ref({ id: '', @@ -34,6 +35,25 @@ certifications: '', // 证书类别 }) +const customerInfo = [ + { + label: '通信地址', + value: 'address', + }, + { + label: '邮编', + value: 'email', + }, + { + label: '电话', + value: 'phone', + }, + { + label: '传真', + value: 'fax', + }, +] + // 是否加急 const isUrgentMap = [ { @@ -224,259 +244,310 @@ const close = () => { $router.back() } + +// 点击保存 +const saveForm = (formEl: FormInstance | undefined) => { + if (!formEl) { return } + formEl.validate((valid) => { + if (valid) { + ElMessageBox.confirm( + '确认保存吗?', + '提示', + { + confirmButtonText: '确认', + cancelButtonText: '取消', + type: 'warning', + }, + ).then(() => { + }) + } + }) +} + +// 点击打印 +const printObj = ref({ + id: 'main', // 需要打印元素的id + popTitle: '样品详情', // 打印配置页上方的标题 + extraHead: '

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 + preview: false, // 是否启动预览模式,默认是false + standard: '', + extarCss: '', +}) diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - @@ -137,6 +212,7 @@
测量设备 - {{ theMonthTotalData.testValue }} + {{ theMonthTotalData.measureSum }}
@@ -209,7 +287,7 @@
标准装置 - {{ theMonthTotalData.standardValue }} + {{ theMonthTotalData.standardSum }}
@@ -260,6 +338,7 @@
待检定设备数量 - {{ myEquipment.stay }} + {{ myEquipment.verifiedNum }}
超期未检定设备数量 - {{ myEquipment.not }} + {{ myEquipment.overtimeNum }}
diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue index d905cc5..63e1ee8 100644 --- a/src/views/device/receive/applyList.vue +++ b/src/views/device/receive/applyList.vue @@ -27,8 +27,10 @@ const loadingTable = ref(false) // 表格loading const active = ref('0') // 选中的按钮 const approvalDialog = ref() // 审批对话框显隐 -const usePersonList = ref([]) // 申请人列表(用户) const useDeptList = ref([]) // 部门列表 +const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) // 申请人模糊搜索框loading // 查询条件 const listQuery: Ref = ref({ @@ -82,6 +84,7 @@ { text: '申请部门', value: 'applyUnitName', align: 'center' }, { text: '申请人', value: 'applyPersonName', align: 'center' }, { text: '领用时间', value: 'time', align: 'center' }, + { text: '申请说明', value: 'applyDesc', align: 'center' }, { text: '审批状态', value: 'approvalStatus', align: 'center' }, ]) // 选中的内容 @@ -315,10 +318,27 @@ fetchData(true) } -// 获取用户列表 +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + +// 获取用户列表(增加模糊查询) const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -363,8 +383,17 @@ - - + + @@ -374,8 +403,8 @@ range-separator="到" format="YYYY-MM-DD" value-format="YYYY-MM-DD" - start-placeholder="申请开始日期" - end-placeholder="申请结束日期" + start-placeholder="领用开始日期" + end-placeholder="领用结束日期" /> diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue index 51dfb04..ec48847 100644 --- a/src/views/device/receive/createOrCheck.vue +++ b/src/views/device/receive/createOrCheck.vue @@ -29,9 +29,10 @@ const approvalStatus = ref() // 审批类型 const useDeptList = ref([]) // 部门列表 const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) const isMulti = ref(false) // 是否批量添加(允许多选) const selectIndex = ref() // 点击选择的index--点击第几行 -const { proxy } = getCurrentInstance() as any const dialogSelectDiviceVisible = ref(false) // 控制选择设备对话框显隐 const textMap: { [key: string]: string } = { edit: '编辑', @@ -45,6 +46,7 @@ taskId: '', // 任务id(审批用) id: '', processId: '', // 流程id--查询审批记录使用 + applyName: '', // 申请名称 applyUnit: '', // 申请单位 applyPerson: '', // 申请人 time: '', // 领用时间 @@ -79,6 +81,7 @@ ]) // 表单校验规则 const rules = reactive({ + applyName: [{ required: true, message: '申请名称不能为空', trigger: 'blur' }], applyUnit: [{ required: true, message: '申请单位不能为空', trigger: 'change' }], applyPerson: [{ required: true, message: '申请人不能为空', trigger: 'blur' }], time: [{ type: 'date', required: true, message: '领用时间不能为空', trigger: 'change' }], @@ -153,6 +156,11 @@ // 增加行 const addRow = () => { + const index = list.value.findIndex(item => !item.equipmentNo) + if (index !== -1) { + ElMessage.warning('请完善上一条设备信息') + return + } list.value.push({ equipmentName: '', // 设备名称 equipmentNo: '', // 设备编号 @@ -200,10 +208,10 @@ } // 把选择好的设备添加到列表中后,清除空行 - const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) - if (index !== -1) { - list.value.splice(index, 1) - } + // const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) + // if (index !== -1) { + // list.value.splice(index, 1) + // } } // 保存 @@ -215,6 +223,7 @@ background: 'rgba(255, 255, 255, 0.8)', }) const params = { + applyName: form.value.applyName, // 申请名称 applyUnit: form.value.applyUnit, // 申请单位 applyPerson: form.value.applyPerson, // 申请人 time: form.value.time, // 领用时间 @@ -276,6 +285,7 @@ const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -309,6 +319,22 @@ }) } +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + onMounted(() => { typeValue.value = $route.query.typeValue // 类型add、edit、detail form.value.id = $route.query.id as string // id @@ -365,7 +391,17 @@ :rules="rules" > - + + + + + + - + - - + + - + - + diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 844b717..2754aee 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -23,8 +23,8 @@ applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 @@ -33,14 +33,15 @@ processId: string // 流程ID-查询审批记录时使用 } +// 设备领用处理列表 export interface IsolveListType { id: string applyNo: string // 申请编号 applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 diff --git a/src/views/device/receive/selectDeviceDialog.vue b/src/views/device/receive/selectDeviceDialog.vue index 4439958..c89ed14 100644 --- a/src/views/device/receive/selectDeviceDialog.vue +++ b/src/views/device/receive/selectDeviceDialog.vue @@ -1,4 +1,4 @@ - + diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - @@ -137,6 +212,7 @@
测量设备 - {{ theMonthTotalData.testValue }} + {{ theMonthTotalData.measureSum }}
@@ -209,7 +287,7 @@
标准装置 - {{ theMonthTotalData.standardValue }} + {{ theMonthTotalData.standardSum }}
@@ -260,6 +338,7 @@
待检定设备数量 - {{ myEquipment.stay }} + {{ myEquipment.verifiedNum }}
超期未检定设备数量 - {{ myEquipment.not }} + {{ myEquipment.overtimeNum }}
diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue index d905cc5..63e1ee8 100644 --- a/src/views/device/receive/applyList.vue +++ b/src/views/device/receive/applyList.vue @@ -27,8 +27,10 @@ const loadingTable = ref(false) // 表格loading const active = ref('0') // 选中的按钮 const approvalDialog = ref() // 审批对话框显隐 -const usePersonList = ref([]) // 申请人列表(用户) const useDeptList = ref([]) // 部门列表 +const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) // 申请人模糊搜索框loading // 查询条件 const listQuery: Ref = ref({ @@ -82,6 +84,7 @@ { text: '申请部门', value: 'applyUnitName', align: 'center' }, { text: '申请人', value: 'applyPersonName', align: 'center' }, { text: '领用时间', value: 'time', align: 'center' }, + { text: '申请说明', value: 'applyDesc', align: 'center' }, { text: '审批状态', value: 'approvalStatus', align: 'center' }, ]) // 选中的内容 @@ -315,10 +318,27 @@ fetchData(true) } -// 获取用户列表 +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + +// 获取用户列表(增加模糊查询) const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -363,8 +383,17 @@ - - + + @@ -374,8 +403,8 @@ range-separator="到" format="YYYY-MM-DD" value-format="YYYY-MM-DD" - start-placeholder="申请开始日期" - end-placeholder="申请结束日期" + start-placeholder="领用开始日期" + end-placeholder="领用结束日期" /> diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue index 51dfb04..ec48847 100644 --- a/src/views/device/receive/createOrCheck.vue +++ b/src/views/device/receive/createOrCheck.vue @@ -29,9 +29,10 @@ const approvalStatus = ref() // 审批类型 const useDeptList = ref([]) // 部门列表 const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) const isMulti = ref(false) // 是否批量添加(允许多选) const selectIndex = ref() // 点击选择的index--点击第几行 -const { proxy } = getCurrentInstance() as any const dialogSelectDiviceVisible = ref(false) // 控制选择设备对话框显隐 const textMap: { [key: string]: string } = { edit: '编辑', @@ -45,6 +46,7 @@ taskId: '', // 任务id(审批用) id: '', processId: '', // 流程id--查询审批记录使用 + applyName: '', // 申请名称 applyUnit: '', // 申请单位 applyPerson: '', // 申请人 time: '', // 领用时间 @@ -79,6 +81,7 @@ ]) // 表单校验规则 const rules = reactive({ + applyName: [{ required: true, message: '申请名称不能为空', trigger: 'blur' }], applyUnit: [{ required: true, message: '申请单位不能为空', trigger: 'change' }], applyPerson: [{ required: true, message: '申请人不能为空', trigger: 'blur' }], time: [{ type: 'date', required: true, message: '领用时间不能为空', trigger: 'change' }], @@ -153,6 +156,11 @@ // 增加行 const addRow = () => { + const index = list.value.findIndex(item => !item.equipmentNo) + if (index !== -1) { + ElMessage.warning('请完善上一条设备信息') + return + } list.value.push({ equipmentName: '', // 设备名称 equipmentNo: '', // 设备编号 @@ -200,10 +208,10 @@ } // 把选择好的设备添加到列表中后,清除空行 - const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) - if (index !== -1) { - list.value.splice(index, 1) - } + // const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) + // if (index !== -1) { + // list.value.splice(index, 1) + // } } // 保存 @@ -215,6 +223,7 @@ background: 'rgba(255, 255, 255, 0.8)', }) const params = { + applyName: form.value.applyName, // 申请名称 applyUnit: form.value.applyUnit, // 申请单位 applyPerson: form.value.applyPerson, // 申请人 time: form.value.time, // 领用时间 @@ -276,6 +285,7 @@ const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -309,6 +319,22 @@ }) } +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + onMounted(() => { typeValue.value = $route.query.typeValue // 类型add、edit、detail form.value.id = $route.query.id as string // id @@ -365,7 +391,17 @@ :rules="rules" > - + + + + + + - + - - + + - + - + diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 844b717..2754aee 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -23,8 +23,8 @@ applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 @@ -33,14 +33,15 @@ processId: string // 流程ID-查询审批记录时使用 } +// 设备领用处理列表 export interface IsolveListType { id: string applyNo: string // 申请编号 applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 diff --git a/src/views/device/receive/selectDeviceDialog.vue b/src/views/device/receive/selectDeviceDialog.vue index 4439958..c89ed14 100644 --- a/src/views/device/receive/selectDeviceDialog.vue +++ b/src/views/device/receive/selectDeviceDialog.vue @@ -1,4 +1,4 @@ - + diff --git a/src/views/business/schedule/order/selectSample.vue b/src/views/business/schedule/order/selectSample.vue index d9e39fc..914edc9 100644 --- a/src/views/business/schedule/order/selectSample.vue +++ b/src/views/business/schedule/order/selectSample.vue @@ -33,6 +33,7 @@ customerName: '', // 委托方名称 startTime: '', // 检定开始时间 endTime: '', // 检定结束时间 + overtimeStatus: '', // 样品超期状态 1已超期 0未超期 ''全部:已超期+未超期 offset: 1, limit: 20, }) diff --git a/src/views/business/schedule/task/taskEdit.vue b/src/views/business/schedule/task/taskEdit.vue index fbe670d..465b2e7 100644 --- a/src/views/business/schedule/task/taskEdit.vue +++ b/src/views/business/schedule/task/taskEdit.vue @@ -10,7 +10,7 @@ import showPhoto from '@/views/system/tool/showPhoto.vue' import { SCHEDULE } from '@/utils/scheduleDict' import TemplateTable from '@/views/customer/customerInfo/templateTable.vue' -import { getSampleDetail, updateSample } from '@/api/customer/sampleList' +import { getSapmleDetail, updateSample } from '@/api/customer/sampleList' import countries from '@/components/AddressSelect/country-code.json' import type { TableColumn } from '@/components/NormalTable/table_interface' import { getDictByCode } from '@/api/system/dict' @@ -198,7 +198,7 @@ // 获取样品详情 const getInfo = () => { - // getSampleDetail({ id: infoId.value }).then((res) => { + // getSapmleDetail({ id: infoId.value }).then((res) => { dataForm.value = { orderId: '123', ABC: 'A', diff --git a/src/views/customer/advice/adviceEdit.vue b/src/views/customer/advice/adviceEdit.vue index a5411c1..629b33c 100644 --- a/src/views/customer/advice/adviceEdit.vue +++ b/src/views/customer/advice/adviceEdit.vue @@ -9,6 +9,7 @@ import type { IAdvice, SimpleCompany } from './advice_interface' import { addAdvice, getAdviceDetail, updateAdvice } from '@/api/customer/advice' import { getDictByCode } from '@/api/system/dict' +import { getCustomerListSimple } from '@/api/customer/customer' const loading = ref(false) // 表单加载状态 const infoId = ref('') // id const pageType = ref('add') // 页面类型: add, edit, detail @@ -93,42 +94,29 @@ const getInfo = () => { loading.value = true getAdviceDetail({ id: infoId.value }).then((res) => { - res.data = { - id: '1597579843411234817', - adviceNo: 'ts202201022131', // 投诉编号 - adviceClass: '0', // 投诉类型 - adviceType: '1', // 投诉类别 - advicePerson: '张三', // 投诉人-名称 - personPhone: '87447', // 投诉人联系方式 - customerName: '特别大公司', // 公司名称 - adviceTime: '2022-12-25 23:58:00', - customerNo: '', // 客户编号 - customerId: '', // 客户id - content: '没人接电话', // 投诉内容 - handleStatus: '0', // 处置状态-0未处置,1已处置 - handleMessage: '', // 处置意见 - } dataForm.value = res.data loading.value = false }) } -const tempCompanyList = ref([ - { customerId: '111', customerNo: '12312456', customerName: '京东', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '112', customerNo: '12312451', customerName: '阿里', businessSizeName: '0~10万', companySizeName: '大企业', gradeName: '一般', evaluationName: '重点客户' }, - { customerId: '113', customerNo: '12312452', customerName: '淘宝', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '114', customerNo: '12312453', customerName: '天猫', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '115', customerNo: '12312454', customerName: '203d', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, - { customerId: '116', customerNo: '12312456', customerName: '万达', businessSizeName: '0~10万', companySizeName: '小微企业', gradeName: '优质', evaluationName: '重点客户' }, -]) // 查询公司列表 const queryCompany = (queryString: string, cb: any) => { - // TODO: 远程查询符合要求的公司列表 - const results = queryString ? tempCompanyList.value.filter((item) => { item.customerName.includes(queryString) }) : tempCompanyList.value - cb(results) + const params = { + businessSize: '', // 业务规模 + customerName: queryString, // 公司名称 + customerNo: '', // 客户编号 + grade: '', // 履约评级 + offset: 1, + limit: 20, + } + // 远程查询符合要求的公司列表 + getCustomerListSimple(params).then((res) => { + const result = res.data.rows + cb(result) + }) } -// 选中 +// 选中客户 const handleCompanySelect = (select: Record) => { const item = select as SimpleCompany companyInfo.customerName = item.customerName @@ -138,12 +126,12 @@ companyInfo.companySizeName = item.companySizeName companyInfo.businessSizeName = item.businessSizeName companyInfo.evaluationName = item.evaluationName + dataForm.value.customerNo = item.customerNo } // 打印表单 const printObj = ref({ id: 'form', // 需要打印元素的id popTitle: '投诉/建议详情', // 打印配置页上方的标题 - // extraHead: '

投诉/建议详情

', // 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割 preview: false, // 是否启动预览模式,默认是false standard: '', extarCss: '', @@ -294,7 +282,7 @@ (['', '']) // 表头 const columns = ref([ - { text: '投诉建议编号', value: 'adviceNo', width: '160', align: 'center' }, - { text: '客户编号', value: 'customerNo', width: '120', align: 'center' }, - { text: '客户名称', value: 'customerName', align: 'center' }, - { text: '整体评价', value: 'evaluationName', align: 'center' }, + { text: '投诉建议编号', value: 'adviceNo', width: '155', align: 'center' }, + { text: '客户编号', value: 'customerNo', width: '155', align: 'center' }, + { text: '客户名称', value: 'customerName', align: 'center', width: '180' }, + { text: '整体评价', value: 'evaluationName', align: 'center', width: '90' }, { text: '投诉/建议内容', value: 'content', align: 'center' }, - { text: '投诉人', value: 'advicePerson', align: 'center' }, - { text: '联系方式', value: 'personPhone', align: 'center' }, - { text: '投诉时间', value: 'createTime', align: 'center', width: '180px' }, + { text: '投诉人', value: 'advicePerson', align: 'center', width: '90' }, + { text: '联系方式', value: 'personPhone', align: 'center', width: '120' }, + { text: '投诉时间', value: 'createTime', align: 'center', width: '165px' }, ]) // 表格数据 const list = ref([]) @@ -54,7 +53,7 @@ listQuery.value.endTime = timeRange.value[1] as string || '' getAdviceList(listQuery.value).then((response) => { // 模拟数据 - response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] + // response.data.rows = [{ id: '1597579843411234817', advicePerson: '张三', personPhone: '87447', createTime: '2023-01-02 08:25:35', adviceNo: '111111', content: '服务态度不好', businessScope: 'test1', evaluation: '1', evaluationName: '优质', customerName: '京东集团', customerNo: 'sygf202211290001', updateTime: '2023-01-10 09:56:57' }] list.value = response.data.rows total.value = parseInt(response.data.total) loadingTable.value = false diff --git a/src/views/customer/bench/bench-interface.ts b/src/views/customer/bench/bench-interface.ts index 5c995ec..8db4604 100644 --- a/src/views/customer/bench/bench-interface.ts +++ b/src/views/customer/bench/bench-interface.ts @@ -1,4 +1,5 @@ +// 折线图返回数据格式 export interface planReturn { - date: string - count: string | number + date: string // 日期 + count: string | number // 值 } diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue index 687a18d..6b502fc 100644 --- a/src/views/customer/bench/bench.vue +++ b/src/views/customer/bench/bench.vue @@ -100,18 +100,6 @@ // 获取客户新增趋势数据 function fetchCustomerExpireData() { getCustomerExpireData().then((res) => { - // const res = { - // data: [ - // { - // date: '2021-09', - // count: '10', - // }, - // { - // date: '09090', - // count: '10', - // }, - // ], - // } customerAddXData.value = res.data.map((item: planReturn) => item.date) const yValue = res.data.map((item: planReturn) => Number(item.count)) customerAddYDataMax.value = Math.max(yValue) > 10 ? Math.max(yValue) : 10 diff --git a/src/views/customer/customerInfo/customerEdit.vue b/src/views/customer/customerInfo/customerEdit.vue index 23c294a..5e9b72c 100644 --- a/src/views/customer/customerInfo/customerEdit.vue +++ b/src/views/customer/customerInfo/customerEdit.vue @@ -1,17 +1,16 @@ - @@ -137,6 +212,7 @@
测量设备 - {{ theMonthTotalData.testValue }} + {{ theMonthTotalData.measureSum }}
@@ -209,7 +287,7 @@
标准装置 - {{ theMonthTotalData.standardValue }} + {{ theMonthTotalData.standardSum }}
@@ -260,6 +338,7 @@
待检定设备数量 - {{ myEquipment.stay }} + {{ myEquipment.verifiedNum }}
超期未检定设备数量 - {{ myEquipment.not }} + {{ myEquipment.overtimeNum }}
diff --git a/src/views/device/receive/applyList.vue b/src/views/device/receive/applyList.vue index d905cc5..63e1ee8 100644 --- a/src/views/device/receive/applyList.vue +++ b/src/views/device/receive/applyList.vue @@ -27,8 +27,10 @@ const loadingTable = ref(false) // 表格loading const active = ref('0') // 选中的按钮 const approvalDialog = ref() // 审批对话框显隐 -const usePersonList = ref([]) // 申请人列表(用户) const useDeptList = ref([]) // 部门列表 +const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) // 申请人模糊搜索框loading // 查询条件 const listQuery: Ref = ref({ @@ -82,6 +84,7 @@ { text: '申请部门', value: 'applyUnitName', align: 'center' }, { text: '申请人', value: 'applyPersonName', align: 'center' }, { text: '领用时间', value: 'time', align: 'center' }, + { text: '申请说明', value: 'applyDesc', align: 'center' }, { text: '审批状态', value: 'approvalStatus', align: 'center' }, ]) // 选中的内容 @@ -315,10 +318,27 @@ fetchData(true) } -// 获取用户列表 +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + +// 获取用户列表(增加模糊查询) const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -363,8 +383,17 @@ - - + + @@ -374,8 +403,8 @@ range-separator="到" format="YYYY-MM-DD" value-format="YYYY-MM-DD" - start-placeholder="申请开始日期" - end-placeholder="申请结束日期" + start-placeholder="领用开始日期" + end-placeholder="领用结束日期" /> diff --git a/src/views/device/receive/createOrCheck.vue b/src/views/device/receive/createOrCheck.vue index 51dfb04..ec48847 100644 --- a/src/views/device/receive/createOrCheck.vue +++ b/src/views/device/receive/createOrCheck.vue @@ -29,9 +29,10 @@ const approvalStatus = ref() // 审批类型 const useDeptList = ref([]) // 部门列表 const usePersonList = ref([]) // 申请人列表(用户) +const usePersonOptions = ref([]) // 申请人列表(用户)--模糊搜索数据 +const applyPersonLoading = ref(false) const isMulti = ref(false) // 是否批量添加(允许多选) const selectIndex = ref() // 点击选择的index--点击第几行 -const { proxy } = getCurrentInstance() as any const dialogSelectDiviceVisible = ref(false) // 控制选择设备对话框显隐 const textMap: { [key: string]: string } = { edit: '编辑', @@ -45,6 +46,7 @@ taskId: '', // 任务id(审批用) id: '', processId: '', // 流程id--查询审批记录使用 + applyName: '', // 申请名称 applyUnit: '', // 申请单位 applyPerson: '', // 申请人 time: '', // 领用时间 @@ -79,6 +81,7 @@ ]) // 表单校验规则 const rules = reactive({ + applyName: [{ required: true, message: '申请名称不能为空', trigger: 'blur' }], applyUnit: [{ required: true, message: '申请单位不能为空', trigger: 'change' }], applyPerson: [{ required: true, message: '申请人不能为空', trigger: 'blur' }], time: [{ type: 'date', required: true, message: '领用时间不能为空', trigger: 'change' }], @@ -153,6 +156,11 @@ // 增加行 const addRow = () => { + const index = list.value.findIndex(item => !item.equipmentNo) + if (index !== -1) { + ElMessage.warning('请完善上一条设备信息') + return + } list.value.push({ equipmentName: '', // 设备名称 equipmentNo: '', // 设备编号 @@ -200,10 +208,10 @@ } // 把选择好的设备添加到列表中后,清除空行 - const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) - if (index !== -1) { - list.value.splice(index, 1) - } + // const index = list.value.findIndex((item: IdeviceList) => !item.equipmentNo) + // if (index !== -1) { + // list.value.splice(index, 1) + // } } // 保存 @@ -215,6 +223,7 @@ background: 'rgba(255, 255, 255, 0.8)', }) const params = { + applyName: form.value.applyName, // 申请名称 applyUnit: form.value.applyUnit, // 申请单位 applyPerson: form.value.applyPerson, // 申请人 time: form.value.time, // 领用时间 @@ -276,6 +285,7 @@ const fetchUserList = () => { getUserList({ offset: 1, limit: 999999 }).then((res: any) => { usePersonList.value = res.data.rows + usePersonOptions.value = res.data.rows }) } @@ -309,6 +319,22 @@ }) } +// 选择器模糊查询 +const remoteMethod = (query: string) => { + if (query) { + applyPersonLoading.value = true + setTimeout(() => { + applyPersonLoading.value = false + usePersonOptions.value = usePersonList.value.filter((item) => { + return item.name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } + else { + usePersonOptions.value = usePersonList.value + } +} + onMounted(() => { typeValue.value = $route.query.typeValue // 类型add、edit、detail form.value.id = $route.query.id as string // id @@ -365,7 +391,17 @@ :rules="rules" > - + + + + + + - + - - + + - + - + diff --git a/src/views/device/receive/receive.ts b/src/views/device/receive/receive.ts index 844b717..2754aee 100644 --- a/src/views/device/receive/receive.ts +++ b/src/views/device/receive/receive.ts @@ -23,8 +23,8 @@ applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 @@ -33,14 +33,15 @@ processId: string // 流程ID-查询审批记录时使用 } +// 设备领用处理列表 export interface IsolveListType { id: string applyNo: string // 申请编号 applyName: string // 申请名称 applyUnit: string // 申请部门 applyPerson: string // 申请人 - startTime: string // 申请开始日期 - endTime: string // 申请结束日期 + time: string // 领用时间 + applyDesc: string // 申请说明 approvalStatus: string // 审批状态 processResult: string // 处置结果 applyType: string // 申请类型 领用0 diff --git a/src/views/device/receive/selectDeviceDialog.vue b/src/views/device/receive/selectDeviceDialog.vue index 4439958..c89ed14 100644 --- a/src/views/device/receive/selectDeviceDialog.vue +++ b/src/views/device/receive/selectDeviceDialog.vue @@ -1,4 +1,4 @@ - + @@ -306,9 +328,20 @@ - - - + + + + +