From 2f5fed6f44454cf25d86915e40cf3dd1b300872d Mon Sep 17 00:00:00 2001 From: tony <846249920@qq.com> Date: Fri, 16 Dec 2022 21:52:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A8=E5=8D=95=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/package.json | 1 + ruoyi-ui/src/components/Process/index.vue | 7 +++++++ ruoyi-ui/src/utils/pluginsConfig.js | 4 ++-- ruoyi-ui/src/views/flowable/definition/index.vue | 5 ++--- .../views/flowable/task/finished/detail/index.vue | 2 +- .../src/views/flowable/task/finished/index.vue | 8 ++++---- ruoyi-ui/src/views/flowable/task/form/index.vue | 6 +++--- .../flowable/task/myProcess/detail/index.vue | 2 +- .../src/views/flowable/task/myProcess/index.vue | 8 ++++---- .../views/flowable/task/myProcess/send/flow.vue | 8 -------- .../flowable/task/myProcess/send/flowview.vue | 2 +- .../views/flowable/task/myProcess/send/index.vue | 6 +++--- ruoyi-ui/src/views/flowable/task/record/index.vue | 12 ++++++------ .../src/views/flowable/task/todo/detail/index.vue | 5 ++--- ruoyi-ui/src/views/flowable/task/todo/index.vue | 2 +- ruoyi-ui/src/views/tool/build/JsonDrawer.vue | 2 +- ruoyi-ui/src/views/tool/build/index.vue | 15 ++++++--------- 17 files changed, 45 insertions(+), 50 deletions(-) diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 6f8ec776..b2dc9e78 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -64,6 +64,7 @@ "vkbeautify": "^0.99.3" }, "devDependencies": { + "@babel/parser": "^7.20.5", "@vue/cli-plugin-babel": "4.4.6", "@vue/cli-plugin-eslint": "4.4.6", "@vue/cli-service": "4.4.6", diff --git a/ruoyi-ui/src/components/Process/index.vue b/ruoyi-ui/src/components/Process/index.vue index a395f364..607b5426 100644 --- a/ruoyi-ui/src/components/Process/index.vue +++ b/ruoyi-ui/src/components/Process/index.vue @@ -391,6 +391,13 @@ export default { .canvas { width: 100%; height: 100%; + //flex: 1; + //position: relative; + //background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+") + //repeat !important; + //div.toggle-mode { + // display: none; + //} } .panel { position: absolute; diff --git a/ruoyi-ui/src/utils/pluginsConfig.js b/ruoyi-ui/src/utils/pluginsConfig.js index e7f4882a..9dd656ab 100644 --- a/ruoyi-ui/src/utils/pluginsConfig.js +++ b/ruoyi-ui/src/utils/pluginsConfig.js @@ -7,7 +7,7 @@ function splicingPluginUrl(PluginName, version, fileName) { export default { beautifierUrl: splicingPluginUrl('js-beautify', '1.13.5', 'beautifier.min.js'), - // monacoEditorUrl: splicingPluginUrl('monaco-editor', '0.19.3', 'min/vs'), // 使用 monaco-editor CDN 链接 - monacoEditorUrl: `${publicPath}libs/monaco-editor/vs`, // 使用 monaco-editor 本地代码 + monacoEditorUrl: splicingPluginUrl('monaco-editor', '0.19.3', 'min/vs'), // 使用 monaco-editor CDN 链接 + // monacoEditorUrl: `${publicPath}libs/monaco-editor/vs`, // 使用 monaco-editor 本地代码 tinymceUrl: splicingPluginUrl('tinymce', '5.7.0', 'tinymce.min.js') } diff --git a/ruoyi-ui/src/views/flowable/definition/index.vue b/ruoyi-ui/src/views/flowable/definition/index.vue index 56354ede..7097b6da 100644 --- a/ruoyi-ui/src/views/flowable/definition/index.vue +++ b/ruoyi-ui/src/views/flowable/definition/index.vue @@ -102,7 +102,7 @@