@@ -1,4 +1,4 @@
-<script setup lang="ts">
+<script lang="ts" setup>
const { label } = defineProps({
label: {
type: String,
@@ -5,7 +5,7 @@
</template>
</el-alert>
-<script setup lang="tsx">
+<script lang="tsx" setup>
import { propTypes } from '@/utils/propTypes'
defineOptions({ name: 'DocAlert' })
@@ -19,7 +19,7 @@
</ElDialog>
const router = useRouter() // 路由对象
const showSearch = ref(false) // 是否显示弹框
const value: Ref = ref('') // 用户输入的值
@@ -32,7 +32,7 @@
</el-upload>
</div>
import { PropType } from 'vue'
@@ -50,7 +50,7 @@
import type { UploadProps } from 'element-plus'
import { generateUUID } from '@/utils'
@@ -57,7 +57,7 @@
-<script setup type="text/babel">
+<script type="text/babel" setup>
/**
* VerifyPoints
* @description 点选
@@ -71,7 +71,7 @@
* VerifySlide
* @description 滑块
defineOptions({ name: 'XModal' })
</VxeGrid>
import { SizeType, VxeGridInstance } from 'vxe-table'
import { useAppStore } from '@/store/modules/app'
@@ -203,7 +203,7 @@
// import 'bpmn-js/dist/assets/diagram-js.css' // 左边工具栏以及编辑节点的样式
// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css'
// import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css'
@@ -6,7 +6,7 @@
import BpmnViewer from 'bpmn-js/lib/Viewer'
import DefaultEmptyXML from './plugins/defaultEmpty'
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { assign } from 'min-dash'
defineOptions({ name: 'MyProcessPalette' })
@@ -62,7 +62,7 @@
</el-collapse>
import ElementBaseInfo from './base/ElementBaseInfo.vue'
import ElementOtherConfig from './other/ElementOtherConfig.vue'
import ElementTask from './task/ElementTask.vue'
@@ -38,7 +38,7 @@
</el-form>
defineOptions({ name: 'ElementBaseInfo' })
const props = defineProps({
defineOptions({ name: 'FlowCondition' })
@@ -222,7 +222,7 @@
defineOptions({ name: 'ElementForm' })
@@ -241,7 +241,7 @@
</el-dialog>
import { ElMessageBox } from 'element-plus'
import { createListenerObject, updateElementExtensions } from '../../utils'
import { initListenerType, initListenerForm, listenerType, fieldType } from './utilSelf'
@@ -287,7 +287,7 @@
import { initListenerForm, initListenerType, eventType, listenerType, fieldType } from './utilSelf'
@@ -66,7 +66,7 @@
defineOptions({ name: 'ElementMultiInstance' })
@@ -16,7 +16,7 @@
defineOptions({ name: 'ElementOtherConfig' })
@@ -53,7 +53,7 @@
defineOptions({ name: 'ElementProperties' })
@@ -45,7 +45,7 @@
defineOptions({ name: 'SignalAndMassage' })
const message = useMessage()
@@ -20,7 +20,7 @@
import UserTask from './task-components/UserTask.vue'
import ScriptTask from './task-components/ScriptTask.vue'
import ReceiveTask from './task-components/ReceiveTask.vue'
@@ -48,7 +48,7 @@
defineOptions({ name: 'ReceiveTask' })
@@ -44,7 +44,7 @@
defineOptions({ name: 'ScriptTask' })
@@ -37,7 +37,7 @@
defineOptions({ name: 'UserTask' })
@@ -160,7 +160,7 @@
</el-col>
</el-row>
import { set } from 'lodash-es'
import { EChartsOption } from 'echarts'
import { formatTime } from '@/utils'
@@ -30,7 +30,7 @@
</el-card>
import { BasicInfo, ProfileUser, ResetPwd, UserSocial } from './components/'
defineOptions({ name: 'Profile' })
@@ -1,7 +1,7 @@
<template>
<div></div>
defineOptions({ name: 'Redirect' })
const { currentRoute, replace } = useRouter()
@@ -59,7 +59,7 @@
</XModal>
</ContentWrap>
// 业务相关的 import
import * as DefinitionApi from '@/api/bpm/definition'
// import * as ModelApi from '@/api/bpm/model'
@@ -52,7 +52,7 @@
import { FormInstance } from 'element-plus'
import { CommonStatusEnum } from '@/utils/constants'
@@ -43,7 +43,7 @@
import * as FormApi from '@/api/bpm/form'
import { allSchemas } from './form.data'
@@ -85,7 +85,7 @@
import * as UserGroupApi from '@/api/bpm/userGroup'
import { getListSimpleUsersApi, UserVO } from '@/api/system/user'
@@ -316,7 +316,7 @@
// 全局相关的 import
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
@@ -26,7 +26,7 @@
import { MyProcessDesigner, MyProcessPenal } from '@/components/bpmnProcessDesigner/package'
// import { translations } from '@/components/bpmnProcessDesigner/src/translations'
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
@@ -11,7 +11,7 @@
/>
import { FormExpose } from '@/components/Form'
// import XEUtils from 'xe-utils'
import * as LeaveApi from '@/api/bpm/leave'
import { allSchemas } from '@/views/bpm/oa/leave/leave.data'
@@ -23,7 +23,7 @@
import { allSchemas } from './process.create'
@@ -191,7 +191,7 @@
import dayjs from 'dayjs'
import * as UserApi from '@/api/system/user'
import * as ProcessInstanceApi from '@/api/bpm/processInstance'
@@ -41,7 +41,7 @@
</XTable>
import { DICT_TYPE } from '@/utils/dict'
@@ -12,7 +12,7 @@
import { allSchemas } from './done.data'
import * as TaskApi from '@/api/bpm/task'
@@ -13,7 +13,7 @@
import { allSchemas } from './todo.data'
@@ -133,7 +133,7 @@
@@ -35,7 +35,7 @@
import { allSchemas } from './apiAccessLog.data'
import * as ApiAccessLogApi from '@/api/infra/apiAccessLog'
@@ -51,7 +51,7 @@
import { allSchemas } from './apiErrorLog.data'
import * as ApiErrorLogApi from '@/api/infra/apiErrorLog'
import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants'
@@ -87,7 +87,7 @@ const makeTemplate = () => {
@submit="onSubmit"
></form-create>
- <script setup lang=ts>
+ <script lang="ts" setup>
import formCreate from "@form-create/element-ui";
const faps = ref(null)
const rule = ref('')
import { VxeTableInstance } from 'vxe-table'
import type { DatabaseTableVO } from '@/api/infra/codegen/types'
import { getSchemaTableListApi, createCodegenListApi } from '@/api/infra/codegen'
@@ -31,7 +31,7 @@
// import { useClipboard } from '@vueuse/core'
import { handleTree2 } from '@/utils/tree'
import { previewCodegenApi } from '@/api/infra/codegen'
@@ -56,7 +56,7 @@
<!-- 弹窗:预览代码 -->
<Preview ref="previewRef" />
import download from '@/utils/download'
import * as CodegenApi from '@/api/infra/codegen'
import { CodegenTableVO } from '@/api/infra/codegen/types'
@@ -82,7 +82,7 @@
import type { FormExpose } from '@/components/Form'
import * as ConfigApi from '@/api/infra/config'
@@ -65,7 +65,7 @@
import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig'
@@ -14,7 +14,7 @@
<IFrame v-if="!loading" v-loading="loading" :src="src" />
import * as DbDocApi from '@/api/infra/dbDoc'
@@ -3,7 +3,7 @@
<IFrame v-if="!loading" :src="url" />
defineOptions({ name: 'InfraDruid' })
@@ -78,7 +78,7 @@
import type { UploadInstance, UploadRawFile, UploadProps, UploadFile } from 'element-plus'
import { allSchemas } from './fileList.data'
@@ -157,7 +157,7 @@
import type { FormInstance } from 'element-plus'
import * as FileConfigApi from '@/api/infra/fileConfig'
@@ -47,7 +47,7 @@
import * as JobLogApi from '@/api/infra/jobLog'
@@ -128,7 +128,7 @@
import * as JobApi from '@/api/infra/job'
import { rules, allSchemas } from './job.data'
@@ -104,7 +104,7 @@
import * as RedisApi from '@/api/infra/redis'
import { RedisKeyInfo, RedisMonitorInfoVO } from '@/api/infra/redis/types'
defineOptions({ name: 'InfraAdminServer' })
defineOptions({ name: 'InfraSkyWalking' })
<IFrame :src="src" />
defineOptions({ name: 'InfraSwagger' })
@@ -1,6 +1,6 @@
<div>index</div>
- defineOptions({ name: 'TestDome' })
+defineOptions({ name: 'TestDome' })
</script>
</Dialog>
import * as ProductBrandApi from '@/api/mall/product/brand'
@@ -108,7 +108,7 @@
<!-- 表单弹窗:添加/修改 -->
<BrandForm ref="formRef" @success="getList" />
import { dateFormatter } from '@/utils/formatTime'
import * as ProductCategoryApi from '@/api/mall/product/category'
@@ -80,7 +80,7 @@
<CategoryForm ref="formRef" @success="getList" />
import { handleTree } from '@/utils/tree'
@@ -54,7 +54,7 @@
<SpuTableSelect ref="spuTableSelectRef" @change="handleSpuChange" />
<SkuTableSelect ref="skuTableSelectRef" @change="handleSkuChange" :spu-id="spuData.id" />
import * as CommentApi from '@/api/mall/product/comment'
import SpuTableSelect from '@/views/mall/product/spu/components/SpuTableSelect.vue'
import * as ProductSpuApi from '@/api/mall/product/spu'
@@ -18,7 +18,7 @@
import { ElInput } from 'element-plus'
@@ -154,7 +154,7 @@
<ReplyForm ref="replyFormRef" @success="getList" />
import CommentForm from './CommentForm.vue'
@@ -88,7 +88,7 @@
<ValueForm ref="formRef" @success="getList" />
import * as PropertyApi from '@/api/mall/product/property'
import ValueForm from './ValueForm.vue'
@@ -105,7 +105,7 @@
import { deleteCoupon, getCouponPage } from '@/api/mall/promotion/coupon/coupon'
import * as DeliveryExpressApi from '@/api/mall/trade/delivery/express'
@@ -99,7 +99,7 @@
<ExpressForm ref="formRef" @success="getList" />
@@ -92,7 +92,7 @@
<ExpressTemplateForm ref="formRef" @success="getList" />
import * as DeliveryExpressTemplateApi from '@/api/mall/trade/delivery/expressTemplate'
@@ -117,7 +117,7 @@
import * as DeliveryPickUpStoreApi from '@/api/mall/trade/delivery/pickUpStore'
import * as GroupApi from '@/api/member/group'
@@ -100,7 +100,7 @@
<GroupForm ref="formRef" @success="getList" />
import * as LevelApi from '@/api/member/level'
@@ -102,7 +102,7 @@
<LevelForm ref="formRef" @success="getList" />
@@ -17,7 +17,7 @@
import * as TagApi from '@/api/member/tag'
const { t } = useI18n() // 国际化
@@ -84,7 +84,7 @@
<TagForm ref="formRef" @success="getList" />
import * as UserApi from '@/api/member/user'
import MemberLevelSelect from '@/views/member/level/components/MemberLevelSelect.vue'
@@ -89,7 +89,7 @@
import * as AreaApi from '@/api/system/area'
</el-descriptions-item>
</el-descriptions>
import { DescriptionsItemLabel } from '@/components/Descriptions'
const { user } = defineProps<{ user: UserApi.UserVO }>()
@@ -68,7 +68,7 @@
import { formatDate } from '@/utils/formatTime'
<UserForm ref="formRef" @success="getUserData(id)" />
import { useTagsViewStore } from '@/store/modules/tagsView'
import UserBasicInfo from './UserBasicInfo.vue'
@@ -156,7 +156,7 @@
<!-- 发送优惠券弹窗 -->
<CouponSendForm ref="couponSendFormRef" />
@@ -98,7 +98,7 @@
<!-- 对话框(添加 / 修改) -->
<AccountForm ref="formRef" @success="getList" />
import * as AccountApi from '@/api/mp/account'
import AccountForm from './AccountForm.vue'
import WxReplySelect, { type Reply } from '@/views/mp/components/wx-reply'
import { MsgType } from './types'
@@ -93,7 +93,7 @@
</el-table-column>
</el-table>
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
import WxMusic from '@/views/mp/components/wx-music'
import ReplyForm from '@/views/mp/autoReply/components/ReplyForm.vue'
import { type Reply, ReplyType } from '@/views/mp/components/wx-reply'
import WxAccountSelect from '@/views/mp/components/wx-account-select'
@@ -39,7 +39,7 @@
defineOptions({ name: 'WxLocation' })
import WxNews from '@/views/mp/components/wx-news'
@@ -40,7 +40,7 @@
const props = defineProps<{
item: any
}>()
@@ -24,7 +24,7 @@
import Msg from './Msg.vue'
import { User } from '../types'
import WxReplySelect, { Reply, ReplyType } from '@/views/mp/components/wx-reply'
import MsgList from './components/MsgList.vue'
import { getMessagePage, sendMessage } from '@/api/mp/message'
@@ -25,7 +25,7 @@
defineOptions({ name: 'WxMusic' })
@@ -55,7 +55,7 @@
import WxMaterialSelect from '@/views/mp/components/wx-material-select'
import { UploadType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
import type { UploadRawFile } from 'element-plus'
@@ -58,7 +58,7 @@