From c0a5dbac2dad0f0185c9f852b3b8a8c2d268e84f Mon Sep 17 00:00:00 2001 From: zwq Date: Fri, 9 Sep 2022 16:50:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 43 ++ package.json | 1 + src/icons/svg/上箭头.svg | 1 + src/icons/svg/下箭头.svg | 1 + src/icons/svg/历史记录.svg | 1 + src/views/pages/login.vue | 5 +- src/views/spc-basic/components/flowMethods.js | 103 +++++ .../components/processFlow-graph.vue | 370 ++++++++++++++++++ .../spc-basic/components/productList-add.vue | 149 +++---- .../components/productList-four-add.vue | 75 ++-- .../components/productList-four-content.vue | 339 +++++++++++----- .../components/productList-four-history.vue | 98 +++++ .../spc-basic/components/productList-four.vue | 38 +- .../components/productList-two-table.vue | 227 +++++++++++ .../spc-basic/components/productList-two.vue | 196 +++------- src/views/spc-basic/processFlow.vue | 59 ++- 16 files changed, 1325 insertions(+), 381 deletions(-) create mode 100644 src/icons/svg/上箭头.svg create mode 100644 src/icons/svg/下箭头.svg create mode 100644 src/icons/svg/历史记录.svg create mode 100644 src/views/spc-basic/components/flowMethods.js create mode 100644 src/views/spc-basic/components/productList-four-history.vue create mode 100644 src/views/spc-basic/components/productList-two-table.vue diff --git a/package-lock.json b/package-lock.json index 34782ab..4c7aa5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,19 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "@antv/x6": { + "version": "1.33.1", + "resolved": "https://registry.npmjs.org/@antv/x6/-/x6-1.33.1.tgz", + "integrity": "sha512-NW3mUDW+Od9hqas0URoaeih0we4gLipqdNEC7ozM7wRFEzpi9CDzfPZerHmhdKasUMwjIyyrN56uJEHGVnrp4Q==", + "requires": { + "csstype": "^3.0.3", + "jquery": "^3.5.1", + "jquery-mousewheel": "^3.1.13", + "lodash-es": "^4.17.15", + "mousetrap": "^1.6.5", + "utility-types": "^3.10.0" + } + }, "@babel/code-frame": { "version": "7.0.0-beta.44", "resolved": "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.0.0-beta.44.tgz?cache=0&sync_timestamp=1593529659031&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.0.0-beta.44.tgz", @@ -6498,6 +6511,11 @@ } } }, + "csstype": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz", + "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==" + }, "currently-unhandled": { "version": "0.4.1", "resolved": "https://registry.npm.taobao.org/currently-unhandled/download/currently-unhandled-0.4.1.tgz", @@ -9956,6 +9974,16 @@ } } }, + "jquery": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.1.tgz", + "integrity": "sha512-opJeO4nCucVnsjiXOE+/PcCgYw9Gwpvs/a6B1LL/lQhwWwpbVEVYDZ1FokFr8PRc7ghYlrFPuyHuiiDNTQxmcw==" + }, + "jquery-mousewheel": { + "version": "3.1.13", + "resolved": "https://registry.npmjs.org/jquery-mousewheel/-/jquery-mousewheel-3.1.13.tgz", + "integrity": "sha512-GXhSjfOPyDemM005YCEHvzrEALhKDIswtxSHSR2e4K/suHVJKJxxRCGz3skPjNxjJjQa9AVSGGlYjv1M3VLIPg==" + }, "js-base64": { "version": "2.6.3", "resolved": "https://registry.npm.taobao.org/js-base64/download/js-base64-2.6.3.tgz?cache=0&sync_timestamp=1595031171987&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjs-base64%2Fdownload%2Fjs-base64-2.6.3.tgz", @@ -10205,6 +10233,11 @@ "resolved": "https://registry.npm.taobao.org/lodash/download/lodash-4.17.19.tgz?cache=0&sync_timestamp=1594226905843&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash%2Fdownload%2Flodash-4.17.19.tgz", "integrity": "sha1-5I3e2+MLMyF4PFtDAfvTU7weSks=" }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, "lodash._basecopy": { "version": "3.0.1", "resolved": "https://registry.npm.taobao.org/lodash._basecopy/download/lodash._basecopy-3.0.1.tgz", @@ -10958,6 +10991,11 @@ "minimist": "^1.2.5" } }, + "mousetrap": { + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/mousetrap/-/mousetrap-1.6.5.tgz", + "integrity": "sha512-QNo4kEepaIBwiT8CDhP98umTetp+JNfQYBWvC1pc6/OAibuXtRcxZ58Qz8skvEHYvURne/7R8T5VoOI7rDsEUA==" + }, "move-concurrently": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/move-concurrently/download/move-concurrently-1.0.1.tgz", @@ -16256,6 +16294,11 @@ "resolved": "https://registry.npm.taobao.org/utila/download/utila-0.4.0.tgz", "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=" }, + "utility-types": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", + "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==" + }, "utils-merge": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/utils-merge/download/utils-merge-1.0.1.tgz", diff --git a/package.json b/package.json index dccd7c5..b9c4959 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build:uat": "vue-cli-service build --mode production.uat" }, "dependencies": { + "@antv/x6": "^1.33.1", "axios": "^0.19.2", "babel-eslint": "^8.0.1", "babel-plugin-component": "^1.1.1", diff --git a/src/icons/svg/上箭头.svg b/src/icons/svg/上箭头.svg new file mode 100644 index 0000000..648607b --- /dev/null +++ b/src/icons/svg/上箭头.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/下箭头.svg b/src/icons/svg/下箭头.svg new file mode 100644 index 0000000..cc25291 --- /dev/null +++ b/src/icons/svg/下箭头.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/历史记录.svg b/src/icons/svg/历史记录.svg new file mode 100644 index 0000000..3f1bde7 --- /dev/null +++ b/src/icons/svg/历史记录.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/pages/login.vue b/src/views/pages/login.vue index 885a2bc..e426e6b 100644 --- a/src/views/pages/login.vue +++ b/src/views/pages/login.vue @@ -52,7 +52,7 @@ + + diff --git a/src/views/spc-basic/components/productList-add.vue b/src/views/spc-basic/components/productList-add.vue index 02a9d52..eee722f 100644 --- a/src/views/spc-basic/components/productList-add.vue +++ b/src/views/spc-basic/components/productList-add.vue @@ -2,14 +2,13 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: zwq - * @LastEditTime: 2022-08-31 10:22:30 + * @LastEditTime: 2022-09-07 15:45:24 * @Description: -->