{{ dataFrom.linkName }}
++ {{ dataFrom.link }} +
+{{ dataFrom.numberName }}
+{{ dataFrom.number }}
+{{ dataFrom.passwordName }}
+{{ dataFrom.password }}
+From 4a52c2cf78fcbb5c122a23a3c0711e4f0064ca4a Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Mon, 18 Jul 2022 10:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=92=8C=E5=89=8D=E5=8F=B0?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../myAgent/demo/Application-resources.vue | 22 -- .../myAgent/demo/ResourcesAndServices.vue | 24 +- .../myAgent/demo/ability-resource-shelf.vue | 137 ++++---- .../views/detailsAll/ApplicationDetails.vue | 327 ++++++++++-------- .../Application/ApplicationAbilityTrial.vue | 184 ++++++++++ .../ApplicationDeploymentAndSecurity.vue | 38 +- .../Application/ApplicationNavigation.vue | 4 + 7 files changed, 474 insertions(+), 262 deletions(-) delete mode 100644 back/src/views/modules/myAgent/demo/Application-resources.vue create mode 100644 front/src/views/detailsAll/components/Application/ApplicationAbilityTrial.vue diff --git a/back/src/views/modules/myAgent/demo/Application-resources.vue b/back/src/views/modules/myAgent/demo/Application-resources.vue deleted file mode 100644 index bf310a87..00000000 --- a/back/src/views/modules/myAgent/demo/Application-resources.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue b/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue index 2b46e2d3..5b37af66 100644 --- a/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue +++ b/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue @@ -168,20 +168,6 @@ export default { this.dataView = val.filter( (item) => item.name === this.dataForm.type + '一' )[0] - console.log(this.dataView) - console.log(this.dataForm) - // 应用描述 - // this.dataView.children[0].children[0].children[4].note1 = - // this.dataForm.description - // 应用名称 - // this.dataView.children[0].children[0].children[0].note1 = - // this.dataForm.name - // 共享条件 - this.dataView.children[2].children[1].children[0].note1 = - this.dataForm.shareCondition - // 共享类型 - this.dataView.children[2].children[1].children[1].note1 = - this.dataForm.shareType this.dataForm.infoList.map((item, index) => { this.dataView.children.map((itemView, indexView) => { // console.log('itemView', itemView) @@ -236,12 +222,16 @@ export default { }) }) }) + if (item.attrType === '功能介绍') { this.dataForm.infoList[index].attrValue = JSON.parse( item.attrValue ) } }) + console.log(this.dataView) + console.log(this.dataForm) + debugger } else { const componentType = this.dataForm.infoList.filter( (item) => item.attrType === '组件类型' @@ -318,7 +308,11 @@ export default { }) }) }) - if (item.attrType === '算法优势' || item.attrType === '应用场景') { + if ( + item.attrType === '算法优势' || + item.attrType === '应用场景' || + item.attrType === '功能介绍' + ) { this.dataForm.infoList[index].attrValue = JSON.parse( item.attrValue ) 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 a6e1e698..a1ee69a8 100644 --- a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue +++ b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue @@ -7,9 +7,6 @@ @keyup.enter.native="dataFormSubmitHandle()" :label-width="$i18n.locale === 'en-US' ? '120px' : 'auto'" > -
{{ dataFrom.linkName }}
++ {{ dataFrom.link }} +
+{{ dataFrom.numberName }}
+{{ dataFrom.number }}
+{{ dataFrom.passwordName }}
+{{ dataFrom.password }}
+