From 4f48696005a6f0c7386a6dc9fcc8f2f46cac4f61 Mon Sep 17 00:00:00 2001 From: Binlin B Wang Date: Sun, 14 Aug 2022 23:00:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-pro.yml | 25 +- .../src/views/admin/LayoutHeader.vue | 1 - .../src/views/admin/layout/ProcessDesign.vue | 1 + .../admin/layout/process/ProcessTree.vue | 451 ++++++++++++------ .../admin/layout/process/ProcessTreeBack.vue | 1 - 5 files changed, 318 insertions(+), 161 deletions(-) diff --git a/flowable-engine-java/src/main/resources/application-pro.yml b/flowable-engine-java/src/main/resources/application-pro.yml index a4aea36..4c0d20d 100644 --- a/flowable-engine-java/src/main/resources/application-pro.yml +++ b/flowable-engine-java/src/main/resources/application-pro.yml @@ -1,8 +1,25 @@ server: - port: 8088 - + port: 8080 spring: - datasource: #数据源相关配置 + type: com.zaxxer.hikari.HikariDataSource + driver-class-name: com.mysql.cj.jdbc.Driver + hikari: + connection-timeout: 30000 + minimum-idle: 5 + maximum-pool-size: 20 + auto-commit: true + idle-timeout: 600000 + pool-name: DateSourceHikariCp + max-lifetime: 1800000 + connection-test-query: SELECT 1 + datasource: url: jdbc:mysql://192.168.101.100:3306/flowable_web?userUnicode=true&characterEncodinf=UTF-8&autoReconnect=true username: root - password: password \ No newline at end of file + password: password + +logging: + config: classpath:logback-dev.xml + level: + root: info + + diff --git a/flowable-engine-web/src/views/admin/LayoutHeader.vue b/flowable-engine-web/src/views/admin/LayoutHeader.vue index fa7847e..5987302 100644 --- a/flowable-engine-web/src/views/admin/LayoutHeader.vue +++ b/flowable-engine-web/src/views/admin/LayoutHeader.vue @@ -52,7 +52,6 @@ export default { this.check() }, mounted() { - console.log(document.body.offsetWidth) if (document.body.offsetWidth <= 970) { this.$msgbox.alert("本设计器未适配中小屏幕,建议您在PC电脑端浏览器进行操作") } diff --git a/flowable-engine-web/src/views/admin/layout/ProcessDesign.vue b/flowable-engine-web/src/views/admin/layout/ProcessDesign.vue index 356a20c..d8c3753 100644 --- a/flowable-engine-web/src/views/admin/layout/ProcessDesign.vue +++ b/flowable-engine-web/src/views/admin/layout/ProcessDesign.vue @@ -30,6 +30,7 @@