Merge branch 'hi-ucs-dev' of http://192.168.124.50:80/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
gaoyuanwei 2022-08-26 18:55:56 +08:00
commit bfc88508d8
3 changed files with 8 additions and 10 deletions

View File

@ -2,11 +2,9 @@
<div class="show-box" v-if="displayList.length > 0"> <div class="show-box" v-if="displayList.length > 0">
<div class="list-box"> <div class="list-box">
<div v-for="(item, i) in displayList" :key="i"> <div v-for="(item, i) in displayList" :key="i">
<el-tooltip popper-class="testTooltip" effect="dark" :content="item[showKey] || '--'" placement="top">
<div class="list-item"> <div class="list-item">
{{ item[showKey] || '--' }} {{ item[showKey] || '--' }}
</div> </div>
</el-tooltip>
</div> </div>
</div> </div>
</div> </div>

View File

@ -319,13 +319,13 @@ export default {
}) })
this.$emit('update', { this.$emit('update', {
title: this.type, title: this.type,
list: this.selectedArray.map(v => v.idtCameraChannel) list: idtCameraChannelArray
}) })
}, },
close() { close() {
this.showModal = false; this.showModal = false;
this.searchData.cameraName = '' this.searchData.cameraName = ''
this.selectedArray = []; // this.selectedArray = [];
this.$emit('closeModal'); this.$emit('closeModal');
}, },
clear() { clear() {

View File

@ -152,11 +152,11 @@ const res = {
} }
const keyObj = { const keyObj = {
数据资源: { "数据资源": {
idKey: 'id', idKey: 'id',
nameKey: 'name' nameKey: 'name'
}, },
组件服务: { "组件服务": {
idKey: 'id', idKey: 'id',
nameKey: 'name' nameKey: 'name'
} }
@ -323,7 +323,7 @@ export default {
}, },
close () { close () {
this.showModal = false this.showModal = false
this.selectedArray = [] // this.selectedArray = []
this.allData = [] this.allData = []
this.transferData = [] this.transferData = []
}, },