feat:asset 详细视图添加

This commit is contained in:
zhangyu
2021-10-14 14:14:25 +08:00
parent cfca72366c
commit 4e501cfc11
10 changed files with 73 additions and 30 deletions

View File

@@ -2,7 +2,7 @@
<div>
<nz-data-list
v-loading="detailViewLoading"
v-if="detailType === 'list'"
v-show="detailType === 'list'"
ref="dataList"
:api="url"
:custom-table-title.sync="tools.customTableTitle"
@@ -78,7 +78,7 @@
</nz-data-list>
<nzDetailView
v-loading="detailViewLoading || tools.loading"
v-if="detailType !== 'list'"
v-show="detailType !== 'list'"
:api="url"
ref="dataList"
:layout="dataListLayout"
@@ -116,7 +116,7 @@
<template v-slot:nz-detail-view-list>
<asset-detail
class="data-detail"
ref="dataTable"
ref="dataDetail"
:orderByFa="orderBy"
v-loading="tools.loading"
:detailViewRightObj="detailViewRightObj"
@@ -370,6 +370,7 @@ export default {
children: [],
show: false,
showMore: false,
dropShow: false,
width: 0,
index: -1
},
@@ -380,6 +381,7 @@ export default {
children: [],
show: false,
showMore: false,
dropShow: false,
width: 0,
index: -1
},
@@ -393,6 +395,7 @@ export default {
],
show: true,
showMore: false,
dropShow: false,
width: 0,
index: -1
},
@@ -403,6 +406,7 @@ export default {
children: [],
show: false,
showMore: false,
dropShow: false,
width: 0,
index: -1
},
@@ -413,6 +417,7 @@ export default {
children: [],
show: false,
showMore: false,
dropShow: false,
width: 0,
index: -1
}