From 0c7715e1c14d223ad606256d17948a3fe55a0447 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 8 Jul 2022 17:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=8C=82=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/modules/ability/bsabilityai.vue | 8 +- .../views/modules/components/upload/index.vue | 136 ++++++------------ .../putOnTheShelf/components/special.vue | 35 ++--- .../src/views/modules/putOnTheShelf/index.vue | 17 ++- 4 files changed, 81 insertions(+), 115 deletions(-) diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index a1b9ea03..661f116b 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -156,7 +156,7 @@ :close-on-press-escape='false' :before-close='clear' width="50%"> - + 取 消 确 定 @@ -236,6 +236,10 @@ export default { this.fullScreen() }, methods: { + changeInfoList (obj) { + this.submitFrom.infoList = this.submitFrom.infoList.filter((item) => item.attrType !== obj.attrType) + this.submitFrom.infoList.push(obj) + }, reset () { this.$http .get( @@ -426,7 +430,7 @@ export default { showPutOnTheShelfVue () { this.showPutOnTheShelfFlag = false this.showPutOnTheShelfFlag2 = true - this.submitFrom.infoList[0] = this.redio + this.submitFrom.infoList[0].attrValue = this.radio this.putOnTheShelfList = this.insertList.children.filter(item => item.name === this.radio)[0].children console.log('radio', this.radio) }, diff --git a/back/src/views/modules/components/upload/index.vue b/back/src/views/modules/components/upload/index.vue index 2d65cf9e..caa3cca5 100644 --- a/back/src/views/modules/components/upload/index.vue +++ b/back/src/views/modules/components/upload/index.vue @@ -2,45 +2,33 @@ * @Author: hisense.liangjunhua * @Date: 2022-07-08 14:55:19 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-08 15:48:44 + * @LastEditTime: 2022-07-08 17:03:42 * @Description: 告诉大家这是什么 --> diff --git a/back/src/views/modules/putOnTheShelf/components/special.vue b/back/src/views/modules/putOnTheShelf/components/special.vue index d3409049..4e8bc1eb 100644 --- a/back/src/views/modules/putOnTheShelf/components/special.vue +++ b/back/src/views/modules/putOnTheShelf/components/special.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-07-08 09:54:50 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-08 15:15:02 + * @LastEditTime: 2022-07-08 15:57:38 * @Description: 多条数据特殊处理 -->