Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
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
何远江
yishuju-ui
Commits
ed7b4d4f
Commit
ed7b4d4f
authored
Mar 18, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据大屏和合同管理
parent
2d84963a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
13 deletions
+27
-13
AnnualUseChart.vue
src/views/data-screen/components/AnnualUseChart.vue
+1
-1
HotPlateChart.vue
src/views/data-screen/components/HotPlateChart.vue
+23
-9
index.vue
src/views/infoGather/constant/index.vue
+3
-3
No files found.
src/views/data-screen/components/AnnualUseChart.vue
View file @
ed7b4d4f
...
@@ -101,7 +101,7 @@ const option = {
...
@@ -101,7 +101,7 @@ const option = {
data
:
salvProMax
,
data
:
salvProMax
,
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
color
:
'
rgba(24,31,68,1)
'
,
color
:
'
#05091e
'
,
barBorderRadius
:
30
,
barBorderRadius
:
30
,
}
}
},
},
...
...
src/views/data-screen/components/HotPlateChart.vue
View file @
ed7b4d4f
...
@@ -14,7 +14,7 @@ var salvProName =["还呗","360借条"];
...
@@ -14,7 +14,7 @@ var salvProName =["还呗","360借条"];
var
salvProValue
=
[
70
,
65
];
var
salvProValue
=
[
70
,
65
];
var
salvProMax
=
[];
//背景按最大值
var
salvProMax
=
[];
//背景按最大值
for
(
let
i
=
0
;
i
<
salvProValue
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
salvProValue
.
length
;
i
++
)
{
salvProMax
.
push
(
salvProValue
[
0
]
)
salvProMax
.
push
(
100
)
}
}
const
colors
=
[
"#1089E7"
,
"#F57474"
,
"#56D0E3"
,
"#F8B448"
,
"#8B78F6"
];
const
colors
=
[
"#1089E7"
,
"#F57474"
,
"#56D0E3"
,
"#F8B448"
,
"#8B78F6"
];
...
@@ -45,9 +45,10 @@ const option = {
...
@@ -45,9 +45,10 @@ const option = {
type
:
'category'
,
type
:
'category'
,
inverse
:
true
,
inverse
:
true
,
axisLabel
:
{
axisLabel
:
{
show
:
tru
e
,
show
:
fals
e
,
textStyle
:
{
textStyle
:
{
color
:
'#fff'
color
:
'#fff'
,
fontSize
:
'14'
},
},
},
},
splitLine
:
{
splitLine
:
{
...
@@ -69,7 +70,7 @@ const option = {
...
@@ -69,7 +70,7 @@ const option = {
axisLabel
:
{
axisLabel
:
{
textStyle
:
{
textStyle
:
{
color
:
'#ffffff'
,
color
:
'#ffffff'
,
fontSize
:
'1
2
'
fontSize
:
'1
4
'
},
},
},
},
data
:
salvProValue
data
:
salvProValue
...
@@ -80,7 +81,7 @@ const option = {
...
@@ -80,7 +81,7 @@ const option = {
zlevel
:
1
,
zlevel
:
1
,
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
barBorderRadius
:
30
,
//
barBorderRadius: 30,
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[{
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[{
offset
:
0
,
offset
:
0
,
color
:
'rgb(57,89,255,1)'
color
:
'rgb(57,89,255,1)'
...
@@ -90,19 +91,32 @@ const option = {
...
@@ -90,19 +91,32 @@ const option = {
}]),
}]),
},
},
},
},
barWidth
:
20
,
label
:
{
normal
:
{
color
:
'#b3ccf8'
,
show
:
true
,
position
:
[
0
,
'-24px'
],
textStyle
:
{
fontSize
:
16
},
formatter
:
function
(
a
,
b
)
{
return
a
.
name
}
}
},
barWidth
:
60
,
data
:
salvProValue
data
:
salvProValue
},
},
{
{
name
:
'背景'
,
name
:
'背景'
,
type
:
'bar'
,
type
:
'bar'
,
barWidth
:
2
0
,
barWidth
:
6
0
,
barGap
:
'-100%'
,
barGap
:
'-100%'
,
data
:
salvProMax
,
data
:
salvProMax
,
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
color
:
'
rgba(24,31,68,1)
'
,
color
:
'
#05091e
'
,
barBorderRadius
:
30
,
//
barBorderRadius: 30,
}
}
},
},
},
},
...
...
src/views/infoGather/constant/index.vue
View file @
ed7b4d4f
...
@@ -295,15 +295,15 @@
...
@@ -295,15 +295,15 @@
default
({
row
})
{
default
({
row
})
{
return
(
return
(
<>
<>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
addConstant
(
row
,
true
)}
v
-
show
=
{
row
.
createBy
===
userStore
.
userInfo
.
id
}
disabled
=
{
row
.
legalFlowStatus
===
'pass'
&&
row
.
financeFlowStatus
===
'pass'
}
>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
addConstant
(
row
,
true
)}
v
-
show
=
{
row
.
createBy
===
userStore
.
userInfo
.
id
}
disabled
=
{
row
.
legalFlowStatus
===
'pass'
}
>
修改
修改
<
/ElButton
>
<
/ElButton
>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
apply
(
row
,
'finance'
)}
v
-
show
=
{
authButtonListGet
.
includes
(
'finance_apply'
)}
disabled
=
{
row
.
legalFlowStatus
||
row
.
financeFlowStatus
===
'pass'
}
>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
apply
(
row
,
'finance'
)}
v
-
show
=
{
authButtonListGet
.
includes
(
'finance_apply'
)}
disabled
=
{
row
.
legalFlowStatus
||
row
.
financeFlowStatus
===
'pass'
}
>
财务审批
财务审批
<
/ElButton
>
<
/ElButton
>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
apply
(
row
,
'legal'
)}
v
-
show
=
{
authButtonListGet
.
includes
(
'legal_apply'
)}
disabled
=
{
row
.
financeFlowStatus
!==
'pass'
||
row
.
legalFlowStatus
===
'pass'
}
>
{
/*
<ElButton type="primary" link onClick={() => apply(row, 'legal')} v-show={authButtonListGet.includes('legal_apply')} disabled={row.financeFlowStatus !== 'pass' || row.legalFlowStatus === 'pass'}>
法务审批
法务审批
<
/ElButton
>
</ElButton>
*/
}
<
/
>
<
/
>
);
);
},
},
...
...
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