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
6dedea1e
Commit
6dedea1e
authored
Aug 25, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev20230707' into dev20230707
parents
e0955191
3b48016a
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
276 additions
and
131 deletions
+276
-131
index.js
dsk-operate-ui/src/router/index.js
+1
-1
CustomMoneySelect.vue
dsk-operate-ui/src/views/component/CustomMoneySelect.vue
+10
-3
CustomTimeSelect.vue
dsk-operate-ui/src/views/component/CustomTimeSelect.vue
+7
-0
index.vue
dsk-operate-ui/src/views/custom/overview/index.vue
+102
-70
holderinfo.vue
...erate-ui/src/views/detail/party-a/overview/holderinfo.vue
+4
-1
index.vue
dsk-operate-ui/src/views/index.vue
+146
-55
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+5
-1
CustomerMapper.xml
.../main/resources/mapper/system/customer/CustomerMapper.xml
+1
-0
No files found.
dsk-operate-ui/src/router/index.js
View file @
6dedea1e
...
@@ -70,7 +70,7 @@ export const constantRoutes = [
...
@@ -70,7 +70,7 @@ export const constantRoutes = [
path
:
'index'
,
path
:
'index'
,
component
:
()
=>
import
(
'@/views/index'
),
component
:
()
=>
import
(
'@/views/index'
),
name
:
'Index'
,
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'index'
,
noCache
:
tru
e
}
meta
:
{
title
:
'首页'
,
icon
:
'index'
,
noCache
:
fals
e
}
}
}
]
]
},
},
...
...
dsk-operate-ui/src/views/component/CustomMoneySelect.vue
View file @
6dedea1e
...
@@ -51,6 +51,10 @@ export default {
...
@@ -51,6 +51,10 @@ export default {
type
:
String
,
type
:
String
,
default
:
'请选择'
default
:
'请选择'
},
},
'moneyValue'
:
{
type
:
String
,
default
:
''
},
'ref-str'
:
{
'ref-str'
:
{
type
:
String
,
type
:
String
,
default
:
`timeselect
${
String
(
Math
.
random
(
0
,
100
)).
slice
(
2
)}
`
,
default
:
`timeselect
${
String
(
Math
.
random
(
0
,
100
)).
slice
(
2
)}
`
,
...
@@ -92,6 +96,9 @@ export default {
...
@@ -92,6 +96,9 @@ export default {
if
(
this
.
moneyList
&&
this
.
moneyList
.
length
>
0
){
if
(
this
.
moneyList
&&
this
.
moneyList
.
length
>
0
){
this
.
options
=
this
.
moneyList
this
.
options
=
this
.
moneyList
}
}
if
(
this
.
moneyValue
){
this
.
value
=
this
.
moneyValue
}
},
},
destroyed
()
{
destroyed
()
{
const
app
=
document
.
getElementById
(
'app'
)
const
app
=
document
.
getElementById
(
'app'
)
...
@@ -411,20 +418,20 @@ export default {
...
@@ -411,20 +418,20 @@ export default {
width
:
186px
;
width
:
186px
;
color
:
#606266
;
color
:
#606266
;
text-indent
:
0
;
text-indent
:
0
;
padding
:
1
6
px
;
padding
:
1
4
px
;
padding-top
:
0px
;
padding-top
:
0px
;
border
:
1px
solid
#e0e0e0
;
border
:
1px
solid
#e0e0e0
;
.popper_wrap
{
.popper_wrap
{
margin-top
:
16px
;
margin-top
:
16px
;
display
:
inline-block
;
display
:
inline-block
;
.popper_input
{
.popper_input
{
width
:
10
0px
;
width
:
9
0px
;
display
:
inline-block
;
display
:
inline-block
;
margin
:
0px
8px
;
margin
:
0px
8px
;
line-height
:
34px
;
line-height
:
34px
;
}
}
.el-input__inner
{
.el-input__inner
{
width
:
10
0px
;
width
:
9
0px
;
}
}
}
}
input
:
:-
webkit-outer-spin-button
,
input
:
:-
webkit-outer-spin-button
,
...
...
dsk-operate-ui/src/views/component/CustomTimeSelect.vue
View file @
6dedea1e
...
@@ -46,6 +46,10 @@ export default {
...
@@ -46,6 +46,10 @@ export default {
type
:
String
,
type
:
String
,
default
:
'请选择'
,
default
:
'请选择'
,
},
},
'timeValue'
:
{
type
:
String
,
default
:
''
,
},
'ref-str'
:
{
'ref-str'
:
{
type
:
String
,
type
:
String
,
default
:
`timeselect
${
String
(
Math
.
random
(
0
,
100
)).
slice
(
2
)}
`
,
default
:
`timeselect
${
String
(
Math
.
random
(
0
,
100
)).
slice
(
2
)}
`
,
...
@@ -106,6 +110,9 @@ export default {
...
@@ -106,6 +110,9 @@ export default {
if
(
this
.
dateTo
){
if
(
this
.
dateTo
){
this
.
defaultValue
=
new
Date
(
this
.
dateTo
)
this
.
defaultValue
=
new
Date
(
this
.
dateTo
)
}
}
if
(
this
.
timeValue
){
this
.
value
=
this
.
timeValue
}
this
.
handleAppClick
()
this
.
handleAppClick
()
if
(
this
.
timeList
&&
this
.
timeList
.
length
>
0
){
if
(
this
.
timeList
&&
this
.
timeList
.
length
>
0
){
this
.
options
=
this
.
timeList
this
.
options
=
this
.
timeList
...
...
dsk-operate-ui/src/views/custom/overview/index.vue
View file @
6dedea1e
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
pageSize
:
10
,
pageSize
:
10
,
recordlist
:[],
recordlist
:[],
timeList
:[
'今日'
,
'近三天'
,
'近七天'
,
'自定义'
],
timeList
:[
'今日'
,
'近三天'
,
'近七天'
,
'自定义'
],
datatype
:
0
,
datatype
:
''
,
defaultValue
:
new
Date
(),
defaultValue
:
new
Date
(),
pickerValue
:
[],
pickerValue
:
[],
params
:{
params
:{
...
@@ -301,88 +301,120 @@
...
@@ -301,88 +301,120 @@
self
.
myChart1
.
resize
()
self
.
myChart1
.
resize
()
},
10
)
},
10
)
},
},
initChart
(
data
){
initChart
(
list
){
let
data
=
[]
if
(
list
.
length
>
10
){
for
(
var
i
=
0
;
i
<
10
;
i
++
){
data
.
push
(
list
[
i
])
}
}
else
{
data
=
list
}
//业主单位合作情况
//业主单位合作情况
this
.
option
=
{
this
.
option
=
{
legend
:
{
tooltip
:
{
show
:
false
,
trigger
:
'axis'
,
x
:
'center'
,
y
:
'bottom'
,
padding
:[
10
,
0
,
10
,
0
],
itemWidth
:
24
,
itemHeight
:
10
,
textStyle
:{
borderRadius
:
30
,
}
},
yAxis
:
{
type
:
'category'
,
inverse
:
true
,
// 反向坐标
data
:
data
.
map
(
item
=>
item
.
companyName
),
axisLine
:
{
show
:
false
,
},
axisTick
:
{
show
:
false
,
},
axisPointer
:
{
axisPointer
:
{
label
:
{
type
:
'cross'
show
:
true
,
margin
:
30
}
}
},
},
axisLabel
:
{
xAxis
:
{
margin
:
200
,
type
:
'category'
,
textStyle
:
{
axisLabel
:
{
//坐标轴刻度标签的相关设置
align
:
'left'
,
margin
:
15
,
//刻度标签与轴线之间的距离
},
color
:
"#666666"
formatter
:
function
(
value
,
index
)
{
if
(
value
.
length
>
15
)
{
value
=
`
${
value
.
slice
(
0
,
15
)}
...`
}
return
value
},
},
axisTick
:
false
,
//坐标轴刻度
axisPointer
:
{
type
:
'shadow'
},
},
data
:
data
.
map
(
item
=>
item
.
companyName
),
},
},
xAxis
:
{
yAxis
:
[
{
type
:
'value'
,
type
:
'value'
,
axisLabel
:
{
//坐标轴刻度标签的相关设置
axisLabel
:
{
//坐标轴刻度标签的相关设置
//
color:"#666666"
color
:
"#666666"
},
},
name
:
'单位/万元'
,
name
:
'单位:次'
,
// nameLocation: 'start',
nameLocation
:
'end'
,
nameLocation
:
'end'
,
nameTextStyle
:
{
nameTextStyle
:
{
padding
:
[
0
,
0
,
0
,
0
],
// 四个数字分别为上右下左与原位置距离
padding
:
[
0
,
10
,
0
,
-
60
],
// 四个数字分别为上右下左与原位置距离
// color: '#666666',
color
:
'#666666'
,
}
},
},
{
type
:
'value'
,
axisLabel
:
{
//坐标轴刻度标签的相关设置
color
:
"#666666"
},
},
name
:
'单位:万元'
,
nameLocation
:
'end'
,
nameTextStyle
:
{
padding
:
[
0
,
0
,
0
,
100
],
// 四个数字分别为上右下左与原位置距离
color
:
'#666666'
,
},
splitLine
:
{
show
:
true
,
lineStyle
:
{
type
:
'dashed'
,
color
:
[
'#FFFFFF'
]
}
}
}
],
grid
:
{
grid
:
{
left
:
'22%'
,
top
:
30
,
top
:
6
0
,
left
:
8
0
,
right
:
8
0
,
right
:
9
0
,
bottom
:
6
0
,
bottom
:
3
0
,
},
},
series
:
[
{
name
:
'合作金额(万元)'
,
smooth
:
false
,
//平滑
type
:
"line"
,
symbolSize
:
6
,
yAxisIndex
:
1
,
tooltip
:
{
tooltip
:
{
show
:
true
,
valueFormatter
:
function
(
value
)
{
// backgroundColor: 'rgba(0,0,0,.7)',
return
value
+
'万元'
borderWidth
:
0
,
}
// textStyle: {
},
// color: '#fff',
itemStyle
:
{
// },
normal
:{
},
color
:
'#67B3FD'
,
series
:
{
lineStyle
:
{
name
:
'合同总额'
,
width
:
3
data
:
data
.
map
(
item
=>
item
.
totalAmount
),
},
barGap
:
0
,
}
},
data
:
data
.
map
(
item
=>
item
.
totalAmount
),
},
{
name
:
'合作次数(次)'
,
type
:
'bar'
,
type
:
'bar'
,
itemStyle
:{
barWidth
:
20
,
color
:
'#92C9FF'
,
tooltip
:
{
barBorderRadius
:[
0
,
20
,
20
,
0
]
valueFormatter
:
function
(
value
)
{
return
value
+
'次'
;
}
},
},
barWidth
:
8
,
itemStyle
:
{
normal
:{
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[{
offset
:
0
,
color
:
'#56A5FF'
},
{
offset
:
1
,
color
:
'#1B8EFF'
}]),
barBorderRadius
:[
20
,
20
,
0
,
0
]
}
},
},
data
:
data
.
map
(
item
=>
item
.
businessCount
),
}
]
}
}
this
.
option
&&
this
.
myChart
.
setOption
(
this
.
option
)
this
.
option
&&
this
.
myChart
.
setOption
(
this
.
option
)
},
},
...
...
dsk-operate-ui/src/views/detail/party-a/overview/holderinfo.vue
View file @
6dedea1e
...
@@ -33,6 +33,9 @@
...
@@ -33,6 +33,9 @@
<
template
slot=
"stockPercent"
slot-scope=
"scope"
>
<
template
slot=
"stockPercent"
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
stockPercent
?
parseFloat
(
Number
(
scope
.
row
.
stockPercent
*
100
).
toFixed
(
4
))
+
'%'
:
'--'
}}
</span>
<span>
{{
scope
.
row
.
stockPercent
?
parseFloat
(
Number
(
scope
.
row
.
stockPercent
*
100
).
toFixed
(
4
))
+
'%'
:
'--'
}}
</span>
</
template
>
</
template
>
<
template
slot=
"shouldCapiConv"
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
shouldCapiConv
===
'0.00万元人民币'
?
'--'
:
scope
.
row
.
shouldCapiConv
}}
</span>
</
template
>
</tables>
</tables>
</div>
</div>
</template>
</template>
...
@@ -56,7 +59,7 @@ export default {
...
@@ -56,7 +59,7 @@ export default {
forData
:
[
forData
:
[
{
label
:
'发起人/股东'
,
prop
:
'stockName'
,
minWidth
:
'230'
,
slot
:
true
},
{
label
:
'发起人/股东'
,
prop
:
'stockName'
,
minWidth
:
'230'
,
slot
:
true
},
{
label
:
'持股比例'
,
prop
:
'stockPercent'
,
slot
:
true
},
{
label
:
'持股比例'
,
prop
:
'stockPercent'
,
slot
:
true
},
{
label
:
'认缴出资'
,
prop
:
'shouldCapiConv'
},
{
label
:
'认缴出资'
,
prop
:
'shouldCapiConv'
,
slot
:
true
},
{
label
:
'实缴出资额'
,
prop
:
'realCapi'
},
{
label
:
'实缴出资额'
,
prop
:
'realCapi'
},
{
label
:
'认缴出资日期'
,
prop
:
'conDate'
},
{
label
:
'认缴出资日期'
,
prop
:
'conDate'
},
{
label
:
'参股日期'
,
prop
:
'realCapiDate'
,
width
:
'150'
}
{
label
:
'参股日期'
,
prop
:
'realCapiDate'
,
width
:
'150'
}
...
...
dsk-operate-ui/src/views/index.vue
View file @
6dedea1e
This diff is collapsed.
Click to expand it.
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
6dedea1e
...
@@ -392,13 +392,16 @@
...
@@ -392,13 +392,16 @@
select
select
bi.amount_source,count(bi.id) businessCount, ROUND(sum(bi.investment_amount), 4) totalAmount
bi.amount_source,count(bi.id) businessCount, ROUND(sum(bi.investment_amount), 4) totalAmount
<include
refid=
"businessSearchSql"
/>
<include
refid=
"businessSearchSql"
/>
and bi.amount_source is not null
group by bi.amount_source
group by bi.amount_source
having businessCount > 0
</select>
</select>
<select
id=
"selectTypeAnalyze"
resultType=
"com.dsk.system.domain.business.vo.BusinessAnalyzeVo"
>
<select
id=
"selectTypeAnalyze"
resultType=
"com.dsk.system.domain.business.vo.BusinessAnalyzeVo"
>
select
select
bi.project_type,count(bi.id) businessCount, ROUND(sum(bi.investment_amount), 4) totalAmount
bi.project_type,count(bi.id) businessCount, ROUND(sum(bi.investment_amount), 4) totalAmount
<include
refid=
"businessSearchSql"
/>
<include
refid=
"businessSearchSql"
/>
and bi.project_type is not null
group by bi.project_type
group by bi.project_type
<if
test=
"status != null and status == 0 "
>
order by businessCount desc
</if>
<if
test=
"status != null and status == 0 "
>
order by businessCount desc
</if>
<if
test=
"status != null and status == 2 "
>
order by totalAmount desc
</if>
<if
test=
"status != null and status == 2 "
>
order by totalAmount desc
</if>
...
@@ -408,6 +411,7 @@
...
@@ -408,6 +411,7 @@
select
select
bi.project_category,count(bi.id) businessCount, ROUND(sum(bi.investment_amount), 4) totalAmount
bi.project_category,count(bi.id) businessCount, ROUND(sum(bi.investment_amount), 4) totalAmount
<include
refid=
"businessSearchSql"
/>
<include
refid=
"businessSearchSql"
/>
and bi.project_category is not null
group by bi.project_category
group by bi.project_category
<if
test=
"status != null and status == 0 "
>
order by businessCount desc
</if>
<if
test=
"status != null and status == 0 "
>
order by businessCount desc
</if>
<if
test=
"status != null and status == 2 "
>
order by totalAmount desc
</if>
<if
test=
"status != null and status == 2 "
>
order by totalAmount desc
</if>
...
...
dsk-system/src/main/resources/mapper/system/customer/CustomerMapper.xml
View file @
6dedea1e
...
@@ -118,6 +118,7 @@
...
@@ -118,6 +118,7 @@
left join business_info bi on (bi.customer_id = ct.customer_id and bi.status = 2)
left join business_info bi on (bi.customer_id = ct.customer_id and bi.status = 2)
where ctu.status = 0 and ctu.user_id = #{userId}
where ctu.status = 0 and ctu.user_id = #{userId}
group by ct.customer_id
group by ct.customer_id
having businessCount > 0
order by totalAmount desc
order by totalAmount desc
limit 10
limit 10
</select>
</select>
...
...
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