From 962ab8841db65040a4d0046a488de6f5795b2bbd Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Wed, 13 Jul 2022 10:11:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E8=83=BD=E5=8A=9B=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E4=B8=8A=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../myAgent/demo/Application-resources.vue | 22 +++ .../myAgent/demo/ability-resource-shelf.vue | 150 +----------------- .../capacityOnTheShelf/BusinessComponent.vue | 4 +- 3 files changed, 30 insertions(+), 146 deletions(-) create mode 100644 back/src/views/modules/myAgent/demo/Application-resources.vue diff --git a/back/src/views/modules/myAgent/demo/Application-resources.vue b/back/src/views/modules/myAgent/demo/Application-resources.vue new file mode 100644 index 00000000..bf310a87 --- /dev/null +++ b/back/src/views/modules/myAgent/demo/Application-resources.vue @@ -0,0 +1,22 @@ + + + + diff --git a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue index 5681064c..9581bda4 100644 --- a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue +++ b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue @@ -8,150 +8,9 @@ :label-width="$i18n.locale === 'en-US' ? '120px' : 'auto'" >
- - - - - - - - - - - - - - - - - - - - - - - +
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - +
22222
import processModule from '@/mixins/process-module' +import Applicationresources from './Application-resources.vue' export default { // 注入公共方法 mixins: [processModule], - components: {}, + components: { + Applicationresources + }, props: { // fromList: { // // type: Array, diff --git a/front/src/views/capacityOnTheShelf/BusinessComponent.vue b/front/src/views/capacityOnTheShelf/BusinessComponent.vue index 42f6ceba..558d590d 100644 --- a/front/src/views/capacityOnTheShelf/BusinessComponent.vue +++ b/front/src/views/capacityOnTheShelf/BusinessComponent.vue @@ -298,7 +298,7 @@ } init() mybus.on('chageDataFrom', (obj) => { - if (obj.attrType == '使用手册' && obj.attrValue != null) { + if (obj.attrType == '技术文档' && obj.attrValue != null) { shiyongshouce.value = obj } dataFrom.value.infoList = dataFrom.value.infoList.filter( @@ -310,7 +310,7 @@ dataFrom.value.infoList.push(obj) if (shiyongshouce.value.attrValue) { dataFrom.value.infoList.map((syscitem, syscindex) => { - if (syscitem.attrType == '使用手册') { + if (syscitem.attrType == '技术文档') { dataFrom.value.infoList[syscindex] = shiyongshouce.value } })