style: 修改asset endpoint的表格的边框样式
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<div v-if="showLayout.indexOf('clickSearch') > -1" class="search-box">
|
||||
<slot name="search"></slot>
|
||||
</div>
|
||||
<div v-show="bottomBox.mainResizeShow" class="nz-table2">
|
||||
<div v-show="bottomBox.mainResizeShow" class="nz-table2" :style="showLayout.indexOf('clickSearch') > -1 ? `height:${tableBoxHeight}` : ''">
|
||||
<slot v-bind:mainResizeShow="bottomBox.mainResizeShow"></slot>
|
||||
</div>
|
||||
<div v-show="bottomBox.mainResizeShow" v-if="showLayout.indexOf('pagination') > -1" class="pagination-bottom">
|
||||
@@ -90,7 +90,8 @@ export default {
|
||||
},
|
||||
searchMsg: {
|
||||
type: Object
|
||||
}
|
||||
},
|
||||
tableBoxHeight: {}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
:from="fromRoute.asset"
|
||||
:layout="dataListLayout"
|
||||
:search-msg="searchMsg"
|
||||
:table-box-height="assetTableHeight"
|
||||
@search="search"
|
||||
@getTableData="getTableData"
|
||||
>
|
||||
@@ -53,7 +54,7 @@
|
||||
v-loading="tools.loading"
|
||||
:api="url"
|
||||
:custom-table-title="tools.customTableTitle"
|
||||
:height="dataListLayout.indexOf('clickSearch') > -1 ? assetTableHeight : mainTableHeight"
|
||||
:height="mainTableHeight"
|
||||
:table-data="tableData"
|
||||
@cli="cli"
|
||||
@del="del"
|
||||
@@ -130,7 +131,7 @@ export default {
|
||||
},
|
||||
silenceBoxShow: false,
|
||||
dataListLayout: ['searchInput', 'elementSet', 'clickSearch', 'pagination'],
|
||||
assetTableHeight: `calc(100% - ${48 + 201 + 20}px)`,
|
||||
assetTableHeight: `calc(100% - ${48 + 201 + 40}px)`,
|
||||
blankObject: {
|
||||
id: '',
|
||||
name: '',
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
:from="fromRoute.endpoint"
|
||||
:layout="dataListLayout"
|
||||
:search-msg="searchMsg"
|
||||
:table-box-height="endpointTableHeight"
|
||||
@search="search"
|
||||
@getTableData="getTableData"
|
||||
>
|
||||
@@ -55,7 +56,7 @@
|
||||
v-loading="tools.loading"
|
||||
:api="url"
|
||||
:custom-table-title="tools.customTableTitle"
|
||||
:height="dataListLayout.indexOf('clickSearch') > -1 ? endpointTableHeight : mainTableHeight"
|
||||
:height="mainTableHeight"
|
||||
:table-data="tableData"
|
||||
:tableId="tableId"
|
||||
@del="del"
|
||||
@@ -233,7 +234,7 @@ export default {
|
||||
silenceBoxShow: false,
|
||||
tableId: 'endpointTable',
|
||||
queryPermission: 'account_view',
|
||||
endpointTableHeight: 'calc(100% - 224px)', // 主列表table高度
|
||||
endpointTableHeight: 'calc(100% - 244px)', // 主列表table高度
|
||||
dataListLayout: ['searchInput', 'elementSet', 'clickSearch', 'pagination'],
|
||||
searchMsg: { // 给搜索框子组件传递的信息
|
||||
zheze_none: true,
|
||||
|
||||
Reference in New Issue
Block a user