|
@@ -2,7 +2,7 @@
|
|
|
* @Author : yuanrunwei
|
|
|
* @Date : 2021-11-01 18:02:58
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
- * @LastEditTime: 2022-01-10 09:38:20
|
|
|
+ * @LastEditTime: 2022-01-11 18:29:51
|
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\table.vue
|
|
|
-->
|
|
|
<template>
|
|
@@ -10,7 +10,7 @@
|
|
|
<el-table-column type="selection" width="55" v-if="multiple" />
|
|
|
<el-table-column
|
|
|
v-for="(
|
|
|
- { props, label, type, width, align, children, dictionary }, index
|
|
|
+ { props, label, type, width, align, children, dictionary, variable }, index
|
|
|
) in config"
|
|
|
:key="index"
|
|
|
:prop="props"
|
|
@@ -73,6 +73,9 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</template>
|
|
|
+ <template v-if="variable">
|
|
|
+ <div>{{ scope.row[props] }}</div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
v-if="handleRow.length"
|