NEZ-2414 feat :asset model列表页面增加Dashboard template
This commit is contained in:
@@ -63,6 +63,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</copy>
|
</copy>
|
||||||
</template>
|
</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>
|
<span v-else-if="item.prop === 'createTime'">{{utcTimeToTimezoneStr(scope.row[item.prop])}}</span>
|
||||||
<template v-else-if="item.prop === 'assetNum'">
|
<template v-else-if="item.prop === 'assetNum'">
|
||||||
<span style="cursor: pointer" class="endpoint-num" @click="showBottomBox('asset', scope.row)">
|
<span style="cursor: pointer" class="endpoint-num" @click="showBottomBox('asset', scope.row)">
|
||||||
@@ -165,6 +168,11 @@ export default {
|
|||||||
prop: 'type',
|
prop: 'type',
|
||||||
minWidth: 200,
|
minWidth: 200,
|
||||||
show: true
|
show: true
|
||||||
|
}, {
|
||||||
|
label: this.$t('model.dashboardtemplate'),
|
||||||
|
prop: 'panel',
|
||||||
|
minWidth: 200,
|
||||||
|
show: false
|
||||||
}, {
|
}, {
|
||||||
label: this.$t('config.model.sysObjectId'),
|
label: this.$t('config.model.sysObjectId'),
|
||||||
prop: 'sysObjectId',
|
prop: 'sysObjectId',
|
||||||
|
|||||||
Reference in New Issue
Block a user