From d16ff6ff1c9d5c2b3cd2fc5c116c0d590a3cd562 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 9 Apr 2023 09:56:42 +0800 Subject: [PATCH] =?UTF-8?q?REVIEW=20=E5=85=AC=E4=BC=97=E5=8F=B7=E7=B4=A0?= =?UTF-8?q?=E6=9D=90=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../penal/signal-message/SignalAndMessage.vue | 10 +- src/types/auto-components.d.ts | 2 + src/views/mp/draft/index.vue | 6 +- src/views/mp/material/index.vue | 96 +++++++++---------- src/views/mp/menu/index.vue | 3 +- 5 files changed, 53 insertions(+), 64 deletions(-) diff --git a/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue b/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue index e2c406db..2d47b8f0 100644 --- a/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue +++ b/src/components/bpmnProcessDesigner/package/penal/signal-message/SignalAndMessage.vue @@ -23,7 +23,7 @@ @@ -49,7 +49,7 @@ const message = useMessage() const signalList = ref([]) const messageList = ref([]) -const modelVisible = ref(false) +const dialogVisible = ref(false) const modelType = ref('') const modelObjectForm = ref({}) const rootElements = ref() @@ -85,7 +85,7 @@ const initDataList = () => { const openModel = (type) => { modelType.value = type modelObjectForm.value = {} - modelVisible.value = true + dialogVisible.value = true } const addNewObject = () => { if (modelType.value === 'message') { @@ -101,7 +101,7 @@ const addNewObject = () => { const signalRef = bpmnInstances().moddle.create('bpmn:Signal', modelObjectForm.value) rootElements.value.push(signalRef) } - modelVisible.value = false + dialogVisible.value = false initDataList() } diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index caea7348..6b2e9456 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -24,6 +24,7 @@ declare module '@vue/runtime-core' { DocAlert: typeof import('./../components/DocAlert/index.vue')['default'] 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'] ElBadge: typeof import('element-plus/es')['ElBadge'] ElButton: typeof import('element-plus/es')['ElButton'] ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] @@ -74,6 +75,7 @@ declare module '@vue/runtime-core' { ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] + ElTag: typeof import('element-plus/es')['ElTag'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] ElTree: typeof import('element-plus/es')['ElTree'] ElUpload: typeof import('element-plus/es')['ElUpload'] diff --git a/src/views/mp/draft/index.vue b/src/views/mp/draft/index.vue index d2ed1e24..ab5d5218 100644 --- a/src/views/mp/draft/index.vue +++ b/src/views/mp/draft/index.vue @@ -247,10 +247,8 @@ diff --git a/src/views/mp/material/index.vue b/src/views/mp/material/index.vue index df4921fd..c723e2fb 100644 --- a/src/views/mp/material/index.vue +++ b/src/views/mp/material/index.vue @@ -1,32 +1,32 @@
- 新建视频 + 新建视频
{{ formatDate(scope.row.createTime) }} - + - - + - -