Commit 79eb90d65317c8a62a43cca32f09bcbd662a989c

Authored by YunaiV
Committed by &wxr
1 parent e8d2dc51

1. 优化代码生成模版

2. 优化 Vue2 所在目录
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/form.vue.vm
... ... @@ -115,10 +115,8 @@
115 115 #end
116 116 </el-form>
117 117 <template #footer>
118   - <div class="dialog-footer">
119   - <el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
120   - <el-button @click="modelVisible = false">取 消</el-button>
121   - </div>
  118 + <el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
  119 + <el-button @click="modelVisible = false">取 消</el-button>
122 120 </template>
123 121 </Dialog>
124 122 </template>
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm
1 1 <template>
2   - <content-wrap>
  2 + <ContentWrap>
3 3 <!-- 搜索工作栏 -->
4 4 <el-form
5 5 class="-mb-15px"
... ... @@ -114,10 +114,10 @@
114 114 </el-button>
115 115 </el-form-item>
116 116 </el-form>
117   - </content-wrap>
  117 + </ContentWrap>
118 118  
119 119 <!-- 列表 -->
120   - <content-wrap>
  120 + <ContentWrap>
121 121 <el-table v-loading="loading" :data="list">
122 122 #foreach($column in $columns)
123 123 #if ($column.listOperationResult)
... ... @@ -171,7 +171,7 @@
171 171 v-model:limit="queryParams.pageSize"
172 172 @pagination="getList"
173 173 />
174   - </content-wrap>
  174 + </ContentWrap>
175 175  
176 176 <!-- 表单弹窗:添加/修改 -->
177 177 <${simpleClassName}Form ref="formRef" @success="getList" />
... ...
yudao-ui-admin/src/views/system/sms/smsChannel.vue renamed to yudao-ui-admin/src/views/system/sms/channel/index.vue
yudao-ui-admin/src/views/system/sms/smsLog.vue renamed to yudao-ui-admin/src/views/system/sms/log/index.vue
yudao-ui-admin/src/views/system/sms/smsTemplate.vue renamed to yudao-ui-admin/src/views/system/sms/template/index.vue