From 7e3f6190a5953cc8a09736ef107b31564d494f94 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 9 Apr 2023 18:49:54 +0800 Subject: [PATCH] =?UTF-8?q?REVIEW=20OA=20=E8=AF=B7=E5=81=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/auto-components.d.ts | 4 ++++ src/views/bpm/oa/leave/create.vue | 10 +++++----- src/views/mp/autoReply/index.vue | 6 ++---- src/views/mp/material/index.vue | 6 ++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index e72d2988..e9e992f1 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -25,6 +25,8 @@ declare module '@vue/runtime-core' { Echart: typeof import('./../components/Echart/src/Echart.vue')['default'] Editor: typeof import('./../components/Editor/src/Editor.vue')['default'] ElAlert: typeof import('element-plus/es')['ElAlert'] + ElAutoResizer: typeof import('element-plus/es')['ElAutoResizer'] + ElAvatar: typeof import('element-plus/es')['ElAvatar'] ElBadge: typeof import('element-plus/es')['ElBadge'] ElButton: typeof import('element-plus/es')['ElButton'] ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] @@ -70,9 +72,11 @@ declare module '@vue/runtime-core' { ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElSelect: typeof import('element-plus/es')['ElSelect'] ElSkeleton: typeof import('element-plus/es')['ElSkeleton'] + ElSpace: typeof import('element-plus/es')['ElSpace'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] ElTable: typeof import('element-plus/es')['ElTable'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] + ElTableV2: typeof import('element-plus/es')['ElTableV2'] ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue index dd22571a..321ec609 100644 --- a/src/views/bpm/oa/leave/create.vue +++ b/src/views/bpm/oa/leave/create.vue @@ -1,5 +1,5 @@ @@ -50,7 +50,7 @@ import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' import * as LeaveApi from '@/api/bpm/leave' const message = useMessage() // 消息弹窗 -const modelVisible = ref(false) // 弹窗的是否展示 +const dialogVisible = ref(false) // 弹窗的是否展示 const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用 const formData = ref({ type: undefined, @@ -68,7 +68,7 @@ const formRef = ref() // 表单 Ref /** 打开弹窗 */ const open = async () => { - modelVisible.value = true + dialogVisible.value = true resetForm() } defineExpose({ open }) // 提供 open 方法,用于打开弹窗 @@ -86,7 +86,7 @@ const submitForm = async () => { const data = formData.value as unknown as LeaveApi.LeaveVO await LeaveApi.createLeave(data) message.success('新增成功') - modelVisible.value = false + dialogVisible.value = false // 发送操作成功的事件 emit('success') } finally { diff --git a/src/views/mp/autoReply/index.vue b/src/views/mp/autoReply/index.vue index 60197742..03f98b54 100644 --- a/src/views/mp/autoReply/index.vue +++ b/src/views/mp/autoReply/index.vue @@ -174,10 +174,8 @@ diff --git a/src/views/mp/material/index.vue b/src/views/mp/material/index.vue index c723e2fb..778609b9 100644 --- a/src/views/mp/material/index.vue +++ b/src/views/mp/material/index.vue @@ -197,10 +197,8 @@