diff --git a/back/src/views/modules/ability/assignedScene/components/display-list.vue b/back/src/views/modules/ability/assignedScene/components/display-list.vue index 34e4a90b..3ebb14e8 100644 --- a/back/src/views/modules/ability/assignedScene/components/display-list.vue +++ b/back/src/views/modules/ability/assignedScene/components/display-list.vue @@ -2,11 +2,9 @@
- -
- {{ item[showKey] || '--' }} -
-
+
+ {{ item[showKey] || '--' }} +
diff --git a/back/src/views/modules/ability/assignedScene/components/infrastructure-modal.vue b/back/src/views/modules/ability/assignedScene/components/infrastructure-modal.vue index bf8d6c71..ae7be4fe 100644 --- a/back/src/views/modules/ability/assignedScene/components/infrastructure-modal.vue +++ b/back/src/views/modules/ability/assignedScene/components/infrastructure-modal.vue @@ -319,13 +319,13 @@ export default { }) this.$emit('update', { title: this.type, - list: this.selectedArray.map(v => v.idtCameraChannel) + list: idtCameraChannelArray }) }, close() { this.showModal = false; this.searchData.cameraName = '' - this.selectedArray = []; + // this.selectedArray = []; this.$emit('closeModal'); }, clear() { diff --git a/back/src/views/modules/ability/components/combine-ability.vue b/back/src/views/modules/ability/components/combine-ability.vue index d11a659a..0fc21e0e 100644 --- a/back/src/views/modules/ability/components/combine-ability.vue +++ b/back/src/views/modules/ability/components/combine-ability.vue @@ -152,11 +152,11 @@ const res = { } const keyObj = { - 数据资源: { + "数据资源": { idKey: 'id', nameKey: 'name' }, - 组件服务: { + "组件服务": { idKey: 'id', nameKey: 'name' } @@ -323,7 +323,7 @@ export default { }, close () { this.showModal = false - this.selectedArray = [] + // this.selectedArray = [] this.allData = [] this.transferData = [] },