NEZ-2414 feat :asset model列表页面增加Dashboard template

This commit is contained in:
likexuan
2022-11-23 10:58:00 +08:00
parent 799cd1df67
commit 0b86d37b40

View File

@@ -63,6 +63,9 @@
</template>
</copy>
</template>
<template v-else-if="item.prop === 'panel'">
{{scope.row.panel ? scope.row.panel.name : '-'}}
</template>
<span v-else-if="item.prop === 'createTime'">{{utcTimeToTimezoneStr(scope.row[item.prop])}}</span>
<template v-else-if="item.prop === 'assetNum'">
<span style="cursor: pointer" class="endpoint-num" @click="showBottomBox('asset', scope.row)">
@@ -165,6 +168,11 @@ export default {
prop: 'type',
minWidth: 200,
show: true
}, {
label: this.$t('model.dashboardtemplate'),
prop: 'panel',
minWidth: 200,
show: false
}, {
label: this.$t('config.model.sysObjectId'),
prop: 'sysObjectId',