Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
dff4be02
Commit
dff4be02
authored
Sep 14, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zuhuduan' of
http://192.168.60.201/root/dsk-operate-sys
into zuhuduan
parents
987c2b11
b5e5ce19
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
2 deletions
+12
-2
TenantTimerTask.java
...n/src/main/java/com/dsk/web/schedule/TenantTimerTask.java
+1
-1
addCustom.vue
dsk-operate-ui/src/views/custom/component/addCustom.vue
+1
-0
index.vue
dsk-operate-ui/src/views/custom/customList/index.vue
+1
-0
index.vue
...operate-ui/src/views/custom/historicalCustomers/index.vue
+1
-0
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+1
-1
index.vue
dsk-operate-ui/src/views/enterpriseManagement/index.vue
+5
-0
SysUserServiceImpl.java
.../java/com/dsk/system/service/impl/SysUserServiceImpl.java
+2
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/schedule/TenantTimerTask.java
View file @
dff4be02
...
@@ -23,7 +23,7 @@ public class TenantTimerTask {
...
@@ -23,7 +23,7 @@ public class TenantTimerTask {
/**
/**
* 每6小时扫描并禁用已过期租户账号
* 每6小时扫描并禁用已过期租户账号
*/
*/
@Scheduled
(
cron
=
"0 0
0/6 * * ?
"
)
@Scheduled
(
cron
=
"0 0
/10 * * * ?
"
)
public
void
updateExpiredTenantStatus
()
{
public
void
updateExpiredTenantStatus
()
{
log
.
info
(
"执行定时禁用已过期租户账号(6h/次)"
);
log
.
info
(
"执行定时禁用已过期租户账号(6h/次)"
);
TenantHelper
.
ignore
(
tenantService:
:
handleExpiredTenant
);
TenantHelper
.
ignore
(
tenantService:
:
handleExpiredTenant
);
...
...
dsk-operate-ui/src/views/custom/component/addCustom.vue
View file @
dff4be02
...
@@ -234,6 +234,7 @@
...
@@ -234,6 +234,7 @@
});
});
},
},
toct
(){
toct
(){
this
.
dialogVisible
=
false
this
.
$router
.
push
({
path
:
'/macro/urban'
})
this
.
$router
.
push
({
path
:
'/macro/urban'
})
},
},
//输入数字
//输入数字
...
...
dsk-operate-ui/src/views/custom/customList/index.vue
View file @
dff4be02
...
@@ -430,6 +430,7 @@
...
@@ -430,6 +430,7 @@
}
}
},
},
toct
(){
toct
(){
this
.
dialogVisible
=
false
this
.
$router
.
push
({
path
:
'/macro/urban'
})
this
.
$router
.
push
({
path
:
'/macro/urban'
})
},
},
getDictType
(){
getDictType
(){
...
...
dsk-operate-ui/src/views/custom/historicalCustomers/index.vue
View file @
dff4be02
...
@@ -273,6 +273,7 @@ export default {
...
@@ -273,6 +273,7 @@ export default {
}
}
},
},
toct
(){
toct
(){
this
.
dialogVisible
=
false
this
.
$router
.
push
({
path
:
'/macro/urban'
})
this
.
$router
.
push
({
path
:
'/macro/urban'
})
},
},
getDictType
(){
getDictType
(){
...
...
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
dff4be02
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
class=
"detail-menu"
class=
"detail-menu"
@
open=
"handleOpen"
>
@
open=
"handleOpen"
>
<template
v-for=
"(item, index) in sideRoute"
>
<template
v-for=
"(item, index) in sideRoute"
>
<el-submenu
:index=
"index.toString()"
v-if=
"item.children"
:disabled=
"!isCompanyId(item.title)"
>
<el-submenu
:index=
"index.toString()"
v-if=
"item.children"
:disabled=
"!isCompanyId(item.title)
|| (item.title=='项目商机'&&statisticObj.business.landInfo
<1
&&
statisticObj
.
business
.
busProposedProjectV1
<1
&&
statisticObj
.
performance
.
specialDebt
<1
&&
statisticObj
.
performance
.
bidPlan
<1
&&
statisticObj
.
business
.
biddingAnnouncement
<1
&&
statisticObj
.
business
.
proBiddingAnnouncement
<1
&&
statisticObj
.
business
.
adminLicensing
<1
)
"
>
<template
slot=
"title"
>
<template
slot=
"title"
>
<span>
{{
item
.
title
}}
</span>
<span>
{{
item
.
title
}}
</span>
</
template
>
</
template
>
...
...
dsk-operate-ui/src/views/enterpriseManagement/index.vue
View file @
dff4be02
...
@@ -395,6 +395,11 @@
...
@@ -395,6 +395,11 @@
});
});
this
.
form
.
startTime
=
this
.
form
.
dateRange
[
0
]
this
.
form
.
startTime
=
this
.
form
.
dateRange
[
0
]
this
.
form
.
expireTime
=
this
.
form
.
dateRange
[
1
]
this
.
form
.
expireTime
=
this
.
form
.
dateRange
[
1
]
let
thistime
=
new
Date
(
this
.
form
.
expireTime
).
getTime
()
if
(
thistime
<
new
Date
().
getTime
()){
this
.
$message
.
error
(
'不能选择过去时间!'
)
return
false
}
if
(
this
.
form
.
id
!=
undefined
)
{
if
(
this
.
form
.
id
!=
undefined
)
{
editTenant
(
this
.
form
).
then
(
response
=>
{
editTenant
(
this
.
form
).
then
(
response
=>
{
if
(
response
.
code
==
200
)
{
if
(
response
.
code
==
200
)
{
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/SysUserServiceImpl.java
View file @
dff4be02
...
@@ -2,6 +2,7 @@ package com.dsk.system.service.impl;
...
@@ -2,6 +2,7 @@ package com.dsk.system.service.impl;
import
cn.dev33.satoken.secure.BCrypt
;
import
cn.dev33.satoken.secure.BCrypt
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.date.DateTime
;
import
cn.hutool.core.util.ArrayUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
...
@@ -274,6 +275,7 @@ public class SysUserServiceImpl implements ISysUserService, UserService {
...
@@ -274,6 +275,7 @@ public class SysUserServiceImpl implements ISysUserService, UserService {
public
int
insertUser
(
SysUser
user
)
{
public
int
insertUser
(
SysUser
user
)
{
String
password
=
PasswordUtils
.
generatePwd
(
8
);
String
password
=
PasswordUtils
.
generatePwd
(
8
);
user
.
setPassword
(
BCrypt
.
hashpw
(
password
));
user
.
setPassword
(
BCrypt
.
hashpw
(
password
));
user
.
setCreateTime
(
new
DateTime
());
// 新增用户信息
// 新增用户信息
int
rows
=
baseMapper
.
insert
(
user
);
int
rows
=
baseMapper
.
insert
(
user
);
if
(
rows
>
0
)
{
if
(
rows
>
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment