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%">
-
+
@@ -48,7 +48,7 @@
@@ -71,7 +71,7 @@ export default {
}
},
methods: {
- add () {
+ add (title) {
const list = this.configure.list
let flag = true
list.forEach((item) => {
@@ -89,11 +89,11 @@ export default {
})
this.data.push(obj)
// console.log(data.value[title])
- // mybus.emit('chageDataFrom', {
- // attrType: title,
- // attrValue: JSON.stringify(data.value[title]),
- // delFlag: 0
- // })
+ this.$emit('changeInfoList', {
+ attrType: title,
+ attrValue: JSON.stringify(this.data),
+ delFlag: 0
+ })
list.forEach((item) => {
item.note1 = ''
})
@@ -101,14 +101,15 @@ export default {
} else {
this.$message.warning('请填写完整')
}
- } // del (title, index) {
- // data.value[title].splice(index, 1)
- // mybus.emit('chageDataFrom', {
- // attrType: title,
- // attrValue: JSON.stringify(data.value[title]),
- // delFlag: 0
- // })
- // }
+ },
+ del (title, index) {
+ this.data.splice(index, 1)
+ this.$emit('changeInfoList', {
+ attrType: title,
+ attrValue: JSON.stringify(this.data),
+ delFlag: 0
+ })
+ }
}
}
diff --git a/back/src/views/modules/putOnTheShelf/index.vue b/back/src/views/modules/putOnTheShelf/index.vue
index 50258260..ba64eb8a 100644
--- a/back/src/views/modules/putOnTheShelf/index.vue
+++ b/back/src/views/modules/putOnTheShelf/index.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-07-08 09:48:52
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-08 15:50:06
+ * @LastEditTime: 2022-07-08 17:03:12
* @Description: 告诉大家这是什么
-->
@@ -13,18 +13,18 @@
{{child.name}}
{{ item.name }}
-
-
-
+
-
-
+
@@ -154,6 +154,9 @@ export default {
}
},
methods: {
+ changeInfoList (obj) {
+ this.$emit('changeInfoList', obj)
+ }
}
}