标签管理修改
This commit is contained in:
@@ -131,14 +131,22 @@ spring:
|
|||||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
||||||
datasource:
|
datasource:
|
||||||
master:
|
master:
|
||||||
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_zhn?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false
|
||||||
username: root
|
# username: root
|
||||||
password: hzwlsoft.com
|
# password: hzwlsoft.com
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
# 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://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
|
# username: root
|
||||||
# password: 123456
|
# password: 123456
|
||||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
# 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:
|
#multi-datasource1:
|
||||||
#url: jdbc:mysql://localhost:3306/jero-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
#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
|
uploadType: local
|
||||||
path :
|
path :
|
||||||
#文件上传根目录 设置
|
#文件上传根目录 设置
|
||||||
upload: E://opt//upFiles
|
upload: D://opt//upFiles
|
||||||
#webapp文件路径
|
#webapp文件路径
|
||||||
webapp: D://opt//webapp
|
webapp: D://opt//webapp
|
||||||
shiro:
|
shiro:
|
||||||
@@ -197,10 +205,6 @@ jero :
|
|||||||
bucketName: jeroos
|
bucketName: jeroos
|
||||||
staticDomain: ??
|
staticDomain: ??
|
||||||
# ElasticSearch 6设置
|
# ElasticSearch 6设置
|
||||||
# elasticsearch:
|
|
||||||
# cluster-name: jero-ES
|
|
||||||
# cluster-nodes: 127.0.0.1:9200
|
|
||||||
# check-enabled: false
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
cluster-name: elasticsearch
|
cluster-name: elasticsearch
|
||||||
cluster-nodes: 121.36.69.172:9200
|
cluster-nodes: 121.36.69.172:9200
|
||||||
|
|||||||
@@ -185,10 +185,10 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(this.dictVal=='tree'){
|
}else if(this.dictVal=='tree'){
|
||||||
//sys/category/queryBySysName
|
|
||||||
//sys/category/queryBySysDictId
|
//sys/category/queryBySysDictId
|
||||||
getAction(`sys/category/queryBySysDictId`,{
|
// sys/category/queryPageList
|
||||||
// ...this.queryParams,
|
postAction(`sys/category/queryPageList`,{
|
||||||
|
...this.queryParams,
|
||||||
// name:this.queryParams.itemText,
|
// name:this.queryParams.itemText,
|
||||||
id:this.record.id,
|
id:this.record.id,
|
||||||
isTagDict:1
|
isTagDict:1
|
||||||
@@ -378,7 +378,7 @@
|
|||||||
async () => {
|
async () => {
|
||||||
//sys/dictItem/logicDelete
|
//sys/dictItem/logicDelete
|
||||||
// sys/dictItem/delete
|
// sys/dictItem/delete
|
||||||
deleteAction(`sys/dictItem/logicDelete`, params).then(res => {
|
getAction(`sys/dictItem/logicDelete`, params).then(res => {
|
||||||
if(res.success) {
|
if(res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'));
|
this.$message.success(this.$t('OperationSuccessful'));
|
||||||
this.reFresh()
|
this.reFresh()
|
||||||
@@ -415,7 +415,7 @@
|
|||||||
async () => {
|
async () => {
|
||||||
if(this.dictVal=='list'){
|
if(this.dictVal=='list'){
|
||||||
// sys/dictItem/logicDeleteBatch
|
// sys/dictItem/logicDeleteBatch
|
||||||
deleteAction(`sys/dictItem/logicDeleteBatch`, params).then(res => {
|
getAction(`sys/dictItem/logicDeleteBatch`, params).then(res => {
|
||||||
if(res.success){
|
if(res.success){
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.reFresh()
|
this.reFresh()
|
||||||
@@ -432,7 +432,7 @@
|
|||||||
// sys/category/deleteBatch
|
// sys/category/deleteBatch
|
||||||
// sys/category/logicDeleteBatch
|
// sys/category/logicDeleteBatch
|
||||||
|
|
||||||
deleteAction(`sys/category/logicDeleteBatch`, params).then(res => {
|
getAction(`sys/category/logicDeleteBatch`, params).then(res => {
|
||||||
if(res.success){
|
if(res.success){
|
||||||
this.queryParams.pageNo=1
|
this.queryParams.pageNo=1
|
||||||
this.loadData()
|
this.loadData()
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
async () => {
|
async () => {
|
||||||
// sys/category/delete
|
// sys/category/delete
|
||||||
// sys/category/logicDelete
|
// sys/category/logicDelete
|
||||||
deleteAction(`sys/category/logicDelete`, { id: val.id }).then((res) => {
|
getAction(`sys/category/logicDelete`, { id: val.id }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'));
|
this.$message.success(this.$t('OperationSuccessful'));
|
||||||
this.$emit('ok',this.queryParams)
|
this.$emit('ok',this.queryParams)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :md="6" :sm="12">
|
<a-col :md="6" :sm="12">
|
||||||
<a-form-item :label="$t('LabeItemName')">
|
<a-form-item :label="$t('LabeItemName')">
|
||||||
<j-input :placeholder="$t('PleaseEnterLabelName')" v-model="queryParams.dictName"></j-input>
|
<a-input :placeholder="$t('PleaseEnterLabelName')" v-model="queryParams.dictName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
@@ -121,6 +121,7 @@
|
|||||||
dataIndex: 'dictName',
|
dataIndex: 'dictName',
|
||||||
key: 'dictName',
|
key: 'dictName',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
ellipsis: true,
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -287,7 +288,7 @@
|
|||||||
content: '',
|
content: '',
|
||||||
onOk:
|
onOk:
|
||||||
async () => {
|
async () => {
|
||||||
deleteAction(`sys/dict/logicDelete`, param).then(res => {
|
getAction(`sys/dict/logicDelete`, param).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.reFresh()
|
this.reFresh()
|
||||||
@@ -319,7 +320,7 @@
|
|||||||
content: '',
|
content: '',
|
||||||
onOk:
|
onOk:
|
||||||
async () => {
|
async () => {
|
||||||
deleteAction(`sys/dict/logicDeleteBatch`, params).then(res => {
|
getAction(`sys/dict/logicDeleteBatch`, params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.reFresh()
|
this.reFresh()
|
||||||
|
|||||||
@@ -284,7 +284,7 @@
|
|||||||
content: '',
|
content: '',
|
||||||
onOk:
|
onOk:
|
||||||
async () => {
|
async () => {
|
||||||
deleteAction(`tag/onlCgformTag/delete`, params).then(res => {
|
getAction(`tag/onlCgformTag/delete`, params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (this.key == 1) {
|
if (this.key == 1) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
content: '',
|
content: '',
|
||||||
onOk:
|
onOk:
|
||||||
async () => {
|
async () => {
|
||||||
deleteAction(`tag/onlCgformTag/logicDeleteBatch`, params).then(res => {
|
getAction(`tag/onlCgformTag/logicDeleteBatch`, params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (this.key == 1) {
|
if (this.key == 1) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
|
|||||||
@@ -59,12 +59,16 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
<a-row style="margin-bottom: 2%;">
|
<a-row style="margin-bottom: 2%;">
|
||||||
<a-col :span="3"></a-col>
|
<a-col :span="3"></a-col>
|
||||||
<a-col :span="7">
|
<a-col :span="11">
|
||||||
<a-form-item>
|
<a-form-item>
|
||||||
<a-checkbox v-decorator="['rememberMe', {initialValue: true, valuePropName: 'checked'}]">自动登录</a-checkbox>
|
<a-checkbox v-decorator="['rememberMe', {initialValue: true, valuePropName: 'checked'}]">自动登录</a-checkbox>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6"></a-col>
|
<a-col :span="6">
|
||||||
|
<a-form-item>
|
||||||
|
<a-button type="primary" @click="ssoLogin">SSO登录</a-button>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<!-- <a-col :span="5" style="text-align: right;color: #1891FF;">-->
|
<!-- <a-col :span="5" style="text-align: right;color: #1891FF;">-->
|
||||||
<!-- <a-form-item>-->
|
<!-- <a-form-item>-->
|
||||||
<!-- <router-link :to="{ name: 'alteration'}" class="forge-password" style="float: right;">-->
|
<!-- <router-link :to="{ name: 'alteration'}" class="forge-password" style="float: right;">-->
|
||||||
@@ -149,7 +153,13 @@
|
|||||||
<a-checkbox v-decorator="['rememberMe', {initialValue: true, valuePropName: 'checked'}]">自动登录</a-checkbox>
|
<a-checkbox v-decorator="['rememberMe', {initialValue: true, valuePropName: 'checked'}]">自动登录</a-checkbox>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="4"></a-col>
|
<a-col :span="4">
|
||||||
|
<!-- <a-form-item>-->
|
||||||
|
<!-- <a-button>sso登录</a-button>-->
|
||||||
|
<!-- </a-form-item>-->
|
||||||
|
</a-col>
|
||||||
|
|
||||||
|
|
||||||
<!-- <a-col :span="9" style="text-align: right;color: #1891FF;">-->
|
<!-- <a-col :span="9" style="text-align: right;color: #1891FF;">-->
|
||||||
<!-- <a-form-item>-->
|
<!-- <a-form-item>-->
|
||||||
<!-- <router-link :to="{ name: 'alteration'}" class="forge-password" style="float: right;">-->
|
<!-- <router-link :to="{ name: 'alteration'}" class="forge-password" style="float: right;">-->
|
||||||
@@ -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')
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user