| | |
| | | @click="dowloadFile(file)">{{ file.name }}</a> |
| | | <span v-else-if="column.type == 'date'">{{ formatterDate(scope.row, column) }}</span> |
| | | <div v-else-if="column.type == 'jsx'" @click="formatterClick(scope.row, column, $event)"> |
| | | <el-button v-for="item in column.formatter(scope.row, column) " :key="item" :type="item.type">{{ |
| | | item.name |
| | | <el-button v-for="item in column.formatter(scope.row, column)" :key="item" :type="item.type">{{ item.name |
| | | }}</el-button> |
| | | </div> |
| | | <div v-else-if="column.formatter" @click="formatterClick(scope.row, column, $event)" |