update yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm.

Signed-off-by: 赤鷹 <121013343@qq.com>
This commit is contained in:
赤鷹 2023-07-10 08:23:58 +00:00 committed by Gitee
parent 0fa3ed9421
commit 0134375401
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 7 additions and 5 deletions

View File

@ -119,7 +119,8 @@
<!-- 列表 -->
<ContentWrap>
<el-table v-loading="loading" :data="list">
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="序号" type="index" width="70px" />
#foreach($column in $columns)
#if ($column.listOperationResult)
#set ($dictType=$column.dictType)
@ -132,19 +133,20 @@
align="center"
prop="${javaField}"
:formatter="dateFormatter"
width="150px"
/>
#elseif("" != $column.dictType)## 数据字典
<el-table-column label="${comment}" align="center" prop="${javaField}">
<el-table-column label="${comment}" align="center" prop="${javaField}" width="150px">
<template #default="scope">
<dict-tag :type="DICT_TYPE.$dictType.toUpperCase()" :value="scope.row.${column.javaField}" />
</template>
</el-table-column>
#else
<el-table-column label="${comment}" align="center" prop="${javaField}" />
<el-table-column label="${comment}" align="center" prop="${javaField}" width="150px"/>
#end
#end
#end
<el-table-column label="操作" align="center">
<el-table-column label="操作" align="center" width="150px">
<template #default="scope">
<el-button
link