feat:修改 panel页面 pageSize未传的问题 以及chartTemp的预览

This commit is contained in:
zhangyu
2021-04-25 14:58:03 +08:00
parent 73f34335a2
commit 9490f5c309
16 changed files with 1703 additions and 107 deletions

View File

@@ -34,6 +34,7 @@
</template>
<template slot-scope="scope" :column="item">
<span v-if="item.prop==='varType'">{{scope.row[item.prop]===1?'Asset':'endpoint'}}</span>
<span v-else-if="item.prop==='type'" :class="'asd'">{{scope.row[item.prop]}}</span>
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop] || '-'}}</span>
<template v-else>-</template>
</template>
@@ -76,6 +77,10 @@ export default {
label: this.$t('config.exprTemp.name'),
prop: 'name',
show: true
}, {
label: this.$t('config.exprTemp.type'),
prop: 'type',
show: true
}, {
label: this.$t('config.exprTemp.varType'),
prop: 'varType',