feat: asset二级endpoint增加导入导出按钮等

1.asset二级endpoint增加导入导出按钮
2.asset/alertRule二级alertMessage页面初始参数
This commit is contained in:
陈劲松
2020-03-31 17:22:15 +08:00
parent 7f9bac0f94
commit e3809a11dc
10 changed files with 99 additions and 19 deletions

View File

@@ -73,7 +73,7 @@
<span v-else>-</span>
</template>
<template v-else-if="item.prop == 'alertNum'">
<span class="link" @click="queryMessage(scope.row)">{{scope.row.alertNum}}<template v-if="scope.row.alertNum && scope.row.alertNum > 0">{{' ' + $t('overall.active')}}</template></span>
<span class="link" @click="queryMessage(scope.row)">{{scope.row.alertNum + ' ' + $t('overall.active')}}</span>
</template>
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
<template v-else>-</template>