mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 15:45:08 +08:00
83
yudao-ui-admin-vue3/src/auto-components.d.ts
vendored
83
yudao-ui-admin-vue3/src/auto-components.d.ts
vendored
@ -1,83 +0,0 @@
|
||||
// generated by unplugin-vue-components
|
||||
// We suggest you to commit this file into source control
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
import '@vue/runtime-core'
|
||||
|
||||
export {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
export interface GlobalComponents {
|
||||
Backtop: typeof import('./components/Backtop/src/Backtop.vue')['default']
|
||||
Breadcrumb: typeof import('./components/Breadcrumb/src/Breadcrumb.vue')['default']
|
||||
Collapse: typeof import('./components/Collapse/src/Collapse.vue')['default']
|
||||
ColorRadioPicker: typeof import('./components/Setting/src/components/ColorRadioPicker.vue')['default']
|
||||
ConfigGlobal: typeof import('./components/ConfigGlobal/src/ConfigGlobal.vue')['default']
|
||||
ContentDetailWrap: typeof import('./components/ContentDetailWrap/src/ContentDetailWrap.vue')['default']
|
||||
ContentWrap: typeof import('./components/ContentWrap/src/ContentWrap.vue')['default']
|
||||
ContextMenu: typeof import('./components/ContextMenu/src/ContextMenu.vue')['default']
|
||||
CountTo: typeof import('./components/CountTo/src/CountTo.vue')['default']
|
||||
Crontab: typeof import('./components/Crontab/src/Crontab.vue')['default']
|
||||
Descriptions: typeof import('./components/Descriptions/src/Descriptions.vue')['default']
|
||||
Dialog: typeof import('./components/Dialog/src/Dialog.vue')['default']
|
||||
DictTag: typeof import('./components/DictTag/src/DictTag.vue')['default']
|
||||
Echart: typeof import('./components/Echart/src/Echart.vue')['default']
|
||||
Editor: typeof import('./components/Editor/src/Editor.vue')['default']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCard: typeof import('element-plus/es')['ElCard']
|
||||
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
||||
ElCol: typeof import('element-plus/es')['ElCol']
|
||||
ElForm: typeof import('element-plus/es')['ElForm']
|
||||
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
|
||||
ElOption: typeof import('element-plus/es')['ElOption']
|
||||
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
||||
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
||||
ElRow: typeof import('element-plus/es')['ElRow']
|
||||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
||||
ElTag: typeof import('element-plus/es')['ElTag']
|
||||
ElTransfer: typeof import('element-plus/es')['ElTransfer']
|
||||
ElTree: typeof import('element-plus/es')['ElTree']
|
||||
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
|
||||
ElUpload: typeof import('element-plus/es')['ElUpload']
|
||||
Error: typeof import('./components/Error/src/Error.vue')['default']
|
||||
Footer: typeof import('./components/Footer/src/Footer.vue')['default']
|
||||
Form: typeof import('./components/Form/src/Form.vue')['default']
|
||||
Highlight: typeof import('./components/Highlight/src/Highlight.vue')['default']
|
||||
Icon: typeof import('./components/Icon/src/Icon.vue')['default']
|
||||
IconSelect: typeof import('./components/Icon/src/IconSelect.vue')['default']
|
||||
IFrame: typeof import('./components/IFrame/src/IFrame.vue')['default']
|
||||
ImageViewer: typeof import('./components/ImageViewer/src/ImageViewer.vue')['default']
|
||||
Infotip: typeof import('./components/Infotip/src/Infotip.vue')['default']
|
||||
InputPassword: typeof import('./components/InputPassword/src/InputPassword.vue')['default']
|
||||
InterfaceDisplay: typeof import('./components/Setting/src/components/InterfaceDisplay.vue')['default']
|
||||
LayoutRadioPicker: typeof import('./components/Setting/src/components/LayoutRadioPicker.vue')['default']
|
||||
LocaleDropdown: typeof import('./components/LocaleDropdown/src/LocaleDropdown.vue')['default']
|
||||
Logo: typeof import('./components/Logo/src/Logo.vue')['default']
|
||||
Menu: typeof import('./components/Menu/src/Menu.vue')['default']
|
||||
Qrcode: typeof import('./components/Qrcode/src/Qrcode.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
Screenfull: typeof import('./components/Screenfull/src/Screenfull.vue')['default']
|
||||
Search: typeof import('./components/Search/src/Search.vue')['default']
|
||||
Setting: typeof import('./components/Setting/src/Setting.vue')['default']
|
||||
SizeDropdown: typeof import('./components/SizeDropdown/src/SizeDropdown.vue')['default']
|
||||
Sticky: typeof import('./components/Sticky/src/Sticky.vue')['default']
|
||||
Table: typeof import('./components/Table/src/Table.vue')['default']
|
||||
TabMenu: typeof import('./components/TabMenu/src/TabMenu.vue')['default']
|
||||
TagsView: typeof import('./components/TagsView/src/TagsView.vue')['default']
|
||||
ThemeSwitch: typeof import('./components/ThemeSwitch/src/ThemeSwitch.vue')['default']
|
||||
Tooltip: typeof import('./components/Tooltip/src/Tooltip.vue')['default']
|
||||
UserInfo: typeof import('./components/UserInfo/src/UserInfo.vue')['default']
|
||||
Verify: typeof import('./components/Verifition/src/Verify.vue')['default']
|
||||
VerifyPoints: typeof import('./components/Verifition/src/Verify/VerifyPoints.vue')['default']
|
||||
VerifySlide: typeof import('./components/Verifition/src/Verify/VerifySlide.vue')['default']
|
||||
XButton: typeof import('./components/XButton/src/XButton.vue')['default']
|
||||
XModal: typeof import('./components/XModal/src/XModal.vue')['default']
|
||||
XTextButton: typeof import('./components/XButton/src/XTextButton.vue')['default']
|
||||
}
|
||||
export interface ComponentCustomProperties {
|
||||
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
|
||||
}
|
||||
}
|
@ -103,10 +103,11 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { ElInput, ElCard, ElTree, ElTreeSelect, ElSelect, ElOption } from 'element-plus'
|
||||
import { handleTree } from '@/utils/tree'
|
||||
import { onMounted, ref, unref, watch } from 'vue'
|
||||
import * as DeptApi from '@/api/system/dept'
|
||||
import { FormExpose } from '@/components/Form'
|
||||
import { Form, FormExpose } from '@/components/Form'
|
||||
import { modelSchema, rules } from './dept.data'
|
||||
import { DeptVO } from '@/api/system/dept/types'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
|
@ -159,9 +159,11 @@ import { ref, unref, onMounted } from 'vue'
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { FormExpose } from '@/components/Form'
|
||||
import { ElInput, ElTag } from 'element-plus'
|
||||
import * as DictTypeSchemas from './dict.type'
|
||||
import * as DictDataSchemas from './dict.data'
|
||||
import { useTable } from '@/hooks/web/useTable'
|
||||
import { ElCard, ElMessage } from 'element-plus'
|
||||
import * as DictTypeApi from '@/api/system/dict/dict.type'
|
||||
import * as DictDataApi from '@/api/system/dict/dict.data'
|
||||
import { DictDataVO, DictTypeVO } from '@/api/system/dict/types'
|
||||
|
@ -247,7 +247,20 @@
|
||||
import { onMounted, reactive, ref } from 'vue'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { FormInstance } from 'element-plus'
|
||||
import {
|
||||
ElRow,
|
||||
ElCol,
|
||||
ElForm,
|
||||
ElFormItem,
|
||||
ElInput,
|
||||
ElInputNumber,
|
||||
ElSelect,
|
||||
ElTreeSelect,
|
||||
ElOption,
|
||||
ElRadioGroup,
|
||||
ElRadioButton,
|
||||
FormInstance
|
||||
} from 'element-plus'
|
||||
import { Tooltip } from '@/components/Tooltip'
|
||||
import { IconSelect } from '@/components/Icon'
|
||||
import { VxeTableInstance } from 'vxe-table'
|
||||
|
@ -143,16 +143,25 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { onMounted, reactive, ref, unref } from 'vue'
|
||||
import { ElTree } from 'element-plus'
|
||||
import {
|
||||
ElForm,
|
||||
ElFormItem,
|
||||
ElSelect,
|
||||
ElOption,
|
||||
ElTree,
|
||||
ElCard,
|
||||
ElSwitch,
|
||||
ElTag
|
||||
} from 'element-plus'
|
||||
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { useVxeGrid } from '@/hooks/web/useVxeGrid'
|
||||
import { FormExpose } from '@/components/Form'
|
||||
import { VxeGridInstance } from 'vxe-table'
|
||||
import { rules, allSchemas } from './role.data'
|
||||
import { handleTree } from '@/utils/tree'
|
||||
import { SystemDataScopeEnum } from '@/utils/constants'
|
||||
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
|
||||
import { rules, allSchemas } from './role.data'
|
||||
import { useVxeGrid } from '@/hooks/web/useVxeGrid'
|
||||
import { VxeGridInstance } from 'vxe-table'
|
||||
import * as RoleApi from '@/api/system/role'
|
||||
import { listSimpleMenusApi } from '@/api/system/menu'
|
||||
import { listSimpleDeptApi } from '@/api/system/dept'
|
||||
@ -161,7 +170,6 @@ import type {
|
||||
PermissionAssignRoleDataScopeReqVO,
|
||||
PermissionAssignRoleMenuReqVO
|
||||
} from '@/api/system/permission/types'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
// 列表相关的变量
|
||||
|
@ -114,7 +114,7 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted, ref, unref } from 'vue'
|
||||
import dayjs from 'dayjs'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { ElMessage, ElTag, ElSelect, ElOption } from 'element-plus'
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { useTable } from '@/hooks/web/useTable'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
@ -122,9 +122,7 @@ import { FormExpose } from '@/components/Form'
|
||||
import type { SensitiveWordVO } from '@/api/system/sensitiveWord/types'
|
||||
import { rules, allSchemas } from './sensitiveWord.data'
|
||||
import * as SensitiveWordApi from '@/api/system/sensitiveWord'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
// ========== 列表相关 ==========
|
||||
const { register, tableObject, methods } = useTable<SensitiveWordVO>({
|
||||
@ -182,10 +180,10 @@ const submitForm = async () => {
|
||||
data.tags = tags.value
|
||||
if (actionType.value === 'create') {
|
||||
await SensitiveWordApi.createSensitiveWordApi(data)
|
||||
message.success(t('common.createSuccess'))
|
||||
ElMessage.success(t('common.createSuccess'))
|
||||
} else {
|
||||
await SensitiveWordApi.updateSensitiveWordApi(data)
|
||||
message.success(t('common.updateSuccess'))
|
||||
ElMessage.success(t('common.updateSuccess'))
|
||||
}
|
||||
// 操作成功,重新加载列表
|
||||
dialogVisible.value = false
|
||||
|
@ -118,6 +118,7 @@ import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { useVxeGrid } from '@/hooks/web/useVxeGrid'
|
||||
import { VxeGridInstance } from 'vxe-table'
|
||||
import { FormExpose } from '@/components/Form'
|
||||
import { ElForm, ElFormItem, ElInput } from 'element-plus'
|
||||
// 业务相关的 import
|
||||
import * as SmsTemplateApi from '@/api/system/sms/smsTemplate'
|
||||
import { rules, allSchemas } from './sms.template.data'
|
||||
|
@ -124,19 +124,17 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, unref, onMounted } from 'vue'
|
||||
import dayjs from 'dayjs'
|
||||
import { ElMessage, ElTag, ElSelect, ElOption } from 'element-plus'
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { useTable } from '@/hooks/web/useTable'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { FormExpose } from '@/components/Form'
|
||||
import type { TenantVO } from '@/api/system/tenant/types'
|
||||
import { rules, allSchemas } from './tenant.data'
|
||||
import * as TenantApi from '@/api/system/tenant'
|
||||
import { getTenantPackageList } from '@/api/system/tenantPackage'
|
||||
import { TenantPackageVO } from '@/api/system/tenantPackage/types'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
// ========== 列表相关 ==========
|
||||
const { register, tableObject, methods } = useTable<TenantVO>({
|
||||
@ -207,11 +205,11 @@ const submitForm = async () => {
|
||||
if (actionType.value === 'create') {
|
||||
data.expireTime = dayjs(data.expireTime).valueOf().toString()
|
||||
await TenantApi.createTenantApi(data)
|
||||
message.success(t('common.createSuccess'))
|
||||
ElMessage.success(t('common.createSuccess'))
|
||||
} else {
|
||||
data.expireTime = dayjs(data.expireTime).valueOf().toString()
|
||||
await TenantApi.updateTenantApi(data)
|
||||
message.success(t('common.updateSuccess'))
|
||||
ElMessage.success(t('common.updateSuccess'))
|
||||
}
|
||||
// 操作成功,重新加载列表
|
||||
dialogVisible.value = false
|
||||
|
@ -94,16 +94,13 @@ import { handleTree } from '@/utils/tree'
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { useTable } from '@/hooks/web/useTable'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { FormExpose } from '@/components/Form'
|
||||
import { TenantPackageVO } from '@/api/system/tenantPackage/types'
|
||||
import { ElMessage, ElCard, ElSwitch, ElTree } from 'element-plus'
|
||||
import { rules, allSchemas } from './tenantPackage.data'
|
||||
import * as TenantPackageApi from '@/api/system/tenantPackage'
|
||||
import { listSimpleMenusApi } from '@/api/system/menu'
|
||||
|
||||
import { ElTree } from 'element-plus'
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const defaultProps = {
|
||||
children: 'children',
|
||||
@ -177,10 +174,10 @@ const submitForm = async () => {
|
||||
data.menuIds = treeRef.value!.getCheckedKeys(false) as string[]
|
||||
if (actionType.value === 'create') {
|
||||
await TenantPackageApi.createTenantPackageTypeApi(data)
|
||||
message.success(t('common.createSuccess'))
|
||||
ElMessage.success(t('common.createSuccess'))
|
||||
} else {
|
||||
await TenantPackageApi.updateTenantPackageTypeApi(data)
|
||||
message.success(t('common.updateSuccess'))
|
||||
ElMessage.success(t('common.updateSuccess'))
|
||||
}
|
||||
// 操作成功,重新加载列表
|
||||
dialogVisible.value = false
|
||||
|
@ -237,6 +237,23 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { nextTick, onMounted, reactive, ref, unref, watch } from 'vue'
|
||||
import {
|
||||
ElTag,
|
||||
ElInput,
|
||||
ElCard,
|
||||
ElTree,
|
||||
ElTreeSelect,
|
||||
ElSelect,
|
||||
ElOption,
|
||||
ElTransfer,
|
||||
ElForm,
|
||||
ElFormItem,
|
||||
ElUpload,
|
||||
ElSwitch,
|
||||
ElCheckbox,
|
||||
UploadInstance,
|
||||
UploadRawFile
|
||||
} from 'element-plus'
|
||||
import { handleTree } from '@/utils/tree'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { FormExpose } from '@/components/Form'
|
||||
@ -255,7 +272,6 @@ import { getAccessToken, getTenantId } from '@/utils/auth'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { VxeGridInstance } from 'vxe-table'
|
||||
import { useVxeGrid } from '@/hooks/web/useVxeGrid'
|
||||
import { ElTree, UploadInstance, UploadRawFile } from 'element-plus'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
Reference in New Issue
Block a user