Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
f46539fe
Commit
f46539fe
authored
Jun 20, 2023
by
dengguangman
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
6c62b4f1
d8f95f40
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
56 additions
and
14 deletions
+56
-14
project.scss
dsk-operate-ui/src/assets/styles/project.scss
+27
-0
index.vue
dsk-operate-ui/src/views/custom/overview/index.vue
+6
-0
index.vue
dsk-operate-ui/src/views/project/overview/index.vue
+4
-3
BusinessListDto.java
.../src/main/java/com/dsk/system/domain/BusinessListDto.java
+2
-2
BusinessInfoServiceImpl.java
.../com/dsk/system/service/impl/BusinessInfoServiceImpl.java
+15
-7
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+2
-2
No files found.
dsk-operate-ui/src/assets/styles/project.scss
View file @
f46539fe
...
...
@@ -1130,3 +1130,30 @@
padding-top
:
14px
;
padding-bottom
:
18px
;
}
.tables
{
::-webkit-scrollbar-track-piece
{
//滚动条凹槽的颜色,还可以设置边框属性
background-color
:
#F3F4F5
;
height
:
16px
;
padding
:
0
4px
;
}
//滚动条的宽度
::-webkit-scrollbar
{
width
:
8px
;
height
:
16px
;
background-color
:
#F3F4F5
;
border-radius
:
6px
;
}
//滚动条的滑块
::-webkit-scrollbar-thumb
{
border-radius
:
8px
;
height
:
8px
;
margin
:
0
4px
;
background
:
rgba
(
98
,
110
,
126
,
0
.2
);
border
:
4px
solid
#F3F4F5
;
&
:hover
{
background
:
#566380
;
}
}
}
dsk-operate-ui/src/views/custom/overview/index.vue
View file @
f46539fe
...
...
@@ -333,6 +333,12 @@ export default {
axisTick
:
{
show
:
false
},
boundaryGap
:
false
,
nameLocation
:
'end'
,
nameTextStyle
:
{
fontSize
:
12
,
padding
:
[
0
,
0
,
0
,
-
30
]
},
},
yAxis
:
{
type
:
'value'
,
...
...
dsk-operate-ui/src/views/project/overview/index.vue
View file @
f46539fe
...
...
@@ -317,6 +317,7 @@ export default {
//客户跟进动态
this
.
option
=
{
xAxis
:
{
boundaryGap
:
false
,
type
:
'category'
,
data
:
labels
,
axisTick
:
{
...
...
@@ -334,7 +335,7 @@ export default {
},
grid
:{
left
:
'4%'
,
top
:
'2
0
%'
,
top
:
'2
1
%'
,
right
:
'2%'
,
bottom
:
'15%'
,
},
...
...
@@ -345,8 +346,8 @@ export default {
// trigger: 'axis'
},
legend
:
{
left
:
'12
px'
,
top
:
"
15
px"
,
right
:
'20
px'
,
top
:
"
30
px"
,
data
:
[
'成交金额'
,
'储备项目'
,
'跟进动态'
],
itemHeight
:
8
,
// 修改icon图形大小
itemGap
:
20
...
...
dsk-system/src/main/java/com/dsk/system/domain/BusinessListDto.java
View file @
f46539fe
...
...
@@ -22,9 +22,9 @@ public class BusinessListDto {
private
Integer
userId
;
/**
*
部门id
*
用户查看全部他人可见项目标示
*/
private
Integer
deptId
;
private
Integer
others
;
/**
* 省id
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/BusinessInfoServiceImpl.java
View file @
f46539fe
...
...
@@ -80,13 +80,21 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
*/
@Override
public
List
<
BusinessListVo
>
selectBusinessInfoList
(
BusinessListDto
dto
)
{
//userId不传值,就查询全部门项目
// if (dto.getUserId() == null) {
// Long deptId = SecurityUtils.getLoginUser().getDeptId();
// if (deptId == null) throw new BaseException("请登录");
// dto.setDeptId(deptId.intValue());
// }
return
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
List
<
BusinessListVo
>
othersList
=
null
;
//userId不传值,就查询全部他人可见项目+自己的
if
(
dto
.
getUserId
()
==
null
)
{
Long
userId
=
SecurityUtils
.
getLoginUser
().
getUserId
();
if
(
userId
==
null
)
throw
new
BaseException
(
"请登录"
);
dto
.
setOthers
(
userId
.
intValue
());
//查询他人可见项目
othersList
=
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
}
dto
.
setOthers
(
null
);
//查询自己参与的项目
List
<
BusinessListVo
>
businessList
=
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
businessList
.
addAll
(
othersList
);
return
businessList
;
}
@Override
...
...
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
f46539fe
...
...
@@ -131,8 +131,8 @@
<if
test=
"userId != null"
>
and bu.user_id = #{userId}
</if>
<if
test=
"
userId =
= null"
>
and i.is_private = 1
<if
test=
"
others !
= null"
>
and
bu.user_id != #{others} and
i.is_private = 1
</if>
<if
test=
"provinceId != null and provinceId.size > 0 and cityId == null and districtId == null"
>
...
...
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