@@ -14,7 +14,7 @@
@current-change="handleCurrentChange"
/>
</template>
-<script setup lang="ts">
+<script lang="ts" setup>
import { computed } from 'vue'
defineOptions({ name: 'Pagination' })
@@ -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'
import { propTypes } from '@/utils/propTypes'
@@ -50,7 +50,7 @@
import type { UploadProps } from 'element-plus'
import { generateUUID } from '@/utils'
@@ -206,7 +206,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'
@@ -5,7 +5,7 @@
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' })
id: String
@@ -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' })
id: String,
@@ -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'
@@ -1,7 +1,7 @@
<template>
<div></div>
defineOptions({ name: 'Redirect' })
const { currentRoute, replace } = useRouter()
@@ -94,7 +94,7 @@
</Dialog>
import { DICT_TYPE } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
@@ -111,7 +111,7 @@
<UserGroupForm ref="formRef" @success="getList" />
import * as UserGroupApi from '@/api/bpm/userGroup'
@@ -24,7 +24,7 @@
</ContentWrap>
import { MyProcessDesigner, MyProcessPenal } from '@/components/bpmnProcessDesigner/package'
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
import CustomContentPadProvider from '@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
@@ -226,7 +226,7 @@
import { dateFormatter, formatDate } from '@/utils/formatTime'
@@ -42,7 +42,7 @@
</el-form-item>
import * as LeaveApi from '@/api/bpm/leave'
import { useTagsViewStore } from '@/store/modules/tagsView'
@@ -138,7 +138,7 @@
@@ -46,7 +46,7 @@
<ProcessInstanceBpmnViewer :bpmn-xml="bpmnXML as any" />
import * as DefinitionApi from '@/api/bpm/definition'
import * as ProcessInstanceApi from '@/api/bpm/processInstance'
@@ -159,7 +159,7 @@
<!-- 添加/修改弹窗 -->
<TaskAssignRuleForm ref="formRef" @success="getList" />
import * as TaskAssignRuleApi from '@/api/bpm/taskAssignRule'
import * as RoleApi from '@/api/system/role'
@@ -139,7 +139,7 @@
<!-- 表单弹窗:详情 -->
<ApiAccessLogDetail ref="detailRef" />
import download from '@/utils/download'
import { formatDate } from '@/utils/formatTime'
@@ -158,7 +158,7 @@
<ApiErrorLogDetail ref="detailRef" />
@@ -29,7 +29,7 @@
import FcDesigner from '@form-create/designer'
import { useClipboard } from '@vueuse/core'
import { isString } from '@/utils/is'
@@ -137,7 +137,7 @@
<!-- 表单弹窗:添加/修改 -->
<ConfigForm ref="formRef" @success="getList" />
@@ -57,7 +57,7 @@
<DataSourceConfigForm ref="formRef" @success="getList" />
import * as DataSourceConfigApi from '@/api/infra/dataSourceConfig'
import DataSourceConfigForm from './DataSourceConfigForm.vue'
<IFrame v-if="!loading" v-loading="loading" :src="src" />
import * as DbDocApi from '@/api/infra/dbDoc'
<IFrame v-if="!loading" :src="url" />
import * as ConfigApi from '@/api/infra/config'
defineOptions({ name: 'InfraDruid' })
@@ -91,7 +91,7 @@
<FileForm ref="formRef" @success="getList" />
import { fileSizeFormatter } from '@/utils'
import * as FileApi from '@/api/infra/file'
@@ -126,7 +126,7 @@
<FileConfigForm ref="formRef" @success="getList" />
import * as FileConfigApi from '@/api/infra/fileConfig'
import FileConfigForm from './FileConfigForm.vue'
import * as JobApi from '@/api/infra/job'
defineOptions({ name: 'JobForm' })
@@ -147,7 +147,7 @@
<!-- 表单弹窗:查看 -->
<JobDetail ref="detailRef" />
import { checkPermi } from '@/utils/permission'
import JobForm from './JobForm.vue'
@@ -121,7 +121,7 @@
<JobLogDetail ref="detailRef" />
</el-scrollbar>
import * as RedisApi from '@/api/infra/redis'
import { RedisMonitorInfoVO } from '@/api/infra/redis/types'
const cache = ref<RedisMonitorInfoVO>()
defineOptions({ name: 'InfraAdminServer' })
defineOptions({ name: 'InfraSkyWalking' })
<IFrame :src="src" />
defineOptions({ name: 'InfraSwagger' })
@@ -1,4 +1,4 @@
<div>index</div>
-<script setup lang="ts"></script>
+<script lang="ts" setup></script>
import { CommonStatusEnum } from '@/utils/constants'
import * as ProductBrandApi from '@/api/mall/product/brand'
@@ -108,7 +108,7 @@
<BrandForm ref="formRef" @success="getList" />
import * as ProductCategoryApi from '@/api/mall/product/category'
@@ -80,7 +80,7 @@
<CategoryForm ref="formRef" @success="getList" />
import { handleTree } from '@/utils/tree'
@@ -88,7 +88,7 @@
<ValueForm ref="formRef" @success="getList" />
import * as PropertyApi from '@/api/mall/product/property'
import ValueForm from './ValueForm.vue'
import * as DeliveryExpressApi from '@/api/mall/trade/delivery/express'
@@ -99,7 +99,7 @@
<ExpressForm ref="formRef" @success="getList" />
import * as DeliveryExpressTemplateApi from '@/api/mall/trade/delivery/expressTemplate'
import { defaultProps } from '@/utils/tree'
@@ -92,7 +92,7 @@
<ExpressTemplateForm ref="formRef" @success="getList" />
@@ -100,7 +100,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 type { FormInstance } from 'element-plus'
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'
@@ -67,7 +67,7 @@
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
}>()
import Msg from './Msg.vue'
import { User } from '../types'
@@ -30,7 +30,7 @@
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 @@
import { Reply, NewsType } from './types'
@@ -2,7 +2,7 @@
<el-input type="textarea" :rows="5" placeholder="请输入内容" v-model="content" />
modelValue?: string | null
@@ -52,7 +52,7 @@
@@ -59,7 +59,7 @@
</el-tabs>
import { Reply, NewsType, ReplyType, createEmptyReply } from './components/types'
import TabText from './components/TabText.vue'
import TabImage from './components/TabImage.vue'
import 'video.js/dist/video-js.css'
import { VideoPlayer } from '@videojs-player/vue'
@@ -23,7 +23,7 @@
// 因为微信语音是 amr 格式,所以需要用到 amr 解码器:https://www.npmjs.com/package/benz-amr-recorder
import BenzAMRRecorder from 'benz-amr-recorder'
import { getAccessToken } from '@/utils/auth'
import type { UploadFiles, UploadProps, UploadRawFile } from 'element-plus'
@@ -35,7 +35,7 @@
import { Article } from './types'
@@ -125,7 +125,7 @@
</el-container>
import { Editor } from '@/components/Editor'
import { createEditorConfig } from '../editor-config'
import CoverSelect from './CoverSelect.vue'
@@ -61,7 +61,7 @@
import * as MpDraftApi from '@/api/mp/draft'
import * as MpFreePublishApi from '@/api/mp/freePublish'
list: any[]
loading: boolean
@@ -18,7 +18,7 @@
import type { UploadProps, UploadUserFile } from 'element-plus'
import {
HEADERS,
@@ -47,7 +47,7 @@
import type {
FormInstance,
FormRules,
@@ -36,7 +36,7 @@
@@ -112,7 +112,7 @@
import WxReplySelect from '@/views/mp/components/wx-reply'
import { Menu } from './types'
import draggable from 'vuedraggable'
import WxLocation from '@/views/mp/components/wx-location'
@@ -79,7 +79,7 @@
<WxMsg :user-id="messageBox.userId" />
import * as MpMessageApi from '@/api/mp/message'
import WxMsg from '@/views/mp/components/wx-msg'
@@ -73,7 +73,7 @@
import { formatDate, addTime, betweenDay, beginOfDay, endOfDay } from '@/utils/formatTime'
import * as StatisticsApi from '@/api/mp/statistics'
import * as MpAccountApi from '@/api/mp/account'
@@ -82,7 +82,7 @@
<TagForm ref="formRef" @success="getList" />
import * as MpTagApi from '@/api/mp/tag'
import TagForm from './TagForm.vue'
@@ -303,7 +303,7 @@
<AppForm ref="formRef" @success="getList" />
<MerchantForm ref="formRef" @success="getList" />
@@ -228,7 +228,7 @@
<!-- 表单弹窗:预览 -->
<OrderDetail ref="detailRef" @success="getList" />
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
import * as MerchantApi from '@/api/pay/merchant'
@@ -232,7 +232,7 @@
<RefundDetail ref="detailRef" @success="getList" />
@@ -33,7 +33,7 @@
import * as ConfigApi from '@/api/point/config'
const { t } = useI18n() // 国际化
@@ -101,7 +101,7 @@
import { DICT_TYPE, getStrDictOptions, getIntDictOptions } from '@/utils/dict'
import * as RecordApi from '@/api/point/record'
@@ -169,7 +169,7 @@
<RecordForm ref="formRef" @success="getList" />