| | |
| | | "npm": ">= 3.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-module-imports": { |
| | | "version": "7.21.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz", |
| | | "integrity": "sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==", |
| | | "node_modules/@ampproject/remapping": { |
| | | "version": "2.2.1", |
| | | "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", |
| | | "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.21.4" |
| | | "@jridgewell/gen-mapping": "^0.3.0", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/code-frame": { |
| | | "version": "7.22.13", |
| | | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", |
| | | "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/highlight": "^7.22.13", |
| | | "chalk": "^2.4.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/compat-data": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.20.tgz", |
| | | "integrity": "sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==", |
| | | "peer": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/core": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.20.tgz", |
| | | "integrity": "sha512-Y6jd1ahLubuYweD/zJH+vvOY141v4f9igNQAQ+MBgq9JlHS2iTsZKn1aMsb3vGccZsXI16VzTBw52Xx0DWmtnA==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@ampproject/remapping": "^2.2.0", |
| | | "@babel/code-frame": "^7.22.13", |
| | | "@babel/generator": "^7.22.15", |
| | | "@babel/helper-compilation-targets": "^7.22.15", |
| | | "@babel/helper-module-transforms": "^7.22.20", |
| | | "@babel/helpers": "^7.22.15", |
| | | "@babel/parser": "^7.22.16", |
| | | "@babel/template": "^7.22.15", |
| | | "@babel/traverse": "^7.22.20", |
| | | "@babel/types": "^7.22.19", |
| | | "convert-source-map": "^1.7.0", |
| | | "debug": "^4.1.0", |
| | | "gensync": "^1.0.0-beta.2", |
| | | "json5": "^2.2.3", |
| | | "semver": "^6.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "funding": { |
| | | "type": "opencollective", |
| | | "url": "https://opencollective.com/babel" |
| | | } |
| | | }, |
| | | "node_modules/@babel/core/node_modules/debug": { |
| | | "version": "4.3.4", |
| | | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", |
| | | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "ms": "2.1.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "supports-color": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/@babel/core/node_modules/json5": { |
| | | "version": "2.2.3", |
| | | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", |
| | | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", |
| | | "peer": true, |
| | | "bin": { |
| | | "json5": "lib/cli.js" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6" |
| | | } |
| | | }, |
| | | "node_modules/@babel/core/node_modules/ms": { |
| | | "version": "2.1.2", |
| | | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", |
| | | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", |
| | | "peer": true |
| | | }, |
| | | "node_modules/@babel/core/node_modules/semver": { |
| | | "version": "6.3.1", |
| | | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", |
| | | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", |
| | | "peer": true, |
| | | "bin": { |
| | | "semver": "bin/semver.js" |
| | | } |
| | | }, |
| | | "node_modules/@babel/generator": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.15.tgz", |
| | | "integrity": "sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.15", |
| | | "@jridgewell/gen-mapping": "^0.3.2", |
| | | "@jridgewell/trace-mapping": "^0.3.17", |
| | | "jsesc": "^2.5.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/generator/node_modules/jsesc": { |
| | | "version": "2.5.2", |
| | | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", |
| | | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", |
| | | "peer": true, |
| | | "bin": { |
| | | "jsesc": "bin/jsesc" |
| | | }, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", |
| | | "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/compat-data": "^7.22.9", |
| | | "@babel/helper-validator-option": "^7.22.15", |
| | | "browserslist": "^4.21.9", |
| | | "lru-cache": "^5.1.1", |
| | | "semver": "^6.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets/node_modules/browserslist": { |
| | | "version": "4.21.11", |
| | | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.11.tgz", |
| | | "integrity": "sha512-xn1UXOKUz7DjdGlg9RrUr0GGiWzI97UQJnugHtH0OLDfJB7jMgoIkYvRIEO1l9EeEERVqeqLYOcFBW9ldjypbQ==", |
| | | "funding": [ |
| | | { |
| | | "type": "opencollective", |
| | | "url": "https://opencollective.com/browserslist" |
| | | }, |
| | | { |
| | | "type": "tidelift", |
| | | "url": "https://tidelift.com/funding/github/npm/browserslist" |
| | | }, |
| | | { |
| | | "type": "github", |
| | | "url": "https://github.com/sponsors/ai" |
| | | } |
| | | ], |
| | | "peer": true, |
| | | "dependencies": { |
| | | "caniuse-lite": "^1.0.30001538", |
| | | "electron-to-chromium": "^1.4.526", |
| | | "node-releases": "^2.0.13", |
| | | "update-browserslist-db": "^1.0.13" |
| | | }, |
| | | "bin": { |
| | | "browserslist": "cli.js" |
| | | }, |
| | | "engines": { |
| | | "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { |
| | | "version": "5.1.1", |
| | | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", |
| | | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "yallist": "^3.0.2" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets/node_modules/node-releases": { |
| | | "version": "2.0.13", |
| | | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", |
| | | "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", |
| | | "peer": true |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets/node_modules/picocolors": { |
| | | "version": "1.0.0", |
| | | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", |
| | | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", |
| | | "peer": true |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets/node_modules/semver": { |
| | | "version": "6.3.1", |
| | | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", |
| | | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", |
| | | "peer": true, |
| | | "bin": { |
| | | "semver": "bin/semver.js" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets/node_modules/update-browserslist-db": { |
| | | "version": "1.0.13", |
| | | "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", |
| | | "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", |
| | | "funding": [ |
| | | { |
| | | "type": "opencollective", |
| | | "url": "https://opencollective.com/browserslist" |
| | | }, |
| | | { |
| | | "type": "tidelift", |
| | | "url": "https://tidelift.com/funding/github/npm/browserslist" |
| | | }, |
| | | { |
| | | "type": "github", |
| | | "url": "https://github.com/sponsors/ai" |
| | | } |
| | | ], |
| | | "peer": true, |
| | | "dependencies": { |
| | | "escalade": "^3.1.1", |
| | | "picocolors": "^1.0.0" |
| | | }, |
| | | "bin": { |
| | | "update-browserslist-db": "cli.js" |
| | | }, |
| | | "peerDependencies": { |
| | | "browserslist": ">= 4.21.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", |
| | | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", |
| | | "peer": true |
| | | }, |
| | | "node_modules/@babel/helper-environment-visitor": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", |
| | | "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", |
| | | "peer": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-function-name": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", |
| | | "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/template": "^7.22.5", |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-hoist-variables": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", |
| | | "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-module-imports": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", |
| | | "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.15" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-module-transforms": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.22.20.tgz", |
| | | "integrity": "sha512-dLT7JVWIUUxKOs1UnJUBR3S70YK+pKX6AbJgB2vMIvEkZkrfJDbYDJesnPshtKV4LhDOR3Oc5YULeDizRek+5A==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/helper-environment-visitor": "^7.22.20", |
| | | "@babel/helper-module-imports": "^7.22.15", |
| | | "@babel/helper-simple-access": "^7.22.5", |
| | | "@babel/helper-split-export-declaration": "^7.22.6", |
| | | "@babel/helper-validator-identifier": "^7.22.20" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-plugin-utils": { |
| | |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-simple-access": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", |
| | | "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-split-export-declaration": { |
| | | "version": "7.22.6", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", |
| | | "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-string-parser": { |
| | | "version": "7.19.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", |
| | | "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", |
| | | "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-validator-identifier": { |
| | | "version": "7.19.1", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", |
| | | "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", |
| | | "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-validator-option": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", |
| | | "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", |
| | | "peer": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helpers": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.15.tgz", |
| | | "integrity": "sha512-7pAjK0aSdxOwR+CcYAqgWOGy5dcfvzsTIfFTb2odQqW47MDfv14UaJDY6eng8ylM2EaeKXdxaSWESbkmaQHTmw==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/template": "^7.22.15", |
| | | "@babel/traverse": "^7.22.15", |
| | | "@babel/types": "^7.22.15" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/highlight": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", |
| | | "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/helper-validator-identifier": "^7.22.20", |
| | | "chalk": "^2.4.2", |
| | | "js-tokens": "^4.0.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/highlight/node_modules/js-tokens": { |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", |
| | | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", |
| | | "peer": true |
| | | }, |
| | | "node_modules/@babel/parser": { |
| | | "version": "7.21.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz", |
| | | "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==", |
| | | "version": "7.22.16", |
| | | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.16.tgz", |
| | | "integrity": "sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA==", |
| | | "bin": { |
| | | "parser": "bin/babel-parser.js" |
| | | }, |
| | |
| | | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", |
| | | "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" |
| | | }, |
| | | "node_modules/@babel/types": { |
| | | "version": "7.21.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz", |
| | | "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==", |
| | | "node_modules/@babel/template": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", |
| | | "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/helper-string-parser": "^7.19.4", |
| | | "@babel/helper-validator-identifier": "^7.19.1", |
| | | "@babel/code-frame": "^7.22.13", |
| | | "@babel/parser": "^7.22.15", |
| | | "@babel/types": "^7.22.15" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/traverse": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.20.tgz", |
| | | "integrity": "sha512-eU260mPZbU7mZ0N+X10pxXhQFMGTeLb9eFS0mxehS8HZp9o1uSnFeWQuG1UPrlxgA7QoUzFhOnilHDp0AXCyHw==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@babel/code-frame": "^7.22.13", |
| | | "@babel/generator": "^7.22.15", |
| | | "@babel/helper-environment-visitor": "^7.22.20", |
| | | "@babel/helper-function-name": "^7.22.5", |
| | | "@babel/helper-hoist-variables": "^7.22.5", |
| | | "@babel/helper-split-export-declaration": "^7.22.6", |
| | | "@babel/parser": "^7.22.16", |
| | | "@babel/types": "^7.22.19", |
| | | "debug": "^4.1.0", |
| | | "globals": "^11.1.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/traverse/node_modules/debug": { |
| | | "version": "4.3.4", |
| | | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", |
| | | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "ms": "2.1.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "supports-color": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/@babel/traverse/node_modules/globals": { |
| | | "version": "11.12.0", |
| | | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", |
| | | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", |
| | | "peer": true, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/@babel/traverse/node_modules/ms": { |
| | | "version": "2.1.2", |
| | | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", |
| | | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", |
| | | "peer": true |
| | | }, |
| | | "node_modules/@babel/types": { |
| | | "version": "7.22.19", |
| | | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.19.tgz", |
| | | "integrity": "sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==", |
| | | "dependencies": { |
| | | "@babel/helper-string-parser": "^7.22.5", |
| | | "@babel/helper-validator-identifier": "^7.22.19", |
| | | "to-fast-properties": "^2.0.0" |
| | | }, |
| | | "engines": { |
| | |
| | | "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/gen-mapping": { |
| | | "version": "0.3.3", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", |
| | | "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@jridgewell/set-array": "^1.0.1", |
| | | "@jridgewell/sourcemap-codec": "^1.4.10", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/resolve-uri": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", |
| | | "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", |
| | | "peer": true, |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/set-array": { |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", |
| | | "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", |
| | | "peer": true, |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/sourcemap-codec": { |
| | | "version": "1.4.15", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", |
| | | "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", |
| | | "peer": true |
| | | }, |
| | | "node_modules/@jridgewell/trace-mapping": { |
| | | "version": "0.3.19", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", |
| | | "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", |
| | | "peer": true, |
| | | "dependencies": { |
| | | "@jridgewell/resolve-uri": "^3.1.0", |
| | | "@jridgewell/sourcemap-codec": "^1.4.14" |
| | | } |
| | | }, |
| | | "node_modules/@mapbox/node-pre-gyp": { |
| | |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", |
| | | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" |
| | | }, |
| | | "node_modules/@popperjs/core": { |
| | | "version": "2.11.8", |
| | | "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", |
| | | "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", |
| | | "peer": true, |
| | | "funding": { |
| | | "type": "opencollective", |
| | | "url": "https://opencollective.com/popperjs" |
| | | } |
| | | }, |
| | | "node_modules/@transloadit/prettier-bytes": { |
| | | "version": "0.0.7", |
| | |
| | | "version": "3.2.1", |
| | | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", |
| | | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "color-convert": "^1.9.0" |
| | | }, |
| | |
| | | "dev": true |
| | | }, |
| | | "node_modules/caniuse-lite": { |
| | | "version": "1.0.30001477", |
| | | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001477.tgz", |
| | | "integrity": "sha512-lZim4iUHhGcy5p+Ri/G7m84hJwncj+Kz7S5aD4hoQfslKZJgt0tHc/hafVbqHC5bbhHb+mrW2JOUHkI5KH7toQ==", |
| | | "dev": true |
| | | "version": "1.0.30001538", |
| | | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001538.tgz", |
| | | "integrity": "sha512-HWJnhnID+0YMtGlzcp3T9drmBJUVDchPJ08tpUGFLs9CYlwWPH2uLgpHn8fND5pCgXVtnGS3H4QR9XLMHVNkHw==", |
| | | "funding": [ |
| | | { |
| | | "type": "opencollective", |
| | | "url": "https://opencollective.com/browserslist" |
| | | }, |
| | | { |
| | | "type": "tidelift", |
| | | "url": "https://tidelift.com/funding/github/npm/caniuse-lite" |
| | | }, |
| | | { |
| | | "type": "github", |
| | | "url": "https://github.com/sponsors/ai" |
| | | } |
| | | ] |
| | | }, |
| | | "node_modules/canvas": { |
| | | "version": "2.9.0", |
| | |
| | | "version": "2.4.2", |
| | | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", |
| | | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "ansi-styles": "^3.2.1", |
| | | "escape-string-regexp": "^1.0.5", |
| | |
| | | "version": "1.9.3", |
| | | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", |
| | | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "color-name": "1.1.3" |
| | | } |
| | |
| | | "node_modules/color-name": { |
| | | "version": "1.1.3", |
| | | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", |
| | | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", |
| | | "dev": true |
| | | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" |
| | | }, |
| | | "node_modules/color-string": { |
| | | "version": "0.3.0", |
| | |
| | | "version": "1.7.0", |
| | | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", |
| | | "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "safe-buffer": "~5.1.1" |
| | | } |
| | |
| | | } |
| | | }, |
| | | "node_modules/electron-to-chromium": { |
| | | "version": "1.4.356", |
| | | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.356.tgz", |
| | | "integrity": "sha512-nEftV1dRX3omlxAj42FwqRZT0i4xd2dIg39sog/CnCJeCcL1TRd2Uh0i9Oebgv8Ou0vzTPw++xc+Z20jzS2B6A==", |
| | | "dev": true |
| | | "version": "1.4.528", |
| | | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.528.tgz", |
| | | "integrity": "sha512-UdREXMXzLkREF4jA8t89FQjA8WHI6ssP38PMY4/4KhXFQbtImnghh4GkCgrtiZwLKUKVD2iTVXvDVQjfomEQuA==" |
| | | }, |
| | | "node_modules/element-resize-detector": { |
| | | "version": "1.2.2", |
| | |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", |
| | | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6" |
| | | } |
| | |
| | | "version": "1.0.5", |
| | | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", |
| | | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=0.8.0" |
| | | } |
| | |
| | | "node": ">=8" |
| | | } |
| | | }, |
| | | "node_modules/gensync": { |
| | | "version": "1.0.0-beta.2", |
| | | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", |
| | | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", |
| | | "peer": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/get-caller-file": { |
| | | "version": "1.0.3", |
| | | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", |
| | |
| | | "version": "3.0.0", |
| | | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", |
| | | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | |
| | | "version": "5.5.0", |
| | | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", |
| | | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "has-flag": "^3.0.0" |
| | | }, |
| | |
| | | } |
| | | }, |
| | | "dependencies": { |
| | | "@babel/helper-module-imports": { |
| | | "version": "7.21.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz", |
| | | "integrity": "sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==", |
| | | "@ampproject/remapping": { |
| | | "version": "2.2.1", |
| | | "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", |
| | | "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/types": "^7.21.4" |
| | | "@jridgewell/gen-mapping": "^0.3.0", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | | } |
| | | }, |
| | | "@babel/code-frame": { |
| | | "version": "7.22.13", |
| | | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", |
| | | "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/highlight": "^7.22.13", |
| | | "chalk": "^2.4.2" |
| | | } |
| | | }, |
| | | "@babel/compat-data": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.20.tgz", |
| | | "integrity": "sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==", |
| | | "peer": true |
| | | }, |
| | | "@babel/core": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.20.tgz", |
| | | "integrity": "sha512-Y6jd1ahLubuYweD/zJH+vvOY141v4f9igNQAQ+MBgq9JlHS2iTsZKn1aMsb3vGccZsXI16VzTBw52Xx0DWmtnA==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@ampproject/remapping": "^2.2.0", |
| | | "@babel/code-frame": "^7.22.13", |
| | | "@babel/generator": "^7.22.15", |
| | | "@babel/helper-compilation-targets": "^7.22.15", |
| | | "@babel/helper-module-transforms": "^7.22.20", |
| | | "@babel/helpers": "^7.22.15", |
| | | "@babel/parser": "^7.22.16", |
| | | "@babel/template": "^7.22.15", |
| | | "@babel/traverse": "^7.22.20", |
| | | "@babel/types": "^7.22.19", |
| | | "convert-source-map": "^1.7.0", |
| | | "debug": "^4.1.0", |
| | | "gensync": "^1.0.0-beta.2", |
| | | "json5": "^2.2.3", |
| | | "semver": "^6.3.1" |
| | | }, |
| | | "dependencies": { |
| | | "debug": { |
| | | "version": "4.3.4", |
| | | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", |
| | | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", |
| | | "peer": true, |
| | | "requires": { |
| | | "ms": "2.1.2" |
| | | } |
| | | }, |
| | | "json5": { |
| | | "version": "2.2.3", |
| | | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", |
| | | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", |
| | | "peer": true |
| | | }, |
| | | "ms": { |
| | | "version": "2.1.2", |
| | | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", |
| | | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", |
| | | "peer": true |
| | | }, |
| | | "semver": { |
| | | "version": "6.3.1", |
| | | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", |
| | | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", |
| | | "peer": true |
| | | } |
| | | } |
| | | }, |
| | | "@babel/generator": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.15.tgz", |
| | | "integrity": "sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/types": "^7.22.15", |
| | | "@jridgewell/gen-mapping": "^0.3.2", |
| | | "@jridgewell/trace-mapping": "^0.3.17", |
| | | "jsesc": "^2.5.1" |
| | | }, |
| | | "dependencies": { |
| | | "jsesc": { |
| | | "version": "2.5.2", |
| | | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", |
| | | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", |
| | | "peer": true |
| | | } |
| | | } |
| | | }, |
| | | "@babel/helper-compilation-targets": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", |
| | | "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/compat-data": "^7.22.9", |
| | | "@babel/helper-validator-option": "^7.22.15", |
| | | "browserslist": "^4.21.9", |
| | | "lru-cache": "^5.1.1", |
| | | "semver": "^6.3.1" |
| | | }, |
| | | "dependencies": { |
| | | "browserslist": { |
| | | "version": "4.21.11", |
| | | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.11.tgz", |
| | | "integrity": "sha512-xn1UXOKUz7DjdGlg9RrUr0GGiWzI97UQJnugHtH0OLDfJB7jMgoIkYvRIEO1l9EeEERVqeqLYOcFBW9ldjypbQ==", |
| | | "peer": true, |
| | | "requires": { |
| | | "caniuse-lite": "^1.0.30001538", |
| | | "electron-to-chromium": "^1.4.526", |
| | | "node-releases": "^2.0.13", |
| | | "update-browserslist-db": "^1.0.13" |
| | | } |
| | | }, |
| | | "lru-cache": { |
| | | "version": "5.1.1", |
| | | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", |
| | | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", |
| | | "peer": true, |
| | | "requires": { |
| | | "yallist": "^3.0.2" |
| | | } |
| | | }, |
| | | "node-releases": { |
| | | "version": "2.0.13", |
| | | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", |
| | | "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", |
| | | "peer": true |
| | | }, |
| | | "picocolors": { |
| | | "version": "1.0.0", |
| | | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", |
| | | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", |
| | | "peer": true |
| | | }, |
| | | "semver": { |
| | | "version": "6.3.1", |
| | | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", |
| | | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", |
| | | "peer": true |
| | | }, |
| | | "update-browserslist-db": { |
| | | "version": "1.0.13", |
| | | "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", |
| | | "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", |
| | | "peer": true, |
| | | "requires": { |
| | | "escalade": "^3.1.1", |
| | | "picocolors": "^1.0.0" |
| | | } |
| | | }, |
| | | "yallist": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", |
| | | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", |
| | | "peer": true |
| | | } |
| | | } |
| | | }, |
| | | "@babel/helper-environment-visitor": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", |
| | | "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", |
| | | "peer": true |
| | | }, |
| | | "@babel/helper-function-name": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", |
| | | "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/template": "^7.22.5", |
| | | "@babel/types": "^7.22.5" |
| | | } |
| | | }, |
| | | "@babel/helper-hoist-variables": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", |
| | | "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/types": "^7.22.5" |
| | | } |
| | | }, |
| | | "@babel/helper-module-imports": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", |
| | | "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", |
| | | "requires": { |
| | | "@babel/types": "^7.22.15" |
| | | } |
| | | }, |
| | | "@babel/helper-module-transforms": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.22.20.tgz", |
| | | "integrity": "sha512-dLT7JVWIUUxKOs1UnJUBR3S70YK+pKX6AbJgB2vMIvEkZkrfJDbYDJesnPshtKV4LhDOR3Oc5YULeDizRek+5A==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/helper-environment-visitor": "^7.22.20", |
| | | "@babel/helper-module-imports": "^7.22.15", |
| | | "@babel/helper-simple-access": "^7.22.5", |
| | | "@babel/helper-split-export-declaration": "^7.22.6", |
| | | "@babel/helper-validator-identifier": "^7.22.20" |
| | | } |
| | | }, |
| | | "@babel/helper-plugin-utils": { |
| | |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", |
| | | "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==" |
| | | }, |
| | | "@babel/helper-simple-access": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", |
| | | "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/types": "^7.22.5" |
| | | } |
| | | }, |
| | | "@babel/helper-split-export-declaration": { |
| | | "version": "7.22.6", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", |
| | | "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/types": "^7.22.5" |
| | | } |
| | | }, |
| | | "@babel/helper-string-parser": { |
| | | "version": "7.19.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", |
| | | "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==" |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", |
| | | "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==" |
| | | }, |
| | | "@babel/helper-validator-identifier": { |
| | | "version": "7.19.1", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", |
| | | "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", |
| | | "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" |
| | | }, |
| | | "@babel/helper-validator-option": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", |
| | | "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", |
| | | "peer": true |
| | | }, |
| | | "@babel/helpers": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.15.tgz", |
| | | "integrity": "sha512-7pAjK0aSdxOwR+CcYAqgWOGy5dcfvzsTIfFTb2odQqW47MDfv14UaJDY6eng8ylM2EaeKXdxaSWESbkmaQHTmw==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/template": "^7.22.15", |
| | | "@babel/traverse": "^7.22.15", |
| | | "@babel/types": "^7.22.15" |
| | | } |
| | | }, |
| | | "@babel/highlight": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", |
| | | "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/helper-validator-identifier": "^7.22.20", |
| | | "chalk": "^2.4.2", |
| | | "js-tokens": "^4.0.0" |
| | | }, |
| | | "dependencies": { |
| | | "js-tokens": { |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", |
| | | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", |
| | | "peer": true |
| | | } |
| | | } |
| | | }, |
| | | "@babel/parser": { |
| | | "version": "7.21.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz", |
| | | "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==" |
| | | "version": "7.22.16", |
| | | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.16.tgz", |
| | | "integrity": "sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA==" |
| | | }, |
| | | "@babel/plugin-syntax-jsx": { |
| | | "version": "7.16.7", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "@babel/types": { |
| | | "version": "7.21.4", |
| | | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz", |
| | | "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==", |
| | | "@babel/template": { |
| | | "version": "7.22.15", |
| | | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", |
| | | "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/helper-string-parser": "^7.19.4", |
| | | "@babel/helper-validator-identifier": "^7.19.1", |
| | | "@babel/code-frame": "^7.22.13", |
| | | "@babel/parser": "^7.22.15", |
| | | "@babel/types": "^7.22.15" |
| | | } |
| | | }, |
| | | "@babel/traverse": { |
| | | "version": "7.22.20", |
| | | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.20.tgz", |
| | | "integrity": "sha512-eU260mPZbU7mZ0N+X10pxXhQFMGTeLb9eFS0mxehS8HZp9o1uSnFeWQuG1UPrlxgA7QoUzFhOnilHDp0AXCyHw==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@babel/code-frame": "^7.22.13", |
| | | "@babel/generator": "^7.22.15", |
| | | "@babel/helper-environment-visitor": "^7.22.20", |
| | | "@babel/helper-function-name": "^7.22.5", |
| | | "@babel/helper-hoist-variables": "^7.22.5", |
| | | "@babel/helper-split-export-declaration": "^7.22.6", |
| | | "@babel/parser": "^7.22.16", |
| | | "@babel/types": "^7.22.19", |
| | | "debug": "^4.1.0", |
| | | "globals": "^11.1.0" |
| | | }, |
| | | "dependencies": { |
| | | "debug": { |
| | | "version": "4.3.4", |
| | | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", |
| | | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", |
| | | "peer": true, |
| | | "requires": { |
| | | "ms": "2.1.2" |
| | | } |
| | | }, |
| | | "globals": { |
| | | "version": "11.12.0", |
| | | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", |
| | | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", |
| | | "peer": true |
| | | }, |
| | | "ms": { |
| | | "version": "2.1.2", |
| | | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", |
| | | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", |
| | | "peer": true |
| | | } |
| | | } |
| | | }, |
| | | "@babel/types": { |
| | | "version": "7.22.19", |
| | | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.19.tgz", |
| | | "integrity": "sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==", |
| | | "requires": { |
| | | "@babel/helper-string-parser": "^7.22.5", |
| | | "@babel/helper-validator-identifier": "^7.22.19", |
| | | "to-fast-properties": "^2.0.0" |
| | | }, |
| | | "dependencies": { |
| | |
| | | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", |
| | | "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" |
| | | } |
| | | } |
| | | }, |
| | | "@jridgewell/gen-mapping": { |
| | | "version": "0.3.3", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", |
| | | "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@jridgewell/set-array": "^1.0.1", |
| | | "@jridgewell/sourcemap-codec": "^1.4.10", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | | } |
| | | }, |
| | | "@jridgewell/resolve-uri": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", |
| | | "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", |
| | | "peer": true |
| | | }, |
| | | "@jridgewell/set-array": { |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", |
| | | "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", |
| | | "peer": true |
| | | }, |
| | | "@jridgewell/sourcemap-codec": { |
| | | "version": "1.4.15", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", |
| | | "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", |
| | | "peer": true |
| | | }, |
| | | "@jridgewell/trace-mapping": { |
| | | "version": "0.3.19", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", |
| | | "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", |
| | | "peer": true, |
| | | "requires": { |
| | | "@jridgewell/resolve-uri": "^3.1.0", |
| | | "@jridgewell/sourcemap-codec": "^1.4.14" |
| | | } |
| | | }, |
| | | "@mapbox/node-pre-gyp": { |
| | |
| | | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" |
| | | } |
| | | } |
| | | }, |
| | | "@popperjs/core": { |
| | | "version": "2.11.8", |
| | | "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", |
| | | "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", |
| | | "peer": true |
| | | }, |
| | | "@transloadit/prettier-bytes": { |
| | | "version": "0.0.7", |
| | |
| | | "version": "3.2.1", |
| | | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", |
| | | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", |
| | | "dev": true, |
| | | "requires": { |
| | | "color-convert": "^1.9.0" |
| | | } |
| | |
| | | "dev": true |
| | | }, |
| | | "caniuse-lite": { |
| | | "version": "1.0.30001477", |
| | | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001477.tgz", |
| | | "integrity": "sha512-lZim4iUHhGcy5p+Ri/G7m84hJwncj+Kz7S5aD4hoQfslKZJgt0tHc/hafVbqHC5bbhHb+mrW2JOUHkI5KH7toQ==", |
| | | "dev": true |
| | | "version": "1.0.30001538", |
| | | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001538.tgz", |
| | | "integrity": "sha512-HWJnhnID+0YMtGlzcp3T9drmBJUVDchPJ08tpUGFLs9CYlwWPH2uLgpHn8fND5pCgXVtnGS3H4QR9XLMHVNkHw==" |
| | | }, |
| | | "canvas": { |
| | | "version": "2.9.0", |
| | |
| | | "version": "2.4.2", |
| | | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", |
| | | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", |
| | | "dev": true, |
| | | "requires": { |
| | | "ansi-styles": "^3.2.1", |
| | | "escape-string-regexp": "^1.0.5", |
| | |
| | | "version": "1.9.3", |
| | | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", |
| | | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", |
| | | "dev": true, |
| | | "requires": { |
| | | "color-name": "1.1.3" |
| | | } |
| | |
| | | "color-name": { |
| | | "version": "1.1.3", |
| | | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", |
| | | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", |
| | | "dev": true |
| | | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" |
| | | }, |
| | | "color-string": { |
| | | "version": "0.3.0", |
| | |
| | | "version": "1.7.0", |
| | | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", |
| | | "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", |
| | | "dev": true, |
| | | "requires": { |
| | | "safe-buffer": "~5.1.1" |
| | | } |
| | |
| | | "dev": true |
| | | }, |
| | | "electron-to-chromium": { |
| | | "version": "1.4.356", |
| | | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.356.tgz", |
| | | "integrity": "sha512-nEftV1dRX3omlxAj42FwqRZT0i4xd2dIg39sog/CnCJeCcL1TRd2Uh0i9Oebgv8Ou0vzTPw++xc+Z20jzS2B6A==", |
| | | "dev": true |
| | | "version": "1.4.528", |
| | | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.528.tgz", |
| | | "integrity": "sha512-UdREXMXzLkREF4jA8t89FQjA8WHI6ssP38PMY4/4KhXFQbtImnghh4GkCgrtiZwLKUKVD2iTVXvDVQjfomEQuA==" |
| | | }, |
| | | "element-resize-detector": { |
| | | "version": "1.2.2", |
| | |
| | | "escalade": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", |
| | | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", |
| | | "dev": true |
| | | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" |
| | | }, |
| | | "escape-html": { |
| | | "version": "1.0.3", |
| | |
| | | "escape-string-regexp": { |
| | | "version": "1.0.5", |
| | | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", |
| | | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", |
| | | "dev": true |
| | | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" |
| | | }, |
| | | "escope": { |
| | | "version": "3.6.0", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "gensync": { |
| | | "version": "1.0.0-beta.2", |
| | | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", |
| | | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", |
| | | "peer": true |
| | | }, |
| | | "get-caller-file": { |
| | | "version": "1.0.3", |
| | | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", |
| | |
| | | "has-flag": { |
| | | "version": "3.0.0", |
| | | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", |
| | | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", |
| | | "dev": true |
| | | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" |
| | | }, |
| | | "has-symbols": { |
| | | "version": "1.0.2", |
| | |
| | | "version": "5.5.0", |
| | | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", |
| | | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", |
| | | "dev": true, |
| | | "requires": { |
| | | "has-flag": "^3.0.0" |
| | | } |
| | |
| | | // ææ¯ç®¡ç-æ åBom |
| | | const standard = { |
| | | // ææ¯ç®¡ç-æ åBom |
| | | selectTreeByMaterial: "material/selectTreeByMaterial", //æ¥è¯¢ç©æçæ |
| | | selectVersion: "/material/selectVersion", //å³ä¾§çæ¬ |
| | | selectProductByMaterial: "product/selectTreeByMaterial", //æ ¹æ®ç©ææ¥è¯¢é¡¹ç®è¡¨æ ¼ |
| | | selectTechnologyByMaterial: "technology/select", |
| | | selectAll: "/material/selectAll", //å³ä¾§æ°æ® |
| | | technologyWrite: "/technology/write", //å·¥èºè·¯çº¿ï¼ç§»å¼ä¿åç产å®é¢ |
| | | writeDevice: "/technology/writeDevice", //å·¥èºè·¯çº¿ï¼éæ©è®¾å¤ç»,ç§»å¼ä¿å |
| | | productWrite: "/product/write", //ææ¯ææ ï¼ç§»å¼ä¿åå
æ§å¼åæ åå¼ |
| | | chooseFather: "/technology/chooseFather", //è·åå·¥åºå表 |
| | | chooseDevice: "/technology/chooseDevice", //è·å设å¤ç»å表 |
| | | addTechnology: "/technology/add", //æ·»å å·¥èºè·¯çº¿ |
| | | leftAddOneTwo: "/material/add", //左侧æ°å¢1ï¼2级 |
| | | leftAddThree: "/standard/add", //左侧ä¸çº§æ°å¢ |
| | | leftAddFour: "/specifications/add", //左侧å级æ°å¢ |
| | | chooseTechByStandard: "/product/chooseTech", //å³ä¸è§æ°å¢-->ææ¯ææ -->鿩工åº,å·¥èº |
| | | chooseFatherByStandard: "/product/chooseFather", //å³ä¸è§æ°å¢-->ææ¯ææ -->鿩项ç®ç¶ç±» |
| | | addProductByStandard: "/product/add", //å³ä¸è§æ°å¢-->ææ¯ææ |
| | | addMBomByStandard: "/mbom/add", //å³ä¸è§æ°å¢-->ç©ææ¸
å |
| | | chooseTechByMBom: "/mbom/chooseTech", //å³ä¸è§æ°å¢-->ç©ææ¸
å-->鿩工åº,å·¥èº |
| | | mBomWrite: "/mbom/write", //ç©ææ¸
å-->æ°é,ç§»å¼ä¿å |
| | | chooseTechByProduct: "/technique/chooseTech", //å³ä¸è§æ°å¢-->ç产工èº-->鿩工åº,å·¥èº |
| | | addTechniqueByStandard: "/technique/add", //å³ä¸è§æ°å¢-->çäº§å·¥èº |
| | | chooseProByProduct: "/technique/choosePro", //å³ä¸è§æ°å¢-->ç产工èº-->鿩项ç®(ç¶å),åä½ |
| | | chooseDevByProduct: "/technique/chooseDev", //å³ä¸è§æ°å¢-->ç产工èº-->éæ©è®¾å¤ |
| | | addVersion: "/material/addVersion", //æ·»å åä¸ä¸ªåå·å·¥èºè·¯çº¿,ææ¯ææ ,ç©ææ¸
å,ç产工èºççæ¬ |
| | | delAllByTechnology: "/technology/delAllTech", //å·¥èºè·¯çº¿-æ¹éå é¤ |
| | | delAllByTarget: "/product/delAllPro", //ææ¯ææ -æ¹éå é¤ |
| | | delAllByMBom: "/mbom/delAllMbom", //ç©ææ¸
å-æ¹éå é¤ |
| | | delAllByProduct: "/technique/delAllTeq", //ç产工èº-æ¹éå é¤ |
| | | // ææ¯ç®¡ç-ææ¯æä»¶ |
| | | selectAllOrder: "/orders/selectAllOrder", //æ¥è¯¢ææè®¢åå表 |
| | | selectOrderById: "/orders/selectOrderById", //æ ¹æ®è®¢åidæ¥è¯¢è®¢å详æ
|
| | | // ææ¯ç®¡ç-æ åBom |
| | | selectTreeByMaterial: "material/selectTreeByMaterial", //æ¥è¯¢ç©æçæ |
| | | selectVersion: "/material/selectVersion", //å³ä¾§çæ¬ |
| | | selectProductByMaterial: "product/selectTreeByMaterial", //æ ¹æ®ç©ææ¥è¯¢é¡¹ç®è¡¨æ ¼ |
| | | selectTechnologyByMaterial: "technology/select", |
| | | selectAll: "/material/selectAll", //å³ä¾§æ°æ® |
| | | technologyWrite: "/technology/write", //å·¥èºè·¯çº¿ï¼ç§»å¼ä¿åç产å®é¢ |
| | | writeDevice: "/technology/writeDevice", //å·¥èºè·¯çº¿ï¼éæ©è®¾å¤ç»,ç§»å¼ä¿å |
| | | productWrite: "/product/write", //ææ¯ææ ï¼ç§»å¼ä¿åå
æ§å¼åæ åå¼ |
| | | chooseFather: "/technology/chooseFather", //è·åå·¥åºå表 |
| | | chooseDevice: "/technology/chooseDevice", //è·å设å¤ç»å表 |
| | | addTechnology: "/technology/add", //æ·»å å·¥èºè·¯çº¿ |
| | | leftAddOneTwo: "/material/add", //左侧æ°å¢1ï¼2级 |
| | | leftAddThree: "/standard/add", //左侧ä¸çº§æ°å¢ |
| | | leftAddFour: "/specifications/add", //左侧å级æ°å¢ |
| | | chooseTechByStandard: "/product/chooseTech", //å³ä¸è§æ°å¢-->ææ¯ææ -->鿩工åº,å·¥èº |
| | | chooseFatherByStandard: "/product/chooseFather", //å³ä¸è§æ°å¢-->ææ¯ææ -->鿩项ç®ç¶ç±» |
| | | addProductByStandard: "/product/add", //å³ä¸è§æ°å¢-->ææ¯ææ |
| | | addMBomByStandard: "/mbom/add", //å³ä¸è§æ°å¢-->ç©ææ¸
å |
| | | chooseTechByMBom: "/mbom/chooseTech", //å³ä¸è§æ°å¢-->ç©ææ¸
å-->鿩工åº,å·¥èº |
| | | mBomWrite: "/mbom/write", //ç©ææ¸
å-->æ°é,ç§»å¼ä¿å |
| | | chooseTechByProduct: "/technique/chooseTech", //å³ä¸è§æ°å¢-->ç产工èº-->鿩工åº,å·¥èº |
| | | addTechniqueByStandard: "/technique/add", //å³ä¸è§æ°å¢-->çäº§å·¥èº |
| | | chooseProByProduct: "/technique/choosePro", //å³ä¸è§æ°å¢-->ç产工èº-->鿩项ç®(ç¶å),åä½ |
| | | chooseDevByProduct: "/technique/chooseDev", //å³ä¸è§æ°å¢-->ç产工èº-->éæ©è®¾å¤ |
| | | addVersion: "/material/addVersion", //æ·»å åä¸ä¸ªåå·å·¥èºè·¯çº¿,ææ¯ææ ,ç©ææ¸
å,ç产工èºççæ¬ |
| | | delAllByTechnology: "/technology/delAllTech", //å·¥èºè·¯çº¿-æ¹éå é¤ |
| | | delAllByTarget: "/product/delAllPro", //ææ¯ææ -æ¹éå é¤ |
| | | delAllByMBom: "/mbom/delAllMbom", //ç©ææ¸
å-æ¹éå é¤ |
| | | delAllByProduct: "/technique/delAllTeq", //ç产工èº-æ¹éå é¤ |
| | | // ææ¯ç®¡ç-ææ¯æä»¶ |
| | | selectAllOrder: "/orders/selectAllOrder", //æ¥è¯¢ææè®¢åå表 |
| | | selectOrderById: "/orders/selectOrderById", //æ ¹æ®è®¢åidæ¥è¯¢è®¢å详æ
|
| | | |
| | | |
| | | //订åBOM |
| | | delDevice: "/device/delDeviceById", //订åBom |
| | | compile: "/orders/compile", //ç¼å¶ |
| | | //订åBOM |
| | | delDevice: "/device/delDeviceById", //订åBom |
| | | compile: "/orders/compile", //ç¼å¶ |
| | | } |
| | | // åæææ£éª |
| | | const raw = { |
| | | selectRawInspectsList: "/rawInspect/selectRawInspectsList", //æ¥è¯¢åæææ£éªåå表 |
| | | selectRawInspectsListById: "/rawInspect/selectRawInspectsListById/", //æ ¹æ®æ£éªåidè·åæ£éªå详æ
|
| | | updaterawInsProduct: '/rawInsProduct/updaterawInsProduct', //ä¿®æ¹é¡¹ç®çæ£éªå¼ |
| | | updateRawInspectsById: "/rawInspect/updateRawInspectsById/", //䏿¥, |
| | | rawSelectDevice: "/rawInsProduct/selectDevice", //æ¥è¯¢è®¾å¤ä¿¡æ¯ |
| | | addRawInspects: "/rawInspect/addRawInspects", // æ·»å |
| | | updateDevByRpId: "/rawInsProduct/updateDevByRpId", // æ´æ¹è®¾å¤ |
| | | selectRawInspectsList: "/rawInspect/selectRawInspectsList", //æ¥è¯¢åæææ£éªåå表 |
| | | selectRawInspectsListById: "/rawInspect/selectRawInspectsListById/", //æ ¹æ®æ£éªåidè·åæ£éªå详æ
|
| | | updaterawInsProduct: '/rawInsProduct/updaterawInsProduct', //ä¿®æ¹é¡¹ç®çæ£éªå¼ |
| | | updateRawInspectsById: "/rawInspect/updateRawInspectsById/", //䏿¥, |
| | | rawSelectDevice: "/rawInsProduct/selectDevice", //æ¥è¯¢è®¾å¤ä¿¡æ¯ |
| | | addRawInspects: "/rawInspect/addRawInspects", // æ·»å |
| | | updateDevByRpId: "/rawInsProduct/updateDevByRpId", // æ´æ¹è®¾å¤ |
| | | } |
| | | //ä¸åæ ¼åææ |
| | | const unqualifiedaa = { |
| | | selectUnRawInspectsList: "/inspectUnaccepted/selectURawMaterials", // æ¥è¯¢åææä¸åæ ¼åæ£éªåå表 |
| | | evaluatePassOrNo: "/inspectUnaccepted/evaluatePassOrNo" // è¯å®¡ |
| | | } |
| | | |
| | | // æ¥è¯¢æåä¸åæ ¼å管ç |
| | | const unRawInspects = { |
| | | inspectUnaccepted: "/inspectUnaccepted/selectUnRawInspectsList" |
| | | inspectUnaccepted: "/inspectUnaccepted/selectUnRawInspectsList", // æ¥è¯¢ä¸åæ ¼åç®¡çæ£éªåå表 |
| | | evaluatePassOrNo: "/inspectUnaccepted/evaluatePassOrNo" // è¯å®¡ |
| | | } |
| | | //ä¸åæ ¼åå¤ç½® |
| | | const dispose = { |
| | | getTable: "/inspectUnaccepted/selectDisposal", // ä¸åæ ¼åå页å表 |
| | | descriptionUpdate: "/inspectUnaccepted/descriptionUpdate", // å¤±ç¦æ´æ°ç°åæè¿° |
| | | viewEditorial: "/inspectUnaccepted/viewEditorial", // æ¥çç¼è¾æè§ |
| | | clickEditing: "/inspectUnaccepted/clickEditing", // ç¹å»ç¼è¾æè§è§¦åæ¥è¯¢ |
| | | addOpinion: "/inspectUnaccepted/addOpinion" // ç¼è¾æè§-->ç¡®å®æé® |
| | | getTable: "/inspectUnaccepted/selectDisposal", // ä¸åæ ¼åå页å表 |
| | | descriptionUpdate: "/inspectUnaccepted/descriptionUpdate", // å¤±ç¦æ´æ°ç°åæè¿° |
| | | editDisposalOpinion: "/inspectUnaccepted/editDisposalOpinion", // ç¼è¾å¤ç½®æè§ç¡®å®æé® |
| | | } |
| | | // æåæ£éª |
| | | const finishedIns = { |
| | | finishedInsListPage: "/finished-inspect/list_page", //è·åæåæ£éªå表 |
| | | // listMaterial:"/finished-inspect/list_material",//æ·»å æ£éªåæ¶ç项ç®å表 |
| | | finishedInspectUser: "/finished-inspect/page_user", //è·åææä¸»æºå·¥ |
| | | projectListByfinishId: "/inspection-item/list_user", //æ ¹æ®idæ¥è¯¢ææé¡¹ç® |
| | | processInspectAddProcess: "/processInspect/addProcess", //æ°å¢æ£éª |
| | | inspectionItemListUser: "/inspection-item/list_user", //æ¥è¯¢æææ£éªé¡¹ç® |
| | | finishedInspectChooseMater: "/finished-inspect/chooseMater", //æ ¹æ®è®¢åå·å¾å°ä¿¡æ¯ |
| | | finishedInspectAddFinish: "/finished-inspect/addFinish", //æ°å¢æåæ£éª |
| | | finishedInspectUpdateFinishInspectsById: "/finished-inspect/updateFinishInspectsById", //䏿¥ |
| | | finishedInspectSelectFinishInspectsListById: "/finished-inspect/selectFinishInspectsListById" |
| | | finishedInsListPage: "/finished-inspect/list_page", //è·åæåæ£éªå表 |
| | | // listMaterial:"/finished-inspect/list_material",//æ·»å æ£éªåæ¶ç项ç®å表 |
| | | finishedInspectUser: "/finished-inspect/page_user", //è·åææä¸»æºå·¥ |
| | | projectListByfinishId: "/inspection-item/list_user", //æ ¹æ®idæ¥è¯¢ææé¡¹ç® |
| | | processInspectAddProcess: "/processInspect/addProcess", //æ°å¢æ£éª |
| | | inspectionItemListUser: "/inspection-item/list_user", //æ¥è¯¢æææ£éªé¡¹ç® |
| | | finishedInspectChooseMater: "/finished-inspect/chooseMater", //æ ¹æ®è®¢åå·å¾å°ä¿¡æ¯ |
| | | finishedInspectAddFinish: "/finished-inspect/addFinish", //æ°å¢æåæ£éª |
| | | finishedInspectUpdateFinishInspectsById: "/finished-inspect/updateFinishInspectsById", //䏿¥ |
| | | finishedInspectSelectFinishInspectsListById: "/finished-inspect/selectFinishInspectsListById" |
| | | } |
| | | // è¿ç¨æ£éª |
| | | const processInspection = { |
| | | selectProcessInspectsList: "/processInspect/selectProcessInspectsList", // å页æ¥è¯¢è¿ç¨æ£éªåå表 |
| | | chooseMaterProcessInspect: "/processInspect/chooseMater", //æ ¹æ®è®¢åå·éæ©äº§ååå·¥èº |
| | | inspectionItemUpdateDevByInsId: "/inspection-item/updateDevByInsId", //æ´æ¹è®¾å¤ |
| | | inspectionItemlose_focus_update: "/inspection-item/lose_focus_update", //æ£éªå¼ |
| | | processInspectUpdateProcessInspectsById: "/processInspect/updateProcessInspectsById", //䏿¥ |
| | | inspectionItemChooseDev: "/inspection-item/chooseDev", |
| | | processInspectSelectProcessInspectsListById: "/processInspect/selectProcessInspectsListById" |
| | | selectProcessInspectsList: "/processInspect/selectProcessInspectsList", // å页æ¥è¯¢è¿ç¨æ£éªåå表 |
| | | chooseMaterProcessInspect: "/processInspect/chooseMater", //æ ¹æ®è®¢åå·éæ©äº§ååå·¥èº |
| | | inspectionItemUpdateDevByInsId: "/inspection-item/updateDevByInsId", //æ´æ¹è®¾å¤ |
| | | inspectionItemlose_focus_update: "/inspection-item/lose_focus_update", //æ£éªå¼ |
| | | processInspectUpdateProcessInspectsById: "/processInspect/updateProcessInspectsById", //䏿¥ |
| | | inspectionItemChooseDev: "/inspection-item/chooseDev", |
| | | processInspectSelectProcessInspectsListById: "/processInspect/selectProcessInspectsListById" |
| | | } |
| | | // QMSå®éªå®¤ç®¡ç |
| | | const laboratory = { |
| | | delDeviceById: "/device/delDeviceById", //å é¤ |
| | | addApi: "/device/add", //æ°å¢ |
| | | listgroup: "/device/list_group", |
| | | selectDevice: "/device/selectDevice", //å³è¾¹å±ç¤º |
| | | addDeviceInspectDownBox: "/device/listInspect", // æ°å¢ä»ªå¨è®¾å¤ï¼æ£éªé¡¹ç®ä¸ææ¡ |
| | | selectDeviceInspectMessage: "/device/inspectId", // æ°å¢ä»ªå¨è®¾å¤ï¼æ ¹æ®æ£éªé¡¹ç®IDæ¥è¯¢æ°æ® |
| | | addDeviceKeeper: "/device/list_user", // æ°å¢ä»ªå¨è®¾å¤ï¼ä¿ç®¡äººä¸ææ¡ |
| | | addDeviceParentClassification: "/device/parent_classification", // æ°å¢ä»ªå¨è®¾å¤ï¼æ¥è¯¢ç¶çº§åç±» |
| | | addDeviceInstrument: "/device/add", // æ°å¢ä»ªå¨è®¾å¤ |
| | | towTree: "/device/two_tree", //äºçº§æ |
| | | tableDeviceList: "/device/table_list", // å®éªå®¤æ¨¡åè¡¨æ ¼æ°æ® |
| | | deleteDevice: "/device/delete", // å é¤å®éªå®¤è®¾å¤ |
| | | deleteIdorFather: "/device/deleteIdorFather" // å 餿 æ¨¡åæ°æ® |
| | | delDeviceById: "/device/delDeviceById", //å é¤ |
| | | addApi: "/device/add", //æ°å¢ |
| | | listgroup: "/device/list_group", |
| | | selectDevice: "/device/selectDevice", //å³è¾¹å±ç¤º |
| | | addDeviceInspectDownBox: "/device/listInspect", // æ°å¢ä»ªå¨è®¾å¤ï¼æ£éªé¡¹ç®ä¸ææ¡ |
| | | selectDeviceInspectMessage: "/device/inspectId", // æ°å¢ä»ªå¨è®¾å¤ï¼æ ¹æ®æ£éªé¡¹ç®IDæ¥è¯¢æ°æ® |
| | | addDeviceKeeper: "/device/list_user", // æ°å¢ä»ªå¨è®¾å¤ï¼ä¿ç®¡äººä¸ææ¡ |
| | | addDeviceParentClassification: "/device/parent_classification", // æ°å¢ä»ªå¨è®¾å¤ï¼æ¥è¯¢ç¶çº§åç±» |
| | | addDeviceInstrument: "/device/add", // æ°å¢ä»ªå¨è®¾å¤ |
| | | towTree: "/device/two_tree", //äºçº§æ |
| | | tableDeviceList: "/device/table_list", // å®éªå®¤æ¨¡åè¡¨æ ¼æ°æ® |
| | | deleteDevice: "/device/delete", // å é¤å®éªå®¤è®¾å¤ |
| | | deleteIdorFather: "/device/deleteIdorFather" // å 餿 æ¨¡åæ°æ® |
| | | } |
| | | |
| | | //search_class:codeNameModel |
| | | // QMS计é管ç |
| | | const measure = { |
| | | measureLedgerPageTable: "/measureLedger/metering_table", // 计é颿µ-->åé¡µè¡¨æ ¼ |
| | | meteringPlanPageTable: "/meteringPlan/metering_table", // 计é计å-->åé¡µè¡¨æ ¼ |
| | | meteringPlanListRecord: "/meteringPlan/list_record", // 计é计å<-->计éå°è´¦ï¼æ¥ç计éå±¥å |
| | | meterPlanListDevice: "/meteringPlan/list_device", //æ°å¢è®¡å设å¤ä¸ææ¡ |
| | | createPerson: "/meteringPlan/list_user", //åå»ºäººä¸ææ¡ |
| | | meteringPlanDevicePlan: "/meteringPlan/add_plan", // 计é计å-->æ°å¢æé® |
| | | measureLedgerPageTable: "/measureLedger/metering_table", // 计é颿µ-->åé¡µè¡¨æ ¼ |
| | | meteringPlanPageTable: "/meteringPlan/metering_table", // 计é计å-->åé¡µè¡¨æ ¼ |
| | | meteringPlanListRecord: "/meteringPlan/list_record", // 计é计å<-->计éå°è´¦ï¼æ¥ç计éå±¥å |
| | | meterPlanListDevice: "/meteringPlan/list_device", //æ°å¢è®¡å设å¤ä¸ææ¡ |
| | | createPerson: "/meteringPlan/list_user", //åå»ºäººä¸ææ¡ |
| | | meteringPlanDevicePlan: "/meteringPlan/add_plan", // 计é计å-->æ°å¢æé® |
| | | } |
| | | //åºç¡æ°æ® |
| | | const Basicdata = { |
| | | selectAllTechNam: "/technologyTemplate/selectAllTechNam", //å·¥èºè·¯çº¿-->å³è¾¹ |
| | | selectAllTechTem: "/technologyTemplate/selectAllTechTem", //å·¥èºè·¯çº¿-->左边 |
| | | chooseDevGroup: "/technologyTemplate/chooseDevGroup", //æ°å¢å·¥èºè·¯çº¿--ãéæ©è®¾å¤ç» |
| | | chooseElement: "/technologyTemplate/chooseElement", //æ°å¢å·¥èºè·¯çº¿-->éæ©å
ä»¶ |
| | | addTechTemp: "/technologyTemplate/addTechTemp", //æ°å¢å·¥èºè·¯çº¿==>æ°å¢ |
| | | chooseTech: "/technologyTemplate/chooseTech", //æ°å¢å·¥èºè·¯çº¿--ãéåå·¥åº |
| | | writeTechById: "/technologyTemplate/writeTechById", //æ°å¢å·¥èºè·¯çº¿-->ç¼è¾ä¼ å |
| | | delTechById: "/technologyTemplate/delTechById", //æ°å¢å·¥èºè·¯çº¿==>å é¤ |
| | | selecTechById: "/technologyTemplate/selecTechById", //æ°å¢å·¥èºè·¯çº¿--ãç¼è¾ |
| | | delAllTech: "/technologyTemplate/delAllTech", //æ¹éå é¤ |
| | | selectAllTechNam: "/technologyTemplate/selectAllTechNam", //å·¥èºè·¯çº¿-->å³è¾¹ |
| | | selectAllTechTem: "/technologyTemplate/selectAllTechTem", //å·¥èºè·¯çº¿-->左边 |
| | | chooseDevGroup: "/technologyTemplate/chooseDevGroup", //æ°å¢å·¥èºè·¯çº¿--ãéæ©è®¾å¤ç» |
| | | chooseElement: "/technologyTemplate/chooseElement", //æ°å¢å·¥èºè·¯çº¿-->éæ©å
ä»¶ |
| | | addTechTemp: "/technologyTemplate/addTechTemp", //æ°å¢å·¥èºè·¯çº¿==>æ°å¢ |
| | | chooseTech: "/technologyTemplate/chooseTech", //æ°å¢å·¥èºè·¯çº¿--ãéåå·¥åº |
| | | writeTechById: "/technologyTemplate/writeTechById", //æ°å¢å·¥èºè·¯çº¿-->ç¼è¾ä¼ å |
| | | delTechById: "/technologyTemplate/delTechById", //æ°å¢å·¥èºè·¯çº¿==>å é¤ |
| | | selecTechById: "/technologyTemplate/selecTechById", //æ°å¢å·¥èºè·¯çº¿--ãç¼è¾ |
| | | delAllTech: "/technologyTemplate/delAllTech", //æ¹éå é¤ |
| | | |
| | | addTechMode: "/technicalModel/addTechMode", //ææ¯ææ ---ãæ°å¢ |
| | | delTechBy: "/technicalModel/delTechById", //ææ¯--.å é¤ |
| | | delAllTechskill: "/technicalModel/delAllTech", //æ¹éå é¤ |
| | | selectAllleft: "/technicalModel/selectAllTechTem", //ææ¯ææ -->左边 |
| | | selectAllright: "/technicalModel/selectAllTechNam", //ææ¯ææ --ãå³è¾¹ |
| | | chooseProFath: "/technicalModel/chooseProFath", //ææ¯ææ ---ãç¶ç±»éæ© |
| | | chooseTechFath: "/technicalModel/chooseTechFath", // ææ¯--->å·¥åºå·¥èº |
| | | selecTech: "/technicalModel/selecTechById", //ææ¯--->ç¼è¾ |
| | | writeTechByIdskill: "/technicalModel/writeTechById", //ç¼è¾ä¼ |
| | | addTechMode: "/technicalModel/addTechMode", //ææ¯ææ ---ãæ°å¢ |
| | | delTechBy: "/technicalModel/delTechById", //ææ¯--.å é¤ |
| | | delAllTechskill: "/technicalModel/delAllTech", //æ¹éå é¤ |
| | | selectAllleft: "/technicalModel/selectAllTechTem", //ææ¯ææ -->左边 |
| | | selectAllright: "/technicalModel/selectAllTechNam", //ææ¯ææ --ãå³è¾¹ |
| | | chooseProFath: "/technicalModel/chooseProFath", //ææ¯ææ ---ãç¶ç±»éæ© |
| | | chooseTechFath: "/technicalModel/chooseTechFath", // ææ¯--->å·¥åºå·¥èº |
| | | selecTech: "/technicalModel/selecTechById", //ææ¯--->ç¼è¾ |
| | | writeTechByIdskill: "/technicalModel/writeTechById", //ç¼è¾ä¼ |
| | | |
| | | selectAllMbom: "/mbomModel/selectAllMbom", //ç©æç»´æ¤--ãå³è¾¹ |
| | | addMbom: "/mbomModel/addMbom", //ç©æ--->æ°å¢ |
| | | material: "/mbomModel/delMbomById", //ç©ææ¸
åå é¤ |
| | | delAllMbom: "/mbomModel/delAllMbom", //æ¹éå é¤ |
| | | selectAllMbom: "/mbomModel/selectAllMbom", //ç©æç»´æ¤--ãå³è¾¹ |
| | | addMbom: "/mbomModel/addMbom", //ç©æ--->æ°å¢ |
| | | material: "/mbomModel/delMbomById", //ç©ææ¸
åå é¤ |
| | | delAllMbom: "/mbomModel/delAllMbom", //æ¹éå é¤ |
| | | |
| | | selectAllTeque: "/techniqueModel/selectAllTeque", //ç产工èºç»´æ¤---ãå³è¾¹ |
| | | selectAllTeque: "/techniqueModel/selectAllTeque", //ç产工èºç»´æ¤---ãå³è¾¹ |
| | | |
| | | selectAllSelf: "/selfcheckModel/selectAllSelf", //èªå»ºç»´æ¤-----ãå³è¾¹ |
| | | addSelfcheck: "/selfcheckModel/addSelfcheck", //èªæ£ ------ãæ°å¢ |
| | | delSelfcheck: "/selfcheckModel/delSelfcheckById", //èªæ£----.å é¤ |
| | | delAll: "selfcheckModel/delAllTech", //æ¹éå é¤---.èªæ£ |
| | | selectAllSelf: "/selfcheckModel/selectAllSelf", //èªå»ºç»´æ¤-----ãå³è¾¹ |
| | | addSelfcheck: "/selfcheckModel/addSelfcheck", //èªæ£ ------ãæ°å¢ |
| | | delSelfcheck: "/selfcheckModel/delSelfcheckById", //èªæ£----.å é¤ |
| | | delAll: "selfcheckModel/delAllTech", //æ¹éå é¤---.èªæ£ |
| | | |
| | | selectjilu: "/recordModel/selectAllRecord", //ç产记å½ç»´æ¤---ãå³è¾¹ |
| | | selecRecord: "/recordModel/selecRecordById", //ç产记å½----.æ°å¢ |
| | | writeRecordById: "/recordModel/writeRecordById", //ç¼è¾ |
| | | delQueByIdapi: "/recordModel/delQueById", //å é¤---.è®°å½å
容 |
| | | selectjilu: "/recordModel/selectAllRecord", //ç产记å½ç»´æ¤---ãå³è¾¹ |
| | | selecRecord: "/recordModel/selecRecordById", //ç产记å½----.æ°å¢ |
| | | writeRecordById: "/recordModel/writeRecordById", //ç¼è¾ |
| | | delQueByIdapi: "/recordModel/delQueById", //å é¤---.è®°å½å
容 |
| | | |
| | | delAllRecord: "/recordModel/delAllRecord", //å 餿¹é--->è®°å½ |
| | | addRecord: "/recordModel/addRecord", //ç产记å½-------.æ°å¢ |
| | | delAllRecord: "/recordModel/delAllRecord", //å 餿¹é--->è®°å½ |
| | | addRecord: "/recordModel/addRecord", //ç产记å½-------.æ°å¢ |
| | | |
| | | choosePro: "/techniqueModel/choosePro", //æ°å¢ç产工èºç»´æ¤---ãéæ©ç¶ç±» |
| | | chooseDeiv: "/techniqueModel/chooseDeiv", //æ°å¢----->è®¾å¤ |
| | | addQeMode: "/techniqueModel/addQeMode", //æ°å¢----ãä¼ å |
| | | delQueById: "/techniqueModel/delQueById", //å é¤ |
| | | delAllQue: "/techniqueModel/delAllQue", //æ¹éå é¤ |
| | | selecQueById: "/techniqueModel/selecQueById", //ç¼è¾ |
| | | writeQueById: "/techniqueModel/writeQueById", //ç¼è¾ä¼ å |
| | | choosePro: "/techniqueModel/choosePro", //æ°å¢ç产工èºç»´æ¤---ãéæ©ç¶ç±» |
| | | chooseDeiv: "/techniqueModel/chooseDeiv", //æ°å¢----->è®¾å¤ |
| | | addQeMode: "/techniqueModel/addQeMode", //æ°å¢----ãä¼ å |
| | | delQueById: "/techniqueModel/delQueById", //å é¤ |
| | | delAllQue: "/techniqueModel/delAllQue", //æ¹éå é¤ |
| | | selecQueById: "/techniqueModel/selecQueById", //ç¼è¾ |
| | | writeQueById: "/techniqueModel/writeQueById", //ç¼è¾ä¼ å |
| | | |
| | | } |
| | | const url = { |
| | | enter: "user/enter", //ç»å½ |
| | | ...standard, |
| | | ...raw, |
| | | ...laboratory, |
| | | ...measure, |
| | | ...finishedIns, |
| | | ...unqualifiedaa, |
| | | ...dispose, |
| | | ...Basicdata, |
| | | ...unRawInspects, |
| | | ...processInspection, |
| | | // ...gettable, |
| | | selectSaleList: "sale/selectSaleList", //æ¥è¯¢éå®åå表 |
| | | selectSaleDatilById: "sale/selectSaleDatilById", //æ ¹æ®éå®åidæ¥ç详æ
, |
| | | addSale: "sale/addSale", //æ°å¢éå®å |
| | | saleCheck: "sale/check", //å®¡æ ¸éå®å |
| | | synchronization: "sale/synchronization", //忥 |
| | | updateSaleById: "sale/updateSaleById", //æ ¹æ®éå®åidä¿®æ¹è¯¦æ
ä¿¡æ¯ |
| | | delSale: "sale/delSale", //æ ¹æ®éå®åidå é¤ |
| | | delAllSale: "sale/delAllSale", //æ¹éå é¤éå®åï¼ |
| | | chooseType: "technologyTemplate/chooseType", //æ¥è¯¢ç±»å |
| | | enter: "user/enter", //ç»å½ |
| | | ...standard, |
| | | ...raw, |
| | | ...laboratory, |
| | | ...measure, |
| | | ...finishedIns, |
| | | ...dispose, |
| | | ...Basicdata, |
| | | ...unRawInspects, |
| | | ...processInspection, |
| | | // ...gettable, |
| | | selectSaleList: "sale/selectSaleList", //æ¥è¯¢éå®åå表 |
| | | selectSaleDatilById: "sale/selectSaleDatilById", //æ ¹æ®éå®åidæ¥ç详æ
, |
| | | addSale: "sale/addSale", //æ°å¢éå®å |
| | | saleCheck: "sale/check", //å®¡æ ¸éå®å |
| | | synchronization: "sale/synchronization", //忥 |
| | | updateSaleById: "sale/updateSaleById", //æ ¹æ®éå®åidä¿®æ¹è¯¦æ
ä¿¡æ¯ |
| | | delSale: "sale/delSale", //æ ¹æ®éå®åidå é¤ |
| | | delAllSale: "sale/delAllSale", //æ¹éå é¤éå®åï¼ |
| | | chooseType: "technologyTemplate/chooseType", //æ¥è¯¢ç±»å |
| | | } |
| | | |
| | | |
| | | export default function(Vue) { |
| | | //æ·»å å
¨å±API |
| | | Vue.prototype.$api = { |
| | | url |
| | | } |
| | | export default function (Vue) { |
| | | //æ·»å å
¨å±API |
| | | Vue.prototype.$api = { |
| | | url |
| | | } |
| | | } |
| | |
| | | <template> |
| | | <div class="unqualifiedBox"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">ä¸åæ ¼åå¤ç½®</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button icon="el-icon-download" size="mini" @click="() => {}" |
| | | >导åº</el-button |
| | | > |
| | | </el-col> |
| | | </el-row> |
| | | <div style="margin-top: 10px;"> |
| | | <el-card shadow="hover" class="margin-30" style="height: 80px;"> |
| | | <div class="choose"> |
| | | <span>产ååç§°ï¼</span> |
| | | <el-input |
| | | size="small" |
| | | v-model="search.productName" |
| | | style="width: 13vw;margin-right: 5px;" |
| | | placeholder="请è¾å
¥" |
| | | clearable |
| | | ></el-input> |
| | | <span>è§æ ¼åå·ï¼</span> |
| | | <el-input |
| | | size="small" |
| | | v-model="search.specificationModel" |
| | | style="width: 13vw;margin-right: 5px;" |
| | | placeholder="请è¾å
¥" |
| | | clearable |
| | | ></el-input> |
| | | <span>产å大类ï¼</span> |
| | | <el-select |
| | | v-model="search.productCategories" |
| | | size="small" |
| | | placeholder="è¯·éæ©" |
| | | style="width: 13vw;margin-right: 5px;" |
| | | > |
| | | <el-option label="åææ" :value="0"></el-option> |
| | | <el-option label="æå" :value="1"></el-option> |
| | | <el-option label="åæå" :value="2"></el-option> |
| | | </el-select> |
| | | <span>ç¶æï¼</span> |
| | | <el-select |
| | | v-model="search.state" |
| | | size="small" |
| | | placeholder="è¯·éæ©" |
| | | style="width: 13vw;margin-right: 5px;" |
| | | > |
| | | <el-option label="è¿ä¿®ä¸" :value="1"></el-option> |
| | | <el-option label="å¾
å¤ç" :value="0"></el-option> |
| | | </el-select> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="primary" |
| | | style="background: #004EA2;" |
| | | @click=" |
| | | unqualifiedTable = []; |
| | | getDetailInfo(); |
| | | " |
| | | ><span>æ¥ è¯¢</span></el-button |
| | | > |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | <div class="tableno" style="height:300px"> |
| | | <el-card shadow="hover" class="margin-30"> |
| | | <el-table |
| | | :data="unqualifiedTable" |
| | | border |
| | | ref="multipleTable" |
| | | tooltip-effect="dark" |
| | | height="calc(100vh - 340px)" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column type="selection" min-width="50"> </el-table-column> |
| | | <el-table-column type="index" label="åºå·" width="60"> |
| | | <template slot-scope="scope"> |
| | | {{ (search.pageSize - 1) * search.countSize + scope.$index + 1 }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="dateArrival" label="产å大类"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.type == 0">åææ</span> |
| | | <span v-if="scope.row.type == 1">æå</span> |
| | | <span v-if="scope.row.type == 2">åæå</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="productName" |
| | | label="产ååç§°" |
| | | min-width="90" |
| | | show-overflow-tooltip |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="specifications" label="è§æ ¼åå·"> |
| | | </el-table-column> |
| | | <el-table-column prop="number" label="ä¸åæ ¼åæ°é"> |
| | | </el-table-column> |
| | | <el-table-column label="ç°åæè¿°" min-width="150"> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | size="small" |
| | | v-model="scope.row.description" |
| | | @blur="outOfFocusDescription(scope)" |
| | | ></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="å¤ç½®æè§"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" @click="showDisposalOpinions(scope)" |
| | | >æ¥çå¤ç½®æè§</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="user_name" label="ç³è¯·äºº"> </el-table-column> |
| | | <el-table-column prop="date" label="æ¥æ"> </el-table-column> |
| | | <el-table-column prop="deal_state" label="ç¶æ"> |
| | | <template slot-scope="scope"> |
| | | <span style="color:#34BD66;" v-if="scope.row.deal_state == 1" |
| | | >å·²å¤ç</span |
| | | > |
| | | <span style="color:#E84738;" v-else-if="scope.row.deal_state == 0" |
| | | >å¾
å¤ç</span |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" width="130"> |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;"> |
| | | <el-button type="text" siae="small" size="mini">éä»¶</el-button> |
| | | <el-button |
| | | type="text" |
| | | siae="small" |
| | | size="mini" |
| | | style=" color:87, 138, 193 ;" |
| | | @click="clickEditorialOpinion(scope)" |
| | | >ç¼è¾æè§</el-button |
| | | > |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-col |
| | | style="height: 50px;display: flex;align-items: center;justify-content: right;" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="search.pageSize" |
| | | :page-sizes="[10, 15, 20, 30, 50]" |
| | | :page-size="search.countSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="total" |
| | | > |
| | | </el-pagination> |
| | | </el-col> |
| | | </el-card> |
| | | </div> |
| | | <el-dialog title="æç¤º" :visible.sync="dialogVisible" width="30%"> |
| | | <el-form label-width="130px" style="height: 500px; overflow: auto ;"> |
| | | <el-empty |
| | | v-if="updateEditList.length == 0" |
| | | :image-size="200" |
| | | ></el-empty> |
| | | <div v-for="item in updateEditList" :key="item.$index"> |
| | | <el-form-item |
| | | :label=" |
| | | item.type == 0 |
| | | ? 'ææ¯é¨å¤ç½®æè§ï¼' |
| | | : item.type == 1 |
| | | ? 'ç产é¨å¤ç½®æè§ï¼' |
| | | : item.type == 2 |
| | | ? 'è´¨éé¨å¤ç½®æè§ï¼' |
| | | : 'æ»ç»åå¤ç½®æè§ï¼' |
| | | " |
| | | > |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="item.tell" |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-row v-if="isShow == true"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å¡«å人ï¼" v-if="isShow == true"> |
| | | {{ item.name }} |
| | | </el-form-item> |
| | | <div class="unqualifiedBox"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">ä¸åæ ¼åå¤ç½®</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button icon="el-icon-download" size="mini" @click="() => { }">导åº</el-button> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="填忥æï¼" v-if="isShow == true"> |
| | | {{ item.fillDate }} |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="å¤ç½®æ¹å¼ï¼"> |
| | | <el-radio-group v-model="item.way"> |
| | | <el-radio :label="0">è¿å·¥</el-radio> |
| | | <el-radio :label="1">è¿ä¿®</el-radio> |
| | | <el-radio :label="2">è®©æ¥æ¥æ¶</el-radio> |
| | | <el-radio :label="3">ææ¶</el-radio> |
| | | <el-radio :label="4">é级使ç¨</el-radio> |
| | | <el-radio :label="5">æ¥åº</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-divider v-if="item.type != 3"></el-divider> |
| | | </el-row> |
| | | <div style="margin-top: 1em;"> |
| | | <el-card shadow="hover" style="height: 6em; display: flex;align-items: center;"> |
| | | <div class="choose"> |
| | | <span>产ååç§°ï¼</span> |
| | | <el-input size="small" v-model="search.productName" style="width: 13vw;margin-right: 5px;" placeholder="请è¾å
¥" clearable></el-input> |
| | | <span>è§æ ¼åå·ï¼</span> |
| | | <el-input size="small" v-model="search.specificationModel" style="width: 13vw;margin-right: 5px;" placeholder="请è¾å
¥" clearable></el-input> |
| | | <span>产å大类ï¼</span> |
| | | <el-select v-model="search.productCategories" size="small" placeholder="è¯·éæ©" style="width: 13vw;margin-right: 5px;"> |
| | | <el-option label="åææ" :value="0"></el-option> |
| | | <el-option label="åæå" :value="1"></el-option> |
| | | <el-option label="å¨å¶å" :value="2"></el-option> |
| | | </el-select> |
| | | <span>ç¶æï¼</span> |
| | | <el-select v-model="search.state" size="small" placeholder="è¯·éæ©" style="width: 13vw;margin-right: 5px;"> |
| | | <el-option label="è¿ä¿®ä¸" :value="1"></el-option> |
| | | <el-option label="å¾
å¤ç" :value="0"></el-option> |
| | | </el-select> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" type="primary" style="background: #004EA2;" @click="unqualifiedTable = [];getDetailInfo();"><span>æ¥ è¯¢</span></el-button> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="updateEditDevided()">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | <div class="tableno" style="height:300px"> |
| | | <el-card shadow="hover"> |
| | | <el-table :data="unqualifiedTable" border tooltip-effect="dark" height="calc(100vh - 340px)" style="width: 100%" :header-cell-style="{height: '50px'}"> |
| | | <el-table-column type="index" label="åºå·" width="60"> |
| | | <template slot-scope="scope"> |
| | | {{ (search.pageSize - 1) * search.countSize + scope.$index + 1 }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="dateArrival" label="产å大类" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.type == 0">åææ</span> |
| | | <span v-if="scope.row.type == 1">åæå</span> |
| | | <span v-if="scope.row.type == 2">å¨å¶å</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="productName" label="产ååç§°" min-width="100" show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column prop="specifications" label="è§æ ¼åå·" min-width="100"> |
| | | </el-table-column> |
| | | <el-table-column prop="number" label="ä¸åæ ¼åæ°é" min-width="150"> |
| | | </el-table-column> |
| | | <el-table-column label="ç°åæè¿°" min-width="150"> |
| | | <template slot-scope="scope"> |
| | | <el-input size="small" v-model="scope.row.description" @blur="outOfFocusDescription(scope)"></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="å¤ç½®æè§" min-width="100"> |
| | | 1232 |
| | | </el-table-column> |
| | | <el-table-column prop="user_name" label="ç³è¯·äºº" min-width="80"> </el-table-column> |
| | | <el-table-column prop="date" label="æ¥æ" min-width="150"> </el-table-column> |
| | | <el-table-column prop="deal_state" label="ç¶æ"> |
| | | <template slot-scope="scope"> |
| | | <span style="color:#34BD66;" v-if="scope.row.deal_state == 1">å·²å¤ç</span> |
| | | <span style="color:#E84738;" v-else-if="scope.row.deal_state == 0">å¾
å¤ç</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" min-width="130" fixed="right"> |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;"> |
| | | <el-button type="text" siae="small" size="mini">éä»¶</el-button> |
| | | <el-button type="text" siae="small" size="mini" style=" color:87, 138, 193 ;" @click="clickEditorialOpinion(scope)">ç¼è¾æè§</el-button> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-col style="height: 50px;display: flex;align-items: center;justify-content: right;"> |
| | | <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="search.pageSize" :page-sizes="[10, 15, 20, 30, 50]" :page-size="search.countSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> |
| | | </el-pagination> |
| | | </el-col> |
| | | </el-card> |
| | | </div> |
| | | <el-dialog title="æç»å¤ç½®æè§" :visible.sync="dialogVisible" width="30%"> |
| | | <el-form label-width="120px"> |
| | | <div> |
| | | <el-form-item label="æç»å¤ç½®æè§ï¼"> |
| | | <el-input type="textarea" :rows="3" placeholder="请è¾å
¥å
容" v-model="clickEditOpinion.opinion_tell" /> |
| | | </el-form-item> |
| | | <el-form-item label="å¤ç½®æ¹å¼ï¼"> |
| | | <el-radio-group v-model="clickEditOpinion.way"> |
| | | <el-radio :label="3">æ¥æ¶</el-radio> |
| | | <el-radio v-if="clickEditOpinion.type == 0" :label="2">è®©æ¥æ¥æ¶</el-radio> |
| | | <el-radio v-if="clickEditOpinion.type !== 0" :label="4">é级使ç¨</el-radio> |
| | | <el-radio v-if="clickEditOpinion.type == 0" :label="7">æ¢è´§</el-radio> |
| | | <el-radio v-if="clickEditOpinion.type == 0" :label="6">éè´§</el-radio> |
| | | <el-radio :label="1">è¿å·¥è¿ä¿®</el-radio> |
| | | <el-radio v-if="clickEditOpinion.type !== 0" :label="5">æ¥åº</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </div> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="updateEditDevided()">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { watch } from "vue"; |
| | | export default { |
| | | data() { |
| | | return { |
| | | isShow: false, |
| | | search: { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | productCategories: "", // 产å大类 |
| | | productName: "", // 产ååç§° |
| | | specificationModel: "", // è§æ ¼åå· |
| | | state: "" // ç¶æ |
| | | }, |
| | | unqualifiedTable: [], // 页é¢è¡¨æ ¼æ°æ® |
| | | total: 0, // æ»æ¡æ° |
| | | dialogVisible: false, // æ¾ç¤ºå¼¹åºæ¡ |
| | | updateEditList: [] |
| | | }; |
| | | }, |
| | | mounted() { |
| | | this.getDetailInfo(); |
| | | }, |
| | | methods: { |
| | | // å页 |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.getDetailInfo(); |
| | | data() { |
| | | return { |
| | | isShow: false, |
| | | search: { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | productCategories: "", // 产å大类 |
| | | productName: "", // 产ååç§° |
| | | specificationModel: "", // è§æ ¼åå· |
| | | state: "", // ç¶æ |
| | | }, |
| | | unqualifiedTable: [], // 页é¢è¡¨æ ¼æ°æ® |
| | | total: 0, // æ»æ¡æ° |
| | | dialogVisible: false, // æ¾ç¤ºå¼¹åºæ¡ |
| | | clickEditOpinion: "", // ç¹å»ç¼è¾æè§ä¸´æ¶åå¨è¯¥è¡æ°æ® |
| | | }; |
| | | }, |
| | | // å页 |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.getDetailInfo(); |
| | | mounted() { |
| | | this.getDetailInfo(); |
| | | }, |
| | | // åé¡µè¡¨æ ¼æ°æ® |
| | | getDetailInfo() { |
| | | this.axios |
| | | .get(this.$api.url.getTable, { |
| | | params: this.search |
| | | }) |
| | | .then(res => { |
| | | this.unqualifiedTable = res.data.row; |
| | | this.total = res.data.total; |
| | | }); |
| | | methods: { |
| | | // å页 |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.getDetailInfo(); |
| | | }, |
| | | // å页 |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.getDetailInfo(); |
| | | }, |
| | | // åé¡µè¡¨æ ¼æ°æ® |
| | | getDetailInfo() { |
| | | this.axios |
| | | .get(this.$api.url.getTable, { |
| | | params: this.search, |
| | | }) |
| | | .then((res) => { |
| | | this.unqualifiedTable = res.data.row; |
| | | this.total = res.data.total; |
| | | }); |
| | | }, |
| | | // éç½®æé® |
| | | clean() { |
| | | this.search = { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | productCategories: "", // 产å大类 |
| | | productName: "", // 产ååç§° |
| | | specificationModel: "", // è§æ ¼åå· |
| | | state: "", // ç¶æ |
| | | }; |
| | | this.getDetailInfo(); |
| | | }, |
| | | // ç¹å»ç¼è¾æè§ |
| | | clickEditorialOpinion(scope) { |
| | | this.dialogVisible = true; |
| | | this.clickEditOpinion = scope.row; |
| | | }, |
| | | // 失å»ç°åæè¿°ç¦ç¹è§¦å |
| | | outOfFocusDescription(scope) { |
| | | this.axios |
| | | .get(this.$api.url.descriptionUpdate, { |
| | | params: { |
| | | rawUnacceptedId: scope.row.id, |
| | | tell: scope.row.description, |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | this.$message({ |
| | | message: res.message, |
| | | type: "success", |
| | | }); |
| | | }); |
| | | }, |
| | | // ç¹å»ç¡®å®æé® |
| | | updateEditDevided() { |
| | | console.log(`output->this.clickEditOpinion`, this.clickEditOpinion); |
| | | this.axios |
| | | .post(this.$api.url.editDisposalOpinion, { |
| | | opinionTell: this.clickEditOpinion.opinion_tell, |
| | | rawUnacceptedId: this.clickEditOpinion.id, |
| | | way: this.clickEditOpinion.way, |
| | | type: this.clickEditOpinion.type, |
| | | }) |
| | | .then((res) => { |
| | | this.dialogVisible = false; |
| | | this.$message({ |
| | | message: res.message, |
| | | type: "success", |
| | | }); |
| | | }); |
| | | }, |
| | | }, |
| | | // éç½®æé® |
| | | clean() { |
| | | this.search = { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | productCategories: "", // 产å大类 |
| | | productName: "", // 产ååç§° |
| | | specificationModel: "", // è§æ ¼åå· |
| | | state: "" // ç¶æ |
| | | }; |
| | | this.getDetailInfo(); |
| | | watch: { |
| | | dialogVisible: { |
| | | handler(newVal, oldVal) { |
| | | if (newVal == false) { |
| | | this.isShow = false; |
| | | } |
| | | }, |
| | | }, |
| | | }, |
| | | // ç¹å»æ¥çå¤ç½®æè§ |
| | | showDisposalOpinions(scope) { |
| | | this.isShow = true; |
| | | this.dialogVisible = true; |
| | | this.$axios |
| | | .get(this.$api.url.viewEditorial, { |
| | | params: { |
| | | rawUnacceptedId: scope.row.id |
| | | } |
| | | }) |
| | | .then(res => { |
| | | this.updateEditList = res.data; |
| | | this.getDetailInfo(); |
| | | }); |
| | | }, |
| | | // ç¹å»ç¼è¾æè§ |
| | | clickEditorialOpinion(scope) { |
| | | this.dialogVisible = true; |
| | | this.axios |
| | | .get(this.$api.url.clickEditing, { |
| | | params: { rawUnacceptedId: scope.row.id } |
| | | }) |
| | | .then(res => { |
| | | this.updateEditList = res.data; |
| | | }); |
| | | }, |
| | | // 失å»ç°åæè¿°ç¦ç¹è§¦å |
| | | outOfFocusDescription(scope) { |
| | | this.axios |
| | | .get(this.$api.url.descriptionUpdate, { |
| | | params: { |
| | | rawUnacceptedId: scope.row.id, |
| | | tell: scope.row.description |
| | | } |
| | | }) |
| | | .then(res => { |
| | | this.$message({ |
| | | message: res.message, |
| | | type: "success" |
| | | }); |
| | | }); |
| | | }, |
| | | // ç¹å»ç¡®å®æé® |
| | | updateEditDevided() { |
| | | this.$axios |
| | | .post( |
| | | this.$api.url.addOpinion, |
| | | { opinion: this.updateEditList }, |
| | | { |
| | | headers: { "Content-Type": "application/json" } |
| | | } |
| | | ) |
| | | .then(res => { |
| | | console.log(`output->res`, res); |
| | | this.dialogVisible = false; |
| | | this.getDetailInfo(); |
| | | }); |
| | | } |
| | | }, |
| | | watch: { |
| | | dialogVisible: { |
| | | handler(newVal, oldVal) { |
| | | if (newVal == false) { |
| | | this.isShow = false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .main_div { |
| | | padding-top: 15px; |
| | | } |
| | | .el-radio__label { |
| | | font-size: 16px; |
| | | } |
| | | .el-radio { |
| | | margin-right: 60px; |
| | | margin-top: 10px; |
| | | } |
| | | .el-form-item { |
| | | margin-bottom: 6px; |
| | | font-size: 16px; |
| | | } |
| | | .unqualifiedBox { |
| | | width: 100%; |
| | | max-height: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | /* overflow-y: scroll; */ |
| | | } |
| | | .unqualifiedBox .title .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | /deep/ .el-table__cell { |
| | | padding: 5px 0; |
| | | } |
| | | .unqualifiedBox .title { |
| | | margin-bottom: 10px; |
| | | padding: 0 20px; |
| | | } |
| | | <!-- /* æ¡ä»¶æ¥è¯¢å¤´é¨æ ·å¼ */ --> |
| | | .choose { |
| | | padding: 21px 24px; |
| | | display: flex; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 3px solid rgb(245, 247, 251); |
| | | padding-top: 15px; |
| | | } |
| | | |
| | | .el-radio__label { |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .el-radio { |
| | | margin-right: 60px; |
| | | margin-top: 10px; |
| | | } |
| | | |
| | | .el-form-item { |
| | | margin-bottom: 6px; |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .unqualifiedBox { |
| | | width: 100%; |
| | | max-height: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .unqualifiedBox .title .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | |
| | | /deep/ .el-table__cell { |
| | | padding: 5px 0; |
| | | } |
| | | |
| | | .unqualifiedBox .title { |
| | | margin-bottom: 10px; |
| | | padding: 0 20px; |
| | | } |
| | | |
| | | /* æ¡ä»¶æ¥è¯¢å¤´é¨æ ·å¼ */ |
| | | .choose { |
| | | font-size: 14px; |
| | | display: flex; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 3px solid rgb(245, 247, 251); |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .choose .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | <!-- /* ä¸åæ ¼è¡¨æ ¼æ ·å¼ */ |
| | | .unqualifiedTable { |
| | | flex: 1; |
| | | background: #fff; |
| | | margin-top: 11px; |
| | | padding: 23px 21px; |
| | | .choose span { |
| | | /* spanå
容强å¶ä¸æ¢è¡ */ |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | .tableno { |
| | | margin-top: 10px; |
| | | margin-top: 10px; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <div class="content-main"> |
| | | <div v-if="!showAddPage && !showUp && !showLook" class="rawPage"> |
| | | <div class="title"> |
| | | <el-row> |
| | | <el-col :span="12">è¿ç¨æ£éª</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button @click="handleAddNew" type="primary" size="mini" icon="el-icon-plus" |
| | | style="background: #004EA2; ">æ°å¢</el-button> |
| | | <el-button icon="el-icon-download" size="mini">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="nav"> |
| | | <span>æ£éªç¶æï¼</span> |
| | | <el-select size="small" v-model="search.result" placeholder="è¯·éæ©æ£æµç¶æ" style="width: 224px;margin-right: 52px;"> |
| | | <el-option :value="''" label="å
¨é¨"></el-option> |
| | | <el-option :value="1" label="åæ ¼"></el-option> |
| | | <el-option :value="0" label="ä¸åæ ¼"></el-option> |
| | | </el-select> |
| | | <span>产ååç§°ï¼</span> |
| | | <el-input size="small" style="width: 224px;margin-right: 30px;" v-model="search.name" |
| | | placeholder="请è¾å
¥äº§ååç§°"></el-input> |
| | | <span>å·¥åºï¼</span> |
| | | <el-input size="small" style="width: 224px;margin-right: 30px;" v-model="search.techfather" |
| | | placeholder="请è¾å
¥å·¥åº"></el-input> |
| | | <el-button size="mini"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" @click="searchPro" type="primary" style="background: #004EA2;"><span>æ¥ è¯¢</span></el-button> |
| | | </div> |
| | | <div class="content-body"> |
| | | <div class="inspectionTable"> |
| | | <el-table ref="inspectionTable" height="calc(100vh - 320px)" :cell-style="{ textAlign: 'center' }" |
| | | :header-cell-style="{ |
| | | border: '0px', |
| | | background: '#f5f7fa', |
| | | color: '#606266', |
| | | boxShadow: 'inset 0 1px 0 #ebeef5', |
| | | textAlign: 'center' |
| | | }" border :data="inspectionTable" style="width: 100%"> |
| | | <el-table-column type="selection" width="50"> </el-table-column> |
| | | <el-table-column label="åºå·" type="index" width="60"></el-table-column> |
| | | <el-table-column prop="order_number" label="订åç¼å·" min-width="90" /> |
| | | <el-table-column prop="material" label="产ååç§°" min-width="80" /> |
| | | <el-table-column prop="specifications_model" label="è§æ ¼åå·" min-width="60" /> |
| | | <el-table-column prop="techfather" label="å·¥åº" min-width="70" /> |
| | | <el-table-column prop="techname" label="å·¥èºåç§°" min-width="70" /> |
| | | <el-table-column prop="unit" label="åä½" min-width="50" /> |
| | | <el-table-column prop="quantity" label="æ°é" min-width="50" /> |
| | | <el-table-column prop="createTime" label="æ¥æ£æ¥æ" min-width="60" /> |
| | | <el-table-column prop="name" label="æ¥æ£äºº" min-width="50" /> |
| | | <el-table-column prop="updateTime" label="æ£æµæ¥æ" min-width="60" /> |
| | | <el-table-column prop="result" label="åæ ¼ç¶æ" min-width="80"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.result == 1">åæ ¼</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.result == 0">ä¸åæ ¼</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" min-width="80"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="handleClick(scope.row)" style="margin-left: 0;">详æ
</el-button> |
| | | <el-button type="text" size="small">æ¥ç</el-button> |
| | | <el-button v-if="scope.row.result == null" type="text" size="small" style="margin-left: 0;" |
| | | @click="updateInsInfo(scope.row)">ç¼è¾</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="content-main"> |
| | | <div v-if="!showAddPage && !showUp && !showLook" class="rawPage"> |
| | | <div class="title"> |
| | | <el-row> |
| | | <el-col :span="12">è¿ç¨æ£éª</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button @click="handleAddNew" type="primary" size="mini" icon="el-icon-plus" style="background: #004EA2; ">æ°å¢</el-button> |
| | | <el-button icon="el-icon-download" size="mini">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="nav"> |
| | | <span>æ£éªç¶æï¼</span> |
| | | <el-select size="small" v-model="search.result" placeholder="è¯·éæ©æ£æµç¶æ" style="width: 224px;margin-right: 52px;"> |
| | | <el-option :value="''" label="å
¨é¨"></el-option> |
| | | <el-option :value="1" label="åæ ¼"></el-option> |
| | | <el-option :value="0" label="ä¸åæ ¼"></el-option> |
| | | </el-select> |
| | | <span>产ååç§°ï¼</span> |
| | | <el-input size="small" style="width: 224px;margin-right: 30px;" v-model="search.name" placeholder="请è¾å
¥äº§ååç§°"></el-input> |
| | | <span>å·¥åºï¼</span> |
| | | <el-input size="small" style="width: 224px;margin-right: 30px;" v-model="search.techfather" placeholder="请è¾å
¥å·¥åº"></el-input> |
| | | <el-button size="mini"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" @click="searchPro" type="primary" style="background: #004EA2;"><span>æ¥ è¯¢</span></el-button> |
| | | </div> |
| | | <div class="content-body"> |
| | | <div class="inspectionTable"> |
| | | <el-table ref="inspectionTable" height="calc(100vh - 290px)" :cell-style="{ textAlign: 'center' }" :header-cell-style="{ |
| | | border: '0px', |
| | | background: '#f5f7fa', |
| | | color: '#606266', |
| | | boxShadow: 'inset 0 1px 0 #ebeef5', |
| | | textAlign: 'center' |
| | | }" border :data="inspectionTable" style="width: 100%"> |
| | | <el-table-column type="selection" width="50"> </el-table-column> |
| | | <el-table-column label="åºå·" type="index" width="60"></el-table-column> |
| | | <el-table-column prop="order_number" label="订åç¼å·" min-width="100" /> |
| | | <el-table-column prop="material" label="产ååç§°" min-width="100" /> |
| | | <el-table-column prop="specifications_model" label="è§æ ¼åå·" min-width="100" /> |
| | | <el-table-column prop="techfather" label="å·¥åº" min-width="60" /> |
| | | <el-table-column prop="techname" label="å·¥èºåç§°" min-width="100" /> |
| | | <el-table-column prop="unit" label="åä½" min-width="60" /> |
| | | <el-table-column prop="quantity" label="æ°é" min-width="60" /> |
| | | <el-table-column prop="createTime" label="æ¥æ£æ¥æ" min-width="110" /> |
| | | <el-table-column prop="name" label="æ¥æ£äºº" min-width="80" /> |
| | | <el-table-column prop="updateTime" label="æ£æµæ¥æ" min-width="110" /> |
| | | <el-table-column prop="result" label="åæ ¼ç¶æ" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.result == 1">åæ ¼</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.result == 0">ä¸åæ ¼</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" min-width="150" fixed="right"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="handleClick(scope.row)" style="margin-left: 0;">详æ
</el-button> |
| | | <el-button type="text" size="small">æ¥ç</el-button> |
| | | <el-button v-if="scope.row.result == null" type="text" size="small" style="margin-left: 0;" @click="updateInsInfo(scope.row)">ç¼è¾</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <!-- åé¡µå¨ --> |
| | | <div class="pagination"> |
| | | <el-pagination :current-page="currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="inspectionTableTotal" @size-change="handleSizeChange" @current-change="handleCurrentChange" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- åé¡µå¨ --> |
| | | <div class="pagination"> |
| | | <el-pagination :current-page="currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="pageSize" |
| | | layout="total, sizes, prev, pager, next, jumper" :total="inspectionTableTotal" @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="newPage" v-if="showAddPage"> |
| | | <!-- æ°å¢é¡µé¢ --> |
| | | <div class="addInspection"> |
| | | <el-row class="header"> |
| | | <el-col :span="12">æ°å¢è¿ç¨æ£éªå</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <!-- ç¹å»è¿åï¼å½å页é¢å¼ä¸ºfalse --> |
| | | <!-- <el-button type="primary" size="mini" style="background: #004EA2; " |
| | | <div class="newPage" v-if="showAddPage"> |
| | | <!-- æ°å¢é¡µé¢ --> |
| | | <div class="addInspection"> |
| | | <el-row class="header"> |
| | | <el-col :span="12">æ°å¢è¿ç¨æ£éªå</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <!-- ç¹å»è¿åï¼å½å页é¢å¼ä¸ºfalse --> |
| | | <!-- <el-button type="primary" size="mini" style="background: #004EA2; " |
| | | icon="el-icon-circle-plus-outline">æ°å¢</el-button> --> |
| | | <el-button @click="combackIndex" type="primary" size="mini" icon="el-icon-back" |
| | | style="background: #004EA2; ">è¿å</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form :model="processInspectVo" ref="addInspectionform" class="addInspectionform" label-position="right" |
| | | label-width="120px" size="small"> |
| | | <div class="formwrapper"> |
| | | <el-row :gutter="230"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="订åå·ï¼"> |
| | | <el-input @blur="selectInfoByOrderId" style="width: 210px;" size="small" |
| | | v-model="processInspectVo.orderNumber" placeholder="请è¾å
¥è®¢åå·" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="产ååç§°ï¼"> |
| | | <el-select style="width: 210px;" size="small" @change="selectSample" v-model="processInspectVo.material" |
| | | placeholder="è¯·éæ©äº§å"> |
| | | <el-option v-for="item in optionsSamplename" :key="item.value" :label="item.name" :value="item.name"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="产åç¼ç ï¼"> |
| | | <el-input style="width: 210px;" size="small" disabled v-model="processInspectVo.materialCode" |
| | | placeholder="请è¾å
¥äº§åç¼ç " /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="230"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="è§æ ¼åå·ï¼"> |
| | | <el-input style="width: 210px;" size="small" disabled v-model="processInspectVo.specificationsModel" |
| | | placeholder="请è¾å
¥è§æ ¼åå·" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="å·¥åºåç§°ï¼"> |
| | | <el-select @change="changeOptionSoptionSprocesses" v-model="processInspectVo.techfather" |
| | | placeholder="è¯·éæ©" style="width: 210px;" size="small"> |
| | | <el-option v-for="item in optionSoptionSprocesses" :key="item.name" :label="item.name" |
| | | :value="item.name"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="å·¥èºåç§°ï¼"> |
| | | <el-select v-model="processInspectVo.techname" placeholder="è¯·éæ©" style="width: 210px;" size="small"> |
| | | <el-option v-for="item in optionTechnology" :key="item.id" :label="item.name" |
| | | :value="item.id + '-' + item.name"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="230"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="åä½ï¼"> |
| | | <el-input style="width: 210px;" size="small" disabled v-model="processInspectVo.unit" |
| | | placeholder="请è¾å
¥åä½" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="æ°éï¼"> |
| | | <el-input style="width: 210px;" size="small" v-model="processInspectVo.quantity" placeholder="请è¾å
¥æ°é" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="10" style="display: flex;justify-content: end;"> |
| | | <el-button type="primary" :disabled="isAddProject" @click="addTestProjevt">çææ£éªé¡¹ç®</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | | <div class="inspectionProject"> |
| | | <el-row> |
| | | <el-col :span="12" class="inspectionProject_span">æ£éªé¡¹ç®</el-col> |
| | | <el-col :span="12" class="inspectionProject_span"> |
| | | <el-button size="mini" @click="clickDeleteInspectionColumn()">å 餿£éªå¼å</el-button> |
| | | <el-button style="margin-right: 30px;" size="mini" @click="clickAddInspectionColumn()">æ·»å æ£éªå¼å</el-button> |
| | | <!-- <el-button |
| | | <el-button @click="combackIndex" type="primary" size="mini" icon="el-icon-back" style="background: #004EA2; ">è¿å</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form :model="processInspectVo" ref="addInspectionform" class="addInspectionform" label-position="right" label-width="120px" size="small"> |
| | | <div class="formwrapper"> |
| | | <el-row :gutter="230"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="订åå·ï¼"> |
| | | <el-input @blur="selectInfoByOrderId" style="width: 210px;" size="small" v-model="processInspectVo.orderNumber" placeholder="请è¾å
¥è®¢åå·" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="产ååç§°ï¼"> |
| | | <el-select style="width: 210px;" size="small" @change="selectSample" v-model="processInspectVo.material" placeholder="è¯·éæ©äº§å"> |
| | | <el-option v-for="item in optionsSamplename" :key="item.value" :label="item.name" :value="item.name"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="产åç¼ç ï¼"> |
| | | <el-input style="width: 210px;" size="small" disabled v-model="processInspectVo.materialCode" placeholder="请è¾å
¥äº§åç¼ç " /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="230"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="è§æ ¼åå·ï¼"> |
| | | <el-input style="width: 210px;" size="small" disabled v-model="processInspectVo.specificationsModel" placeholder="请è¾å
¥è§æ ¼åå·" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="å·¥åºåç§°ï¼"> |
| | | <el-select @change="changeOptionSoptionSprocesses" v-model="processInspectVo.techfather" placeholder="è¯·éæ©" style="width: 210px;" size="small"> |
| | | <el-option v-for="item in optionSoptionSprocesses" :key="item.name" :label="item.name" :value="item.name"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="å·¥èºåç§°ï¼"> |
| | | <el-select v-model="processInspectVo.techname" placeholder="è¯·éæ©" style="width: 210px;" size="small"> |
| | | <el-option v-for="item in optionTechnology" :key="item.id" :label="item.name" :value="item.id + '-' + item.name"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="230"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="åä½ï¼"> |
| | | <el-input style="width: 210px;" size="small" disabled v-model="processInspectVo.unit" placeholder="请è¾å
¥åä½" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="æ°éï¼"> |
| | | <el-input style="width: 210px;" size="small" v-model="processInspectVo.quantity" placeholder="请è¾å
¥æ°é" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="10" style="display: flex;justify-content: end;"> |
| | | <el-button type="primary" :disabled="isAddProject" @click="addTestProjevt">çææ£éªé¡¹ç®</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | | <div class="inspectionProject"> |
| | | <el-row> |
| | | <el-col :span="12" class="inspectionProject_span">æ£éªé¡¹ç®</el-col> |
| | | <el-col :span="12" class="inspectionProject_span"> |
| | | <el-button size="mini" @click="clickDeleteInspectionColumn()">å 餿£éªå¼å</el-button> |
| | | <el-button style="margin-right: 30px;" size="mini" @click="clickAddInspectionColumn()">æ·»å æ£éªå¼å</el-button> |
| | | <!-- <el-button |
| | | size="mini" |
| | | style="margin-right: 30px;" |
| | | @click="clickAddLine()" |
| | | >æ·»å æ£éªè¡</el-button |
| | | > --> |
| | | </el-col> |
| | | </el-row> |
| | | <el-table border :data="inspectionItems" max-height="420" :span-method="handleSpanMethod" |
| | | height="calc(100vh - 550px)" style="width: 100%"> |
| | | <el-table-column type="index" label="åºå·" width="60"></el-table-column> |
| | | <el-table-column label="项ç®" prop="father"></el-table-column> |
| | | <el-table-column prop="name" label="ææ "></el-table-column> |
| | | <el-table-column prop="unit" label="åä½"></el-table-column> |
| | | <el-table-column prop="required" label="æ åå¼"></el-table-column> |
| | | <el-table-column prop="internal" label="å
æµå¼"></el-table-column> |
| | | <el-table-column prop="inspectionValue" v-for="(item, index) in empiricalValueAdd" :key="index" label="æ£æµå¼" |
| | | min-width="100" style="text-align: center;"> |
| | | <template slot-scope="scope"> |
| | | <el-tooltip :disabled="scope.row.dname != null" class="item" effect="dark" content="请å
éæ©è®¾å¤ï¼" |
| | | placement="top-start"> |
| | | <el-input :disabled="scope.row.dname === null" v-model="scope.row.empiricalValueAddss[index]" |
| | | @blur="changeState(scope.row, index)" placeholder="请è¾å
¥æ£æµå¼"></el-input> |
| | | </el-tooltip> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="dname" label="è¯éªè®¾å¤" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button v-if="!scope.row.isSelectDevice" type="text" @click="clickTableSelect(scope)">{{ |
| | | </el-col> |
| | | </el-row> |
| | | <el-table border :data="inspectionItems" max-height="420" :span-method="handleSpanMethod" height="calc(100vh - 550px)" style="width: 100%"> |
| | | <el-table-column type="index" label="åºå·" width="60"></el-table-column> |
| | | <el-table-column label="项ç®" prop="father"></el-table-column> |
| | | <el-table-column prop="name" label="ææ "></el-table-column> |
| | | <el-table-column prop="unit" label="åä½"></el-table-column> |
| | | <el-table-column prop="required" label="æ åå¼"></el-table-column> |
| | | <el-table-column prop="internal" label="å
æµå¼"></el-table-column> |
| | | <el-table-column prop="inspectionValue" v-for="(item, index) in empiricalValueAdd" :key="index" label="æ£æµå¼" min-width="100" style="text-align: center;"> |
| | | <template slot-scope="scope"> |
| | | <el-tooltip :disabled="scope.row.dname != null" class="item" effect="dark" content="请å
éæ©è®¾å¤ï¼" placement="top-start"> |
| | | <el-input :disabled="scope.row.dname === null" v-model="scope.row.empiricalValueAddss[index]" @blur="changeState(scope.row, index)" placeholder="请è¾å
¥æ£æµå¼"></el-input> |
| | | </el-tooltip> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="dname" label="è¯éªè®¾å¤" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button v-if="!scope.row.isSelectDevice" type="text" @click="clickTableSelect(scope)">{{ |
| | | scope.row.dname == null ? "è¯·éæ©" : scope.row.dname |
| | | }}</el-button> |
| | | <el-select v-if="scope.row.isSelectDevice" style="width: 100%;" @change="clickNodeSure(scope.row)" |
| | | v-model="filterText" placeholder="è¯·éæ©"> |
| | | <el-option v-for="item in materialOptions" :key="item.id" :label="item.device" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="ç»è®º"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.result === 1">åæ ¼</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.result === 0">ä¸åæ ¼</span> |
| | | <span v-show="scope.row.result === null">ææªç»è®º</span> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column v-if="detailId == null" label="æä½" width="100"> |
| | | <el-select v-if="scope.row.isSelectDevice" style="width: 100%;" @change="clickNodeSure(scope.row)" v-model="filterText" placeholder="è¯·éæ©"> |
| | | <el-option v-for="item in materialOptions" :key="item.id" :label="item.device" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="ç»è®º"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.result === 1">åæ ¼</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.result === 0">ä¸åæ ¼</span> |
| | | <span v-show="scope.row.result === null">ææªç»è®º</span> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column v-if="detailId == null" label="æä½" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" @click="clickDeleteline(scope)">å é¤</el-button> |
| | | </template> |
| | | </el-table-column> --> |
| | | </el-table> |
| | | </div> |
| | | <div class="inspectionResult"> |
| | | <span>æ£æµç»æ</span> |
| | | <el-table :data="inspectionResultForm"> |
| | | <el-table-column prop="id" label="ç©æç¼å·"></el-table-column> |
| | | <el-table-column prop="name" label="ç©æåç§°"></el-table-column> |
| | | <el-table-column prop="inspecter" label="æ£éªå"></el-table-column> |
| | | <el-table-column prop="conclusion" label="æ£éªç»è®º"></el-table-column> |
| | | <el-table-column prop="operation" label="䏿¥"></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <el-dialog title="è¯·éæ©è®¾å¤" :visible.sync="centerDialogVisible" width="20%"> |
| | | <div class="div_device_dialog"> |
| | | <el-select style="width: 100%;" @change="clickNodeSure()" v-model="filterText" placeholder="è¯·éæ©"> |
| | | <el-option v-for="item in materialOptions" :key="item.id" :label="item.device" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-table> |
| | | </div> |
| | | <div class="inspectionResult"> |
| | | <span>æ£æµç»æ</span> |
| | | <el-table :data="inspectionResultForm"> |
| | | <el-table-column prop="id" label="ç©æç¼å·"></el-table-column> |
| | | <el-table-column prop="name" label="ç©æåç§°"></el-table-column> |
| | | <el-table-column prop="inspecter" label="æ£éªå"></el-table-column> |
| | | <el-table-column prop="conclusion" label="æ£éªç»è®º"></el-table-column> |
| | | <el-table-column prop="operation" label="䏿¥"></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <el-dialog title="è¯·éæ©è®¾å¤" :visible.sync="centerDialogVisible" width="20%"> |
| | | <div class="div_device_dialog"> |
| | | <el-select style="width: 100%;" @change="clickNodeSure()" v-model="filterText" placeholder="è¯·éæ©"> |
| | | <el-option v-for="item in materialOptions" :key="item.id" :label="item.device" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </el-dialog> |
| | | <div class="newPage" v-if="showUp"> |
| | | <processInspectionUpdate :rowInfo="rowInfp" /> |
| | | </div> |
| | | <div class="newPage" v-if="showLook"> |
| | | <processInspectionLook :rowInfo="rowInfp" /> |
| | | </div> |
| | | </div> |
| | | <div class="newPage" v-if="showUp"> |
| | | <processInspectionUpdate :rowInfo="rowInfp" /> |
| | | </div> |
| | | <div class="newPage" v-if="showLook"> |
| | | <processInspectionLook :rowInfo="rowInfp" /> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import processInspectionUpdate from '../view/processInspectionUpdate.vue' |
| | | import processInspectionLook from '../view/processInspectionLook.vue' |
| | | import processInspectionUpdate from "../view/processInspectionUpdate.vue"; |
| | | import processInspectionLook from "../view/processInspectionLook.vue"; |
| | | export default { |
| | | components: { |
| | | processInspectionUpdate, |
| | | processInspectionLook |
| | | }, |
| | | data() { |
| | | return { |
| | | showUp: false, |
| | | isAddProject: false, |
| | | showLook: false, |
| | | detailId: 28, |
| | | rowInfp: {}, |
| | | search: { |
| | | countSize: 10, |
| | | pageSize: 1, |
| | | result: "", // æ£æµç¶æ |
| | | name: "", // 产ååç§° |
| | | techfather: "" // å·¥åº |
| | | }, |
| | | optionsSamplename: [], |
| | | inspectionTable: [], |
| | | tableColumn: [], |
| | | optionSoptionSprocesses: [], |
| | | optionTechnology: [], |
| | | inspectionTableTotal: 0, |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | treeProject: [], |
| | | // æ·»å å |
| | | empiricalValueAdd: 1, |
| | | // ç¼è¾æ¶å卿é¿çåæ°åï¼åå é¤å¤æ |
| | | empiricalValueAddMaxNumber: 0, |
| | | showAddPage: false, |
| | | processInspectVo: { |
| | | material: null, |
| | | materialCode: null, |
| | | orderNumber: "", |
| | | quantity: null, |
| | | specificationsModel: null, |
| | | techfather: null, |
| | | techname: null, |
| | | technologyId: null, |
| | | unit: null |
| | | }, |
| | | InspectioniD: null, |
| | | addInspectionform: [ |
| | | { |
| | | number: "", |
| | | username: "", |
| | | projectname: "", |
| | | tracenumber: "", |
| | | code: "", |
| | | class: "", |
| | | specificationmodel: "", |
| | | unit: "", |
| | | quantity: "", |
| | | group: "", |
| | | worker: "", |
| | | machine: "" |
| | | }] |
| | | , |
| | | inspectionItems: [], // æ°å¢æ£éªé¡¹ç®è¡¨æ ¼ |
| | | inspectionResultForm: [ |
| | | { |
| | | id: "", |
| | | name: "", |
| | | inspecter: "", |
| | | conclusion: "", |
| | | operation: "" |
| | | } |
| | | ], |
| | | options: [], |
| | | value: "", |
| | | rowList: [], |
| | | spanArr: [], |
| | | position: 0, |
| | | // 设å¤éæ©æ æ¾ç¤º |
| | | centerDialogVisible: false, |
| | | filterText: "", |
| | | materialOptions: [], |
| | | defaultProps: { |
| | | // è®¾å¤æ æ°æ®è®¾ç½® |
| | | children: "children", |
| | | label: "name" |
| | | }, |
| | | nodeData: { |
| | | id: 0, |
| | | name: null |
| | | }, // nodeç¹å»ä¿åå½åç¹å»æ°æ® |
| | | clickSelectDevice: { |
| | | index: null, // ç¹å»éæ©åå¨å½åè¡ç´¢å¼ |
| | | rpId: null // ç¹å»éæ©åå¨å½åè¡é¡¹ç®Id |
| | | } |
| | | }; |
| | | }, |
| | | watch: { |
| | | // filterText(val) { |
| | | // this.$refs.tree.filter(val); |
| | | // } |
| | | }, |
| | | mounted() { |
| | | // this.getTableData() |
| | | // this.getOptions(); |
| | | }, |
| | | methods: { |
| | | handleClick(row) { |
| | | this.rowInfp = row |
| | | this.showLook = true |
| | | components: { |
| | | processInspectionUpdate, |
| | | processInspectionLook, |
| | | }, |
| | | combackIndex() { |
| | | this.showAddPage = false |
| | | this.defaultInitializationTable() |
| | | data() { |
| | | return { |
| | | showUp: false, |
| | | isAddProject: false, |
| | | showLook: false, |
| | | detailId: 28, |
| | | rowInfp: {}, |
| | | search: { |
| | | countSize: 10, |
| | | pageSize: 1, |
| | | result: "", // æ£æµç¶æ |
| | | name: "", // 产ååç§° |
| | | techfather: "", // å·¥åº |
| | | }, |
| | | optionsSamplename: [], |
| | | inspectionTable: [], |
| | | tableColumn: [], |
| | | optionSoptionSprocesses: [], |
| | | optionTechnology: [], |
| | | inspectionTableTotal: 0, |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | treeProject: [], |
| | | // æ·»å å |
| | | empiricalValueAdd: 1, |
| | | // ç¼è¾æ¶å卿é¿çåæ°åï¼åå é¤å¤æ |
| | | empiricalValueAddMaxNumber: 0, |
| | | showAddPage: false, |
| | | processInspectVo: { |
| | | material: null, |
| | | materialCode: null, |
| | | orderNumber: "", |
| | | quantity: null, |
| | | specificationsModel: null, |
| | | techfather: null, |
| | | techname: null, |
| | | technologyId: null, |
| | | unit: null, |
| | | }, |
| | | InspectioniD: null, |
| | | addInspectionform: [ |
| | | { |
| | | number: "", |
| | | username: "", |
| | | projectname: "", |
| | | tracenumber: "", |
| | | code: "", |
| | | class: "", |
| | | specificationmodel: "", |
| | | unit: "", |
| | | quantity: "", |
| | | group: "", |
| | | worker: "", |
| | | machine: "", |
| | | }, |
| | | ], |
| | | inspectionItems: [], // æ°å¢æ£éªé¡¹ç®è¡¨æ ¼ |
| | | inspectionResultForm: [ |
| | | { |
| | | id: "", |
| | | name: "", |
| | | inspecter: "", |
| | | conclusion: "", |
| | | operation: "", |
| | | }, |
| | | ], |
| | | options: [], |
| | | value: "", |
| | | rowList: [], |
| | | spanArr: [], |
| | | position: 0, |
| | | // 设å¤éæ©æ æ¾ç¤º |
| | | centerDialogVisible: false, |
| | | filterText: "", |
| | | materialOptions: [], |
| | | defaultProps: { |
| | | // è®¾å¤æ æ°æ®è®¾ç½® |
| | | children: "children", |
| | | label: "name", |
| | | }, |
| | | nodeData: { |
| | | id: 0, |
| | | name: null, |
| | | }, // nodeç¹å»ä¿åå½åç¹å»æ°æ® |
| | | clickSelectDevice: { |
| | | index: null, // ç¹å»éæ©åå¨å½åè¡ç´¢å¼ |
| | | rpId: null, // ç¹å»éæ©åå¨å½åè¡é¡¹ç®Id |
| | | }, |
| | | }; |
| | | }, |
| | | updateInsInfo(row) { |
| | | this.rowInfp = row |
| | | this.showUp = true |
| | | }, |
| | | combackMain(val) { |
| | | this.showUp = false |
| | | this.showLook = false |
| | | this.defaultInitializationTable(); // åå§åè¡¨æ ¼æ°æ® |
| | | if (val) { |
| | | this.$parent.removeAllTab() |
| | | } |
| | | }, |
| | | searchPro() { |
| | | this.search.countSize = this.pageSize |
| | | this.search.pageSize = this.currentPage |
| | | this.defaultInitializationTable() |
| | | }, |
| | | // ç¹å»è®¾å¤æ ä¿åç¹å»è®°å½ |
| | | nodeClick(data) { |
| | | if (data.id != undefined) this.nodeData = data; |
| | | }, |
| | | // è®¾å¤æ è¿æ»¤æç´¢ |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.name.indexOf(value) !== -1; |
| | | }, |
| | | // è·åè®¾å¤æ å
容 |
| | | getOptions(row) { |
| | | this.$axios.get(this.$api.url.inspectionItemChooseDev, { |
| | | params: { |
| | | father: row.father, |
| | | name: row.name, |
| | | technologyId: this.processInspectVo.technologyId |
| | | } |
| | | }).then(res => { |
| | | this.materialOptions = res.data; |
| | | if (this.materialOptions.length === 1) { |
| | | this.$message({ |
| | | message: '该项ç®ä¸åªæä¸ä¸ªè¯éªè®¾å¤ï¼æ ééæ©ï¼', |
| | | type: 'warning' |
| | | }); |
| | | return |
| | | } |
| | | row.isSelectDevice = true |
| | | this.filterText = row.did |
| | | }); |
| | | }, |
| | | // ç¹å»è¡¨æ ¼éæ©è§¦å |
| | | clickTableSelect(scope) { |
| | | // this.centerDialogVisible = true; |
| | | if (this.clickSelectDevice.index != null) { |
| | | this.$set(this.inspectionItems[this.clickSelectDevice.index], 'isSelectDevice', false) |
| | | } |
| | | this.clickSelectDevice.index = scope.$index; |
| | | this.clickSelectDevice.rpId = scope.row.id; |
| | | this.getOptions(scope.row) |
| | | }, |
| | | // ç¹å»æ éé¢çç¡®å® |
| | | clickNodeSure() { |
| | | let select = this.materialOptions.filter(item => { |
| | | return item.id === this.filterText |
| | | })[0] |
| | | this.nodeData.id = select.id |
| | | this.nodeData.name = select.device |
| | | if (this.detailId == null) { |
| | | this.inspectionItems[ |
| | | this.clickSelectDevice.index |
| | | ].did = this.nodeData.id; |
| | | this.inspectionItems[ |
| | | this.clickSelectDevice.index |
| | | ].dname = this.nodeData.name; |
| | | this.centerDialogVisible = false; |
| | | } else { |
| | | this.$axios |
| | | .post(this.$api.url.inspectionItemUpdateDevByInsId, { |
| | | id: this.clickSelectDevice.rpId, |
| | | type: 1, |
| | | devId: this.nodeData.id |
| | | }) |
| | | .then(res => { |
| | | this.getTableData() |
| | | this.centerDialogVisible = false; |
| | | }); |
| | | } |
| | | }, |
| | | changeState(row, index) { |
| | | if (row.did != null && row.did != '') { |
| | | // let val = row.empiricalValueAddss.filter(item => { |
| | | // return item != '' && item != null |
| | | // }) |
| | | // let eq = val.filter(item => { |
| | | // return /^[^><=]/.test(item) |
| | | // }) |
| | | // if (eq.length > 0) { |
| | | // this.$message({ |
| | | // message: "æ£æµå¼[" + eq + "]æ ¼å¼é¦ä½åºå
å«>,<æè
=", |
| | | // type: 'warning' |
| | | // }); |
| | | // return |
| | | watch: { |
| | | // filterText(val) { |
| | | // this.$refs.tree.filter(val); |
| | | // } |
| | | let str = "" |
| | | row.empiricalValueAddss.forEach(e => { |
| | | str += e + "," |
| | | }) |
| | | if (str.slice(0, -1) === '' || str.slice(0, -1) === null || str.slice(0, -1) === undefined) { |
| | | return |
| | | } |
| | | this.$axios.post(this.$api.url.inspectionItemlose_focus_update, { |
| | | deviceId: row.did, |
| | | inspectionItemId: row.id, |
| | | inspectionValue: str.slice(0, -1) |
| | | }, { |
| | | headers: { "Content-Type": "application/json" } |
| | | }).then(res => { |
| | | if (res.message === 'å
æ§å¼è¾å
¥æ ¼å¼æé®é¢!') { |
| | | this.$message({ |
| | | message: res.message, |
| | | type: 'warning' |
| | | }); |
| | | return |
| | | } |
| | | row.result = res.data.result |
| | | row.username = res.data.username |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: 'è¯·éæ©æ©è®¾å¤ï¼', |
| | | type: 'warning' |
| | | }); |
| | | } |
| | | }, |
| | | // æ¯é¡µæ¡æ°æ¹åæ¶è§¦å éæ©ä¸é¡µæ¾ç¤ºå¤å°è¡ |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.defaultInitializationTable(); |
| | | mounted() { |
| | | // this.getTableData() |
| | | // this.getOptions(); |
| | | }, |
| | | handleSpanMethod({ row, column, rowIndex, columnIndex }) { |
| | | if (columnIndex === 0) { |
| | | const _row = this.spanArr[rowIndex]; |
| | | const _col = _row > 0 ? 1 : 0; |
| | | return { |
| | | rowspan: _row, |
| | | colspan: _col |
| | | } |
| | | } |
| | | if (columnIndex === 1) { |
| | | const _row = this.spanArr[rowIndex]; |
| | | const _col = _row > 0 ? 1 : 0; |
| | | return { |
| | | rowspan: _row, |
| | | colspan: _col |
| | | } |
| | | } |
| | | }, |
| | | // åå¹¶è¡¨æ ¼ |
| | | mergeTable() { |
| | | this.rowList = [] |
| | | this.spanArr = [] |
| | | this.position = 0 |
| | | this.inspectionItems.forEach((item, index) => { |
| | | if (index === 0) { |
| | | this.spanArr.push(1); |
| | | this.position = 0; |
| | | } else { |
| | | if (this.inspectionItems[index].father === this.inspectionItems[index - 1].father) { |
| | | this.spanArr[this.position] += 1; |
| | | this.spanArr.push(0); |
| | | } else { |
| | | this.spanArr.push(1); |
| | | this.position = index; |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | changeOptionSoptionSprocesses() { |
| | | this.optionTechnology = [] |
| | | let working = this.optionSoptionSprocesses.filter(item => { |
| | | return item.name === this.processInspectVo.techfather |
| | | })[0] |
| | | this.optionTechnology = working.children |
| | | }, |
| | | addTestProjevt() { |
| | | let val = JSON.parse(JSON.stringify(this.processInspectVo)) |
| | | val.techname = this.processInspectVo.techname.split("-")[1] |
| | | val.technologyId = this.processInspectVo.techname.split("-")[0] |
| | | this.processInspectVo.technologyId = val.technologyId |
| | | this.$axios.post(this.$api.url.processInspectAddProcess, { |
| | | material: val.material, |
| | | materialCode: val.materialCode, |
| | | orderNumber: val.orderNumber, |
| | | quantity: val.quantity, |
| | | specificationsModel: val.specificationsModel, |
| | | techfather: val.techfather, |
| | | techname: val.techname, |
| | | techId: Number(val.technologyId), |
| | | mtId: Number(val.technologyId), |
| | | unit: val.unit |
| | | }, { |
| | | headers: { "Content-Type": "application/json" } |
| | | }).then(res => { |
| | | if (res.code === 201) { |
| | | this.$message({ |
| | | message: res.message, |
| | | type: 'warning' |
| | | }); |
| | | return |
| | | } |
| | | this.isAddProject = true |
| | | this.detailId = res.data |
| | | this.inspectionResultForm[0].id = val.materialCode |
| | | this.inspectionResultForm[0].name = val.material |
| | | this.getTableData() |
| | | }) |
| | | }, |
| | | getTableData() { |
| | | this.$axios.get(this.$api.url.inspectionItemListUser, { |
| | | params: { |
| | | id: this.detailId, |
| | | type: 1 |
| | | } |
| | | }).then(res => { |
| | | this.inspectionItems = res.data |
| | | let arr = [] |
| | | let val = JSON.parse(JSON.stringify(this.inspectionItems)) |
| | | const uName = [] |
| | | //转æä¸ç»´æ°ç» |
| | | val.forEach(l => { |
| | | let father = l.father |
| | | l.children.forEach(c => { |
| | | c.father = father |
| | | c.empiricalValueAddss = [] |
| | | if (c.inspectionValue != '' && c.inspectionValue != null) { |
| | | c.empiricalValueAddss = c.inspectionValue.split(","); |
| | | } else { |
| | | c.empiricalValueAddss.push("") |
| | | methods: { |
| | | handleClick(row) { |
| | | this.rowInfp = row; |
| | | this.showLook = true; |
| | | }, |
| | | combackIndex() { |
| | | this.showAddPage = false; |
| | | this.defaultInitializationTable(); |
| | | }, |
| | | updateInsInfo(row) { |
| | | this.rowInfp = row; |
| | | this.showUp = true; |
| | | }, |
| | | combackMain(val) { |
| | | this.showUp = false; |
| | | this.showLook = false; |
| | | this.defaultInitializationTable(); // åå§åè¡¨æ ¼æ°æ® |
| | | if (val) { |
| | | this.$parent.removeAllTab(); |
| | | } |
| | | uName.push(c['username']) |
| | | c.isSelectDevice = false |
| | | arr.push(c) |
| | | }) |
| | | }) |
| | | this.inspectionItems = arr |
| | | let arrSort = JSON.parse(JSON.stringify(arr)) |
| | | //æ ¹æ®éå对象æ°ç»é¿åº¦æåº |
| | | arrSort.sort((a, b) => { |
| | | if (a.empiricalValueAddss.length < b.empiricalValueAddss.length) { |
| | | return -1; // aæå¨båé¢ |
| | | } else if (a.empiricalValueAddss.length > b.empiricalValueAddss.length) { |
| | | return 1; // aæå¨båé¢ |
| | | } else { |
| | | return 0; // ä¿æç¸å¯¹é¡ºåºä¸å |
| | | } |
| | | }); |
| | | // console.log(arrSort); |
| | | console.log(uName); |
| | | let name = [...new Set(uName)].filter(item => item !== null); |
| | | let rname = '' |
| | | name.forEach(m => { |
| | | rname += m + "," |
| | | }) |
| | | this.inspectionResultForm[0].inspecter = rname.slice(0, -1) |
| | | this.empiricalValueAdd = arrSort[arrSort.length - 1].empiricalValueAddss.length |
| | | this.mergeTable(arr) |
| | | }) |
| | | }, |
| | | searchPro() { |
| | | this.search.countSize = this.pageSize; |
| | | this.search.pageSize = this.currentPage; |
| | | this.defaultInitializationTable(); |
| | | }, |
| | | // ç¹å»è®¾å¤æ ä¿åç¹å»è®°å½ |
| | | nodeClick(data) { |
| | | if (data.id != undefined) this.nodeData = data; |
| | | }, |
| | | // è®¾å¤æ è¿æ»¤æç´¢ |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.name.indexOf(value) !== -1; |
| | | }, |
| | | // è·åè®¾å¤æ å
容 |
| | | getOptions(row) { |
| | | this.$axios |
| | | .get(this.$api.url.inspectionItemChooseDev, { |
| | | params: { |
| | | father: row.father, |
| | | name: row.name, |
| | | technologyId: this.processInspectVo.technologyId, |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | this.materialOptions = res.data; |
| | | if (this.materialOptions.length === 1) { |
| | | this.$message({ |
| | | message: "该项ç®ä¸åªæä¸ä¸ªè¯éªè®¾å¤ï¼æ ééæ©ï¼", |
| | | type: "warning", |
| | | }); |
| | | return; |
| | | } |
| | | row.isSelectDevice = true; |
| | | this.filterText = row.did; |
| | | }); |
| | | }, |
| | | // ç¹å»è¡¨æ ¼éæ©è§¦å |
| | | clickTableSelect(scope) { |
| | | // this.centerDialogVisible = true; |
| | | if (this.clickSelectDevice.index != null) { |
| | | this.$set( |
| | | this.inspectionItems[this.clickSelectDevice.index], |
| | | "isSelectDevice", |
| | | false |
| | | ); |
| | | } |
| | | this.clickSelectDevice.index = scope.$index; |
| | | this.clickSelectDevice.rpId = scope.row.id; |
| | | this.getOptions(scope.row); |
| | | }, |
| | | // ç¹å»æ éé¢çç¡®å® |
| | | clickNodeSure() { |
| | | let select = this.materialOptions.filter((item) => { |
| | | return item.id === this.filterText; |
| | | })[0]; |
| | | this.nodeData.id = select.id; |
| | | this.nodeData.name = select.device; |
| | | if (this.detailId == null) { |
| | | this.inspectionItems[this.clickSelectDevice.index].did = |
| | | this.nodeData.id; |
| | | this.inspectionItems[this.clickSelectDevice.index].dname = |
| | | this.nodeData.name; |
| | | this.centerDialogVisible = false; |
| | | } else { |
| | | this.$axios |
| | | .post(this.$api.url.inspectionItemUpdateDevByInsId, { |
| | | id: this.clickSelectDevice.rpId, |
| | | type: 1, |
| | | devId: this.nodeData.id, |
| | | }) |
| | | .then((res) => { |
| | | this.getTableData(); |
| | | this.centerDialogVisible = false; |
| | | }); |
| | | } |
| | | }, |
| | | changeState(row, index) { |
| | | if (row.did != null && row.did != "") { |
| | | // let val = row.empiricalValueAddss.filter(item => { |
| | | // return item != '' && item != null |
| | | // }) |
| | | // let eq = val.filter(item => { |
| | | // return /^[^><=]/.test(item) |
| | | // }) |
| | | // if (eq.length > 0) { |
| | | // this.$message({ |
| | | // message: "æ£æµå¼[" + eq + "]æ ¼å¼é¦ä½åºå
å«>,<æè
=", |
| | | // type: 'warning' |
| | | // }); |
| | | // return |
| | | // } |
| | | let str = ""; |
| | | row.empiricalValueAddss.forEach((e) => { |
| | | str += e + ","; |
| | | }); |
| | | if ( |
| | | str.slice(0, -1) === "" || |
| | | str.slice(0, -1) === null || |
| | | str.slice(0, -1) === undefined |
| | | ) { |
| | | return; |
| | | } |
| | | this.$axios |
| | | .post( |
| | | this.$api.url.inspectionItemlose_focus_update, |
| | | { |
| | | deviceId: row.did, |
| | | inspectionItemId: row.id, |
| | | inspectionValue: str.slice(0, -1), |
| | | }, |
| | | { |
| | | headers: { "Content-Type": "application/json" }, |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | if (res.message === "å
æ§å¼è¾å
¥æ ¼å¼æé®é¢!") { |
| | | this.$message({ |
| | | message: res.message, |
| | | type: "warning", |
| | | }); |
| | | return; |
| | | } |
| | | row.result = res.data.result; |
| | | row.username = res.data.username; |
| | | }); |
| | | } else { |
| | | this.$message({ |
| | | message: "è¯·éæ©æ©è®¾å¤ï¼", |
| | | type: "warning", |
| | | }); |
| | | } |
| | | }, |
| | | // æ¯é¡µæ¡æ°æ¹åæ¶è§¦å éæ©ä¸é¡µæ¾ç¤ºå¤å°è¡ |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.defaultInitializationTable(); |
| | | }, |
| | | handleSpanMethod({ row, column, rowIndex, columnIndex }) { |
| | | if (columnIndex === 0) { |
| | | const _row = this.spanArr[rowIndex]; |
| | | const _col = _row > 0 ? 1 : 0; |
| | | return { |
| | | rowspan: _row, |
| | | colspan: _col, |
| | | }; |
| | | } |
| | | if (columnIndex === 1) { |
| | | const _row = this.spanArr[rowIndex]; |
| | | const _col = _row > 0 ? 1 : 0; |
| | | return { |
| | | rowspan: _row, |
| | | colspan: _col, |
| | | }; |
| | | } |
| | | }, |
| | | // åå¹¶è¡¨æ ¼ |
| | | mergeTable() { |
| | | this.rowList = []; |
| | | this.spanArr = []; |
| | | this.position = 0; |
| | | this.inspectionItems.forEach((item, index) => { |
| | | if (index === 0) { |
| | | this.spanArr.push(1); |
| | | this.position = 0; |
| | | } else { |
| | | if ( |
| | | this.inspectionItems[index].father === |
| | | this.inspectionItems[index - 1].father |
| | | ) { |
| | | this.spanArr[this.position] += 1; |
| | | this.spanArr.push(0); |
| | | } else { |
| | | this.spanArr.push(1); |
| | | this.position = index; |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | changeOptionSoptionSprocesses() { |
| | | this.optionTechnology = []; |
| | | let working = this.optionSoptionSprocesses.filter((item) => { |
| | | return item.name === this.processInspectVo.techfather; |
| | | })[0]; |
| | | this.optionTechnology = working.children; |
| | | }, |
| | | addTestProjevt() { |
| | | let val = JSON.parse(JSON.stringify(this.processInspectVo)); |
| | | val.techname = this.processInspectVo.techname.split("-")[1]; |
| | | val.technologyId = this.processInspectVo.techname.split("-")[0]; |
| | | this.processInspectVo.technologyId = val.technologyId; |
| | | this.$axios |
| | | .post( |
| | | this.$api.url.processInspectAddProcess, |
| | | { |
| | | material: val.material, |
| | | materialCode: val.materialCode, |
| | | orderNumber: val.orderNumber, |
| | | quantity: val.quantity, |
| | | specificationsModel: val.specificationsModel, |
| | | techfather: val.techfather, |
| | | techname: val.techname, |
| | | techId: Number(val.technologyId), |
| | | mtId: Number(val.technologyId), |
| | | unit: val.unit, |
| | | }, |
| | | { |
| | | headers: { "Content-Type": "application/json" }, |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | if (res.code === 201) { |
| | | this.$message({ |
| | | message: res.message, |
| | | type: "warning", |
| | | }); |
| | | return; |
| | | } |
| | | this.isAddProject = true; |
| | | this.detailId = res.data; |
| | | this.inspectionResultForm[0].id = val.materialCode; |
| | | this.inspectionResultForm[0].name = val.material; |
| | | this.getTableData(); |
| | | }); |
| | | }, |
| | | getTableData() { |
| | | this.$axios |
| | | .get(this.$api.url.inspectionItemListUser, { |
| | | params: { |
| | | id: this.detailId, |
| | | type: 1, |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | this.inspectionItems = res.data; |
| | | let arr = []; |
| | | let val = JSON.parse(JSON.stringify(this.inspectionItems)); |
| | | const uName = []; |
| | | //转æä¸ç»´æ°ç» |
| | | val.forEach((l) => { |
| | | let father = l.father; |
| | | l.children.forEach((c) => { |
| | | c.father = father; |
| | | c.empiricalValueAddss = []; |
| | | if ( |
| | | c.inspectionValue != "" && |
| | | c.inspectionValue != null |
| | | ) { |
| | | c.empiricalValueAddss = |
| | | c.inspectionValue.split(","); |
| | | } else { |
| | | c.empiricalValueAddss.push(""); |
| | | } |
| | | uName.push(c["username"]); |
| | | c.isSelectDevice = false; |
| | | arr.push(c); |
| | | }); |
| | | }); |
| | | this.inspectionItems = arr; |
| | | let arrSort = JSON.parse(JSON.stringify(arr)); |
| | | //æ ¹æ®éå对象æ°ç»é¿åº¦æåº |
| | | arrSort.sort((a, b) => { |
| | | if ( |
| | | a.empiricalValueAddss.length < |
| | | b.empiricalValueAddss.length |
| | | ) { |
| | | return -1; // aæå¨båé¢ |
| | | } else if ( |
| | | a.empiricalValueAddss.length > |
| | | b.empiricalValueAddss.length |
| | | ) { |
| | | return 1; // aæå¨båé¢ |
| | | } else { |
| | | return 0; // ä¿æç¸å¯¹é¡ºåºä¸å |
| | | } |
| | | }); |
| | | // console.log(arrSort); |
| | | console.log(uName); |
| | | let name = [...new Set(uName)].filter( |
| | | (item) => item !== null |
| | | ); |
| | | let rname = ""; |
| | | name.forEach((m) => { |
| | | rname += m + ","; |
| | | }); |
| | | this.inspectionResultForm[0].inspecter = rname.slice(0, -1); |
| | | this.empiricalValueAdd = |
| | | arrSort[arrSort.length - 1].empiricalValueAddss.length; |
| | | this.mergeTable(arr); |
| | | }); |
| | | }, |
| | | selectSample() { |
| | | let sample = this.optionsSamplename.filter((item) => { |
| | | return item.name === this.processInspectVo.material; |
| | | })[0]; |
| | | this.processInspectVo.techfather = null; |
| | | this.processInspectVo.techname = null; |
| | | this.processInspectVo.materialCode = sample.code; |
| | | this.processInspectVo.specificationsModel = sample.specifications; |
| | | this.processInspectVo.unit = sample.unit; |
| | | this.optionSoptionSprocesses = []; |
| | | this.optionSoptionSprocesses = sample.children; |
| | | }, |
| | | selectInfoByOrderId() { |
| | | this.$axios |
| | | .get(this.$api.url.chooseMaterProcessInspect, { |
| | | params: { |
| | | orderNumber: this.processInspectVo.orderNumber, |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | if (res.data.length > 0) { |
| | | console.log(res.data); |
| | | this.optionsSamplename = res.data; |
| | | } else { |
| | | this.$message({ |
| | | message: "没æè¯¥è®¢åå·ï¼", |
| | | type: "warning", |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | // å½å页æ¹åæ¶è§¦å 跳转å
¶ä»é¡µ |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.defaultInitializationTable(); |
| | | }, |
| | | // æ¾ç¤ºæ°å¢é¡µé¢ |
| | | handleAddNew() { |
| | | this.showAddPage = true; |
| | | // this.getTableData() |
| | | }, |
| | | // è¡¨æ ¼åå§åæ¥å£ |
| | | defaultInitializationTable() { |
| | | this.$axios |
| | | .post(this.$api.url.selectProcessInspectsList, this.search) |
| | | .then((res) => { |
| | | this.inspectionTableTotal = res.data.total; |
| | | this.inspectionTable = res.data.row; |
| | | }); |
| | | }, |
| | | // æ·»å è¡ |
| | | clickAddLine() { |
| | | let obj = { |
| | | material: "", |
| | | materialCode: "", |
| | | orderNumber: "", |
| | | quantity: 0, |
| | | specificationsModel: "", |
| | | techfather: "", |
| | | techname: "", |
| | | technologyId: 0, |
| | | unit: "", |
| | | }; |
| | | this.inspectionItems.push(obj); |
| | | }, |
| | | // å é¤è¡ |
| | | clickDeleteline(scope) { |
| | | this.inspectionItems.splice(scope.$index, 1); |
| | | }, |
| | | // å 餿£éªå¼å |
| | | clickDeleteInspectionColumn() { |
| | | if (this.empiricalValueAdd - 1 === 0) { |
| | | } else { |
| | | if ( |
| | | this.empiricalValueAddMaxNumber != |
| | | this.empiricalValueAdd - 1 |
| | | ) { |
| | | this.empiricalValueAdd = this.empiricalValueAdd - 1; |
| | | this.inspectionItems.forEach((i) => { |
| | | i.testValueList.splice(this.empiricalValueAdd, 1); |
| | | }); |
| | | } |
| | | } |
| | | }, |
| | | // æ·»å æ£éªå¼å |
| | | clickAddInspectionColumn() { |
| | | this.empiricalValueAdd = this.empiricalValueAdd + 1; |
| | | }, |
| | | }, |
| | | selectSample() { |
| | | let sample = this.optionsSamplename.filter(item => { |
| | | return item.name === this.processInspectVo.material |
| | | })[0] |
| | | this.processInspectVo.techfather = null |
| | | this.processInspectVo.techname = null |
| | | this.processInspectVo.materialCode = sample.code |
| | | this.processInspectVo.specificationsModel = sample.specifications |
| | | this.processInspectVo.unit = sample.unit |
| | | this.optionSoptionSprocesses = [] |
| | | this.optionSoptionSprocesses = sample.children |
| | | created() { |
| | | this.defaultInitializationTable(); // åå§åè¡¨æ ¼æ°æ® |
| | | }, |
| | | selectInfoByOrderId() { |
| | | this.$axios.get(this.$api.url.chooseMaterProcessInspect, { |
| | | params: { |
| | | orderNumber: this.processInspectVo.orderNumber |
| | | } |
| | | }).then(res => { |
| | | if (res.data.length > 0) { |
| | | console.log(res.data); |
| | | this.optionsSamplename = res.data |
| | | } else { |
| | | this.$message({ |
| | | message: '没æè¯¥è®¢åå·ï¼', |
| | | type: 'warning' |
| | | }); |
| | | } |
| | | }) |
| | | }, |
| | | // å½å页æ¹åæ¶è§¦å 跳转å
¶ä»é¡µ |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.defaultInitializationTable(); |
| | | }, |
| | | // æ¾ç¤ºæ°å¢é¡µé¢ |
| | | handleAddNew() { |
| | | this.showAddPage = true; |
| | | // this.getTableData() |
| | | }, |
| | | // è¡¨æ ¼åå§åæ¥å£ |
| | | defaultInitializationTable() { |
| | | this.$axios |
| | | .post(this.$api.url.selectProcessInspectsList, this.search) |
| | | .then(res => { |
| | | this.inspectionTableTotal = res.data.total; |
| | | this.inspectionTable = res.data.row; |
| | | }); |
| | | }, |
| | | // æ·»å è¡ |
| | | clickAddLine() { |
| | | let obj = { |
| | | material: "", |
| | | materialCode: "", |
| | | orderNumber: "", |
| | | quantity: 0, |
| | | specificationsModel: "", |
| | | techfather: "", |
| | | techname: "", |
| | | technologyId: 0, |
| | | unit: "" |
| | | }; |
| | | this.inspectionItems.push(obj); |
| | | }, |
| | | // å é¤è¡ |
| | | clickDeleteline(scope) { |
| | | this.inspectionItems.splice(scope.$index, 1); |
| | | }, |
| | | // å 餿£éªå¼å |
| | | clickDeleteInspectionColumn() { |
| | | if (this.empiricalValueAdd - 1 === 0) { |
| | | } else { |
| | | if (this.empiricalValueAddMaxNumber != this.empiricalValueAdd - 1) { |
| | | this.empiricalValueAdd = this.empiricalValueAdd - 1; |
| | | this.inspectionItems.forEach(i => { |
| | | i.testValueList.splice(this.empiricalValueAdd, 1); |
| | | }); |
| | | } |
| | | } |
| | | }, |
| | | // æ·»å æ£éªå¼å |
| | | clickAddInspectionColumn() { |
| | | this.empiricalValueAdd = this.empiricalValueAdd + 1; |
| | | } |
| | | }, |
| | | created() { |
| | | this.defaultInitializationTable(); // åå§åè¡¨æ ¼æ°æ® |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style> |
| | | .node_i { |
| | | color: orange; |
| | | color: orange; |
| | | } |
| | | |
| | | .div_device_dialog { |
| | | min-height: 400px; |
| | | overflow: auto; |
| | | min-height: 400px; |
| | | overflow: auto; |
| | | } |
| | | |
| | | .nav { |
| | | display: flex; |
| | | padding: 20px 20px; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | display: flex; |
| | | padding: 20px 20px; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | } |
| | | |
| | | .table_header { |
| | | height: calc(100vh - 550px); |
| | | height: calc(100vh - 550px); |
| | | } |
| | | |
| | | .nav * { |
| | | font-size: 14px; |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .content-body .rawPage { |
| | | background-color: #fff; |
| | | overflow: hidden; |
| | | background-color: #fff; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .rawPage span { |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | .inspectionTable { |
| | | padding: 20px 20px; |
| | | padding: 20px 20px; |
| | | } |
| | | |
| | | .pagination { |
| | | float: right; |
| | | margin-right: 20px; |
| | | float: right; |
| | | margin-right: 20px; |
| | | } |
| | | |
| | | .newPage { |
| | | overflow: hidden; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .header { |
| | | padding: 12px; |
| | | padding: 12px; |
| | | } |
| | | |
| | | .addInspectionform { |
| | | background-color: #fff; |
| | | background-color: #fff; |
| | | } |
| | | |
| | | .addInspectionform .formwrapper { |
| | | padding: 20px 0px; |
| | | margin-left: 100px; |
| | | padding: 20px 0px; |
| | | margin-left: 100px; |
| | | } |
| | | |
| | | .inspectionProject .el-table { |
| | | background-color: #fff; |
| | | padding: 10px 12px; |
| | | background-color: #fff; |
| | | padding: 10px 12px; |
| | | } |
| | | |
| | | .inspectionResult span { |
| | | display: block; |
| | | padding: 5px 0px; |
| | | display: block; |
| | | padding: 5px 0px; |
| | | } |
| | | |
| | | .inspectionResult .el-table { |
| | | background-color: #fff; |
| | | padding: 10px 12px; |
| | | background-color: #fff; |
| | | padding: 10px 12px; |
| | | } |
| | | |
| | | .inspectionProject_span { |
| | | line-height: 32px; |
| | | padding: 10px 20px; |
| | | line-height: 32px; |
| | | padding: 10px 20px; |
| | | } |
| | | |
| | | .inspectionProject_span .el-button { |
| | | float: right; |
| | | font-size: 13px !important; |
| | | float: right; |
| | | font-size: 13px !important; |
| | | } |
| | | </style> |
| | |
| | | <style scoped> |
| | | .raw_ins { |
| | | height: 100%; |
| | | } |
| | | .raw_ins { |
| | | height: 100%; |
| | | } |
| | | |
| | | .raw_ins .title .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | .raw_ins .title .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | |
| | | .raw_ins .title { |
| | | margin-bottom: 10px; |
| | | padding: 0 20px; |
| | | } |
| | | .raw_ins .title { |
| | | margin-bottom: 10px; |
| | | padding: 0 20px; |
| | | } |
| | | |
| | | .choose { |
| | | padding: 21px 24px; |
| | | display: flex; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 3px solid rgb(245, 247, 251); |
| | | } |
| | | .choose { |
| | | padding: 21px 24px; |
| | | display: flex; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 3px solid rgb(245, 247, 251); |
| | | } |
| | | |
| | | .choose * { |
| | | font-size: 14px; |
| | | } |
| | | .choose * { |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .choose .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | .choose .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | |
| | | .thing { |
| | | width: calc(100% - 44px); |
| | | height: calc(100% - 42px - 82px - 66px); |
| | | background-color: #fff; |
| | | overflow: auto; |
| | | padding: 33px 22px; |
| | | } |
| | | .choose span { |
| | | /* spanå
容强å¶ä¸æ¢è¡ */ |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | .table_do { |
| | | color: #004ea0; |
| | | cursor: pointer; |
| | | } |
| | | .thing { |
| | | width: calc(100% - 44px); |
| | | height: calc(100% - 42px - 82px - 66px); |
| | | background-color: #fff; |
| | | overflow: auto; |
| | | padding: 33px 22px; |
| | | } |
| | | |
| | | .table_do { |
| | | color: #004ea0; |
| | | cursor: pointer; |
| | | } |
| | | </style> |
| | | <style> |
| | | .raw_ins .thing * { |
| | | font-size: 14px; |
| | | } |
| | | .raw_ins .thing * { |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .raw_ins .has-gutter .el-table__cell { |
| | | background-color: #f0f1f5 !important; |
| | | color: #333; |
| | | } |
| | | .raw_ins .has-gutter .el-table__cell { |
| | | background-color: #f0f1f5 !important; |
| | | color: #333; |
| | | } |
| | | |
| | | .raw_ins .has-gutter .el-table__cell .cell { |
| | | font-size: 16px; |
| | | font-weight: 500; |
| | | } |
| | | .raw_ins .has-gutter .el-table__cell .cell { |
| | | font-size: 16px; |
| | | font-weight: 500; |
| | | } |
| | | |
| | | .raw_ins .cell { |
| | | color: #333; |
| | | padding-left: 17px !important; |
| | | } |
| | | .raw_ins .cell { |
| | | color: #333; |
| | | padding-left: 17px !important; |
| | | } |
| | | |
| | | .raw_ins .el-table__body-wrapper { |
| | | height: 100%; |
| | | } |
| | | .raw_ins .el-table__body-wrapper { |
| | | height: 100%; |
| | | } |
| | | |
| | | .raw_ins .el-table__body { |
| | | height: 100%; |
| | | } |
| | | .raw_ins .el-table__body { |
| | | height: 100%; |
| | | } |
| | | </style> |
| | | |
| | | <template> |
| | | <div class="raw_ins"> |
| | | <div class="title"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">åæææ£éª</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button type="primary" icon="el-icon-plus" style="background: #004EA2;" |
| | | @click="goDetail(null)">æ°å¢</el-button> |
| | | <el-button icon="el-icon-download">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="choose"> |
| | | <span>æ¥ææ¥æï¼</span> |
| | | <el-date-picker v-model="search.formTime" size="small" placeholder="请è¾å
¥" style="width: 13vw;margin-right: 5px;" |
| | | clearable value-format="yyyy-MM-dd"></el-date-picker> |
| | | <span>åææç¼ç ï¼</span> |
| | | <el-input v-model="search.code" placeholder="请è¾å
¥" size="small" style="width: 13vw;margin-right: 5px;" |
| | | clearable></el-input> |
| | | <span>æ£æµç¶æï¼</span> |
| | | <el-select v-model="search.insState" size="small" placeholder="è¯·éæ©" style="width: 13vw;margin-right: 5px;"> |
| | | <el-option label="å
¨é¨" :value="2"></el-option> |
| | | <el-option label="æªæ£æµ" :value="0"></el-option> |
| | | <el-option label="å·²æ£æµ" :value="1"></el-option> |
| | | </el-select> |
| | | <span>åææåç§°ï¼</span> |
| | | <el-input v-model="search.name" size="small" placeholder="请è¾å
¥" style="width: 13vw;margin-right: 5px;" |
| | | clearable></el-input> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" type="primary" style="background: #004EA2;" @click="selectRawInspectsList()"><span>æ¥ |
| | | 询</span></el-button> |
| | | </div> |
| | | <div class="thing"> |
| | | <el-table :data="tableData" border style="width: 100%;overflow-y: auto;min-height: calc(100% - 50px)" |
| | | max-height="calc(100% - 50px)" @selection-change="handleSelectionChange" default-expand-all |
| | | :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" row-key="id"> |
| | | <el-table-column type="selection" width="50"> </el-table-column> |
| | | <el-table-column type="index" label="åºå·" width="70"> |
| | | </el-table-column> |
| | | <el-table-column prop="formTime" label="æ¥ææ¥æ"> </el-table-column> |
| | | <el-table-column prop="code" label="åææç¼ç "> </el-table-column> |
| | | <el-table-column prop="name" label="åææåç§°"> </el-table-column> |
| | | <el-table-column prop="specifications" label="è§æ ¼åå·"> |
| | | </el-table-column> |
| | | <el-table-column prop="unit" label="åä½"> </el-table-column> |
| | | <el-table-column prop="number" label="æ°é"> </el-table-column> |
| | | <el-table-column prop="createTime" label="æ¥æ£æ¥æ"> </el-table-column> |
| | | <el-table-column prop="user_name" label="æ¥æ£äºº"> </el-table-column> |
| | | <el-table-column prop="createTime" label="æ£éªæ¥æ"> </el-table-column> |
| | | <el-table-column prop="createTime" label="æ£æµç¶æ" width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.ins_state == 1">å·²æ£æµ</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.ins_state == 0">æªæ£æµ</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="judge_state" label="åæ ¼ç¶æ" width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.judge_state == 1">åæ ¼</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.judge_state == 0">ä¸åæ ¼</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" width="100"> |
| | | <template slot-scope="scope"> |
| | | <span class="table_do" @click="changeShowDetail(scope.row)">æ¥ç</span> |
| | | <span class="table_do">æå°</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-col style="height: 50px;display: flex;align-items: center;justify-content: right;"> |
| | | <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="1" |
| | | :page-sizes="[10, 15, 20, 30, 50]" :page-size="search.co" layout="total, sizes, prev, pager, next, jumper" |
| | | :total="total"> |
| | | </el-pagination> |
| | | </el-col> |
| | | </div> |
| | | </div> |
| | | <div class="raw_ins"> |
| | | <div class="title"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">åæææ£éª</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button type="primary" icon="el-icon-plus" style="background: #004EA2;" @click="goDetail(null)">æ°å¢</el-button> |
| | | <el-button icon="el-icon-download">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="choose"> |
| | | <span>æ¥ææ¥æï¼</span> |
| | | <el-date-picker v-model="search.formTime" size="small" placeholder="请è¾å
¥" style="width: 13vw;margin-right: 5px;" clearable value-format="yyyy-MM-dd"></el-date-picker> |
| | | <span>åææç¼ç ï¼</span> |
| | | <el-input v-model="search.code" placeholder="请è¾å
¥" size="small" style="width: 13vw;margin-right: 5px;" clearable></el-input> |
| | | <span>æ£æµç¶æï¼</span> |
| | | <el-select v-model="search.insState" size="small" placeholder="è¯·éæ©" style="width: 13vw;margin-right: 5px;"> |
| | | <el-option label="å
¨é¨" :value="2"></el-option> |
| | | <el-option label="æªæ£æµ" :value="0"></el-option> |
| | | <el-option label="å·²æ£æµ" :value="1"></el-option> |
| | | </el-select> |
| | | <span>åææåç§°ï¼</span> |
| | | <el-input v-model="search.name" size="small" placeholder="请è¾å
¥" style="width: 13vw;margin-right: 5px;" clearable></el-input> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" type="primary" style="background: #004EA2;" @click="selectRawInspectsList()"><span>æ¥ è¯¢</span></el-button> |
| | | </div> |
| | | <div class="thing"> |
| | | <el-table :data="tableData" border style="width: 100%;" height="calc(100% - 50px)" @selection-change="handleSelectionChange" default-expand-all :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" row-key="id"> |
| | | <el-table-column type="index" label="åºå·" width="60"> |
| | | </el-table-column> |
| | | <el-table-column prop="formTime" label="æ¥ææ¥æ" min-width="110"> </el-table-column> |
| | | <el-table-column prop="code" label="åææç¼ç " min-width="110"> </el-table-column> |
| | | <el-table-column prop="name" label="åææåç§°" min-width="110"> </el-table-column> |
| | | <el-table-column prop="specifications" label="è§æ ¼åå·" min-width="100"> |
| | | </el-table-column> |
| | | <el-table-column prop="unit" label="åä½" min-width="60"> </el-table-column> |
| | | <el-table-column prop="number" label="æ°é" min-width="60"> </el-table-column> |
| | | <el-table-column prop="createTime" label="æ¥æ£æ¥æ" min-width="110"> </el-table-column> |
| | | <el-table-column prop="user_name" label="æ¥æ£äºº" min-width="80"> </el-table-column> |
| | | <el-table-column prop="createTime" label="æ£éªæ¥æ" min-width="110"> </el-table-column> |
| | | <el-table-column prop="createTime" label="æ£æµç¶æ" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.ins_state == 1">å·²æ£æµ</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.ins_state == 0">æªæ£æµ</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="judge_state" label="åæ ¼ç¶æ" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color: #34BD66;" v-if="scope.row.judge_state == 1">åæ ¼</span> |
| | | <span style="color: #E84738;" v-else-if="scope.row.judge_state == 0">ä¸åæ ¼</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" min-width="100" fixed="right"> |
| | | <template slot-scope="scope"> |
| | | <span class="table_do" @click="changeShowDetail(scope.row)">æ¥ç</span> |
| | | <span class="table_do">æå°</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-col style="height: 50px;display: flex;align-items: center;justify-content: right;"> |
| | | <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="1" :page-sizes="[10, 15, 20, 30, 50]" :page-size="search.co" layout="total, sizes, prev, pager, next, jumper" :total="total"> |
| | | </el-pagination> |
| | | </el-col> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | search: { |
| | | formTime: "", // æ¥ææ¶é´ |
| | | code: "", // åææç¼ç |
| | | insState: "", // æ£æµç¶æ |
| | | name: "", // |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1 // é¡µæ° |
| | | }, |
| | | total: 0, |
| | | tableData: [], |
| | | selects: [] |
| | | }; |
| | | }, |
| | | props: ["goDetail"], |
| | | mounted() { |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | methods: { |
| | | handleSelectionChange(val) { |
| | | this.selects = val; |
| | | }, |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | selectRawInspectsList() { |
| | | this.$axios |
| | | .get(this.$api.url.selectRawInspectsList, { |
| | | params: this.search |
| | | }) |
| | | .then(res => { |
| | | this.tableData = res.data.row; |
| | | this.total = res.data.total; |
| | | }); |
| | | }, |
| | | clean() { |
| | | this.search = { |
| | | formTime: "", // æ¥ææ¶é´ |
| | | code: "", // åææç¼ç |
| | | insState: "", // æ£æµç¶æ |
| | | name: "", // |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1 // é¡µæ° |
| | | }; |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | changeShowDetail({ |
| | | id |
| | | }) { |
| | | this.goDetail(id); |
| | | // console.log(id) |
| | | // const res = await this.$axios.post(this.$api.url.selectRawInspectsListById,{params:{id}}) |
| | | // console.log(res) |
| | | } |
| | | } |
| | | }; |
| | | export default { |
| | | data() { |
| | | return { |
| | | search: { |
| | | formTime: "", // æ¥ææ¶é´ |
| | | code: "", // åææç¼ç |
| | | insState: "", // æ£æµç¶æ |
| | | name: "", // |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // é¡µæ° |
| | | }, |
| | | total: 0, |
| | | tableData: [], |
| | | selects: [], |
| | | }; |
| | | }, |
| | | props: ["goDetail"], |
| | | mounted() { |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | methods: { |
| | | handleSelectionChange(val) { |
| | | this.selects = val; |
| | | }, |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | selectRawInspectsList() { |
| | | this.$axios |
| | | .get(this.$api.url.selectRawInspectsList, { |
| | | params: this.search, |
| | | }) |
| | | .then((res) => { |
| | | this.tableData = res.data.row; |
| | | this.total = res.data.total; |
| | | }); |
| | | }, |
| | | clean() { |
| | | this.search = { |
| | | formTime: "", // æ¥ææ¶é´ |
| | | code: "", // åææç¼ç |
| | | insState: "", // æ£æµç¶æ |
| | | name: "", // |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // é¡µæ° |
| | | }; |
| | | this.selectRawInspectsList(); |
| | | }, |
| | | changeShowDetail({ id }) { |
| | | this.goDetail(id); |
| | | // console.log(id) |
| | | // const res = await this.$axios.post(this.$api.url.selectRawInspectsListById,{params:{id}}) |
| | | // console.log(res) |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | <template> |
| | | <div class="unqualifiedBox"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">ä¸åæ ¼ç®¡ç</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button icon="el-icon-download" size="mini" @click="() => {}" |
| | | >导åº</el-button |
| | | > |
| | | </el-col> |
| | | </el-row> |
| | | <div style="margin-top: 10px;"> |
| | | <el-card shadow="hover" class="margin-30" style="height: 80px;"> |
| | | <div class="choose"> |
| | | <span>å¤çç¶æï¼</span> |
| | | <el-select |
| | | v-model="search.dealState" |
| | | size="small" |
| | | placeholder="è¯·éæ©" |
| | | style="width: 224px;margin-right: 30px;" |
| | | > |
| | | <el-option label="å·²å¤ç" :value="1"></el-option> |
| | | <el-option label="å¾
å¤ç" :value="0"></el-option> |
| | | </el-select> |
| | | <span>æ¥ææ¥æï¼</span> |
| | | <el-date-picker |
| | | v-model="search.formTime" |
| | | size="small" |
| | | placeholder="请è¾å
¥" |
| | | style="width: 224px;margin-right: 30px;" |
| | | clearable |
| | | value-format="yyyy-MM-dd" |
| | | ></el-date-picker> |
| | | <span>产å大类ï¼</span> |
| | | <el-select |
| | | v-model="search.productCategories" |
| | | size="small" |
| | | placeholder="è¯·éæ©" |
| | | style="width: 224px;margin-right: 30px;" |
| | | > |
| | | <el-option label="å
¨é¨" :value="''"></el-option> |
| | | <el-option label="æå" :value="1"></el-option> |
| | | <el-option label="åæå" :value="2"></el-option> |
| | | </el-select> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="primary" |
| | | style="background: #004EA2;" |
| | | @click=" |
| | | unqualifiedTable = []; |
| | | getDetailInfo(); |
| | | " |
| | | ><span>æ¥ è¯¢</span></el-button |
| | | > |
| | | <div class="unqualifiedBox"> |
| | | <el-row> |
| | | <el-col :span="12" style="line-height: 32px;">ä¸åæ ¼ç®¡ç</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button icon="el-icon-download" size="mini" @click="() => { }">导åº</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <div style="margin-top: 10px;"> |
| | | <el-card shadow="hover" style="height: 6em;display: flex;align-items: center;"> |
| | | <div class="choose"> |
| | | <span>å¤çç¶æï¼</span> |
| | | <el-select v-model="search.dealState" size="small" placeholder="è¯·éæ©" style="width: 13vw;margin-right: 30px;"> |
| | | <el-option label="å·²å¤ç" :value="1"></el-option> |
| | | <el-option label="å¾
å¤ç" :value="0"></el-option> |
| | | </el-select> |
| | | <span>æ¥ææ¥æï¼</span> |
| | | <el-date-picker v-model="search.formTime" size="small" placeholder="请è¾å
¥" style="width: 13vw;margin-right: 30px;" clearable value-format="yyyy-MM-dd"></el-date-picker> |
| | | <span>产å大类ï¼</span> |
| | | <el-select v-model="search.productCategories" size="small" placeholder="è¯·éæ©" style="width: 13vw;margin-right: 30px;"> |
| | | <el-option label="å
¨é¨" :value="''"></el-option> |
| | | <el-option label="æå" :value="1"></el-option> |
| | | <el-option label="åæå" :value="2"></el-option> |
| | | </el-select> |
| | | <el-button size="mini" @click="clean()"><span>é ç½®</span></el-button> |
| | | <el-button size="mini" type="primary" style="background: #004EA2;" @click=" |
| | | unqualifiedTable = []; |
| | | getDetailInfo(); |
| | | "><span>æ¥ è¯¢</span></el-button> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </el-card> |
| | | <div class="tableno" style="height:300px"> |
| | | <el-card shadow="hover"> |
| | | <el-table :data="unqualifiedTable" border ref="multipleTable" tooltip-effect="dark" height="calc(100vh - 340px)" style="width: 100%"> |
| | | <el-table-column type="index" label="åºå·" width="60"> |
| | | <template slot-scope="scope"> |
| | | {{ (search.pageSize - 1) * search.countSize + scope.$index + 1 }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="dateArrival" label="æ¥ææ¥æ" min-width="110"> |
| | | </el-table-column> |
| | | <el-table-column prop="reason" label="缺é·åç§°" min-width="100" show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column prop="material_code" label="ææç¼ç " min-width="150" show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column prop="project_name" label="ææåç§°" min-width="150"> |
| | | </el-table-column> |
| | | <el-table-column prop="specifications_model" label="è§æ ¼åå·" min-width="100"> |
| | | </el-table-column> |
| | | <el-table-column prop="unit" label="åä½" min-width="60"> </el-table-column> |
| | | <el-table-column prop="quantity" label="æ°é" min-width="60"> </el-table-column> |
| | | <el-table-column prop="inspectionDate" label="æ¥æ£æ¥æ" min-width="110"> |
| | | </el-table-column> |
| | | <el-table-column prop="name" label="æ¥æ£äºº" min-width="80"> </el-table-column> |
| | | <el-table-column prop="processingDate" label="æ£éªæ¥æ" min-width="110"> |
| | | </el-table-column> |
| | | <el-table-column prop="deal_state" label="å¤çç¶æ" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color:#34BD66;" v-if="scope.row.deal_state == 1">å·²å¤ç</span> |
| | | <span style="color:#E84738;" v-else-if="scope.row.deal_state == 0">å¾
å¤ç</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="deal_reasult" label="è¯å®¡ç»æ" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color:#E84738;" v-if="scope.row.deal_reasult == 0">ä¸éè¿</span> |
| | | <span style="color:#34BD66;" v-else-if="scope.row.deal_reasult == 1">éè¿</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" min-width="100" fixed="right"> |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;"> |
| | | <el-popover placement="left" width="160" :ref="`popover-${scope.$index}`"> |
| | | <div style="padding: 6px">è¯å®¡æ¯å¦éè¿ï¼</div> |
| | | <div style="text-align: right; margin: 6px;"> |
| | | <el-button size="mini" type="text" style="color: #E84738;" @click=" |
| | | scope._self.$refs[`popover-${scope.$index}`].doClose(); |
| | | rawEvaluate(scope.row, 0); |
| | | ">ä¸éè¿</el-button> |
| | | <el-button type="text" style="color: #34bd66;" size="mini" @click=" |
| | | scope._self.$refs[`popover-${scope.$index}`].doClose(); |
| | | rawEvaluate(scope.row, 1); |
| | | ">éè¿</el-button> |
| | | </div> |
| | | <el-button slot="reference" type="text" siae="small" size="mini">è¯å®¡</el-button> |
| | | </el-popover> |
| | | <el-button type="text" siae="small" size="mini" style=" color:87, 138, 193 ;margin-left: 10px;">æ¥ç</el-button> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-col style="height: 50px;display: flex;align-items: center;justify-content: right;"> |
| | | <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="search.pageSize" :page-sizes="[10, 15, 20, 30, 50]" :page-size="search.countSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> |
| | | </el-pagination> |
| | | </el-col> |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | | <div class="tableno" style="height:300px"> |
| | | <el-card shadow="hover" class="margin-30"> |
| | | <el-table |
| | | :data="unqualifiedTable" |
| | | border |
| | | ref="multipleTable" |
| | | tooltip-effect="dark" |
| | | height="calc(100vh - 340px)" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column type="selection" width="50"> </el-table-column> |
| | | <el-table-column type="index" label="åºå·" width="60"> |
| | | <template slot-scope="scope"> |
| | | {{ (search.pageSize - 1) * search.countSize + scope.$index + 1 }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="dateArrival" label="æ¥ææ¥æ"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="reason" |
| | | label="缺é·åç§°" |
| | | min-width="120" |
| | | show-overflow-tooltip |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="material_code" label="ææç¼ç "> |
| | | </el-table-column> |
| | | <el-table-column prop="project_name" label="ææåç§°"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="specifications_model" |
| | | label="è§æ ¼åå·" |
| | | min-width="120" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="unit" label="åä½"> </el-table-column> |
| | | <el-table-column prop="quantity" label="æ°é"> </el-table-column> |
| | | <el-table-column prop="inspectionDate" label="æ¥æ£æ¥æ"> |
| | | </el-table-column> |
| | | <el-table-column prop="name" label="æ¥æ£äºº"> </el-table-column> |
| | | <el-table-column prop="processingDate" label="æ£éªæ¥æ"> |
| | | </el-table-column> |
| | | <el-table-column prop="deal_state" label="å¤çç¶æ" width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color:#34BD66;" v-if="scope.row.deal_state == 1" |
| | | >å·²å¤ç</span |
| | | > |
| | | <span style="color:#E84738;" v-else-if="scope.row.deal_state == 0" |
| | | >å¾
å¤ç</span |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="deal_reasult" label="è¯å®¡ç»æ" width="100"> |
| | | <template slot-scope="scope"> |
| | | <span style="color:#E84738;" v-if="scope.row.deal_reasult == 0" |
| | | >ä¸éè¿</span |
| | | > |
| | | <span |
| | | style="color:#34BD66;" |
| | | v-else-if="scope.row.deal_reasult == 1" |
| | | >éè¿</span |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" width="100"> |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;"> |
| | | <el-popover |
| | | placement="left" |
| | | width="160" |
| | | :ref="`popover-${scope.$index}`" |
| | | > |
| | | <div style="padding: 6px">è¯å®¡æ¯å¦éè¿ï¼</div> |
| | | <div style="text-align: right; margin: 6px;"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | style="color: #E84738;" |
| | | @click=" |
| | | scope._self.$refs[`popover-${scope.$index}`].doClose(); |
| | | rawEvaluate(scope.row, 0); |
| | | " |
| | | >ä¸éè¿</el-button |
| | | > |
| | | <el-button |
| | | type="text" |
| | | style="color: #34bd66;" |
| | | size="mini" |
| | | @click=" |
| | | scope._self.$refs[`popover-${scope.$index}`].doClose(); |
| | | rawEvaluate(scope.row, 1); |
| | | " |
| | | >éè¿</el-button |
| | | > |
| | | </div> |
| | | <el-button |
| | | slot="reference" |
| | | type="text" |
| | | siae="small" |
| | | size="mini" |
| | | >è¯å®¡</el-button |
| | | > |
| | | </el-popover> |
| | | <el-button |
| | | type="text" |
| | | siae="small" |
| | | size="mini" |
| | | style=" color:87, 138, 193 ;margin-left: 10px;" |
| | | >æ¥ç</el-button |
| | | > |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-col |
| | | style="height: 50px;display: flex;align-items: center;justify-content: right;" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="search.pageSize" |
| | | :page-sizes="[10, 15, 20, 30, 50]" |
| | | :page-size="search.countSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="total" |
| | | > |
| | | </el-pagination> |
| | | </el-col> |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | search: { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | formTime: "", // æ¥ææ¥æ |
| | | productCategories: "", // 产å大类 |
| | | dealState: "" // å¤çç¶æ |
| | | }, |
| | | unqualifiedTable: [], // 页é¢è¡¨æ ¼æ°æ® |
| | | total: 0 |
| | | }; |
| | | }, |
| | | mounted() { |
| | | this.getDetailInfo(); |
| | | }, |
| | | methods: { |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.getDetailInfo(); |
| | | data() { |
| | | return { |
| | | search: { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | formTime: "", // æ¥ææ¥æ |
| | | productCategories: "", // 产å大类 |
| | | dealState: "", // å¤çç¶æ |
| | | }, |
| | | unqualifiedTable: [], // 页é¢è¡¨æ ¼æ°æ® |
| | | total: 0, |
| | | }; |
| | | }, |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.getDetailInfo(); |
| | | mounted() { |
| | | this.getDetailInfo(); |
| | | }, |
| | | getDetailInfo() { |
| | | this.axios |
| | | .get(this.$api.url.inspectUnaccepted, { |
| | | params: this.search |
| | | }) |
| | | .then(res => { |
| | | this.unqualifiedTable = res.data.row; |
| | | this.total = res.data.total; |
| | | }); |
| | | methods: { |
| | | handleSizeChange(val) { |
| | | this.search.countSize = val; |
| | | this.getDetailInfo(); |
| | | }, |
| | | handleCurrentChange(val) { |
| | | this.search.pageSize = val; |
| | | this.getDetailInfo(); |
| | | }, |
| | | getDetailInfo() { |
| | | this.axios |
| | | .get(this.$api.url.inspectUnaccepted, { |
| | | params: this.search, |
| | | }) |
| | | .then((res) => { |
| | | this.unqualifiedTable = res.data.row; |
| | | this.total = res.data.total; |
| | | }); |
| | | }, |
| | | clean() { |
| | | this.search = { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | formTime: "", // æ¥ææ¥æ |
| | | dealState: "", // å¤çç¶æ |
| | | }; |
| | | this.getDetailInfo(); |
| | | }, |
| | | rawEvaluate(row, passOrNo) { |
| | | this.$axios |
| | | .post(this.$api.url.evaluatePassOrNo, { |
| | | rawId: row.id, |
| | | passOrNo: passOrNo, |
| | | }) |
| | | .then((res) => { |
| | | this.unqualifiedTable = []; |
| | | this.getDetailInfo(); |
| | | this.$parent.removeAllTab(); |
| | | }); |
| | | }, |
| | | }, |
| | | clean() { |
| | | this.search = { |
| | | countSize: 10, // æ¡æ°/页 |
| | | pageSize: 1, // èµ·å§é¡µ |
| | | formTime: "", // æ¥ææ¥æ |
| | | dealState: "" // å¤çç¶æ |
| | | }; |
| | | this.getDetailInfo(); |
| | | }, |
| | | rawEvaluate(row, passOrNo) { |
| | | this.$axios |
| | | .post(this.$api.url.evaluatePassOrNo, { |
| | | rawId: row.id, |
| | | passOrNo: passOrNo |
| | | }) |
| | | .then(res => { |
| | | this.unqualifiedTable = []; |
| | | this.getDetailInfo(); |
| | | this.$parent.removeAllTab() |
| | | }); |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .unqualifiedBox { |
| | | width: 100%; |
| | | max-height: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | /* overflow-y: scroll; */ |
| | | width: 100%; |
| | | max-height: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | /* overflow-y: scroll; */ |
| | | } |
| | | |
| | | .unqualifiedBox .title .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | |
| | | .unqualifiedBox .title { |
| | | margin-bottom: 10px; |
| | | padding: 0 20px; |
| | | } |
| | | <!-- /* æ¡ä»¶æ¥è¯¢å¤´é¨æ ·å¼ */ --> |
| | | .choose { |
| | | padding: 21px 24px; |
| | | display: flex; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 3px solid rgb(245, 247, 251); |
| | | margin-bottom: 10px; |
| | | padding: 0 20px; |
| | | } |
| | | |
| | | .choose { |
| | | font-size: 14px; |
| | | display: flex; |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 3px solid rgb(245, 247, 251); |
| | | } |
| | | |
| | | .choose { |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .choose .el-button { |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | height: 32px; |
| | | border: 1px solid rgba(190, 190, 190, 0.44); |
| | | box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41); |
| | | padding: 0 12px; |
| | | } |
| | | <!-- /* ä¸åæ ¼è¡¨æ ¼æ ·å¼ */ |
| | | .unqualifiedTable { |
| | | flex: 1; |
| | | background: #fff; |
| | | margin-top: 11px; |
| | | padding: 23px 21px; |
| | | |
| | | .choose span { |
| | | /* spanå
容强å¶ä¸æ¢è¡ */ |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | /* ä¸åæ ¼è¡¨æ ¼æ ·å¼ */ |
| | | .unqualifiedTable { |
| | | flex: 1; |
| | | background: #fff; |
| | | margin-top: 11px; |
| | | padding: 23px 21px; |
| | | } |
| | | |
| | | .tableno { |
| | | margin-top: 10px; |
| | | margin-top: 10px; |
| | | } |
| | | </style> |
| | |
| | | |
| | | Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80/"; //å端æ¬å°ç«¯å£ |
| | | Vue.prototype.HaveJson = (val) => { |
| | | return JSON.parse(JSON.stringify(val)) |
| | | return JSON.parse(JSON.stringify(val)) |
| | | } |
| | | |
| | | Vue.use(VueAxios, axios) |
| | |
| | | Vue.use(qs); |
| | | Vue.use(api); |
| | | |
| | | const javaApi = 'http://192.168.14.249:8001' |
| | | // const javaApi = 'http://192.168.14.249:8001' |
| | | |
| | | // const javaApi = 'http://127.0.0.1:8001/' |
| | | const javaApi = 'http://127.0.0.1:8001/' |
| | | |
| | | |
| | | |
| | |
| | | Vue.prototype.$axios = axios |
| | | |
| | | import { |
| | | Message |
| | | Message |
| | | } from 'element-ui'; |
| | | axios.interceptors.request.use(function(config) { |
| | | let tk = sessionStorage.getItem("token") |
| | | let token; |
| | | if (tk != undefined && tk != '') { |
| | | token = tk |
| | | } |
| | | if (token) { |
| | | config.headers['token'] = "" + token |
| | | // config.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' |
| | | // config.headers['Content-Type'] = 'application/json' |
| | | } |
| | | // console.log(config) |
| | | if (config.method === 'post' || config.method === 'put') { |
| | | axios.interceptors.request.use(function (config) { |
| | | let tk = sessionStorage.getItem("token") |
| | | let token; |
| | | if (tk != undefined && tk != '') { |
| | | token = tk |
| | | } |
| | | if (token) { |
| | | config.headers['token'] = "" + token |
| | | // config.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' |
| | | // config.headers['Content-Type'] = 'application/json' |
| | | } |
| | | // console.log(config) |
| | | if (config.method === 'post' || config.method === 'put') { |
| | | |
| | | config.data = qs.stringify(config.data) |
| | | } |
| | | if (config.headers['Content-Type'] == 'application/json') { |
| | | config.data = qs.parse(config.data) |
| | | // console.log(config.data) |
| | | } |
| | | config.data = qs.stringify(config.data) |
| | | } |
| | | if (config.headers['Content-Type'] == 'application/json') { |
| | | config.data = qs.parse(config.data) |
| | | // console.log(config.data) |
| | | } |
| | | |
| | | |
| | | return config |
| | | }, function(error) { |
| | | return Promise.reject(error) |
| | | return config |
| | | }, function (error) { |
| | | return Promise.reject(error) |
| | | }) |
| | | |
| | | axios.interceptors.response.use(res => { |
| | | return res.data |
| | | }, async function(err) { |
| | | if (JSON.stringify(err).indexOf('timeout of') > -1) { |
| | | Message.error('请æ±è¶
æ¶ï¼è¯·æ£æ¥ç½ç»è®¾ç½®') |
| | | } else if (JSON.stringify(err).indexOf('ERR_CONNECTION_RESET') > -1 || JSON.stringify(err).indexOf( |
| | | 'Network Error') > -1) { |
| | | Message.error('ç½ç»è¿æ¥é误') |
| | | } else if (err.response.status == "503") { |
| | | Message.error('æå¡æªååº') |
| | | } else if (err.response.status == "404") { |
| | | Message.error('请æ±å¤±è´¥ï¼é¾æ¥å°åä¸åå¨') |
| | | } else if (err.response.status == "403") { |
| | | Message.error('tokenä¸åå¨') |
| | | } else if (err.response.status == "402") { |
| | | Message.error('æ æç¾åï¼è¯·éæ°ç»å½') |
| | | localStorage.removeItem('autoenter') |
| | | window.location.href = '/enter' |
| | | } else if (err.response.status == "401") { |
| | | await axios.post(javaApi + "user/refresh", { |
| | | reToken: sessionStorage.getItem('reToken') |
| | | }).then(res => { |
| | | if (res.data.code == 201) { |
| | | Message.error('认è¯å¤±è´¥ï¼éè¦éæ°ç»å½') |
| | | localStorage.removeItem('autoenter') |
| | | window.location.href = '/enter' |
| | | return Promise.reject(err) |
| | | } |
| | | sessionStorage.setItem('token', res.data.token) |
| | | sessionStorage.setItem('reToken', res.data.reToken) |
| | | }) |
| | | return axios(err.config) |
| | | } else if (err.response.status == "500") { |
| | | Message.error('æå¡ç«¯åºç°é误') |
| | | } |
| | | return Promise.reject(err) |
| | | return res.data |
| | | }, async function (err) { |
| | | if (JSON.stringify(err).indexOf('timeout of') > -1) { |
| | | Message.error('请æ±è¶
æ¶ï¼è¯·æ£æ¥ç½ç»è®¾ç½®') |
| | | } else if (JSON.stringify(err).indexOf('ERR_CONNECTION_RESET') > -1 || JSON.stringify(err).indexOf( |
| | | 'Network Error') > -1) { |
| | | Message.error('ç½ç»è¿æ¥é误') |
| | | } else if (err.response.status == "503") { |
| | | Message.error('æå¡æªååº') |
| | | } else if (err.response.status == "404") { |
| | | Message.error('请æ±å¤±è´¥ï¼é¾æ¥å°åä¸åå¨') |
| | | } else if (err.response.status == "403") { |
| | | Message.error('tokenä¸åå¨') |
| | | } else if (err.response.status == "402") { |
| | | Message.error('æ æç¾åï¼è¯·éæ°ç»å½') |
| | | localStorage.removeItem('autoenter') |
| | | window.location.href = '/enter' |
| | | } else if (err.response.status == "401") { |
| | | await axios.post(javaApi + "user/refresh", { |
| | | reToken: sessionStorage.getItem('reToken') |
| | | }).then(res => { |
| | | if (res.data.code == 201) { |
| | | Message.error('认è¯å¤±è´¥ï¼éè¦éæ°ç»å½') |
| | | localStorage.removeItem('autoenter') |
| | | window.location.href = '/enter' |
| | | return Promise.reject(err) |
| | | } |
| | | sessionStorage.setItem('token', res.data.token) |
| | | sessionStorage.setItem('reToken', res.data.reToken) |
| | | }) |
| | | return axios(err.config) |
| | | } else if (err.response.status == "500") { |
| | | Message.error('æå¡ç«¯åºç°é误') |
| | | } |
| | | return Promise.reject(err) |
| | | }) |
| | | |
| | | // è·¯ç±æ¦æªå¨ |
| | |
| | | // }); |
| | | |
| | | new Vue({ |
| | | el: '#app', |
| | | router, |
| | | render: h => h(App) |
| | | el: '#app', |
| | | router, |
| | | render: h => h(App) |
| | | }); |
| | |
| | | <style scoped> |
| | | .all { |
| | | width: 100vw; |
| | | height: 100vh; |
| | | background-size: 100% 100%; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | } |
| | | .all { |
| | | width: 100vw; |
| | | height: 100vh; |
| | | background-size: 100% 100%; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | } |
| | | |
| | | .title { |
| | | width: 100%; |
| | | height: 58px; |
| | | display: flex; |
| | | align-items: center; |
| | | padding: 0 30px; |
| | | } |
| | | .title { |
| | | width: 100%; |
| | | height: 58px; |
| | | display: flex; |
| | | align-items: center; |
| | | padding: 0 30px; |
| | | } |
| | | |
| | | .logo { |
| | | width: 130px; |
| | | } |
| | | .logo { |
| | | width: 130px; |
| | | } |
| | | |
| | | .logo img { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | .logo img { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | .title .label { |
| | | font-size: 18px; |
| | | text-align: center; |
| | | width: calc(100% - 130px - 200px); |
| | | } |
| | | .title .label { |
| | | font-size: 18px; |
| | | text-align: center; |
| | | width: calc(100% - 130px - 200px); |
| | | } |
| | | |
| | | .user { |
| | | width: 200px; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: right; |
| | | color: #000; |
| | | } |
| | | .user { |
| | | width: 200px; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: right; |
| | | color: #000; |
| | | } |
| | | |
| | | .user * { |
| | | margin: 0 5px; |
| | | } |
| | | .user * { |
| | | margin: 0 5px; |
| | | } |
| | | |
| | | .user img { |
| | | margin-left: 20px; |
| | | cursor: pointer; |
| | | width: 14px; |
| | | } |
| | | .user img { |
| | | margin-left: 20px; |
| | | cursor: pointer; |
| | | width: 14px; |
| | | } |
| | | |
| | | .user span { |
| | | font-size: 14px; |
| | | } |
| | | .user span { |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .left { |
| | | height: calc(100vh - 58px - 40px); |
| | | background-color: #004ea2; |
| | | display: flex; |
| | | align-items: center; |
| | | flex-direction: column; |
| | | padding: 20px 0; |
| | | transition: 0.3s; |
| | | overflow-y: auto; |
| | | } |
| | | .left { |
| | | height: calc(100vh - 58px - 40px); |
| | | background-color: #004ea2; |
| | | display: flex; |
| | | align-items: center; |
| | | flex-direction: column; |
| | | padding: 20px 0; |
| | | transition: 0.3s; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .left::-webkit-scrollbar { |
| | | width: 0; |
| | | } |
| | | .left::-webkit-scrollbar { |
| | | width: 0; |
| | | } |
| | | |
| | | .left .box { |
| | | color: #fff; |
| | | width: 68px; |
| | | height: 68px; |
| | | margin: 8px 0; |
| | | cursor: pointer; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | border-radius: 8px; |
| | | } |
| | | .left .box { |
| | | color: #fff; |
| | | width: 68px; |
| | | height: 68px; |
| | | margin: 8px 0; |
| | | cursor: pointer; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | border-radius: 8px; |
| | | } |
| | | |
| | | .left .box:active { |
| | | opacity: 0.8; |
| | | } |
| | | .left .box:active { |
| | | opacity: 0.8; |
| | | } |
| | | |
| | | .left .active_box { |
| | | background-color: #fff; |
| | | color: #004ea2; |
| | | } |
| | | .left .active_box { |
| | | background-color: #fff; |
| | | color: #004ea2; |
| | | } |
| | | |
| | | .left .box i { |
| | | font-size: 24px; |
| | | margin-bottom: 8px; |
| | | } |
| | | .left .box i { |
| | | font-size: 24px; |
| | | margin-bottom: 8px; |
| | | } |
| | | |
| | | .left .box div { |
| | | font-size: 14px; |
| | | } |
| | | .left .box div { |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .small_menu { |
| | | color: #666; |
| | | } |
| | | .small_menu { |
| | | color: #666; |
| | | } |
| | | |
| | | .small_menu .active_p { |
| | | color: #004ea2; |
| | | } |
| | | .small_menu .active_p { |
| | | color: #004ea2; |
| | | } |
| | | |
| | | .small_menu p { |
| | | padding: 12px 15px; |
| | | cursor: pointer; |
| | | } |
| | | .small_menu p { |
| | | padding: 12px 15px; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .small_menu p:hover { |
| | | background-color: rgba(0, 0, 0, 0.05); |
| | | } |
| | | .small_menu p:hover { |
| | | background-color: rgba(0, 0, 0, 0.05); |
| | | } |
| | | |
| | | .small_menu i { |
| | | font-size: 16px; |
| | | } |
| | | .small_menu i { |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .small_menu span { |
| | | font-size: 14px; |
| | | } |
| | | .small_menu span { |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .right { |
| | | height: calc(100vh - 58px); |
| | | transition: 0.3s; |
| | | } |
| | | .right { |
| | | height: calc(100vh - 58px); |
| | | transition: 0.3s; |
| | | } |
| | | |
| | | .tag { |
| | | width: 100%; |
| | | height: 36px; |
| | | background: rgb(255, 255, 255); |
| | | opacity: 0.8; |
| | | box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1); |
| | | display: flex; |
| | | align-items: center; |
| | | color: #999; |
| | | font-size: 14px; |
| | | } |
| | | .tag { |
| | | width: 100%; |
| | | height: 36px; |
| | | background: rgb(255, 255, 255); |
| | | opacity: 0.8; |
| | | box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1); |
| | | display: flex; |
| | | align-items: center; |
| | | color: #999; |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .tag .el-icon-delete { |
| | | display: none; |
| | | } |
| | | .tag .el-icon-delete { |
| | | display: none; |
| | | } |
| | | |
| | | .tag .el-icon-delete:hover { |
| | | color: #F56C6C; |
| | | } |
| | | .tag .el-icon-delete:hover { |
| | | color: #F56C6C; |
| | | } |
| | | |
| | | .tag:hover .el-icon-delete { |
| | | display: block; |
| | | } |
| | | .tag:hover .el-icon-delete { |
| | | display: block; |
| | | } |
| | | |
| | | .tag>.el-icon-s-unfold, |
| | | .el-icon-s-fold, |
| | | .el-icon-delete { |
| | | font-size: 18px; |
| | | cursor: pointer; |
| | | margin: 0 8px; |
| | | } |
| | | .tag>.el-icon-s-unfold, |
| | | .el-icon-s-fold, |
| | | .el-icon-delete { |
| | | font-size: 18px; |
| | | cursor: pointer; |
| | | margin: 0 8px; |
| | | } |
| | | |
| | | .tabs { |
| | | min-width: calc(100% - 68px); |
| | | height: 100%; |
| | | align-items: center; |
| | | display: flex; |
| | | overflow-x: auto; |
| | | } |
| | | .tabs { |
| | | min-width: calc(100% - 68px); |
| | | height: 100%; |
| | | align-items: center; |
| | | display: flex; |
| | | overflow-x: auto; |
| | | } |
| | | |
| | | .tab { |
| | | cursor: pointer; |
| | | font-size: 14px; |
| | | margin: 0 8px; |
| | | line-height: 32px; |
| | | transition: 0.3s; |
| | | border-top: 2px solid transparent; |
| | | border-bottom: 2px solid transparent; |
| | | user-select: none; |
| | | flex-shrink: 0; |
| | | } |
| | | .tab { |
| | | cursor: pointer; |
| | | font-size: 14px; |
| | | margin: 0 8px; |
| | | line-height: 32px; |
| | | transition: 0.3s; |
| | | border-top: 2px solid transparent; |
| | | border-bottom: 2px solid transparent; |
| | | user-select: none; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .tab i { |
| | | font-size: 12px; |
| | | display: none; |
| | | } |
| | | .tab i { |
| | | font-size: 12px; |
| | | display: none; |
| | | } |
| | | |
| | | .active_tab { |
| | | border-bottom: 2px solid #004ea2; |
| | | color: #004ea2; |
| | | } |
| | | .active_tab { |
| | | border-bottom: 2px solid #004ea2; |
| | | color: #004ea2; |
| | | } |
| | | |
| | | .active_tab i { |
| | | display: inline; |
| | | color: #004ea2; |
| | | } |
| | | .active_tab i { |
| | | display: inline; |
| | | color: #004ea2; |
| | | } |
| | | |
| | | .component_view { |
| | | height: calc(100vh - 94px - 22px); |
| | | width: calc(100% - 48px); |
| | | padding: 11px 24px; |
| | | background: rgb(245, 247, 251); |
| | | overflow-y: auto; |
| | | } |
| | | .component_view { |
| | | height: calc(100vh - 94px - 22px); |
| | | width: calc(100% - 48px); |
| | | padding: 11px 24px; |
| | | background: rgb(245, 247, 251); |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .com_index { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | .com_index { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |
| | | <template> |
| | | <div class="all"> |
| | | <div class="title"> |
| | | <div class="logo"> |
| | | <img src="../../static/img/logo 1.png" /> |
| | | </div> |
| | | <div class="label">ä¸å¤©æµ·æ´æ°ä¸ä»£momç³»ç»</div> |
| | | <div class="user"> |
| | | <el-avatar :size="24">{{ userName.substring(0, 1) }}</el-avatar> |
| | | <span>{{ userName }}</span> |
| | | <img src="../../static/img/éåº.png" @click="out" /> |
| | | </div> |
| | | </div> |
| | | <div class="left" :style="`width: ${leftOpen ? '92' : '0'}px;`"> |
| | | <div :class="`box ${activeBox == 0 ? 'active_box' : ''}`" @click="addTab(menu[0].c[0])"> |
| | | <i class="font icon-shouye"></i> |
| | | <div>é¦é¡µ</div> |
| | | </div> |
| | | <div :class="`box ${activeBox == 3 ? 'active_box' : ''}`" @click="addTab(menu[1].c[0])"> |
| | | <i class="font icon-jine"></i> |
| | | <div>éå®ç®¡ç</div> |
| | | </div> |
| | | <el-popover placement="right-start" width="90" trigger="click" v-for="(a, ai) in menu" :key="ai" |
| | | v-if="a.k != '0' && a.k != '3'"> |
| | | <div :class="`box ${activeBox == a.k ? 'active_box' : ''}`" @click="activeBox = a.k" slot="reference"> |
| | | <i :class="a.i"></i> |
| | | <div>{{ a.v }}</div> |
| | | </div> |
| | | <div class="small_menu"> |
| | | <p v-for="(b, bi) in a.c" :key="bi" :class="activeP == b.k ? 'active_p' : ''" @click="addTab(b)"> |
| | | <i :class="b.i"></i> |
| | | <span>{{ b.v }}</span> |
| | | </p> |
| | | </div> |
| | | </el-popover> |
| | | </div> |
| | | <div class="right" :style="`width: calc(100% - ${leftOpen ? '92' : '0'}px);`"> |
| | | <div class="tag"> |
| | | <i :class="`${leftOpen ? 'el-icon-s-unfold' : 'el-icon-s-fold'}`" @click="leftOpen = !leftOpen"></i> |
| | | <div class="tabs"> |
| | | <div :class="`tab ${tabActive == a.k ? 'active_tab' : ''}`" v-for="(a, ai) in tabs" :key="ai" |
| | | @click="upTabActive(a.k)"> |
| | | {{ a.v }} |
| | | <i class="el-icon-close" @click="removeTab(ai)" v-if="tabActive != 0"></i> |
| | | </div> |
| | | </div> |
| | | <i class="el-icon-delete" @click="allDel" title="å é¤æææ ç¾é¡µ"></i> |
| | | </div> |
| | | <div class="component_view"> |
| | | <component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="upIndex + '|' + index" |
| | | v-show="com.k == tabActive" @removeAllTab="removeAllTab"> |
| | | </component> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="all"> |
| | | <div class="title"> |
| | | <div class="logo"> |
| | | <img src="../../static/img/logo 1.png" /> |
| | | </div> |
| | | <div class="label">ä¸å¤©æµ·æ´æ°ä¸ä»£momç³»ç»</div> |
| | | <div class="user"> |
| | | <el-avatar :size="24">{{ userName.substring(0, 1) }}</el-avatar> |
| | | <span>{{ userName }}</span> |
| | | <img src="../../static/img/éåº.png" @click="out" /> |
| | | </div> |
| | | </div> |
| | | <div class="left" :style="`width: ${leftOpen ? '92' : '0'}px;`"> |
| | | <div :class="`box ${activeBox == 0 ? 'active_box' : ''}`" @click="addTab(menu[0].c[0])"> |
| | | <i class="font icon-shouye"></i> |
| | | <div>é¦é¡µ</div> |
| | | </div> |
| | | <div :class="`box ${activeBox == 3 ? 'active_box' : ''}`" @click="addTab(menu[1].c[0])"> |
| | | <i class="font icon-jine"></i> |
| | | <div>éå®ç®¡ç</div> |
| | | </div> |
| | | <el-popover placement="right-start" width="90" trigger="click" v-for="(a, ai) in menu" :key="ai" |
| | | v-if="a.k != '0' && a.k != '3'"> |
| | | <div :class="`box ${activeBox == a.k ? 'active_box' : ''}`" @click="activeBox = a.k" slot="reference"> |
| | | <i :class="a.i"></i> |
| | | <div>{{ a.v }}</div> |
| | | </div> |
| | | <div class="small_menu"> |
| | | <p v-for="(b, bi) in a.c" :key="bi" :class="activeP == b.k ? 'active_p' : ''" @click="addTab(b)"> |
| | | <i :class="b.i"></i> |
| | | <span>{{ b.v }}</span> |
| | | </p> |
| | | </div> |
| | | </el-popover> |
| | | </div> |
| | | <div class="right" :style="`width: calc(100% - ${leftOpen ? '92' : '0'}px);`"> |
| | | <div class="tag"> |
| | | <i :class="`${leftOpen ? 'el-icon-s-unfold' : 'el-icon-s-fold'}`" @click="leftOpen = !leftOpen"></i> |
| | | <div class="tabs"> |
| | | <div :class="`tab ${tabActive == a.k ? 'active_tab' : ''}`" v-for="(a, ai) in tabs" :key="ai" |
| | | @click="upTabActive(a.k)"> |
| | | {{ a.v }} |
| | | <i class="el-icon-close" @click="removeTab(ai)" v-if="tabActive != 0"></i> |
| | | </div> |
| | | </div> |
| | | <i class="el-icon-delete" @click="allDel" title="å é¤æææ ç¾é¡µ"></i> |
| | | </div> |
| | | <div class="component_view"> |
| | | <component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="upIndex + '|' + index" |
| | | v-show="com.k == tabActive" @removeAllTab="removeAllTab"> |
| | | </component> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | const requireComponent = require.context("../components/view", false, /\.vue/); |
| | | var comObj = {}; |
| | | requireComponent.keys().forEach(fileName => { |
| | | var names = fileName |
| | | .split("/") |
| | | .pop() |
| | | .replace(".vue", ""); |
| | | const componentConfig = requireComponent(fileName); |
| | | comObj[names] = componentConfig.default || componentConfig; |
| | | }); |
| | | export default { |
| | | components: comObj, |
| | | data() { |
| | | return { |
| | | userName: "value", |
| | | leftOpen: true, |
| | | menu: [{ |
| | | k: 0, |
| | | v: "é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | c: [{ |
| | | k: 0, |
| | | v: "é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | u: "index-index" |
| | | }] |
| | | }, |
| | | { |
| | | k: 3, |
| | | v: "éå®ç®¡ç", |
| | | i: "font icon-jine", |
| | | c: [{ |
| | | k: 11, |
| | | v: "éå®ç®¡ç", |
| | | i: "font icon-jine", |
| | | u: "sale" |
| | | }] |
| | | }, |
| | | { |
| | | k: 1, |
| | | v: "ææ¯ç®¡ç", |
| | | i: "font icon-ic_form_set24px", |
| | | c: [{ |
| | | k: 1, |
| | | v: "æ åBOM", |
| | | i: "font icon-shouye", |
| | | u: "standard" |
| | | }, |
| | | { |
| | | k: 2, |
| | | v: "订åBOM", |
| | | i: "font icon-shouye", |
| | | u: "technical" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 4, |
| | | v: "ç产管ç", |
| | | i: "font icon-shengchanguanli", |
| | | c: [{ |
| | | k: 12, |
| | | v: "ç产订å", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 13, |
| | | v: "ç产计å", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 14, |
| | | v: "ç产æ¥å·¥", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 5, |
| | | v: "WMS管ç", |
| | | i: "font icon-a-Inventorydumprequest", |
| | | c: [{ |
| | | k: 17, |
| | | v: "åæååºå", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 18, |
| | | v: "æååºå", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 19, |
| | | v: "æååè´§", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 20, |
| | | v: "æåå
¥åº", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 2, |
| | | v: "QMS管ç", |
| | | i: "font icon-xunhuan", |
| | | c: [{ |
| | | k: 3, |
| | | v: "åæææ£éª", |
| | | i: "font icon-shouye", |
| | | u: "rawInsBox" |
| | | }, |
| | | { |
| | | k: 4, |
| | | v: "åææä¸åæ ¼å", |
| | | i: "font icon-shouye", |
| | | u: "rawUnqualifiedBox" |
| | | }, |
| | | { |
| | | k: 5, |
| | | v: "è¿ç¨æ£éª", |
| | | i: "font icon-shouye", |
| | | u: "processInspection" |
| | | }, |
| | | { |
| | | k: 6, |
| | | v: "äº§åæ£éª", |
| | | i: "font icon-shouye", |
| | | u: "finishedProductInspection" |
| | | }, |
| | | { |
| | | k: 7, |
| | | v: "ä¸åæ ¼å管ç", |
| | | i: "font icon-shouye", |
| | | u: "unqualifiedManagement" |
| | | }, |
| | | { |
| | | k: 9, |
| | | v: "è´¨éç»è®¡", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 10, |
| | | v: "计é管ç", |
| | | i: "font icon-shouye", |
| | | u: "measurementManagement" |
| | | }, |
| | | { |
| | | k: 10.1, |
| | | v: "ä¸åæ ¼åå¤ç½®", |
| | | i: "font icon-shouye", |
| | | u: "Processingproducts" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 6, |
| | | v: "æ ¸ç®ç®¡ç", |
| | | i: "font icon-caiwuhesuanxitong", |
| | | c: [{ |
| | | k: 21, |
| | | v: "产éå·¥èµ", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 22, |
| | | v: "åå·¥åºå¤", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 7, |
| | | v: "åºç¡æ°æ®", |
| | | i: "font icon-a-ziyuan20", |
| | | c: [{ |
| | | k: 23, |
| | | v: "ç产记å½ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "record-content" |
| | | }, |
| | | { |
| | | k: 25, |
| | | v: "ææ¯ææ ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "Technicalindex" |
| | | }, |
| | | { |
| | | k: 26, |
| | | v: "å·¥èºè·¯çº¿ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "technology" |
| | | }, |
| | | { |
| | | k: 27, |
| | | v: "设å¤ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "laboratoryManagement" |
| | | }, |
| | | { |
| | | k: 28, |
| | | v: "ç©ææ¸
åç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "mbom" |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | activeBox: 0, |
| | | activeP: 0, |
| | | tabActive: 0, |
| | | tabs: [{ |
| | | k: 0, |
| | | v: "é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | u: "index-index" |
| | | }], |
| | | upIndex: 0 |
| | | }; |
| | | }, |
| | | created() {}, |
| | | mounted() { |
| | | this.userName = JSON.parse(localStorage.getItem("user")).name; |
| | | }, |
| | | methods: { |
| | | addTab(ob) { |
| | | if (ob.k == 0) this.activeBox = 0; |
| | | if (ob.k == 11) this.activeBox = 3; |
| | | this.activeP = ob.k; //0 |
| | | this.tabActive = ob.k; //0 |
| | | let num = -1; |
| | | this.tabs.forEach((a, ai) => { |
| | | if (ob.k == a.k) { |
| | | num = a.k; |
| | | } |
| | | }); |
| | | // å¦ææ²¡æéåå°tabséæ²¡æè¯¥ob对åºçtableï¼å¾tabséé¢å å
¥è¯¥ob |
| | | if (num == -1) { |
| | | this.tabs.push(ob); |
| | | } |
| | | }, |
| | | removeTab(index) { |
| | | this.tabs.splice(index, 1); |
| | | this.activeP = this.tabs[this.tabs.length - 1].k; |
| | | this.tabActive = this.tabs[this.tabs.length - 1].k; |
| | | }, |
| | | allDel() { |
| | | this.activeBox = 0 |
| | | this.activeP = 0 |
| | | this.tabActive = 0 |
| | | this.tabs = [{ |
| | | k: 0, |
| | | v: " é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | u: "index-index" |
| | | }] |
| | | }, |
| | | const requireComponent = require.context("../components/view", false, /\.vue/); |
| | | var comObj = {}; |
| | | requireComponent.keys().forEach(fileName => { |
| | | var names = fileName |
| | | .split("/") |
| | | .pop() |
| | | .replace(".vue", ""); |
| | | const componentConfig = requireComponent(fileName); |
| | | comObj[names] = componentConfig.default || componentConfig; |
| | | }); |
| | | export default { |
| | | components: comObj, |
| | | data() { |
| | | return { |
| | | userName: "value", |
| | | leftOpen: true, |
| | | menu: [{ |
| | | k: 0, |
| | | v: "é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | c: [{ |
| | | k: 0, |
| | | v: "é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | u: "index-index" |
| | | }] |
| | | }, |
| | | { |
| | | k: 3, |
| | | v: "éå®ç®¡ç", |
| | | i: "font icon-jine", |
| | | c: [{ |
| | | k: 11, |
| | | v: "éå®ç®¡ç", |
| | | i: "font icon-jine", |
| | | u: "sale" |
| | | }] |
| | | }, |
| | | { |
| | | k: 1, |
| | | v: "ææ¯ç®¡ç", |
| | | i: "font icon-ic_form_set24px", |
| | | c: [{ |
| | | k: 1, |
| | | v: "æ åBOM", |
| | | i: "font icon-shouye", |
| | | u: "standard" |
| | | }, |
| | | { |
| | | k: 2, |
| | | v: "订åBOM", |
| | | i: "font icon-shouye", |
| | | u: "technical" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 4, |
| | | v: "ç产管ç", |
| | | i: "font icon-shengchanguanli", |
| | | c: [{ |
| | | k: 12, |
| | | v: "ç产订å", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 13, |
| | | v: "ç产计å", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 14, |
| | | v: "ç产æ¥å·¥", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 5, |
| | | v: "WMS管ç", |
| | | i: "font icon-a-Inventorydumprequest", |
| | | c: [{ |
| | | k: 17, |
| | | v: "åæååºå", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 18, |
| | | v: "æååºå", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 19, |
| | | v: "æååè´§", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 20, |
| | | v: "æåå
¥åº", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 2, |
| | | v: "QMS管ç", |
| | | i: "font icon-xunhuan", |
| | | c: [{ |
| | | k: 3, |
| | | v: "åæææ£éª", |
| | | i: "font icon-shouye", |
| | | u: "rawInsBox" |
| | | }, |
| | | { |
| | | k: 5, |
| | | v: "è¿ç¨æ£éª", |
| | | i: "font icon-shouye", |
| | | u: "processInspection" |
| | | }, |
| | | { |
| | | k: 6, |
| | | v: "äº§åæ£éª", |
| | | i: "font icon-shouye", |
| | | u: "finishedProductInspection" |
| | | }, |
| | | { |
| | | k: 7, |
| | | v: "ä¸åæ ¼å管ç", |
| | | i: "font icon-shouye", |
| | | u: "unqualifiedManagement" |
| | | }, |
| | | { |
| | | k: 9, |
| | | v: "è´¨éç»è®¡", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 10, |
| | | v: "计é管ç", |
| | | i: "font icon-shouye", |
| | | u: "measurementManagement" |
| | | }, |
| | | { |
| | | k: 10.1, |
| | | v: "ä¸åæ ¼åå¤ç½®", |
| | | i: "font icon-shouye", |
| | | u: "Processingproducts" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 6, |
| | | v: "æ ¸ç®ç®¡ç", |
| | | i: "font icon-caiwuhesuanxitong", |
| | | c: [{ |
| | | k: 21, |
| | | v: "产éå·¥èµ", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | }, |
| | | { |
| | | k: 22, |
| | | v: "åå·¥åºå¤", |
| | | i: "font icon-shouye", |
| | | u: "" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | k: 7, |
| | | v: "åºç¡æ°æ®", |
| | | i: "font icon-a-ziyuan20", |
| | | c: [{ |
| | | k: 23, |
| | | v: "ç产记å½ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "record-content" |
| | | }, |
| | | { |
| | | k: 25, |
| | | v: "ææ¯ææ ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "Technicalindex" |
| | | }, |
| | | { |
| | | k: 26, |
| | | v: "å·¥èºè·¯çº¿ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "technology" |
| | | }, |
| | | { |
| | | k: 27, |
| | | v: "设å¤ç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "laboratoryManagement" |
| | | }, |
| | | { |
| | | k: 28, |
| | | v: "ç©ææ¸
åç»´æ¤", |
| | | i: "font icon-shouye", |
| | | u: "mbom" |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | activeBox: 0, |
| | | activeP: 0, |
| | | tabActive: 0, |
| | | tabs: [{ |
| | | k: 0, |
| | | v: "é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | u: "index-index" |
| | | }], |
| | | upIndex: 0 |
| | | }; |
| | | }, |
| | | created() { }, |
| | | mounted() { |
| | | this.userName = JSON.parse(localStorage.getItem("user")).name; |
| | | }, |
| | | methods: { |
| | | addTab(ob) { |
| | | if (ob.k == 0) this.activeBox = 0; |
| | | if (ob.k == 11) this.activeBox = 3; |
| | | this.activeP = ob.k; //0 |
| | | this.tabActive = ob.k; //0 |
| | | let num = -1; |
| | | this.tabs.forEach((a, ai) => { |
| | | if (ob.k == a.k) { |
| | | num = a.k; |
| | | } |
| | | }); |
| | | // å¦ææ²¡æéåå°tabséæ²¡æè¯¥ob对åºçtableï¼å¾tabséé¢å å
¥è¯¥ob |
| | | if (num == -1) { |
| | | this.tabs.push(ob); |
| | | } |
| | | }, |
| | | removeTab(index) { |
| | | this.tabs.splice(index, 1); |
| | | this.activeP = this.tabs[this.tabs.length - 1].k; |
| | | this.tabActive = this.tabs[this.tabs.length - 1].k; |
| | | }, |
| | | allDel() { |
| | | this.activeBox = 0 |
| | | this.activeP = 0 |
| | | this.tabActive = 0 |
| | | this.tabs = [{ |
| | | k: 0, |
| | | v: " é¦é¡µ", |
| | | i: "font icon-shouye", |
| | | u: "index-index" |
| | | }] |
| | | }, |
| | | |
| | | upTabActive(num) { |
| | | this.tabActive = num; |
| | | this.activeP = num; |
| | | for (var i = 0; i < this.menu.length; i++) { |
| | | this.menu[i].c.forEach(b => { |
| | | if (b.k == num) { |
| | | this.activeBox = this.menu[i].k; |
| | | return |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | out() { |
| | | sessionStorage.clear(); |
| | | localStorage.removeItem("autoenter"); |
| | | this.$router.push("/enter"); |
| | | }, |
| | | removeAllTab() { |
| | | this.upIndex++ |
| | | this.$message.warning('æ°æ®åå¨è¾å¤§,页é¢èªå¨æ´æ°!') |
| | | } |
| | | } |
| | | }; |
| | | upTabActive(num) { |
| | | this.tabActive = num; |
| | | this.activeP = num; |
| | | for (var i = 0; i < this.menu.length; i++) { |
| | | this.menu[i].c.forEach(b => { |
| | | if (b.k == num) { |
| | | this.activeBox = this.menu[i].k; |
| | | return |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | out() { |
| | | sessionStorage.clear(); |
| | | localStorage.removeItem("autoenter"); |
| | | this.$router.push("/enter"); |
| | | }, |
| | | removeAllTab() { |
| | | this.upIndex++ |
| | | this.$message.warning('æ°æ®åå¨è¾å¤§,页é¢èªå¨æ´æ°!') |
| | | } |
| | | } |
| | | }; |
| | | </script> |