From 579229d23fa14cab10332ec5568ef426642ddff6 Mon Sep 17 00:00:00 2001 From: caoyang Date: Mon, 21 Mar 2022 14:09:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E7=AE=A1=E7=90=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 24 +++++++++++-------- .../documentManage/tags/dialog/DicList.vue | 12 +++++----- .../documentManage/tags/dialog/TreeTable.vue | 2 +- .../documentManage/tags/tabs/TagContent.vue | 7 +++--- .../documentManage/tags/tabs/TagItem.vue | 4 ++-- jero-web/src/views/user/Login.vue | 21 +++++++++++++--- 6 files changed, 45 insertions(+), 25 deletions(-) diff --git a/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml b/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml index 2d2051327..c732517a6 100644 --- a/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml +++ b/jero-boot/jero-boot-single-startup/src/main/resources/application-dev.yml @@ -131,14 +131,22 @@ spring: connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: master: - url: jdbc:mysql://121.36.69.172:3307/laws_weilai?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false - username: root - password: hzwlsoft.com - driver-class-name: com.mysql.cj.jdbc.Driver -# url: jdbc:mysql://10.10.10.44/ laws_weilai_test?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false +# url: jdbc:mysql://121.36.69.172:3307/laws_weilai_zhn?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false +# username: root +# password: hzwlsoft.com +# driver-class-name: com.mysql.cj.jdbc.Driver + + +# url: jdbc:mysql://10.0.3.44:3306/jero-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai +# url: jdbc:mysql://10.10.10.44:3306/laws_weilai_test?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false # username: root # password: 123456 # driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:mysql://121.36.69.172:3307/laws_weilai?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.36.69.172:3307/laws_weilai?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + username: root + password: hzwlsoft.com + driver-class-name: com.mysql.cj.jdbc.Driver # 多数据源配置 #multi-datasource1: #url: jdbc:mysql://localhost:3306/jero-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai @@ -184,7 +192,7 @@ jero : uploadType: local path : #文件上传根目录 设置 - upload: E://opt//upFiles + upload: D://opt//upFiles #webapp文件路径 webapp: D://opt//webapp shiro: @@ -197,10 +205,6 @@ jero : bucketName: jeroos staticDomain: ?? # ElasticSearch 6设置 -# elasticsearch: -# cluster-name: jero-ES -# cluster-nodes: 127.0.0.1:9200 -# check-enabled: false elasticsearch: cluster-name: elasticsearch cluster-nodes: 121.36.69.172:9200 diff --git a/jero-web/src/views/documentManage/tags/dialog/DicList.vue b/jero-web/src/views/documentManage/tags/dialog/DicList.vue index e0a5f521c..e54993457 100644 --- a/jero-web/src/views/documentManage/tags/dialog/DicList.vue +++ b/jero-web/src/views/documentManage/tags/dialog/DicList.vue @@ -185,10 +185,10 @@ } }) }else if(this.dictVal=='tree'){ - //sys/category/queryBySysName //sys/category/queryBySysDictId - getAction(`sys/category/queryBySysDictId`,{ - // ...this.queryParams, + // sys/category/queryPageList + postAction(`sys/category/queryPageList`,{ + ...this.queryParams, // name:this.queryParams.itemText, id:this.record.id, isTagDict:1 @@ -378,7 +378,7 @@ async () => { //sys/dictItem/logicDelete // sys/dictItem/delete - deleteAction(`sys/dictItem/logicDelete`, params).then(res => { + getAction(`sys/dictItem/logicDelete`, params).then(res => { if(res.success) { this.$message.success(this.$t('OperationSuccessful')); this.reFresh() @@ -415,7 +415,7 @@ async () => { if(this.dictVal=='list'){ // sys/dictItem/logicDeleteBatch - deleteAction(`sys/dictItem/logicDeleteBatch`, params).then(res => { + getAction(`sys/dictItem/logicDeleteBatch`, params).then(res => { if(res.success){ this.$message.success(this.$t('OperationSuccessful')) this.reFresh() @@ -432,7 +432,7 @@ // sys/category/deleteBatch // sys/category/logicDeleteBatch - deleteAction(`sys/category/logicDeleteBatch`, params).then(res => { + getAction(`sys/category/logicDeleteBatch`, params).then(res => { if(res.success){ this.queryParams.pageNo=1 this.loadData() diff --git a/jero-web/src/views/documentManage/tags/dialog/TreeTable.vue b/jero-web/src/views/documentManage/tags/dialog/TreeTable.vue index 480efb1e4..38286bd1e 100644 --- a/jero-web/src/views/documentManage/tags/dialog/TreeTable.vue +++ b/jero-web/src/views/documentManage/tags/dialog/TreeTable.vue @@ -133,7 +133,7 @@ async () => { // sys/category/delete // sys/category/logicDelete - deleteAction(`sys/category/logicDelete`, { id: val.id }).then((res) => { + getAction(`sys/category/logicDelete`, { id: val.id }).then((res) => { if (res.success) { this.$message.success(this.$t('OperationSuccessful')); this.$emit('ok',this.queryParams) diff --git a/jero-web/src/views/documentManage/tags/tabs/TagContent.vue b/jero-web/src/views/documentManage/tags/tabs/TagContent.vue index 910a1aa1e..67adb68ea 100644 --- a/jero-web/src/views/documentManage/tags/tabs/TagContent.vue +++ b/jero-web/src/views/documentManage/tags/tabs/TagContent.vue @@ -5,7 +5,7 @@ - + @@ -121,6 +121,7 @@ dataIndex: 'dictName', key: 'dictName', align: "center", + ellipsis: true, width: 100, }, { @@ -287,7 +288,7 @@ content: '', onOk: async () => { - deleteAction(`sys/dict/logicDelete`, param).then(res => { + getAction(`sys/dict/logicDelete`, param).then(res => { if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.reFresh() @@ -319,7 +320,7 @@ content: '', onOk: async () => { - deleteAction(`sys/dict/logicDeleteBatch`, params).then(res => { + getAction(`sys/dict/logicDeleteBatch`, params).then(res => { if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.reFresh() diff --git a/jero-web/src/views/documentManage/tags/tabs/TagItem.vue b/jero-web/src/views/documentManage/tags/tabs/TagItem.vue index cc916f698..6cb75ea46 100644 --- a/jero-web/src/views/documentManage/tags/tabs/TagItem.vue +++ b/jero-web/src/views/documentManage/tags/tabs/TagItem.vue @@ -284,7 +284,7 @@ content: '', onOk: async () => { - deleteAction(`tag/onlCgformTag/delete`, params).then(res => { + getAction(`tag/onlCgformTag/delete`, params).then(res => { if (res.success) { if (this.key == 1) { this.$message.success(this.$t('OperationSuccessful')) @@ -323,7 +323,7 @@ content: '', onOk: async () => { - deleteAction(`tag/onlCgformTag/logicDeleteBatch`, params).then(res => { + getAction(`tag/onlCgformTag/logicDeleteBatch`, params).then(res => { if (res.success) { if (this.key == 1) { this.$message.success(this.$t('OperationSuccessful')) diff --git a/jero-web/src/views/user/Login.vue b/jero-web/src/views/user/Login.vue index baa7186c4..7b5841439 100644 --- a/jero-web/src/views/user/Login.vue +++ b/jero-web/src/views/user/Login.vue @@ -59,12 +59,16 @@ - + 自动登录 - + + + SSO登录 + + @@ -149,7 +153,13 @@ 自动登录 - + + + + + + + @@ -391,6 +401,11 @@ }) } }) + }, + //sso登录跳转 + ssoLogin(){ + window.open('https://signin-test.nio.com/oauth2/authorize?client_id=100679&redirect_uri=http%3A%2F%2F139.9.235.66%3A8008%2Fjero-boot%2Fopensso%2Fcallback&response_type=code', '_blank') + } } }