From e43ce9721a970df57daa54d774940615c3e496cc Mon Sep 17 00:00:00 2001 From: shaoyong Date: Thu, 16 May 2024 16:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E6=96=B9=E6=A1=88=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/qcProjectType.js | 10 + src/views/quality/checkTypeProject/index.vue | 3 - src/views/quality/qcProjectType/index.vue | 565 +++++++++++++----- .../quality/qcProjectType/projectTypeTree.vue | 281 +++++++++ 4 files changed, 715 insertions(+), 144 deletions(-) create mode 100644 src/views/quality/qcProjectType/projectTypeTree.vue diff --git a/src/api/quality/qcProjectType.js b/src/api/quality/qcProjectType.js index a8268233..805b7a5b 100644 --- a/src/api/quality/qcProjectType.js +++ b/src/api/quality/qcProjectType.js @@ -42,3 +42,13 @@ export function delQcProjectType(id) { method: 'delete' }); } + +export function projectTypeTree(query) { + return request({ + url: '/quality/qcProjectType/projectTypeTree', + method: 'get', + params: query + }); +} + + diff --git a/src/views/quality/checkTypeProject/index.vue b/src/views/quality/checkTypeProject/index.vue index 3676f4a7..6d87934b 100644 --- a/src/views/quality/checkTypeProject/index.vue +++ b/src/views/quality/checkTypeProject/index.vue @@ -376,9 +376,6 @@ export default { }, /**物料树点击 */ onNodeClick(obj) { - console.log("数据在这里") - console.log(obj) - console.log(12312312312321) if(obj.level == 1) { this.queryParams.groupId = obj.id; this.groupId = obj.id; diff --git a/src/views/quality/qcProjectType/index.vue b/src/views/quality/qcProjectType/index.vue index 28314f91..7778a616 100644 --- a/src/views/quality/qcProjectType/index.vue +++ b/src/views/quality/qcProjectType/index.vue @@ -1,144 +1,333 @@ diff --git a/src/views/quality/qcProjectType/projectTypeTree.vue b/src/views/quality/qcProjectType/projectTypeTree.vue new file mode 100644 index 00000000..befe13f8 --- /dev/null +++ b/src/views/quality/qcProjectType/projectTypeTree.vue @@ -0,0 +1,281 @@ + + + + +