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
843436f2
authored
2023-02-03 17:23:23 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
引入组件大小写修改
1 parent
1095e8ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
204 deletions
src/views/dataView/centercard.vue
src/views/dataView/leftcard.vue
src/views/dataView/rightcard.vue
src/views/home/index1.vue
src/views/dataView/centercard.vue
View file @
843436f
...
...
@@ -6,14 +6,14 @@
</div>
<div
class=
"card2 mt-10"
>
<div
class=
"title"
>
数据趋势
</div>
<brokenline
class=
"
B
rokenline"
/>
<brokenline
class=
"
b
rokenline"
/>
</div>
</div>
</
template
>
<
script
>
import
maps
from
"@/components/
Echart/M
ap"
;
import
brokenline
from
"@/components/
Echart/B
rokenline"
;
import
maps
from
"@/components/
echart/m
ap"
;
import
brokenline
from
"@/components/
echart/b
rokenline"
;
export
default
{
data
()
{
return
{};
...
...
@@ -78,7 +78,7 @@ export default {
margin-bottom
:
10px
;
}
.
B
rokenline
{
.
b
rokenline
{
margin
:
auto
;
width
:
100%
;
}
...
...
src/views/dataView/leftcard.vue
View file @
843436f
...
...
@@ -54,7 +54,7 @@
</
template
>
<
script
>
import
columnar
from
"@/components/
Echart/C
olumnar"
;
import
columnar
from
"@/components/
echart/c
olumnar"
;
import
work
from
"@/api/work"
;
export
default
{
data
()
{
...
...
src/views/dataView/rightcard.vue
View file @
843436f
...
...
@@ -18,8 +18,8 @@
</
template
>
<
script
>
import
columnarsmat
from
"@/components/
Echart/C
olumnarsmat"
;
import
Rose
from
"@/components/
E
chart/Rose"
;
import
columnarsmat
from
"@/components/
echart/c
olumnarsmat"
;
import
Rose
from
"@/components/
e
chart/Rose"
;
export
default
{
data
()
{
return
{
...
...
src/views/home/index1.vue
deleted
100644 → 0
View file @
1095e8a
<
template
>
<div
class=
"home"
>
<div
class=
"home-left bgbk"
>
<div
class=
"header titlebg"
>
汉中市接入概括
</div>
<!-- 地图 -->
<CenterLeft2Chart
class=
"map"
/>
</div>
<div
class=
"home-right"
>
<!-- 陕西省接入概括 -->
<div
class=
"jrgk homebk"
>
<div
class=
"header titlebg"
>
陕西省接入概括
</div>
<!-- 陕西省接入概括列表 -->
<el-row>
<el-col
:span=
"9"
>
<ul
class=
"gkList"
>
<li>
总数量
</li>
<div
class=
"zsl"
>
<dv-digital-flop
:config=
"config"
style=
"height:70px;"
/>
<p></p>
</div>
</ul>
</el-col>
<el-col
:span=
"5"
>
<ul
class=
"jrl"
>
<div
class=
"jrlList jrllsit1"
>
<p
v-for=
"(item, index) in jrlList"
:key=
"index"
>
{{
item
}}
</p>
</div>
<li>
日均接入量
</li>
</ul>
</el-col>
<el-col
:span=
"5"
>
<ul
class=
"jrl"
>
<div
class=
"jrlList jrllsit2"
>
<p
v-for=
"(item, index) in dtjrlList"
:key=
"index"
>
{{
item
}}
</p>
</div>
<li>
日均接入量
</li>
</ul>
</el-col>
<el-col
:span=
"5"
>
<ul
class=
"jrl"
>
<div
class=
"jrlList jrllsit3"
>
<p
v-for=
"(item, index) in ztzlList"
:key=
"index"
>
{{
item
}}
</p>
</div>
<li>
总体质量
</li>
</ul>
</el-col>
</el-row>
</div>
<div
class=
"jrdgk"
>
<!-- 接入点概括 -->
<div
class=
"sxsjr homebk"
>
<div
class=
"header titlebg"
>
接入点概括
</div>
<el-row>
<el-col
:span=
"8"
class=
"jrdList"
v-for=
"(item, index) in jrdList"
:key=
"index"
>
<ul>
<li>
{{
item
.
value
}}
</li>
<li>
{{
item
.
title
}}
</li>
</ul>
</el-col>
</el-row>
</div>
<!-- 上报情况概括 -->
<div
class=
"sbqkgk homebk"
>
<div
class=
"header titlebg"
>
上报情况概括
</div>
<ul
class=
"sbqkgs"
>
<div
class=
"sbqkgsList"
>
<p
v-for=
"(item, index) in sbqkgsList"
:key=
"index"
:class=
"
{ 'active': (typeof (item - 0) === 'number'
&&
!isNaN(item - 0)) }">
{{
item
}}
</p>
</div>
<li>
总数量
</li>
</ul>
</div>
</div>
<!-- 底部表格 -->
<div
class=
"jrxxlb tableClass bgbk"
>
<div
class=
"title titlebg"
>
陕西省平台接入情况
</div>
<!-- 陕西省平台接入情况table -->
<lb-table
ref=
"table"
:pagination=
"false"
:heightNum=
"515"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
</div>
</
template
>
<
script
>
// 上报首页
import
wgsl
from
"./wgsl.vue"
;
import
CenterLeft2Chart
from
"@/components/Echart/Map"
;
// 引入表格数据
import
data
from
"./data"
export
default
{
name
:
"home"
,
components
:
{
wgsl
,
CenterLeft2Chart
},
data
()
{
function
formatter
(
number
)
{
const
numbers
=
number
.
toString
().
split
(
''
).
reverse
()
const
segs
=
[]
while
(
numbers
.
length
)
segs
.
push
(
numbers
.
splice
(
0
,
3
).
join
(
''
))
return
segs
.
join
(
','
).
split
(
''
).
reverse
().
join
(
''
)
}
return
{
// 总数量
config
:
{
number
:
[
6523
],
content
:
'{nt}'
,
formatter
,
style
:
{
fontSize
:
50
,
fontWeight
:
700
,
fill
:
'#FFDD00'
}
},
// 日均接入量
jjrl
:
300
,
// 当天接入量
dtjrl
:
100
,
// 总体质量
ztzl
:
3620
,
// 上报情况概括
sbqkgs
:
6296
,
// 接入点概括
jrdList
:
[
{
value
:
60
,
title
:
'总数量'
},
{
value
:
60
,
title
:
'正常'
},
{
value
:
60
,
title
:
'异常'
}
],
// 表格数据
tableData
:
{
// 表格头部信息
columns
:
data
.
columns
(),
// 表格列表数据
data
:
[{
xzqmc
:
'咸阳市'
,
xzqzs
:
100
,
jrl
:
300
,
jscgl
:
20
,
dk
:
60
,
wjrqx
:
'长安县'
,
jrdf
:
50
},
{
xzqmc
:
'咸阳市'
,
xzqzs
:
100
,
jrl
:
300
,
jscgl
:
20
,
dk
:
60
,
wjrqx
:
'长安县'
,
jrdf
:
50
}]
}
}
},
computed
:
{
jrlList
:
function
()
{
return
this
.
jjrl
.
toString
().
split
(
''
)
},
dtjrlList
:
function
()
{
return
this
.
dtjrl
.
toString
().
split
(
''
)
},
ztzlList
:
function
()
{
return
this
.
ztzl
.
toString
().
split
(
''
)
},
sbqkgsList
:
function
()
{
const
numbers
=
this
.
sbqkgs
.
toString
().
split
(
''
).
reverse
()
const
segs
=
[]
while
(
numbers
.
length
)
segs
.
push
(
numbers
.
splice
(
0
,
3
).
join
(
''
))
return
segs
.
join
(
','
).
split
(
''
).
reverse
().
join
(
''
)
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"./home.scss"
;
</
style
>
Please
register
or
sign in
to post a comment