From 30afa743443e57c480b2464a2a75b95b89d2d95b Mon Sep 17 00:00:00 2001
From: "851673013@qq.com" <851673013@qq.com>
Date: Thu, 21 Jul 2022 09:15:05 +0800
Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E4=B8=8A=E6=9E=B6=E4=B8=8B?=
=?UTF-8?q?=E4=B8=80=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/capacityOnTheShelf/Application.vue | 85 +++++++++-
.../capacityOnTheShelf/BusinessComponent.vue | 149 +++++++++++++++++-
.../DevelopmentComponents.vue | 148 ++++++++++++++++-
.../capacityOnTheShelf/LayerServices.vue | 93 ++++++++++-
4 files changed, 463 insertions(+), 12 deletions(-)
diff --git a/front/src/views/capacityOnTheShelf/Application.vue b/front/src/views/capacityOnTheShelf/Application.vue
index dae497f0..81236fb1 100644
--- a/front/src/views/capacityOnTheShelf/Application.vue
+++ b/front/src/views/capacityOnTheShelf/Application.vue
@@ -24,6 +24,7 @@
+
-
-
+
+
+
+
+
+
+
+
+
@@ -291,6 +360,16 @@
console.log('所有编目结构==============>', res.data.data)
})
}
+ // 特殊字段处理
+ const refPutOnTheShelf = ref(null)
+ const changeGnjs = (type) => {
+ refPutOnTheShelf.value.add('功能介绍', true, type)
+ console.log(refPutOnTheShelf.value)
+ }
+ const changeBs = (type) => {
+ console.log(refPutOnTheShelf)
+ refPutOnTheShelf.value.add('常见问题', true, type)
+ }
init()
mybus.on('chageDataFrom', (obj) => {
if (obj.attrType == '技术文档' && obj.attrValue != null) {
diff --git a/front/src/views/capacityOnTheShelf/BusinessComponent.vue b/front/src/views/capacityOnTheShelf/BusinessComponent.vue
index dd1d89e2..4ea7f7b3 100644
--- a/front/src/views/capacityOnTheShelf/BusinessComponent.vue
+++ b/front/src/views/capacityOnTheShelf/BusinessComponent.vue
@@ -24,6 +24,7 @@
-
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -279,6 +409,19 @@
})
}
}
+ // 特殊字段处理
+ const refPutOnTheShelf = ref(null)
+ const changeGnjs = (type) => {
+ refPutOnTheShelf.value.add('功能介绍', true, type)
+ }
+ const changeYycj = (type) => {
+ console.log(refPutOnTheShelf)
+ refPutOnTheShelf.value.add('应用场景', true, type)
+ }
+ const changeBs = (type) => {
+ console.log(refPutOnTheShelf)
+ refPutOnTheShelf.value.add('常见问题', true, type)
+ }
const init = () => {
getCategoryTree().then((res) => {
// console.clear()
diff --git a/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue b/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue
index ead4358f..7604080b 100644
--- a/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue
+++ b/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue
@@ -40,33 +40,162 @@
>
-
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -242,6 +371,19 @@
})
window.open(newpage.href, '_blank')
}
+ // 特殊字段处理
+ const refPutOnTheShelf = ref(null)
+ const changeGnjs = (type) => {
+ refPutOnTheShelf.value.add('功能介绍', true, type)
+ }
+ const changeYycj = (type) => {
+ console.log(refPutOnTheShelf)
+ refPutOnTheShelf.value.add('应用场景', true, type)
+ }
+ const changeBs = (type) => {
+ console.log(refPutOnTheShelf)
+ refPutOnTheShelf.value.add('常见问题', true, type)
+ }
const submit = () => {
console.log('提交数据=============>', dataFrom.value)
if (submitFlag.value) {
diff --git a/front/src/views/capacityOnTheShelf/LayerServices.vue b/front/src/views/capacityOnTheShelf/LayerServices.vue
index 4d898100..8538064c 100644
--- a/front/src/views/capacityOnTheShelf/LayerServices.vue
+++ b/front/src/views/capacityOnTheShelf/LayerServices.vue
@@ -24,6 +24,7 @@
-
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
@@ -190,6 +267,16 @@
})
window.open(newpage.href, '_blank')
}
+ // 特殊字段处理
+ const refPutOnTheShelf = ref(null)
+ const changeYycj = (type) => {
+ console.log(refPutOnTheShelf)
+ refPutOnTheShelf.value.add('应用场景', true, type)
+ }
+ const changeBs = (type) => {
+ console.log(refPutOnTheShelf)
+ refPutOnTheShelf.value.add('常见问题', true, type)
+ }
const submit = () => {
console.log('提交数据=============>', dataFrom.value)
if (submitFlag.value) {