!181 所有菜单的 name 都加上模块的前缀,避免冲突,并且和菜单数据能对上
Merge pull request !181 from clockdotnet/master-vxepull/185/MERGE
						commit
						e4d6b4301b
					
				|  | @ -269,7 +269,8 @@ const filterFormSchema = (crudSchema: VxeCrudSchema): FormSchema[] => { | ||||||
|           defaultValue = 0 |           defaultValue = 0 | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|       let comonentProps = {} |       const componentProps = | ||||||
|  |         schemaItem.form?.componentProps != null ? schemaItem.form?.componentProps : {} | ||||||
|       if (schemaItem.dictType) { |       if (schemaItem.dictType) { | ||||||
|         const options: ComponentOptions[] = [] |         const options: ComponentOptions[] = [] | ||||||
|         if (schemaItem.dictClass && schemaItem.dictClass === 'number') { |         if (schemaItem.dictClass && schemaItem.dictClass === 'number') { | ||||||
|  | @ -285,14 +286,12 @@ const filterFormSchema = (crudSchema: VxeCrudSchema): FormSchema[] => { | ||||||
|             options.push(dict) |             options.push(dict) | ||||||
|           }) |           }) | ||||||
|         } |         } | ||||||
|         comonentProps = { |         componentProps.options = options | ||||||
|           options: options |  | ||||||
|         } |  | ||||||
|         if (!(schemaItem.form && schemaItem.form.component)) component = 'Select' |         if (!(schemaItem.form && schemaItem.form.component)) component = 'Select' | ||||||
|       } |       } | ||||||
|       const formSchemaItem = { |       const formSchemaItem = { | ||||||
|         component: component, |         component: component, | ||||||
|         componentProps: comonentProps, |         componentProps: componentProps, | ||||||
|         value: defaultValue, |         value: defaultValue, | ||||||
|         ...schemaItem.form, |         ...schemaItem.form, | ||||||
|         field: schemaItem.field, |         field: schemaItem.field, | ||||||
|  |  | ||||||
|  | @ -116,7 +116,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: 'type/data/:dictType', |         path: 'type/data/:dictType', | ||||||
|         component: () => import('@/views/system/dict/index.vue'), |         component: () => import('@/views/system/dict/index.vue'), | ||||||
|         name: 'data', |         name: 'SystemDictData', | ||||||
|         meta: { |         meta: { | ||||||
|           title: '字典数据', |           title: '字典数据', | ||||||
|           noCache: true, |           noCache: true, | ||||||
|  | @ -140,7 +140,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: 'edit', |         path: 'edit', | ||||||
|         component: () => import('@/views/infra/codegen/EditTable.vue'), |         component: () => import('@/views/infra/codegen/EditTable.vue'), | ||||||
|         name: 'EditTable', |         name: 'InfraCodegenEditTable', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  | @ -163,7 +163,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: 'job-log', |         path: 'job-log', | ||||||
|         component: () => import('@/views/infra/job/JobLog.vue'), |         component: () => import('@/views/infra/job/JobLog.vue'), | ||||||
|         name: 'JobLog', |         name: 'InfraJobLog', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  | @ -236,7 +236,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: '/manager/form/edit', |         path: '/manager/form/edit', | ||||||
|         component: () => import('@/views/bpm/form/formEditor.vue'), |         component: () => import('@/views/bpm/form/formEditor.vue'), | ||||||
|         name: 'bpmFormEditor', |         name: 'BpmFormEditor', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  | @ -248,7 +248,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: '/manager/model/edit', |         path: '/manager/model/edit', | ||||||
|         component: () => import('@/views/bpm/model/modelEditor.vue'), |         component: () => import('@/views/bpm/model/modelEditor.vue'), | ||||||
|         name: 'modelEditor', |         name: 'BpmModelEditor', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  | @ -260,7 +260,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: '/manager/definition', |         path: '/manager/definition', | ||||||
|         component: () => import('@/views/bpm/definition/index.vue'), |         component: () => import('@/views/bpm/definition/index.vue'), | ||||||
|         name: 'BpmProcessDefinitionList', |         name: 'BpmProcessDefinition', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  | @ -272,7 +272,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: '/manager/task-assign-rule', |         path: '/manager/task-assign-rule', | ||||||
|         component: () => import('@/views/bpm/taskAssignRule/index.vue'), |         component: () => import('@/views/bpm/taskAssignRule/index.vue'), | ||||||
|         name: 'BpmTaskAssignRuleList', |         name: 'BpmTaskAssignRule', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  | @ -307,31 +307,19 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: '/bpm/oa/leave/create', |         path: '/bpm/oa/leave/create', | ||||||
|         component: () => import('@/views/bpm/oa/leave/create.vue'), |         component: () => import('@/views/bpm/oa/leave/create.vue'), | ||||||
|         name: 'OALeaveCreate', |         name: 'BpmOALeaveCreate', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|           canTo: true, |           canTo: true, | ||||||
|           title: '发起 OA 请假', |           title: '发起 OA 请假', | ||||||
|           activeMenu: '/bpm/oa/leave' |           activeMenu: '/bpm/oa/leave/create' | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         path: '/bpm/oa/leave/detail', |         path: '/bpm/oa/leave/detail', | ||||||
|         component: () => import('@/views/bpm/oa/leave/detail.vue'), |         component: () => import('@/views/bpm/oa/leave/detail.vue'), | ||||||
|         name: 'OALeaveDetail', |         name: 'BpmOALeaveDetail', | ||||||
|         meta: { |  | ||||||
|           noCache: true, |  | ||||||
|           hidden: true, |  | ||||||
|           canTo: true, |  | ||||||
|           title: '查看 OA 请假', |  | ||||||
|           activeMenu: '/bpm/oa/leave' |  | ||||||
|         } |  | ||||||
|       }, |  | ||||||
|       { |  | ||||||
|         path: '/bpm/oa/leave/detail', |  | ||||||
|         component: () => import('@/views/bpm/oa/leave/detail.vue'), |  | ||||||
|         name: 'OALeaveDetail', |  | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  | @ -345,7 +333,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|   { |   { | ||||||
|     path: '/property', |     path: '/property', | ||||||
|     component: Layout, |     component: Layout, | ||||||
|     name: 'property', |     name: 'ProductProperty', | ||||||
|     meta: { |     meta: { | ||||||
|       hidden: true |       hidden: true | ||||||
|     }, |     }, | ||||||
|  | @ -353,7 +341,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: 'value/:propertyId(\\d+)', |         path: 'value/:propertyId(\\d+)', | ||||||
|         component: () => import('@/views/mall/product/property/value/index.vue'), |         component: () => import('@/views/mall/product/property/value/index.vue'), | ||||||
|         name: 'PropertyValue', |         name: 'ProductPropertyValue', | ||||||
|         meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' } |         meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' } | ||||||
|       } |       } | ||||||
|     ] |     ] | ||||||
|  | @ -382,7 +370,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ | ||||||
|       { |       { | ||||||
|         path: 'productSpuEdit/:spuId(\\d+)', |         path: 'productSpuEdit/:spuId(\\d+)', | ||||||
|         component: () => import('@/views/mall/product/spu/addForm.vue'), |         component: () => import('@/views/mall/product/spu/addForm.vue'), | ||||||
|         name: 'productSpuEdit', |         name: 'ProductSpuEdit', | ||||||
|         meta: { |         meta: { | ||||||
|           noCache: true, |           noCache: true, | ||||||
|           hidden: true, |           hidden: true, | ||||||
|  |  | ||||||
|  | @ -59,7 +59,7 @@ | ||||||
|     </XModal> |     </XModal> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmProcessDefinition"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as DefinitionApi from '@/api/bpm/definition' | import * as DefinitionApi from '@/api/bpm/definition' | ||||||
| // import * as ModelApi from '@/api/bpm/model' | // import * as ModelApi from '@/api/bpm/model' | ||||||
|  | @ -123,7 +123,7 @@ const handleBpmnDetail = (row) => { | ||||||
| // 点击任务分配按钮 | // 点击任务分配按钮 | ||||||
| const handleAssignRule = (row) => { | const handleAssignRule = (row) => { | ||||||
|   router.push({ |   router.push({ | ||||||
|     name: 'BpmTaskAssignRuleList', |     name: 'BpmTaskAssignRule', | ||||||
|     query: { |     query: { | ||||||
|       processDefinitionId: row.id |       processDefinitionId: row.id | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | @ -63,14 +63,14 @@ const [registerTable, { deleteData }] = useXTable({ | ||||||
| // 新增操作 | // 新增操作 | ||||||
| const handleCreate = () => { | const handleCreate = () => { | ||||||
|   push({ |   push({ | ||||||
|     name: 'bpmFormEditor' |     name: 'BpmFormEditor' | ||||||
|   }) |   }) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // 修改操作 | // 修改操作 | ||||||
| const handleUpdate = async (rowId: number) => { | const handleUpdate = async (rowId: number) => { | ||||||
|   await push({ |   await push({ | ||||||
|     name: 'bpmFormEditor', |     name: 'BpmFormEditor', | ||||||
|     query: { |     query: { | ||||||
|       id: rowId |       id: rowId | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | @ -41,7 +41,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </Dialog> |   </Dialog> | ||||||
| </template> | </template> | ||||||
| <script lang="ts" name="UserGroupForm" setup> | <script lang="ts" name="BpmUserGroupForm" setup> | ||||||
| import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' | import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' | ||||||
| import { CommonStatusEnum } from '@/utils/constants' | import { CommonStatusEnum } from '@/utils/constants' | ||||||
| import * as UserGroupApi from '@/api/bpm/userGroup' | import * as UserGroupApi from '@/api/bpm/userGroup' | ||||||
|  |  | ||||||
|  | @ -85,7 +85,7 @@ | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmUserGroup"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as UserGroupApi from '@/api/bpm/userGroup' | import * as UserGroupApi from '@/api/bpm/userGroup' | ||||||
| import { getListSimpleUsersApi, UserVO } from '@/api/system/user' | import { getListSimpleUsersApi, UserVO } from '@/api/system/user' | ||||||
|  |  | ||||||
|  | @ -316,7 +316,7 @@ | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmModel"> | ||||||
| // 全局相关的 import | // 全局相关的 import | ||||||
| import { DICT_TYPE, getDictOptions } from '@/utils/dict' | import { DICT_TYPE, getDictOptions } from '@/utils/dict' | ||||||
| import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package' | import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package' | ||||||
|  | @ -349,7 +349,7 @@ const forms = ref() // 流程表单的下拉框的数据 | ||||||
| const handleDesign = (row) => { | const handleDesign = (row) => { | ||||||
|   console.log(row, '设计流程') |   console.log(row, '设计流程') | ||||||
|   router.push({ |   router.push({ | ||||||
|     name: 'modelEditor', |     name: 'BpmModelEditor', | ||||||
|     query: { |     query: { | ||||||
|       modelId: row.id |       modelId: row.id | ||||||
|     } |     } | ||||||
|  | @ -359,7 +359,7 @@ const handleDesign = (row) => { | ||||||
| // 跳转到指定流程定义列表 | // 跳转到指定流程定义列表 | ||||||
| const handleDefinitionList = (row) => { | const handleDefinitionList = (row) => { | ||||||
|   router.push({ |   router.push({ | ||||||
|     name: 'BpmProcessDefinitionList', |     name: 'BpmProcessDefinition', | ||||||
|     query: { |     query: { | ||||||
|       key: row.key |       key: row.key | ||||||
|     } |     } | ||||||
|  | @ -402,7 +402,7 @@ const handleBpmnDetail = (row) => { | ||||||
| // 点击任务分配按钮 | // 点击任务分配按钮 | ||||||
| const handleAssignRule = (row) => { | const handleAssignRule = (row) => { | ||||||
|   router.push({ |   router.push({ | ||||||
|     name: 'BpmTaskAssignRuleList', |     name: 'BpmTaskAssignRule', | ||||||
|     query: { |     query: { | ||||||
|       modelId: row.id |       modelId: row.id | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | @ -26,7 +26,7 @@ | ||||||
|   </div> |   </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmModelEditor"> | ||||||
| import { MyProcessDesigner, MyProcessPenal } from '@/components/bpmnProcessDesigner/package' | import { MyProcessDesigner, MyProcessPenal } from '@/components/bpmnProcessDesigner/package' | ||||||
| // import { translations } from '@/components/bpmnProcessDesigner/src/translations' | // import { translations } from '@/components/bpmnProcessDesigner/src/translations' | ||||||
| // 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务) | // 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务) | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
|     /> |     /> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmOALeaveCreate"> | ||||||
| import { FormExpose } from '@/components/Form' | import { FormExpose } from '@/components/Form' | ||||||
| // import XEUtils from 'xe-utils' | // import XEUtils from 'xe-utils' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmOALeaveDetail"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as LeaveApi from '@/api/bpm/leave' | import * as LeaveApi from '@/api/bpm/leave' | ||||||
| import { allSchemas } from '@/views/bpm/oa/leave/leave.data' | import { allSchemas } from '@/views/bpm/oa/leave/leave.data' | ||||||
|  |  | ||||||
|  | @ -23,7 +23,7 @@ | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmOALeave"> | ||||||
| // 全局相关的 import | // 全局相关的 import | ||||||
| import { ElMessageBox } from 'element-plus' | import { ElMessageBox } from 'element-plus' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
|  | @ -43,7 +43,7 @@ const [registerTable, { reload }] = useXTable({ | ||||||
| // 发起请假 | // 发起请假 | ||||||
| const handleCreate = () => { | const handleCreate = () => { | ||||||
|   push({ |   push({ | ||||||
|     name: 'OALeaveCreate' |     name: 'BpmOALeaveCreate' | ||||||
|   }) |   }) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -64,7 +64,7 @@ const cancelLeave = (row) => { | ||||||
| // 详情 | // 详情 | ||||||
| const handleDetail = (row) => { | const handleDetail = (row) => { | ||||||
|   push({ |   push({ | ||||||
|     name: 'OALeaveDetail', |     name: 'BpmOALeaveDetail', | ||||||
|     query: { |     query: { | ||||||
|       id: row.id |       id: row.id | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | @ -53,7 +53,7 @@ | ||||||
|     </div> |     </div> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmProcessInstanceCreate"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { allSchemas } from './process.create' | import { allSchemas } from './process.create' | ||||||
| import * as DefinitionApi from '@/api/bpm/definition' | import * as DefinitionApi from '@/api/bpm/definition' | ||||||
|  |  | ||||||
|  | @ -191,7 +191,7 @@ | ||||||
|     </XModal> |     </XModal> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmProcessInstanceDetail"> | ||||||
| import dayjs from 'dayjs' | import dayjs from 'dayjs' | ||||||
| import * as UserApi from '@/api/system/user' | import * as UserApi from '@/api/system/user' | ||||||
| import * as ProcessInstanceApi from '@/api/bpm/processInstance' | import * as ProcessInstanceApi from '@/api/bpm/processInstance' | ||||||
|  |  | ||||||
|  | @ -41,7 +41,7 @@ | ||||||
|     </XTable> |     </XTable> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmProcessInstance"> | ||||||
| // 全局相关的 import | // 全局相关的 import | ||||||
| import { ElMessageBox } from 'element-plus' | import { ElMessageBox } from 'element-plus' | ||||||
| import { DICT_TYPE } from '@/utils/dict' | import { DICT_TYPE } from '@/utils/dict' | ||||||
|  |  | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
|     </XTable> |     </XTable> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmDoneTask"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { allSchemas } from './done.data' | import { allSchemas } from './done.data' | ||||||
| import * as TaskApi from '@/api/bpm/task' | import * as TaskApi from '@/api/bpm/task' | ||||||
|  |  | ||||||
|  | @ -13,7 +13,7 @@ | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="BpmTodoTask"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { allSchemas } from './todo.data' | import { allSchemas } from './todo.data' | ||||||
| import * as TaskApi from '@/api/bpm/task' | import * as TaskApi from '@/api/bpm/task' | ||||||
|  |  | ||||||
|  | @ -133,7 +133,7 @@ | ||||||
|     </XModal> |     </XModal> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="TaskAssignRule"> | <script setup lang="ts" name="BpmTaskAssignRule"> | ||||||
| // 全局相关的 import | // 全局相关的 import | ||||||
| import { FormInstance } from 'element-plus' | import { FormInstance } from 'element-plus' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
|  |  | ||||||
|  | @ -35,7 +35,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="ApiAccessLog"> | <script setup lang="ts" name="InfraApiAccessLog"> | ||||||
| import { allSchemas } from './apiAccessLog.data' | import { allSchemas } from './apiAccessLog.data' | ||||||
| import * as ApiAccessLogApi from '@/api/infra/apiAccessLog' | import * as ApiAccessLogApi from '@/api/infra/apiAccessLog' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -51,7 +51,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="ApiErrorLog"> | <script setup lang="ts" name="InfraApiErrorLog"> | ||||||
| import { allSchemas } from './apiErrorLog.data' | import { allSchemas } from './apiErrorLog.data' | ||||||
| import * as ApiErrorLogApi from '@/api/infra/apiErrorLog' | import * as ApiErrorLogApi from '@/api/infra/apiErrorLog' | ||||||
| import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants' | import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants' | ||||||
|  |  | ||||||
|  | @ -29,7 +29,7 @@ | ||||||
|     </div> |     </div> | ||||||
|   </Dialog> |   </Dialog> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Build"> | <script setup lang="ts" name="InfraBuild"> | ||||||
| import FcDesigner from '@form-create/designer' | import FcDesigner from '@form-create/designer' | ||||||
| // import { useClipboard } from '@vueuse/core' | // import { useClipboard } from '@vueuse/core' | ||||||
| import { isString } from '@/utils/is' | import { isString } from '@/utils/is' | ||||||
|  |  | ||||||
|  | @ -56,7 +56,7 @@ | ||||||
|   <!-- 弹窗:预览代码 --> |   <!-- 弹窗:预览代码 --> | ||||||
|   <Preview ref="previewRef" /> |   <Preview ref="previewRef" /> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Codegen"> | <script setup lang="ts" name="InfraCodegen"> | ||||||
| import download from '@/utils/download' | import download from '@/utils/download' | ||||||
| import * as CodegenApi from '@/api/infra/codegen' | import * as CodegenApi from '@/api/infra/codegen' | ||||||
| import { CodegenTableVO } from '@/api/infra/codegen/types' | import { CodegenTableVO } from '@/api/infra/codegen/types' | ||||||
|  |  | ||||||
|  | @ -82,7 +82,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Config"> | <script setup lang="ts" name="InfraConfig"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as ConfigApi from '@/api/infra/config' | import * as ConfigApi from '@/api/infra/config' | ||||||
|  |  | ||||||
|  | @ -65,7 +65,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="DataSourceConfig"> | <script setup lang="ts" name="InfraDataSourceConfig"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig' | import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig' | ||||||
|  |  | ||||||
|  | @ -14,7 +14,7 @@ | ||||||
|     <IFrame v-if="!loading" v-loading="loading" :src="src" /> |     <IFrame v-if="!loading" v-loading="loading" :src="src" /> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="DbDoc"> | <script setup lang="ts" name="InfraDBDoc"> | ||||||
| import download from '@/utils/download' | import download from '@/utils/download' | ||||||
| import * as DbDocApi from '@/api/infra/dbDoc' | import * as DbDocApi from '@/api/infra/dbDoc' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
|     <IFrame v-if="!loading" :src="url" /> |     <IFrame v-if="!loading" :src="url" /> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Druid"> | <script setup lang="ts" name="InfraDruid"> | ||||||
| import * as ConfigApi from '@/api/infra/config' | import * as ConfigApi from '@/api/infra/config' | ||||||
| 
 | 
 | ||||||
| const loading = ref(true) // 是否加载中 | const loading = ref(true) // 是否加载中 | ||||||
|  |  | ||||||
|  | @ -78,7 +78,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="FileList"> | <script setup lang="ts" name="InfraFile"> | ||||||
| import type { UploadInstance, UploadRawFile, UploadProps, UploadFile } from 'element-plus' | import type { UploadInstance, UploadRawFile, UploadProps, UploadFile } from 'element-plus' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { allSchemas } from './fileList.data' | import { allSchemas } from './fileList.data' | ||||||
|  |  | ||||||
|  | @ -157,7 +157,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="FileConfig"> | <script setup lang="ts" name="InfraFileConfig"> | ||||||
| import type { FormInstance } from 'element-plus' | import type { FormInstance } from 'element-plus' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as FileConfigApi from '@/api/infra/fileConfig' | import * as FileConfigApi from '@/api/infra/fileConfig' | ||||||
|  |  | ||||||
|  | @ -47,7 +47,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="JobLog"> | <script setup lang="ts" name="InfraJobLog"> | ||||||
| import dayjs from 'dayjs' | import dayjs from 'dayjs' | ||||||
| 
 | 
 | ||||||
| import * as JobLogApi from '@/api/infra/jobLog' | import * as JobLogApi from '@/api/infra/jobLog' | ||||||
|  |  | ||||||
|  | @ -128,7 +128,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Job"> | <script setup lang="ts" name="InfraJob"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import * as JobApi from '@/api/infra/job' | import * as JobApi from '@/api/infra/job' | ||||||
| import { rules, allSchemas } from './job.data' | import { rules, allSchemas } from './job.data' | ||||||
|  |  | ||||||
|  | @ -127,7 +127,7 @@ | ||||||
|     </el-row> |     </el-row> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts"> | <script setup lang="ts" name="InfraRedis"> | ||||||
| import * as RedisApi from '@/api/infra/redis' | import * as RedisApi from '@/api/infra/redis' | ||||||
| import { RedisKeyInfo, RedisMonitorInfoVO } from '@/api/infra/redis/types' | import { RedisKeyInfo, RedisMonitorInfoVO } from '@/api/infra/redis/types' | ||||||
| import { DICT_TYPE } from '@/utils/dict' | import { DICT_TYPE } from '@/utils/dict' | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
|     <IFrame v-if="!loading" v-loading="loading" :src="src" /> |     <IFrame v-if="!loading" v-loading="loading" :src="src" /> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="AdminServer"> | <script setup lang="ts" name="InfraAdminServer"> | ||||||
| import * as ConfigApi from '@/api/infra/config' | import * as ConfigApi from '@/api/infra/config' | ||||||
| 
 | 
 | ||||||
| const loading = ref(true) // 是否加载中 | const loading = ref(true) // 是否加载中 | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
|     <IFrame v-if="!loading" v-loading="loading" :src="src" /> |     <IFrame v-if="!loading" v-loading="loading" :src="src" /> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Skywalking"> | <script setup lang="ts" name="InfraSkyWalking"> | ||||||
| import * as ConfigApi from '@/api/infra/config' | import * as ConfigApi from '@/api/infra/config' | ||||||
| 
 | 
 | ||||||
| const loading = ref(true) // 是否加载中 | const loading = ref(true) // 是否加载中 | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
|     <IFrame :src="src" /> |     <IFrame :src="src" /> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Swagger"> | <script setup lang="ts" name="InfraSwagger"> | ||||||
| import * as ConfigApi from '@/api/infra/config' | import * as ConfigApi from '@/api/infra/config' | ||||||
| 
 | 
 | ||||||
| const loading = ref(true) // 是否加载中 | const loading = ref(true) // 是否加载中 | ||||||
|  |  | ||||||
|  | @ -55,7 +55,7 @@ | ||||||
|     </el-card> |     </el-card> | ||||||
|   </div> |   </div> | ||||||
| </template> | </template> | ||||||
| <script lang="ts" name="InfraWebSocket" setup> | <script lang="ts" name="WebSocket" setup> | ||||||
| import { formatDate } from '@/utils/formatTime' | import { formatDate } from '@/utils/formatTime' | ||||||
| import { useUserStore } from '@/store/modules/user' | import { useUserStore } from '@/store/modules/user' | ||||||
| import { useWebSocket } from '@vueuse/core' | import { useWebSocket } from '@vueuse/core' | ||||||
|  |  | ||||||
|  | @ -88,7 +88,7 @@ | ||||||
|   <!-- 表单弹窗:添加/修改 --> |   <!-- 表单弹窗:添加/修改 --> | ||||||
|   <ValueForm ref="formRef" @success="getList" /> |   <ValueForm ref="formRef" @success="getList" /> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Config"> | <script setup lang="ts" name="ProductProperty"> | ||||||
| import { dateFormatter } from '@/utils/formatTime' | import { dateFormatter } from '@/utils/formatTime' | ||||||
| import * as PropertyApi from '@/api/mall/product/property' | import * as PropertyApi from '@/api/mall/product/property' | ||||||
| import ValueForm from './ValueForm.vue' | import ValueForm from './ValueForm.vue' | ||||||
|  |  | ||||||
|  | @ -75,7 +75,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="App"> | <script setup lang="ts" name="PayApp"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import { rules, allSchemas } from './app.data' | import { rules, allSchemas } from './app.data' | ||||||
| import * as AppApi from '@/api/pay/app' | import * as AppApi from '@/api/pay/app' | ||||||
|  |  | ||||||
|  | @ -74,7 +74,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Merchant"> | <script setup lang="ts" name="PayMerchant"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import { rules, allSchemas } from './merchant.data' | import { rules, allSchemas } from './merchant.data' | ||||||
| import * as MerchantApi from '@/api/pay/merchant' | import * as MerchantApi from '@/api/pay/merchant' | ||||||
|  |  | ||||||
|  | @ -64,7 +64,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Order"> | <script setup lang="ts" name="PayOrder"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import { rules, allSchemas } from './order.data' | import { rules, allSchemas } from './order.data' | ||||||
| import * as OrderApi from '@/api/pay/order' | import * as OrderApi from '@/api/pay/order' | ||||||
|  |  | ||||||
|  | @ -33,7 +33,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Refund"> | <script setup lang="ts" name="PayRefund"> | ||||||
| import { allSchemas } from './refund.data' | import { allSchemas } from './refund.data' | ||||||
| import * as RefundApi from '@/api/pay/refund' | import * as RefundApi from '@/api/pay/refund' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -37,7 +37,7 @@ | ||||||
|   </div> |   </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script lang="ts" setup name="Area"> | <script lang="ts" setup name="SystemArea"> | ||||||
| import * as areaApi from '@/api/system/area' | import * as areaApi from '@/api/system/area' | ||||||
| import type { FormInstance } from 'element-plus' | import type { FormInstance } from 'element-plus' | ||||||
| // import { allSchemas } from './area.data' | // import { allSchemas } from './area.data' | ||||||
|  |  | ||||||
|  | @ -74,7 +74,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Dept"> | <script setup lang="ts" name="SystemDept"> | ||||||
| import { handleTree, defaultProps } from '@/utils/tree' | import { handleTree, defaultProps } from '@/utils/tree' | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import { allSchemas, rules } from './dept.data' | import { allSchemas, rules } from './dept.data' | ||||||
|  |  | ||||||
|  | @ -121,7 +121,7 @@ | ||||||
|     </XModal> |     </XModal> | ||||||
|   </div> |   </div> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Dict"> | <script setup lang="ts" name="SystemDictType"> | ||||||
| import { VxeTableEvents } from 'vxe-table' | import { VxeTableEvents } from 'vxe-table' | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import * as DictTypeSchemas from './dict.type' | import * as DictTypeSchemas from './dict.type' | ||||||
|  |  | ||||||
|  | @ -66,7 +66,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="ErrorCode"> | <script setup lang="ts" name="SystemErrorCode"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { rules, allSchemas } from './errorCode.data' | import { rules, allSchemas } from './errorCode.data' | ||||||
|  |  | ||||||
|  | @ -27,7 +27,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Loginlog"> | <script setup lang="ts" name="SystemLoginLog"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { allSchemas } from './loginLog.data' | import { allSchemas } from './loginLog.data' | ||||||
| import { getLoginLogPageApi, exportLoginLogApi, LoginLogVO } from '@/api/system/loginLog' | import { getLoginLogPageApi, exportLoginLogApi, LoginLogVO } from '@/api/system/loginLog' | ||||||
|  |  | ||||||
|  | @ -66,7 +66,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="MailAccount"> | <script setup lang="ts" name="SystemMailAccount"> | ||||||
| import { FormExpose } from '@/components/Form' | import { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { rules, allSchemas } from './account.data' | import { rules, allSchemas } from './account.data' | ||||||
|  |  | ||||||
|  | @ -44,7 +44,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="MailLog"> | <script setup lang="ts" name="SystemMailLog"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { DICT_TYPE } from '@/utils/dict' | import { DICT_TYPE } from '@/utils/dict' | ||||||
| import { allSchemas } from './log.data' | import { allSchemas } from './log.data' | ||||||
|  |  | ||||||
|  | @ -138,7 +138,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="MailTemplate"> | <script setup lang="ts" name="SystemMailTemplate"> | ||||||
| import { FormExpose } from '@/components/Form' | import { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { rules, allSchemas } from './template.data' | import { rules, allSchemas } from './template.data' | ||||||
|  |  | ||||||
|  | @ -200,7 +200,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Menu"> | <script setup lang="ts" name="SystemMenu"> | ||||||
| import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | ||||||
| import { FormInstance } from 'element-plus' | import { FormInstance } from 'element-plus' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
|  |  | ||||||
|  | @ -70,7 +70,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Notice"> | <script setup lang="ts" name="SystemNotice"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as NoticeApi from '@/api/system/notice' | import * as NoticeApi from '@/api/system/notice' | ||||||
|  |  | ||||||
|  | @ -27,7 +27,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="NotifyMessage"> | <script setup lang="ts" name="SystemNotifyMessage"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { allSchemas } from './message.data' | import { allSchemas } from './message.data' | ||||||
| import * as NotifyMessageApi from '@/api/system/notify/message' | import * as NotifyMessageApi from '@/api/system/notify/message' | ||||||
|  |  | ||||||
|  | @ -114,7 +114,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="NotifyTemplate"> | <script setup lang="ts" name="SystemNotifyTemplate"> | ||||||
| import { FormExpose } from '@/components/Form' | import { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import { rules, allSchemas } from './template.data' | import { rules, allSchemas } from './template.data' | ||||||
|  |  | ||||||
|  | @ -134,7 +134,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Client"> | <script setup lang="ts" name="SystemOAuth2Client"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as ClientApi from '@/api/system/oauth2/client' | import * as ClientApi from '@/api/system/oauth2/client' | ||||||
|  |  | ||||||
|  | @ -24,7 +24,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Token"> | <script setup lang="ts" name="SystemTokenClient"> | ||||||
| import { allSchemas } from './token.data' | import { allSchemas } from './token.data' | ||||||
| import * as TokenApi from '@/api/system/oauth2/token' | import * as TokenApi from '@/api/system/oauth2/token' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -41,7 +41,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="OperateLog"> | <script setup lang="ts" name="SystemOperateLog"> | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as OperateLogApi from '@/api/system/operatelog' | import * as OperateLogApi from '@/api/system/operatelog' | ||||||
| import { allSchemas } from './operatelog.data' | import { allSchemas } from './operatelog.data' | ||||||
|  |  | ||||||
|  | @ -75,7 +75,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Post"> | <script setup lang="ts" name="SystemPost"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as PostApi from '@/api/system/post' | import * as PostApi from '@/api/system/post' | ||||||
|  |  | ||||||
|  | @ -157,7 +157,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Role"> | <script setup lang="ts" name="SystemRole"> | ||||||
| import type { ElTree } from 'element-plus' | import type { ElTree } from 'element-plus' | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import { handleTree, defaultProps } from '@/utils/tree' | import { handleTree, defaultProps } from '@/utils/tree' | ||||||
|  |  | ||||||
|  | @ -102,7 +102,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="SensitiveWord"> | <script setup lang="ts" name="SystemSensitiveWord"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import * as SensitiveWordApi from '@/api/system/sensitiveWord' | import * as SensitiveWordApi from '@/api/system/sensitiveWord' | ||||||
| import { rules, allSchemas } from './sensitiveWord.data' | import { rules, allSchemas } from './sensitiveWord.data' | ||||||
|  |  | ||||||
|  | @ -67,7 +67,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="SmsChannel"> | <script setup lang="ts" name="SystemSmsChannel"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as SmsChannelApi from '@/api/system/sms/smsChannel' | import * as SmsChannelApi from '@/api/system/sms/smsChannel' | ||||||
|  |  | ||||||
|  | @ -30,7 +30,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="SmsLog"> | <script setup lang="ts" name="SystemSmsLog"> | ||||||
| import { allSchemas } from './sms.log.data' | import { allSchemas } from './sms.log.data' | ||||||
| import * as SmsLoglApi from '@/api/system/sms/smsLog' | import * as SmsLoglApi from '@/api/system/sms/smsLog' | ||||||
| const { t } = useI18n() // 国际化 | const { t } = useI18n() // 国际化 | ||||||
|  |  | ||||||
|  | @ -108,7 +108,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="SmsTemplate"> | <script setup lang="ts" name="SystemSmsTemplate"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| // 业务相关的 import | // 业务相关的 import | ||||||
| import * as SmsTemplateApi from '@/api/system/sms/smsTemplate' | import * as SmsTemplateApi from '@/api/system/sms/smsTemplate' | ||||||
|  |  | ||||||
|  | @ -85,7 +85,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="Tenant"> | <script setup lang="ts" name="SystemTenant"> | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import * as TenantApi from '@/api/system/tenant' | import * as TenantApi from '@/api/system/tenant' | ||||||
| import { rules, allSchemas, tenantPackageOption } from './tenant.data' | import { rules, allSchemas, tenantPackageOption } from './tenant.data' | ||||||
|  |  | ||||||
|  | @ -64,7 +64,7 @@ | ||||||
|     </XModal> |     </XModal> | ||||||
|   </ContentWrap> |   </ContentWrap> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="TenantPackage"> | <script setup lang="ts" name="SystemTenantPackage"> | ||||||
| import { handleTree, defaultProps } from '@/utils/tree' | import { handleTree, defaultProps } from '@/utils/tree' | ||||||
| import type { FormExpose } from '@/components/Form' | import type { FormExpose } from '@/components/Form' | ||||||
| import type { ElTree } from 'element-plus' | import type { ElTree } from 'element-plus' | ||||||
|  |  | ||||||
|  | @ -262,7 +262,7 @@ | ||||||
|     </template> |     </template> | ||||||
|   </XModal> |   </XModal> | ||||||
| </template> | </template> | ||||||
| <script setup lang="ts" name="User"> | <script setup lang="ts" name="SystemUser"> | ||||||
| import type { ElTree, UploadRawFile, UploadInstance } from 'element-plus' | import type { ElTree, UploadRawFile, UploadInstance } from 'element-plus' | ||||||
| import { handleTree, defaultProps } from '@/utils/tree' | import { handleTree, defaultProps } from '@/utils/tree' | ||||||
| import download from '@/utils/download' | import download from '@/utils/download' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 芋道源码
						芋道源码