From 417c89b9be387e20f34c9a150ad878236ebaf88e Mon Sep 17 00:00:00 2001
From: "DESKTOP-9CT32MA\\Administrator" <1204995993@qq.com>
Date: Tue, 6 Dec 2022 18:32:54 +0800
Subject: [PATCH] =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=BA=93=EF=BC=9A=20?=
=?UTF-8?q?=E6=89=80=E5=B1=9E=E4=BA=A7=E5=93=81=E7=BA=BF=E6=9B=B4=E6=94=B9?=
=?UTF-8?q?=E4=B8=BA=E4=B8=8B=E6=8B=89=EF=BC=88=E8=B7=9F=E5=BD=92=E5=B1=9E?=
=?UTF-8?q?=E5=8D=95=E4=BD=8D=E4=B8=80=E6=A0=B7=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
back/src/views/modules/ability/knowledgeBase.vue | 9 ++++++---
.../putOnTheShelf/components/inputSelectCheckbox.vue | 10 +++++-----
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/back/src/views/modules/ability/knowledgeBase.vue b/back/src/views/modules/ability/knowledgeBase.vue
index 7e1575e6..76dc4fbf 100644
--- a/back/src/views/modules/ability/knowledgeBase.vue
+++ b/back/src/views/modules/ability/knowledgeBase.vue
@@ -357,6 +357,9 @@ export default {
case '联系方式':
this.submitFrom.deptPhone = val.note1
break;
+ case '所属产品线':
+ this.submitFrom.deptId = val.note1
+ break
default:
if (
val.type !== 'image' &&
@@ -479,9 +482,9 @@ export default {
case '联系方式':
data.note1 = item.deptPhone
break
- // case '归属部门':
- // data.note1 = item.deptId
- // break
+ case '所属产品线':
+ data.note1 = item.deptId
+ break
default:
// eslint-disable-next-line no-case-declarations
const obj1 = item.infoList.filter(
diff --git a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue
index 7f5a4620..4d649f4e 100644
--- a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue
+++ b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue
@@ -19,7 +19,7 @@ js:
{})
- } else if (this.data.name === '归属部门') {
+ } else if (this.data.name === '归属部门' || this.data.name === '所属产品线') {
this.$http.get('/sys/dept/all').then(res => {
const dataList = []
res.data.data.forEach((element) => {
@@ -179,7 +179,7 @@ export default {
})
}
// })
- }
+ }
},
chekBoxChange (list) {
let str = ''