fix: 列表no data样式展示异常问题
This commit is contained in:
@@ -263,12 +263,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</draggable>
|
</draggable>
|
||||||
<!-- <el-row v-if="dataList.length === 0" class="noData"></el-row>-->
|
<!-- <el-row v-if="dataList.length === 0" class="noData"></el-row>-->
|
||||||
<div v-if="dataList.length === 0" class="no-data">
|
<div v-if="panelLoading" class="no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-panel"></use>
|
<use xlink:href="#nz-icon-no-data-panel"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div class="no-data-div">No data</div>
|
<div class="no-data-div">No data</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
<!--<div class="page-shadow" v-if="showShadow"></div>-->
|
<!--<div class="page-shadow" v-if="showShadow"></div>-->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -303,7 +304,7 @@ export default {
|
|||||||
obj: Object,
|
obj: Object,
|
||||||
panelLock: { type: Boolean, default: false },
|
panelLock: { type: Boolean, default: false },
|
||||||
hasGroup: { type: Boolean, default: true },
|
hasGroup: { type: Boolean, default: true },
|
||||||
panelDataList: Array
|
panelDataList: Array,
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
@@ -332,6 +333,7 @@ export default {
|
|||||||
start: '',
|
start: '',
|
||||||
end: ''
|
end: ''
|
||||||
},
|
},
|
||||||
|
panelLoading: false,
|
||||||
extraMarginBottom: 0, // dom额外的margin
|
extraMarginBottom: 0, // dom额外的margin
|
||||||
panelId: '',
|
panelId: '',
|
||||||
timer: null,
|
timer: null,
|
||||||
@@ -715,12 +717,13 @@ export default {
|
|||||||
item.isLoaded = false
|
item.isLoaded = false
|
||||||
})
|
})
|
||||||
// chart数据存在dataTotalListBak中
|
// chart数据存在dataTotalListBak中
|
||||||
if (response.data.list) {
|
if (response.data.list.length > 0) {
|
||||||
this.dataTotalListBak = response.data.list
|
this.dataTotalListBak = response.data.list
|
||||||
|
this.panelLoading = false
|
||||||
} else {
|
} else {
|
||||||
this.dataTotalListBak = response.data
|
this.dataTotalListBak = response.data
|
||||||
|
this.panelLoading = true
|
||||||
}
|
}
|
||||||
|
|
||||||
let chartListTmp = []
|
let chartListTmp = []
|
||||||
// 查询条件带name
|
// 查询条件带name
|
||||||
if (this.filter.searchName) {
|
if (this.filter.searchName) {
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
<alertMessageTable
|
<alertMessageTable
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:api="url"
|
:api="url"
|
||||||
|
:loading="tools.loading"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="subTableHeight"
|
:height="subTableHeight"
|
||||||
:now-time="nowTime"
|
:now-time="nowTime"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:api="url"
|
:api="url"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="subTableHeight"
|
:height="subTableHeight"
|
||||||
:table-data="tableData"
|
:table-data="tableData"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:api="url"
|
:api="url"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="subTableHeight"
|
:height="subTableHeight"
|
||||||
:table-data="tableData"
|
:table-data="tableData"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
<cabinet-table
|
<cabinet-table
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="subTableHeight"
|
:height="subTableHeight"
|
||||||
|
|||||||
@@ -52,6 +52,7 @@
|
|||||||
:data="tableData"
|
:data="tableData"
|
||||||
border
|
border
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
class="nz-table endpoint-table"
|
class="nz-table endpoint-table"
|
||||||
:height="$tableHeight.noPagination"
|
:height="$tableHeight.noPagination"
|
||||||
:cell-class-name="messageStyle"
|
:cell-class-name="messageStyle"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
<endpoint-table
|
<endpoint-table
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="subTableHeight"
|
:height="subTableHeight"
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
<operation-log-table
|
<operation-log-table
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="subTableHeight"
|
:height="subTableHeight"
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
<terminal-log-table
|
<terminal-log-table
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="subTableHeight"
|
:height="subTableHeight"
|
||||||
|
|||||||
@@ -27,6 +27,10 @@
|
|||||||
<div class="detail-row-info">
|
<div class="detail-row-info">
|
||||||
<div class="asset-manageIp">
|
<div class="asset-manageIp">
|
||||||
<span class="flex-align-center">
|
<span class="flex-align-center">
|
||||||
|
<span v-if="item.status" >
|
||||||
|
<span :class="{'active-icon green-bg':item.status == 1,'active-icon gray-bg':item.status == 0}"></span>
|
||||||
|
</span>
|
||||||
|
<span v-else style="display: inline-block;width: 13px"></span>
|
||||||
<span class="user-name-top">{{item.name}}</span>
|
<span class="user-name-top">{{item.name}}</span>
|
||||||
<el-tag size="mini" v-if="mfaEnable == '1' || item.mfaLevel > 0" style="margin-left: 5px">2FA</el-tag>
|
<el-tag size="mini" v-if="mfaEnable == '1' || item.mfaLevel > 0" style="margin-left: 5px">2FA</el-tag>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
<asset-table
|
<asset-table
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tableTitle"
|
:custom-table-title="tableTitle"
|
||||||
:height="mainTableHeight"
|
:height="mainTableHeight"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
style="height: calc(100% - 200px)"
|
style="height: calc(100% - 200px)"
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tableTitle"
|
:custom-table-title="tableTitle"
|
||||||
:height="mainTableHeight"
|
:height="mainTableHeight"
|
||||||
|
|||||||
@@ -125,13 +125,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
{{ $t('overall.enabled') }}
|
{{ $t('overall.enabled') }}
|
||||||
</div>
|
</div>
|
||||||
<div slot="reference" v-else-if="scope.row[item.prop] === 0">
|
<div slot="reference" v-else-if="scope.row[item.prop] === 0">
|
||||||
<div class="active-icon red-bg inline-block"></div>
|
<div class="active-icon gray-bg inline-block"></div>
|
||||||
{{ $t('overall.disabled') }}
|
{{ $t('overall.disabled') }}
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
@@ -133,13 +133,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -102,13 +102,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -81,13 +81,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -132,13 +132,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -69,13 +69,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -83,13 +83,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -50,13 +50,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -64,13 +64,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -83,13 +83,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
{{ $t('overall.enabled') }}
|
{{ $t('overall.enabled') }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="scope.row[item.prop] === 'OFF'">
|
<div v-else-if="scope.row[item.prop] === 'OFF'">
|
||||||
<div class="active-icon red-bg inline-block"></div>
|
<div class="active-icon gray-bg inline-block"></div>
|
||||||
{{ $t('overall.disabled') }}
|
{{ $t('overall.disabled') }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -99,15 +99,15 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -184,13 +184,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -56,13 +56,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -72,13 +72,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -89,13 +89,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -76,13 +76,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -81,13 +81,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -45,13 +45,14 @@
|
|||||||
<span v-else>-</span>
|
<span v-else>-</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -80,13 +80,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -64,13 +64,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -103,13 +103,14 @@
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -54,12 +54,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.prop === 'status'">
|
<template v-else-if="item.prop === 'status'">
|
||||||
<div v-if="scope.row[item.prop] === 1">
|
<div v-if="scope.row[item.prop] == 1">
|
||||||
<div class="active-icon green-bg inline-block"></div>
|
<div class="active-icon green-bg inline-block"></div>
|
||||||
{{ $t('overall.enabled') }}
|
{{ $t('overall.enabled') }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="scope.row[item.prop] === 0">
|
<div v-else-if="scope.row[item.prop] == 0">
|
||||||
<div class="active-icon red-bg inline-block"></div>
|
<div class="active-icon gray-bg inline-block"></div>
|
||||||
{{ $t('overall.disabled') }}
|
{{ $t('overall.disabled') }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -93,13 +93,14 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-if="!loading" slot="empty">
|
<template slot="empty">
|
||||||
<div class="right-no-data">
|
<div v-if="!loading" class="right-no-data">
|
||||||
<svg class="icon" aria-hidden="true">
|
<svg class="icon" aria-hidden="true">
|
||||||
<use xlink:href="#nz-icon-no-data-list"></use>
|
<use xlink:href="#nz-icon-no-data-list"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
<div style="font-size: 16px;color: #333333;font-weight: 400;">No results found</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else> </div>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
ref="dataDetail"
|
ref="dataDetail"
|
||||||
:orderByFa="orderBy"
|
:orderByFa="orderBy"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:detailViewRightObj="detailViewRightObj"
|
:detailViewRightObj="detailViewRightObj"
|
||||||
:api="url"
|
:api="url"
|
||||||
:table-data="tableData"
|
:table-data="tableData"
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
ref="dataDetail"
|
ref="dataDetail"
|
||||||
:orderByFa="orderBy"
|
:orderByFa="orderBy"
|
||||||
v-loading="tools.loading"
|
v-loading="tools.loading"
|
||||||
|
:loading="tools.loading"
|
||||||
:detailViewRightObj="detailViewRightObj"
|
:detailViewRightObj="detailViewRightObj"
|
||||||
:api="url"
|
:api="url"
|
||||||
:table-data="tableData"
|
:table-data="tableData"
|
||||||
|
|||||||
@@ -566,6 +566,7 @@ export default {
|
|||||||
this.$store.state.showPanel.id = 0
|
this.$store.state.showPanel.id = 0
|
||||||
this.$store.state.showPanel.name = ''
|
this.$store.state.showPanel.name = ''
|
||||||
this.$store.state.showPanel.type = 'dashboard'
|
this.$store.state.showPanel.type = 'dashboard'
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (response.msg) {
|
if (response.msg) {
|
||||||
this.$message.error(response.msg)
|
this.$message.error(response.msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user