feat: 搜索框重构
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<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" :position='from' :inTransform="bottomBox.inTransform" :searchMsg="searchMsg" @search="search"></search-input>
|
||||
<search-box :from="from" :position='from' :inTransform="bottomBox.inTransform" :searchMsg="searchMsg" @search="search"></search-box>
|
||||
</div>
|
||||
<slot name="top-tool-right"></slot>
|
||||
<button v-if="showLayout.indexOf('elementSet') > -1" class="top-tool-btn table-column-setting"
|
||||
@@ -108,10 +109,12 @@ import panelChart from '@/components/chart/panelChart'
|
||||
import bus from '@/libs/bus'
|
||||
import routerPathParams from "@/components/common/mixin/routerPathParams";
|
||||
import lodash from "lodash";
|
||||
import SearchBox from "@/components/common/searchBox/searchBox";
|
||||
export default {
|
||||
name: 'nzDataList',
|
||||
mixins: [routerPathParams],
|
||||
components: {
|
||||
SearchBox,
|
||||
bottomBox,
|
||||
panelChart
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user