mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-19 05:15:08 +08:00
所有菜单的 name 都加上模块的前缀,避免冲突
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<AreaForm ref="formRef" />
|
||||
</template>
|
||||
<script setup lang="tsx" name="Area">
|
||||
<script setup lang="tsx" name="SystemArea">
|
||||
import type { Column } from 'element-plus'
|
||||
import AreaForm from './AreaForm.vue'
|
||||
import * as AreaApi from '@/api/system/area'
|
||||
|
@ -103,7 +103,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<DeptForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts" name="Dept">
|
||||
<script setup lang="ts" name="SystemDept">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import { handleTree } from '@/utils/tree'
|
||||
|
@ -115,7 +115,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<DictDataForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts" name="DictData">
|
||||
<script setup lang="ts" name="SystemDictData">
|
||||
import { getIntDictOptions, DICT_TYPE } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
|
@ -132,7 +132,7 @@
|
||||
<DictTypeForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="DictType">
|
||||
<script setup lang="ts" name="SystemDictType">
|
||||
import { getIntDictOptions, DICT_TYPE } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as DictTypeApi from '@/api/system/dict/dict.type'
|
||||
|
@ -137,7 +137,7 @@
|
||||
<ErrorCodeForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="ErrorCode">
|
||||
<script setup lang="ts" name="SystemErrorCode">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
|
@ -104,7 +104,7 @@
|
||||
<!-- 表单弹窗:详情 -->
|
||||
<LoginLogDetail ref="detailRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="LoginLog">
|
||||
<script setup lang="ts" name="SystemLoginLog">
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
|
@ -64,7 +64,7 @@
|
||||
<!-- 详情弹窗 -->
|
||||
<MailAccountDetail ref="detailRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="MailAccount">
|
||||
<script setup lang="ts" name="SystemMailAccount">
|
||||
import { allSchemas } from './account.data'
|
||||
import * as MailAccountApi from '@/api/system/mail/account'
|
||||
import MailAccountForm from './MailAccountForm.vue'
|
||||
|
@ -34,7 +34,7 @@
|
||||
<!-- 表单弹窗:详情 -->
|
||||
<mail-log-detail ref="detailRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="MailLog">
|
||||
<script setup lang="ts" name="SystemMailLog">
|
||||
import { allSchemas } from './log.data'
|
||||
import * as MailLogApi from '@/api/system/mail/log'
|
||||
import MailLogDetail from './MailLogDetail.vue'
|
||||
|
@ -65,7 +65,7 @@
|
||||
<!-- 表单弹窗:发送测试 -->
|
||||
<MailTemplateSendForm ref="sendFormRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="MailTemplate">
|
||||
<script setup lang="ts" name="SystemMailTemplate">
|
||||
import { allSchemas } from './template.data'
|
||||
import * as MailTemplateApi from '@/api/system/mail/template'
|
||||
import MailTemplateForm from './MailTemplateForm.vue'
|
||||
|
@ -111,7 +111,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<MenuForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts" name="Menu">
|
||||
<script setup lang="ts" name="SystemMenu">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { handleTree } from '@/utils/tree'
|
||||
import * as MenuApi from '@/api/system/menu'
|
||||
|
@ -102,7 +102,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<NoticeForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="tsx">
|
||||
<script setup lang="tsx" name="SystemNotice">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as NoticeApi from '@/api/system/notice'
|
||||
|
@ -153,7 +153,7 @@
|
||||
<!-- 表单弹窗:详情 -->
|
||||
<NotifyMessageDetail ref="detailRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="NotifyMessage">
|
||||
<script setup lang="ts" name="SystemNotifyMessage">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as NotifyMessageApi from '@/api/system/notify/message'
|
||||
|
@ -115,7 +115,7 @@
|
||||
<MyNotifyMessageDetail ref="detailRef" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="MyNotifyMessage">
|
||||
<script setup lang="ts" name="SystemMyNotify">
|
||||
import { DICT_TYPE, getBoolDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as NotifyMessageApi from '@/api/system/notify/message'
|
||||
|
@ -114,7 +114,7 @@
|
||||
</template>
|
||||
</XModal>
|
||||
</template>
|
||||
<script setup lang="ts" name="NotifyTemplate">
|
||||
<script setup lang="ts" name="SystemNotifyTemplate">
|
||||
import { FormExpose } from '@/components/Form'
|
||||
// 业务相关的 import
|
||||
import { rules, allSchemas } from './template.data'
|
||||
|
@ -119,7 +119,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<ClientForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
<script setup lang="ts" name="SystemOAuth2Client">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as ClientApi from '@/api/system/oauth2/client'
|
||||
|
@ -98,7 +98,7 @@
|
||||
</ContentWrap>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="Oauth2AccessToken">
|
||||
<script setup lang="ts" name="SystemTokenClient">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as OAuth2AccessTokenApi from '@/api/system/oauth2/token'
|
||||
|
@ -135,7 +135,7 @@
|
||||
<!-- 表单弹窗:详情 -->
|
||||
<OperateLogDetail ref="detailRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="OperateLog">
|
||||
<script setup lang="ts" name="SystemOperateLog">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
|
@ -111,13 +111,12 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<PostForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="tsx">
|
||||
<script setup lang="tsx" name="SystemPost">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import * as PostApi from '@/api/system/post'
|
||||
import PostForm from './PostForm.vue'
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
|
@ -152,7 +152,7 @@
|
||||
<!-- 表单弹窗:数据权限 -->
|
||||
<RoleDataPermissionForm ref="dataPermissionFormRef" />
|
||||
</template>
|
||||
<script setup lang="tsx">
|
||||
<script setup lang="tsx" name="SystemRole">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
|
@ -143,7 +143,7 @@
|
||||
<!-- 表单弹窗:测试敏感词 -->
|
||||
<SensitiveWordTestForm ref="testFormRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="SensitiveWord">
|
||||
<script setup lang="ts" name="SystemSensitiveWordhao">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
|
@ -129,7 +129,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<SmsChannelForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts" name="SmsChannel">
|
||||
<script setup lang="ts" name="SystemSmsChannel">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as SmsChannelApi from '@/api/system/sms/smsChannel'
|
||||
|
@ -184,7 +184,7 @@
|
||||
<!-- 表单弹窗:详情 -->
|
||||
<SmsLogDetail ref="detailRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="smsLog">
|
||||
<script setup lang="ts" name="SystemSmsLog">
|
||||
import { DICT_TYPE, getIntDictOptions, getDictLabel } from '@/utils/dict'
|
||||
import { dateFormatter, formatDate } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
|
@ -211,7 +211,7 @@
|
||||
<!-- 表单弹窗:测试发送 -->
|
||||
<SmsTemplateSendForm ref="sendFormRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="SmsTemplate">
|
||||
<script setup lang="ts" name="SystemSmsTemplate">
|
||||
import { DICT_TYPE, getIntDictOptions, getDictLabel } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as SmsTemplateApi from '@/api/system/sms/smsTemplate'
|
||||
|
@ -171,14 +171,13 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<TenantForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts" name="Tenant">
|
||||
<script setup lang="ts" name="SystemTenant">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import * as TenantApi from '@/api/system/tenant'
|
||||
import * as TenantPackageApi from '@/api/system/tenantPackage'
|
||||
import TenantForm from './TenantForm.vue'
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<TenantPackageForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts" name="TenantPackage">
|
||||
<script setup lang="ts" name="SystemTenantPackage">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as TenantPackageApi from '@/api/system/tenantPackage'
|
||||
|
@ -198,7 +198,7 @@
|
||||
<!-- 分配角色 -->
|
||||
<UserAssignRoleForm ref="assignRoleFormRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="ts" name="User">
|
||||
<script setup lang="ts" name="SystemUser">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { checkPermi } from '@/utils/permission'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
|
Reference in New Issue
Block a user