NEZ-1258 fix: Asset查看详情时,多个功能点的搜索记录同步

This commit is contained in:
zhangyu
2021-11-17 13:51:28 +08:00
parent d12051dd08
commit c19f8436e6
16 changed files with 24 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
</div> </div>
<div class="top-tool-right" v-if="!customTool"> <div class="top-tool-right" v-if="!customTool">
<div v-if="layout.indexOf('searchInput') > -1" class="top-tool-search margin-r-20"> <div v-if="layout.indexOf('searchInput') > -1" class="top-tool-search margin-r-20">
<search-input :searchMsg="searchMsg" position="endpoint-bottom" @search="search" :targetTab="targetTab"></search-input> <search-input :searchMsg="searchMsg" :position="'bottom' + targetTab + obj.id" @search="search" :targetTab="targetTab"></search-input>
</div> </div>
<slot name="top-tool-right"></slot> <slot name="top-tool-right"></slot>
<button v-if="layout.indexOf('elementSet') > -1" id="account-column-setting" class="top-tool-btn margin-r-20" <button v-if="layout.indexOf('elementSet') > -1" id="account-column-setting" class="top-tool-btn margin-r-20"
@@ -71,6 +71,7 @@ export default {
type: String, type: String,
default: '' default: ''
}, },
obj: { },
tabs: { tabs: {
type: Array type: Array
}, },

View File

@@ -2,6 +2,7 @@
<div class="full-width-height"> <div class="full-width-height">
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"
:layout="['searchInput', 'elementSet']" :layout="['searchInput', 'elementSet']"

View File

@@ -1,6 +1,7 @@
<template> <template>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"
:layout="['elementSet']" :layout="['elementSet']"

View File

@@ -2,6 +2,7 @@
<div> <div>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
style="height: 100%" style="height: 100%"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"

View File

@@ -2,6 +2,7 @@
<div> <div>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:targetTab.sync="targetTab" :targetTab.sync="targetTab"
:api="url" :api="url"
style="height: 100%" style="height: 100%"

View File

@@ -2,6 +2,7 @@
<div> <div>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
style="height: 100%" style="height: 100%"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"

View File

@@ -2,6 +2,7 @@
<div class="full-width-height endpoint-tab-new"> <div class="full-width-height endpoint-tab-new">
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
:layout="['searchInput', 'elementSet']" :layout="['searchInput', 'elementSet']"
:search-msg="searchMsg" :search-msg="searchMsg"

View File

@@ -2,6 +2,7 @@
<div class="full-width-height"> <div class="full-width-height">
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"
:layout="['searchInput', 'elementSet']" :layout="['searchInput', 'elementSet']"

View File

@@ -1,6 +1,7 @@
<template> <template>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:custom-tool="true" :custom-tool="true"
:layout="[]" :layout="[]"
:show-pagination="false" :show-pagination="false"

View File

@@ -1,6 +1,7 @@
<template> <template>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"
:layout="['searchInput', 'elementSet']" :layout="['searchInput', 'elementSet']"

View File

@@ -2,6 +2,7 @@
<div class="full-width-height chart-list asset-detail"> <div class="full-width-height chart-list asset-detail">
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:layout="[]" :layout="[]"
:tabs="tabs" :tabs="tabs"
:targetTab="targetTab" :targetTab="targetTab"

View File

@@ -1,6 +1,7 @@
<template> <template>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:layout="[]" :layout="[]"
:tabs="tabs" :tabs="tabs"
@changeTab="changeTab" @changeTab="changeTab"

View File

@@ -1,6 +1,7 @@
<template> <template>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:layout="[]" :layout="[]"
:tabs="tabs" :tabs="tabs"
@changeTab="changeTab" @changeTab="changeTab"

View File

@@ -1,6 +1,7 @@
<template> <template>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:layout="[]" :layout="[]"
:tabs="tabs" :tabs="tabs"
@changeTab="changeTab" @changeTab="changeTab"

View File

@@ -1,6 +1,7 @@
<template> <template>
<nz-bottom-data-list <nz-bottom-data-list
:showTitle='showTitle' :showTitle='showTitle'
:obj='obj'
:api="url" :api="url"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"
:layout="['searchInput', 'elementSet']" :layout="['searchInput', 'elementSet']"

View File

@@ -670,6 +670,9 @@ export default {
spanList: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], spanList: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
limitOptions: [100, 200, 500, 1000, 2000], limitOptions: [100, 200, 500, 1000, 2000],
nullTypeList: [{ nullTypeList: [{
label: 'connected',
value: 'connected'
}, {
label: 'null', label: 'null',
value: 'null' value: 'null'
}, { }, {