Commit 824c54088bd9000ce641a697dbe08c48f94a848c
1 parent
9d05b974
perf: add view name
Showing
54 changed files
with
54 additions
and
84 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm
yudao-ui-admin-vue3/plop/view/view.hbs
yudao-ui-admin-vue3/src/views/Home/Index.vue
yudao-ui-admin-vue3/src/views/Login/components/RegisterForm.vue
yudao-ui-admin-vue3/src/views/Profile/Index.vue
| ... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 | </el-card> |
| 31 | 31 | </div> |
| 32 | 32 | </template> |
| 33 | -<script setup lang="ts"> | |
| 33 | +<script setup lang="ts" name="Profile"> | |
| 34 | 34 | import { ref } from 'vue' |
| 35 | 35 | import { useI18n } from '@/hooks/web/useI18n' |
| 36 | 36 | import { ElCard, ElTabs, ElTabPane } from 'element-plus' | ... | ... |
yudao-ui-admin-vue3/src/views/Redirect/Redirect.vue
yudao-ui-admin-vue3/src/views/bpm/form/index.vue
yudao-ui-admin-vue3/src/views/bpm/group/index.vue
yudao-ui-admin-vue3/src/views/bpm/model/index.vue
yudao-ui-admin-vue3/src/views/bpm/oa/index.vue
yudao-ui-admin-vue3/src/views/bpm/processInstance/index.vue
yudao-ui-admin-vue3/src/views/bpm/task/done/index.vue
yudao-ui-admin-vue3/src/views/bpm/task/my/index.vue
yudao-ui-admin-vue3/src/views/bpm/task/todo/index.vue
yudao-ui-admin-vue3/src/views/bpm/taskAssignRule/index.vue
yudao-ui-admin-vue3/src/views/infra/apiAccessLog/index.vue
| ... | ... | @@ -35,8 +35,7 @@ |
| 35 | 35 | </template> |
| 36 | 36 | </XModal> |
| 37 | 37 | </template> |
| 38 | - | |
| 39 | -<script setup lang="ts"> | |
| 38 | +<script setup lang="ts" name="ApiAccessLog"> | |
| 40 | 39 | import { ref } from 'vue' |
| 41 | 40 | import { useI18n } from '@/hooks/web/useI18n' |
| 42 | 41 | import { useVxeGrid } from '@/hooks/web/useVxeGrid' | ... | ... |
yudao-ui-admin-vue3/src/views/infra/apiErrorLog/index.vue
| ... | ... | @@ -51,7 +51,7 @@ |
| 51 | 51 | </template> |
| 52 | 52 | </XModal> |
| 53 | 53 | </template> |
| 54 | -<script setup lang="ts"> | |
| 54 | +<script setup lang="ts" name="ApiErrorLog"> | |
| 55 | 55 | import { ref } from 'vue' |
| 56 | 56 | import { useI18n } from '@/hooks/web/useI18n' |
| 57 | 57 | import { useVxeGrid } from '@/hooks/web/useVxeGrid' | ... | ... |
yudao-ui-admin-vue3/src/views/infra/build/index.vue
yudao-ui-admin-vue3/src/views/infra/codegen/index.vue
| ... | ... | @@ -48,7 +48,7 @@ |
| 48 | 48 | <ImportTable ref="importRef" @ok="handleQuery()" /> |
| 49 | 49 | <Preview ref="previewRef" /> |
| 50 | 50 | </template> |
| 51 | -<script setup lang="ts"> | |
| 51 | +<script setup lang="ts" name="Codegen"> | |
| 52 | 52 | import { ref } from 'vue' |
| 53 | 53 | import { useRouter } from 'vue-router' |
| 54 | 54 | import { VxeGridInstance } from 'vxe-table' | ... | ... |
yudao-ui-admin-vue3/src/views/infra/config/index.vue
yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/index.vue
yudao-ui-admin-vue3/src/views/infra/dbDoc/index.vue
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | <IFrame v-if="!loding" v-loading="loding" :src="src" /> |
| 25 | 25 | </ContentWrap> |
| 26 | 26 | </template> |
| 27 | -<script setup lang="ts"> | |
| 27 | +<script setup lang="ts" name="DbDoc"> | |
| 28 | 28 | import { onMounted, ref } from 'vue' |
| 29 | 29 | import download from '@/utils/download' |
| 30 | 30 | import { useI18n } from '@/hooks/web/useI18n' | ... | ... |
yudao-ui-admin-vue3/src/views/infra/druid/index.vue
yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue
| ... | ... | @@ -46,7 +46,6 @@ |
| 46 | 46 | </template> |
| 47 | 47 | </vxe-grid> |
| 48 | 48 | </ContentWrap> |
| 49 | - | |
| 50 | 49 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 51 | 50 | <!-- 对话框(添加 / 修改) --> |
| 52 | 51 | <Form |
| ... | ... | @@ -76,7 +75,7 @@ |
| 76 | 75 | </template> |
| 77 | 76 | </XModal> |
| 78 | 77 | </template> |
| 79 | -<script setup lang="ts"> | |
| 78 | +<script setup lang="ts" name="FileConfig"> | |
| 80 | 79 | // 全局相关的 import |
| 81 | 80 | import { ref, unref } from 'vue' |
| 82 | 81 | import { useI18n } from '@/hooks/web/useI18n' | ... | ... |
yudao-ui-admin-vue3/src/views/infra/fileList/index.vue
| ... | ... | @@ -26,7 +26,6 @@ |
| 26 | 26 | </template> |
| 27 | 27 | </vxe-grid> |
| 28 | 28 | </ContentWrap> |
| 29 | - | |
| 30 | 29 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 31 | 30 | <!-- 对话框(详情) --> |
| 32 | 31 | <Descriptions :schema="allSchemas.detailSchema" :data="detailData"> |
| ... | ... | @@ -78,7 +77,7 @@ |
| 78 | 77 | </template> |
| 79 | 78 | </XModal> |
| 80 | 79 | </template> |
| 81 | -<script setup lang="ts"> | |
| 80 | +<script setup lang="ts" name="FileList"> | |
| 82 | 81 | import { ref, unref } from 'vue' |
| 83 | 82 | import { useI18n } from '@/hooks/web/useI18n' |
| 84 | 83 | import { useMessage } from '@/hooks/web/useMessage' | ... | ... |
yudao-ui-admin-vue3/src/views/infra/job/JobLog.vue
yudao-ui-admin-vue3/src/views/infra/job/index.vue
| ... | ... | @@ -113,8 +113,7 @@ |
| 113 | 113 | </template> |
| 114 | 114 | </XModal> |
| 115 | 115 | </template> |
| 116 | - | |
| 117 | -<script setup lang="ts"> | |
| 116 | +<script setup lang="ts" name="Job"> | |
| 118 | 117 | import { ref, unref } from 'vue' |
| 119 | 118 | import { useRouter } from 'vue-router' |
| 120 | 119 | import { useI18n } from '@/hooks/web/useI18n' | ... | ... |
yudao-ui-admin-vue3/src/views/infra/redis/index.vue
yudao-ui-admin-vue3/src/views/infra/server/index.vue
yudao-ui-admin-vue3/src/views/infra/skywalking/index.vue
yudao-ui-admin-vue3/src/views/infra/swagger/index.vue
yudao-ui-admin-vue3/src/views/infra/testDemo/index.vue
yudao-ui-admin-vue3/src/views/pay/app/index.vue
yudao-ui-admin-vue3/src/views/pay/merchant/index.vue
yudao-ui-admin-vue3/src/views/pay/order/index.vue
yudao-ui-admin-vue3/src/views/pay/refund/index.vue
yudao-ui-admin-vue3/src/views/system/dict/index.vue
| ... | ... | @@ -117,7 +117,7 @@ |
| 117 | 117 | </XModal> |
| 118 | 118 | </div> |
| 119 | 119 | </template> |
| 120 | -<script setup lang="ts"> | |
| 120 | +<script setup lang="ts" name="Dict"> | |
| 121 | 121 | import { ref, unref, reactive } from 'vue' |
| 122 | 122 | import { useI18n } from '@/hooks/web/useI18n' |
| 123 | 123 | import { useMessage } from '@/hooks/web/useMessage' | ... | ... |
yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
yudao-ui-admin-vue3/src/views/system/menu/index.vue
yudao-ui-admin-vue3/src/views/system/notice/index.vue
yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
| ... | ... | @@ -24,8 +24,7 @@ |
| 24 | 24 | </template> |
| 25 | 25 | </XModal> |
| 26 | 26 | </template> |
| 27 | - | |
| 28 | -<script setup lang="ts"> | |
| 27 | +<script setup lang="ts" name="Token"> | |
| 29 | 28 | import { ref } from 'vue' |
| 30 | 29 | import { useI18n } from '@/hooks/web/useI18n' |
| 31 | 30 | import { useMessage } from '@/hooks/web/useMessage' | ... | ... |
yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
yudao-ui-admin-vue3/src/views/system/post/index.vue
yudao-ui-admin-vue3/src/views/system/role/index.vue
yudao-ui-admin-vue3/src/views/system/sensitiveWord/index.vue
| ... | ... | @@ -89,7 +89,7 @@ |
| 89 | 89 | </template> |
| 90 | 90 | </XModal> |
| 91 | 91 | </template> |
| 92 | -<script setup lang="ts"> | |
| 92 | +<script setup lang="ts" name="SensitiveWord"> | |
| 93 | 93 | import { onMounted, ref, unref } from 'vue' |
| 94 | 94 | import { useI18n } from '@/hooks/web/useI18n' |
| 95 | 95 | import { useMessage } from '@/hooks/web/useMessage' | ... | ... |
yudao-ui-admin-vue3/src/views/system/sms/smsChannel/index.vue
yudao-ui-admin-vue3/src/views/system/sms/smsLog/index.vue
yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue
| ... | ... | @@ -43,7 +43,6 @@ |
| 43 | 43 | </template> |
| 44 | 44 | </vxe-grid> |
| 45 | 45 | </ContentWrap> |
| 46 | - | |
| 47 | 46 | <XModal id="smsTemplate" v-model="dialogVisible" :title="dialogTitle"> |
| 48 | 47 | <!-- 对话框(添加 / 修改) --> |
| 49 | 48 | <Form |
| ... | ... | @@ -109,8 +108,7 @@ |
| 109 | 108 | </template> |
| 110 | 109 | </XModal> |
| 111 | 110 | </template> |
| 112 | - | |
| 113 | -<script setup lang="ts"> | |
| 111 | +<script setup lang="ts" name="SmsTemplate"> | |
| 114 | 112 | // 全局相关的 import |
| 115 | 113 | import { ref, unref } from 'vue' |
| 116 | 114 | import { useI18n } from '@/hooks/web/useI18n' | ... | ... |
yudao-ui-admin-vue3/src/views/system/tenant/index.vue
| ... | ... | @@ -51,7 +51,6 @@ |
| 51 | 51 | </template> |
| 52 | 52 | </vxe-grid> |
| 53 | 53 | </ContentWrap> |
| 54 | - | |
| 55 | 54 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 56 | 55 | <!-- 对话框(添加 / 修改) --> |
| 57 | 56 | <Form |
| ... | ... | @@ -97,7 +96,7 @@ |
| 97 | 96 | </template> |
| 98 | 97 | </XModal> |
| 99 | 98 | </template> |
| 100 | -<script setup lang="ts"> | |
| 99 | +<script setup lang="ts" name="Tenant"> | |
| 101 | 100 | import { ref, unref, onMounted } from 'vue' |
| 102 | 101 | import { useI18n } from '@/hooks/web/useI18n' |
| 103 | 102 | import { useMessage } from '@/hooks/web/useMessage' | ... | ... |
yudao-ui-admin-vue3/src/views/system/tenantPackage/index.vue
| ... | ... | @@ -16,7 +16,6 @@ |
| 16 | 16 | </template> |
| 17 | 17 | </vxe-grid> |
| 18 | 18 | </ContentWrap> |
| 19 | - | |
| 20 | 19 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 21 | 20 | <!-- 对话框(添加 / 修改) --> |
| 22 | 21 | <Form |
| ... | ... | @@ -65,7 +64,7 @@ |
| 65 | 64 | </template> |
| 66 | 65 | </XModal> |
| 67 | 66 | </template> |
| 68 | -<script setup lang="ts"> | |
| 67 | +<script setup lang="ts" name="TenantPackage"> | |
| 69 | 68 | import { onMounted, ref, unref } from 'vue' |
| 70 | 69 | import { handleTree } from '@/utils/tree' |
| 71 | 70 | import { useI18n } from '@/hooks/web/useI18n' | ... | ... |
yudao-ui-admin-vue3/src/views/system/user/index.vue
| ... | ... | @@ -235,7 +235,7 @@ |
| 235 | 235 | </template> |
| 236 | 236 | </XModal> |
| 237 | 237 | </template> |
| 238 | -<script setup lang="ts"> | |
| 238 | +<script setup lang="ts" name="User"> | |
| 239 | 239 | import { nextTick, onMounted, reactive, ref, unref, watch } from 'vue' |
| 240 | 240 | import { |
| 241 | 241 | ElTag, |
| ... | ... | @@ -267,8 +267,8 @@ import { FormExpose } from '@/components/Form' |
| 267 | 267 | import { rules, allSchemas } from './user.data' |
| 268 | 268 | import * as UserApi from '@/api/system/user' |
| 269 | 269 | import { listSimpleDeptApi } from '@/api/system/dept' |
| 270 | -import { listSimplePostsApi, PostVO } from '@/api/system/post' | |
| 271 | 270 | import { listSimpleRolesApi } from '@/api/system/role' |
| 271 | +import { listSimplePostsApi, PostVO } from '@/api/system/post' | |
| 272 | 272 | import { |
| 273 | 273 | aassignUserRoleApi, |
| 274 | 274 | listUserRolesApi, | ... | ... |
yudao-ui-admin-vue3/src/views/visualization/jmreport/index.vue