NEZ-1276 fix: 通过搜索记录查询 选项错乱的问题

This commit is contained in:
zhangyu
2021-11-18 17:18:16 +08:00
parent 87b49de83f
commit 99dca724f1
3 changed files with 4 additions and 4 deletions

View File

@@ -642,7 +642,7 @@ export default {
// chartId='screenShowArea';
}
const chartWidth = ele.clientWidth
this.stepWidth = document.getElementById('listContainer').offsetWidth / 12
this.stepWidth = this.chartInfo.groupId ? (document.getElementById('listContainer').offsetWidth / 12) - 10 : document.getElementById('listContainer').offsetWidth / 12
const stackIconBorderColor = (chartInfo.type === 'stackArea' ? '#53a3cb' : '#7e7e7e')
const stackIconChooseBorderColor = (chartInfo.type === 'stackArea' ? '#7e7e7e' : '#53a3cb')
let maxValueCopies = this.getMaxValue(dataArg, chartInfo)

View File

@@ -954,7 +954,7 @@ export default {
this.sreach_num = this.select_list.length
this.select_list.forEach(val => {
this.searchLabelList.forEach((item, index) => {
if (val.id == item.id) {
if (val.label == item.label) {
this.searchLabelList.splice(index, 1)
}
})

View File

@@ -11,7 +11,7 @@
</div>
<div :class="{'top-tool-main-right-to-left': bottomBox.showSubList}" class="top-tool-right">
<div v-if="showLayout.indexOf('searchInput') > -1" class="top-tool-search margin-r-20" :class="{'project-search alert-table asset-table endpoint-table': searchRight}">
<search-input ref="searchInput" :from="from" :inTransform="bottomBox.inTransform" :searchMsg="searchMsg" @search="search"></search-input>
<search-input ref="searchInput" :from="from" :position='from' :inTransform="bottomBox.inTransform" :searchMsg="searchMsg" @search="search"></search-input>
</div>
<slot name="top-tool-right"></slot>
<button v-if="showLayout.indexOf('elementSet') > -1" class="top-tool-btn table-column-setting"