fix: 1.目录调整2.el-table empty-text 属性调整

This commit is contained in:
@changcode
2022-09-13 17:52:38 +08:00
parent bda7886d27
commit f0c3f11166
11 changed files with 15 additions and 16 deletions

View File

@@ -42,7 +42,7 @@
width="100%"
@selection-change="handleDetailSelectionChange"
:row-class-name="rowClassName"
empty-text=" "
empty-text=""
ref="tb">
<el-table-column type="selection" align="center" label="" width="30px" style="border-left:0px;" />

View File

@@ -4,7 +4,6 @@
ref="dataTable"
:data="tableData"
:height="height"
empty-text=" "
border
@header-dragend="dragend"
@sort-change="tableDataSort"

View File

@@ -6,7 +6,7 @@
:data="tableData"
:height="height"
:expand-row-keys="expandedIds"
empty-text=" "
empty-text=""
border
tooltip-effect="light"
:row-key="(row) => { return row.id }"
@@ -208,7 +208,7 @@
</div>
</div>
</div>
</div>
</div>
</template>
<script>
@@ -404,7 +404,7 @@ export default {
}
},
mounted() {
this.expandTable();
this.expandTable();
},
methods: {
/**
@@ -413,13 +413,13 @@ export default {
*/
expandTable() {
let expandInfo = this.expandedIds;
if(expandInfo !== undefined && expandInfo.length>0) {
let obj = {
id: expandInfo[0]
}
this.dropExpandChange(obj, expandInfo);
}
}
},
/**
* 显示选中的行,即分页后依旧显示
@@ -435,7 +435,7 @@ export default {
}
})
}
});
});
},
getJobStatus (report) {
if (report.state === 1 && report.upload === 1) {
@@ -460,7 +460,7 @@ export default {
this.checkboxAll = objs.length === this.tableData.length;
this.isIndeterminate = objs.length > 0 && objs.length < this.tableData.length;
// 选中状态回显
let selectIds = [];
if(objs.length > 0) {

View File

@@ -4,7 +4,7 @@
ref="dataTable"
:data="tableData"
:height="height"
empty-text=" "
empty-text=""
border
@header-dragend="dragend"
@sort-change="tableDataSort"

View File

@@ -6,7 +6,7 @@
:data="tableData"
style="width: 70%;"
tooltip-effect="light"
empty-text=" "
empty-text=""
border="none"
:size="'mini'"
:height="'100%'">

View File

@@ -21,7 +21,7 @@
:data="tableData"
class="app-table"
height="100%"
empty-text=" "
empty-text=""
>
<template v-for="(item, index) in customTableTitles" :key="index">
<el-table-column class="data-column">

View File

@@ -24,7 +24,7 @@
:data="tableData"
class="npm-app-event-table"
height="100%"
empty-text=" "
empty-text=""
>
<template v-for="(item, index) in customTableTitles" :key="index">
<el-table-column class="data-column" :min-width="columnWidth(index)">

View File

@@ -8,7 +8,7 @@
</template>
<script>
import SingleValue from '@/views/charts2/charts/SingleValue'
import SingleValue from '@/views/charts2/charts/npm/localComponents/SingleValue'
import { get } from '@/utils/http'
import { getSecond } from '@/utils/date-util'
import { api } from '@/utils/api'

View File

@@ -6,7 +6,7 @@
:ref="`dataTable_${index}`"
:data="tableData"
class="npm-recent-table"
empty-text=" "
empty-text=""
height="100%"
>
<template v-for="(item, index) in customTableTitles" :key="index">

View File

@@ -17,7 +17,7 @@
:row-style="rowStyle"
:cell-style="{'text-align':'left','padding': '1px 0','border':'0px'}"
class="customer-no-border-table"
empty-text=" "
empty-text=""
style="width: 100%; height: 300px;"
@row-click="filter"
>