Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
04cf28fa
authored
2023-02-10 10:25:46 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcjg-web
2 parents
1cb496ef
c0a7bac2
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
40 additions
and
15 deletions
src/common/echart/index.vue
src/components/Echart/Brokenline/Chart.vue
src/components/Echart/Rose/Chart.vue
src/components/Echart/Rose/index.vue
src/views/home/dataView/rightcard.vue
src/views/home/dataView/screencontent.vue
src/views/jktj/bsxljk/index.vue
src/views/jktj/cgltj/index.vue
src/views/jktj/ywltj/index.vue
src/common/echart/index.vue
View file @
04cf28f
...
...
@@ -59,6 +59,9 @@ export default {
initChart
()
{
// 初始化echart
this
.
chart
=
this
.
$echarts
.
init
(
this
.
$el
,
'tdTheme'
)
function
nowSize
(
val
,
initWidth
=
1920
){
return
val
*
(
nowClientWidth
/
initWidth
);
}
this
.
chart
.
setOption
(
this
.
options
,
true
)
...
...
src/components/Echart/Brokenline/Chart.vue
View file @
04cf28f
...
...
@@ -35,6 +35,16 @@ export default {
}
return
rgbaColor
;
},
fontSize
(
res
)
{
let
docEl
=
document
.
documentElement
,
clientWidth
=
window
.
innerWidth
||
document
.
documentElement
.
clientWidth
||
document
.
body
.
clientWidth
;
if
(
!
clientWidth
)
return
;
let
fontSize
=
clientWidth
/
1920
;
return
res
*
fontSize
;
}
},
watch
:
{
cdata
:
{
...
...
@@ -51,6 +61,7 @@ export default {
data
:
newData
.
legendItem
,
textStyle
:
{
color
:
"#00DEFF"
,
fontSize
:
this
.
fontSize
(
12
),
},
},
// calculable: true,
...
...
@@ -97,8 +108,8 @@ export default {
textStyle: {
color: "
rgba
(
255
,
255
,
255
,
0.7
)
", // x轴颜色
fontWeight: "
normal
",
fontSize:
"
12
"
,
lineHeight:
22
,
fontSize:
this.fontSize(12)
,
lineHeight:
this.fontSize(22)
,
},
},
data: this.xAxisData,
...
...
@@ -136,7 +147,7 @@ export default {
smooth: false, //是否平滑
showSymbol: true,
symbol: "
circle
",
symbolSize:
6
,
symbolSize:
this.fontSize(6)
,
zlevel: 3,
lineStyle: {
normal: {
...
...
@@ -154,7 +165,7 @@ export default {
smooth: false,
showSymbol: true,
symbol: "
circle
",
symbolSize:
8
,
symbolSize:
this.fontSize(8)
,
zlevel: 3,
lineStyle: {
normal: {
...
...
@@ -172,7 +183,7 @@ export default {
smooth: false,
showSymbol: true,
symbol: "
circle
"
,
symbolSize
:
8
,
symbolSize
:
this
.
fontSize
(
8
)
,
zlevel
:
3
,
lineStyle
:
{
normal
:
{
...
...
src/components/Echart/Rose/Chart.vue
View file @
04cf28f
<
template
>
<Echart
:options=
"options"
id=
"centreLeft1Chart"
:key=
"key"
height=
"
225px
"
width=
"80%"
></Echart>
<Echart
:options=
"options"
id=
"centreLeft1Chart"
:key=
"key"
height=
"
1.0417rem
"
width=
"80%"
></Echart>
</
template
>
<
script
>
import
Echart
from
'@/common/echart'
...
...
@@ -49,7 +49,7 @@ export default {
{
name
:
"业务量"
,
type
:
"pie"
,
radius
:
[
0
,
100
],
radius
:
[
2
0
,
100
],
roseType
:
"area"
,
data
:
newData
.
seriesData
}
...
...
@@ -67,7 +67,7 @@ export default {
<
style
lang=
"scss"
scoped
>
#centreLeft1Chart
{
margin-bottom
:
10px
;
margin-left
:
60px
;
margin-bottom
:
.0521rem
;
margin-left
:
60px
;
}
</
style
>
...
...
src/components/Echart/Rose/index.vue
View file @
04cf28f
...
...
@@ -20,10 +20,14 @@ export default {
},
mounted
()
{
this
.
getdjywltotal
();
window
.
addEventListener
(
"resize"
,
()
=>
{
this
.
getdjywltotal
();
});
},
methods
:
{
// 获取登记业务量玫瑰图数据
async
getdjywltotal
()
{
this
.
cdata
.
seriesData
=
[]
try
{
let
p
=
{
DJLX
:
""
,
...
...
src/views/home/dataView/rightcard.vue
View file @
04cf28f
...
...
@@ -103,7 +103,7 @@ export default {
height
:
33%
;
background
:
url("~@/image/djywl.png")
no-repeat
;
background-size
:
100%
100%
;
padding
:
.
2
825rem
0
0
0
;
padding
:
.
3
825rem
0
0
0
;
}
.card3
{
...
...
src/views/home/dataView/screencontent.vue
View file @
04cf28f
...
...
@@ -49,6 +49,7 @@ export default {
margin
:
auto
;
display
:
flex
;
justify-content
:
space-between
;
margin-top
:
15px
;
}
//
#box
{
...
...
src/views/jktj/bsxljk/index.vue
View file @
04cf28f
...
...
@@ -12,6 +12,7 @@
<el-form-item
label=
"开始日期"
prop=
"startTime"
>
<el-date-picker
type=
"datetime"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
v-model=
"form.startTime"
...
...
@@ -22,6 +23,7 @@
<el-col
:span=
"4"
>
<el-form-item
label=
"结束日期"
prop=
"endTime"
>
<el-date-picker
class=
"width100"
type=
"datetime"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
...
...
@@ -31,7 +33,7 @@
</el-form-item>
</el-col>
<!-- 操作按钮 -->
<el-col
:span=
"
3
"
class=
"btnColRight"
>
<el-col
:span=
"
4
"
class=
"btnColRight"
>
<btn
nativeType=
"cz"
@
click=
"resetForm"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"getProcessCounts"
>
查询
</btn>
</el-col>
...
...
src/views/jktj/cgltj/index.vue
View file @
04cf28f
...
...
@@ -30,6 +30,7 @@
<el-form-item
label=
"开始日期"
prop=
"startTime"
>
<el-date-picker
type=
"datetime"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
v-model=
"form.startTime"
...
...
@@ -41,6 +42,7 @@
<el-form-item
label=
"结束日期"
prop=
"endTime"
>
<el-date-picker
type=
"datetime"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
v-model=
"form.endTime"
...
...
@@ -49,7 +51,7 @@
</el-form-item>
</el-col>
<!-- 操作按钮 -->
<el-col
:span=
"
3
"
class=
"btnColRight"
>
<el-col
:span=
"
4
"
class=
"btnColRight"
>
<btn
nativeType=
"cz"
@
click=
"resetForm"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"getSuucessRate"
>
查询
</btn>
</el-col>
...
...
src/views/jktj/ywltj/index.vue
View file @
04cf28f
...
...
@@ -27,8 +27,9 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"开始日期"
prop=
"startTime"
>
<el-form-item
label=
"开始日期"
>
<el-date-picker
class=
"width100"
type=
"datetime"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
...
...
@@ -38,8 +39,9 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"结束日期"
prop=
"endTime"
>
<el-form-item
label=
"结束日期"
>
<el-date-picker
class=
"width100"
type=
"datetime"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
...
...
@@ -49,7 +51,7 @@
</el-form-item>
</el-col>
<!-- 操作按钮 -->
<el-col
:span=
"
3
"
class=
"btnColRight"
>
<el-col
:span=
"
4
"
class=
"btnColRight"
>
<btn
nativeType=
"cz"
@
click=
"resetForm"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"getProcessCounts"
>
查询
</btn>
</el-col>
...
...
Please
register
or
sign in
to post a comment