From 2ba0a42a1fd659e3642a24f66c3f3b0707b661b8 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Fri, 21 Jul 2023 16:45:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 +- src/assets/img/add_new.png | Bin 0 -> 1325 bytes src/icons/svg/icon-del.svg | 12 + src/icons/svg/icon-del1.svg | 12 + src/icons/svg/icon-edit0.svg | 17 ++ src/icons/svg/icon-edit1.svg | 17 ++ src/icons/svg/icon-look.svg | 12 + src/icons/svg/icon-look1.svg | 12 + .../modules/supplier/components/addPlan.vue | 7 +- .../supplier/components/addProjects.vue | 26 +- .../components/evaluationTemplate-add.vue | 239 ++++++++++++++---- .../modules/supplier/components/first.vue | 41 +-- .../modules/supplier/components/second.vue | 21 ++ .../modules/supplier/components/third.vue | 0 .../supplier/qmsEvaluationItemList.vue | 8 +- .../modules/supplier/qmsEvaluationPlan.vue | 11 +- .../supplier/qmsEvaluationTemplate.vue | 145 ++++++++--- .../supplier/qmsSupplierProjectList.vue | 90 ++++++- .../supplier/qmsSupplierRequirementList.vue | 41 ++- 19 files changed, 584 insertions(+), 131 deletions(-) create mode 100644 src/assets/img/add_new.png create mode 100644 src/icons/svg/icon-del.svg create mode 100644 src/icons/svg/icon-del1.svg create mode 100644 src/icons/svg/icon-edit0.svg create mode 100644 src/icons/svg/icon-edit1.svg create mode 100644 src/icons/svg/icon-look.svg create mode 100644 src/icons/svg/icon-look1.svg create mode 100644 src/views/modules/supplier/components/second.vue create mode 100644 src/views/modules/supplier/components/third.vue diff --git a/public/index.html b/public/index.html index 01f0c36..fb08323 100644 --- a/public/index.html +++ b/public/index.html @@ -1,8 +1,8 @@ diff --git a/src/assets/img/add_new.png b/src/assets/img/add_new.png new file mode 100644 index 0000000000000000000000000000000000000000..623a1fe45b158eb28a1aee8a41f97a5e3e1cc95b GIT binary patch literal 1325 zcmeAS@N?(olHy`uVBq!ia0vp^lR%h*4M?u5p4k44ofy`glX=O&!1CPF#WAEJ z?(JQBKWRsawvYKgo-gf4d@7nNCGaIiVPX-}bCxBnujVM4UO2>gh*L>bd;z=TWU;kd zCAi8MtCd=sWLPQ;-g_PVe4$FBa^BC6jlPNLHGvKR2ROeaaC1paa8S@>Q1Ns#V-#Xj zVQo-3c|y(MP{R_22`Z8|Sv({rh%j6dmi)XZYxd{aX?b7sI_(YKZ`-tGqrRqn+H8iG z6S>cJ7u}w-*1qccy|PUvHzkbO*W2+;kW+ahGClj=&b!Y~S-s!C<rJo$ZoUX{Jmyo*<^JW;>?`Y&JP@33njY14MN z8J=3+zMms#`Hq;+=W0ziKiw|W{@gOCQTh4b?O|5C#edyBIN{TxJ7(#x7fNr=w@~6Uq4AEI8f3UjC0pM7(9!`X@&9qvD;o=xsQ z>?g*t(#rhv`?lO;j~_=Ih)wz2`)tEx#>|L?FXX2?JqnLLGOuO-t*%wMefHZHA6fDz z`L~&Z{(t3^C3Qdln=9sfxHYfbXRg97{7GNP_@C>i_xzz3R&R@_k{R7HV4k&qwefymGQ`^(F**y8wzv*X+Dx1Q>be2oaL31A!oweTn zJI3Mp-|3)~AZ6KB>QMD$+GlWT=x6${ZSvBSZafxoMQ#eVf!g}3wps4ad=~b8+7IT> zdD`C6zx6p~PDd#mExK$vU)aNxy)U(zB+h64DSIa$==|bj2`v8@JYD@<);T3K0RY8@ B?^XZ+ literal 0 HcmV?d00001 diff --git a/src/icons/svg/icon-del.svg b/src/icons/svg/icon-del.svg new file mode 100644 index 0000000..2ff4e08 --- /dev/null +++ b/src/icons/svg/icon-del.svg @@ -0,0 +1,12 @@ + + + 删除 + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-del1.svg b/src/icons/svg/icon-del1.svg new file mode 100644 index 0000000..3b9a2fe --- /dev/null +++ b/src/icons/svg/icon-del1.svg @@ -0,0 +1,12 @@ + + + 删除 + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-edit0.svg b/src/icons/svg/icon-edit0.svg new file mode 100644 index 0000000..a257814 --- /dev/null +++ b/src/icons/svg/icon-edit0.svg @@ -0,0 +1,17 @@ + + + 编辑 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-edit1.svg b/src/icons/svg/icon-edit1.svg new file mode 100644 index 0000000..f9b2ea6 --- /dev/null +++ b/src/icons/svg/icon-edit1.svg @@ -0,0 +1,17 @@ + + + 编辑 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-look.svg b/src/icons/svg/icon-look.svg new file mode 100644 index 0000000..fa04971 --- /dev/null +++ b/src/icons/svg/icon-look.svg @@ -0,0 +1,12 @@ + + + 预览 + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-look1.svg b/src/icons/svg/icon-look1.svg new file mode 100644 index 0000000..9e3cda7 --- /dev/null +++ b/src/icons/svg/icon-look1.svg @@ -0,0 +1,12 @@ + + + 预览 + + + + + + + + + \ No newline at end of file diff --git a/src/views/modules/supplier/components/addPlan.vue b/src/views/modules/supplier/components/addPlan.vue index 6bd16bc..be2a479 100644 --- a/src/views/modules/supplier/components/addPlan.vue +++ b/src/views/modules/supplier/components/addPlan.vue @@ -109,6 +109,9 @@ export default { this.getUser() }, methods: { + init(val) { + this.ruleForm = val + }, setDay() { switch (this.ruleForm.reminderTimeMonth) { case 2: @@ -196,7 +199,7 @@ export default { console.log('nich ', this.chooseSupplierList) this.$refs[formName].validate((valid) => { if (valid) { - this.$http["post"](this.urlOptions.addURL, this.ruleForm) + this.$http[!this.ruleForm.id ? "post" : "put"](this.urlOptions.addURL, this.ruleForm) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg); @@ -207,7 +210,7 @@ export default { supplierId: item, evaluationPlanId: res.data } - this.$http["post"](this.urlOptions.addQmsRelation, param) + this.$http[!this.ruleForm.id ? "post" : "put"](this.urlOptions.addQmsRelation, param) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg); diff --git a/src/views/modules/supplier/components/addProjects.vue b/src/views/modules/supplier/components/addProjects.vue index faa2f3e..f2e589c 100644 --- a/src/views/modules/supplier/components/addProjects.vue +++ b/src/views/modules/supplier/components/addProjects.vue @@ -1,7 +1,7 @@ @@ -9,28 +9,40 @@ - + - 配置管理 - 角色管理 - 定时任务补偿 + + + + 项目设置 \ No newline at end of file diff --git a/src/views/modules/supplier/components/evaluationTemplate-add.vue b/src/views/modules/supplier/components/evaluationTemplate-add.vue index bb1460a..0dc200b 100644 --- a/src/views/modules/supplier/components/evaluationTemplate-add.vue +++ b/src/views/modules/supplier/components/evaluationTemplate-add.vue @@ -1,16 +1,15 @@