Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
quality-dynamic
Project
Project
Details
Activity
Releases
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
张牧越
quality-dynamic
Commits
64559f2b
Commit
64559f2b
authored
Nov 30, 2024
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
00438664
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
261 additions
and
245 deletions
+261
-245
dataStatis.js
src/api/dataStatis.js
+19
-9
icon_hong.png
src/assets/images/index/icon_hong.png
+0
-0
icon_lan.png
src/assets/images/index/icon_lan.png
+0
-0
Index.vue
src/views/DataStatis/Index.vue
+242
-236
No files found.
src/api/dataStatis.js
View file @
64559f2b
...
@@ -51,10 +51,23 @@ export async function getProjectQuestion(params) {
...
@@ -51,10 +51,23 @@ export async function getProjectQuestion(params) {
}
}
// // 区域问题列表 弃用
// export async function getAreaQuestionByAreaId(areaId) {
// return await request({
// url: `/site/index/type`,
// method: 'get',
// params: {
// city_id: areaId
// }
// })
// }
// 区域问题列表
// 区域问题列表
export
async
function
get
AreaQuestionByAreaId
(
areaId
)
{
export
async
function
get
ScoreByCity
(
areaId
)
{
return
await
request
({
return
await
request
({
url
:
`/site/index/
type
`
,
url
:
`/site/index/
get_project
`
,
method
:
'get'
,
method
:
'get'
,
params
:
{
params
:
{
city_id
:
areaId
city_id
:
areaId
...
@@ -62,16 +75,13 @@ export async function getAreaQuestionByAreaId(areaId) {
...
@@ -62,16 +75,13 @@ export async function getAreaQuestionByAreaId(areaId) {
})
})
}
}
// 右侧得分
export
async
function
getScoreStatusByCity
(
areaId
)
{
// 区域问题列表
export
async
function
getScoreByCity
(
areaId
)
{
return
await
request
({
return
await
request
({
url
:
`/site/index/
typ
e`
,
url
:
`/site/index/
get_scor
e`
,
method
:
'get'
,
method
:
'get'
,
params
:
{
params
:
{
city_id
:
areaId
city_id
:
areaId
}
}
})
})
}
}
\ No newline at end of file
src/assets/images/index/icon_hong.png
0 → 100644
View file @
64559f2b
3.36 KB
src/assets/images/index/icon_lan.png
0 → 100644
View file @
64559f2b
3.89 KB
src/views/DataStatis/Index.vue
View file @
64559f2b
...
@@ -6,20 +6,34 @@
...
@@ -6,20 +6,34 @@
element-loading-text="地图加载中..." -->
element-loading-text="地图加载中..." -->
<div
class=
"left-area"
>
<div
class=
"left-area"
>
<Section
class=
"sections"
title=
"政府监管"
>
<Section
class=
"sections"
title=
"政府监管"
>
<STable
:headers=
"header1"
:table-data=
"data1"
>
</STable>
<STable
:headers=
"header1"
:table-data=
"data1"
>
<template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'score'"
>
<span
:style=
"
{ color: scope.row.score
<
80
?
'#
f86262
'
:
''
}"
>
{{
scope
.
row
.
score
}}
</span>
</
template
>
</template>
</STable>
</Section>
</Section>
<Section
class=
"sections"
title=
"工程质量"
>
<Section
class=
"sections"
title=
"工程质量"
>
<STable
:headers=
"header2"
:table-data=
"data2"
>
</STable>
<STable
:headers=
"header2"
:table-data=
"data2"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'score'"
>
<span
:style=
"
{ color: scope.row.score
<
80
?
'#
f86262
'
:
''
}"
>
{{
scope
.
row
.
score
}}
</span>
</
template
>
</template>
</STable>
</Section>
</Section>
<Section
class=
"sections"
title=
"创新创优"
>
<Section
class=
"sections"
title=
"创新创优"
>
<STable
:headers=
"header3"
:table-data=
"data3"
>
<STable
:headers=
"header3"
:table-data=
"data3"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'count'"
>
<template
v-if=
"scope.header.slot == 'score'"
>
<span
<span
:style=
"
{ color: scope.row.score
<
80
?
'#
f86262
'
:
''
}"
>
{{
>
{{
scope
.
row
.
count
}}
/
<span
style=
"color: green"
>
{{
scope
.
row
.
score
scope
.
row
.
general
}}
</span>
}}
</span></span
>
</
template
>
</
template
>
</template>
</template>
</STable>
</STable>
...
@@ -30,20 +44,29 @@
...
@@ -30,20 +44,29 @@
<Section
class=
"sections long"
type=
"long"
:title=
"currentCityName"
>
<Section
class=
"sections long"
type=
"long"
:title=
"currentCityName"
>
<div
class=
"get-points"
>
<div
class=
"get-points"
>
<div
class=
"points"
>
<div
class=
"points"
>
<div
class=
"grade"
style=
"color: #f86262"
>
<div
{{ zfjgPoints }}
class=
"grade"
:style=
"{ color: zfjg_score < 80 ? '#f86262' : '#5aefd1' }"
>
{{ zfjg_score }}
</div>
</div>
<div
class=
"label"
>
政府监管
</div>
<div
class=
"label"
>
政府监管
</div>
</div>
</div>
<div
class=
"points"
>
<div
class=
"points"
>
<div
class=
"grade"
style=
"color: #5aefd1"
>
<div
{{ zfjgPoints }}
class=
"grade"
:style=
"{ color: zljc_score < 80 ? '#f86262' : '#5aefd1' }"
>
{{ zljc_score }}
</div>
</div>
<div
class=
"label"
>
质量检测
</div>
<div
class=
"label"
>
质量检测
</div>
</div>
</div>
<div
class=
"points"
>
<div
class=
"points"
>
<div
class=
"grade"
style=
"color: #f86262"
>
<div
{{ zfjgPoints }}
class=
"grade"
:style=
"{ color: score_count < 80 ? '#f86262' : '#5aefd1' }"
>
{{ score_count }}
</div>
</div>
<div
class=
"label"
>
总得分
</div>
<div
class=
"label"
>
总得分
</div>
</div>
</div>
...
@@ -63,7 +86,33 @@
...
@@ -63,7 +86,33 @@
:style=
"{ marginTop: '.1rem', height: 'calc(100% - 1rem)' }"
:style=
"{ marginTop: '.1rem', height: 'calc(100% - 1rem)' }"
:headers=
"header4_1"
:headers=
"header4_1"
:table-data=
"data4"
:table-data=
"data4"
></STable2>
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'project_num'"
>
<span
:style=
"
{ color: scope.row.project_num
<
80
?
'#
f86262
'
:
''
}"
>
{{
scope
.
row
.
project_num
}}
</span
>
</
template
>
</template>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'score'"
>
<span
:style=
"
{ color: scope.row.score
<
80
?
'#
f86262
'
:
''
}"
>
{{
scope
.
row
.
score
}}
</span>
</
template
>
</template>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.header.slot == 'score_count'"
>
<span
:style=
"
{ color: scope.row.score_count
<
80
?
'#
f86262
'
:
''
}"
>
{{
scope
.
row
.
score_count
}}
</span
>
</
template
>
</template>
</STable2>
<!-- activeTab == 1 ? header4_1 : activeTab == 2 ? header4_2 : header4_3 -->
<!-- activeTab == 1 ? header4_1 : activeTab == 2 ? header4_2 : header4_3 -->
<!-- <div class="no-data" v-if="activeTab == 3">
<!-- <div class="no-data" v-if="activeTab == 3">
...
@@ -104,6 +153,8 @@ import {
...
@@ -104,6 +153,8 @@ import {
getStatusQuestion
,
getStatusQuestion
,
getProjectQuestion
,
getProjectQuestion
,
getAreaQuestionByAreaId
,
getAreaQuestionByAreaId
,
getScoreByCity
,
getScoreStatusByCity
,
}
from
"@/api/dataStatis"
;
}
from
"@/api/dataStatis"
;
import
AMapLoader
from
"@amap/amap-jsapi-loader"
;
import
AMapLoader
from
"@amap/amap-jsapi-loader"
;
...
@@ -111,6 +162,7 @@ import { mapState } from "vuex";
...
@@ -111,6 +162,7 @@ import { mapState } from "vuex";
import
zhejiangMapData
from
"@/assets/data/mapData.json"
;
import
zhejiangMapData
from
"@/assets/data/mapData.json"
;
import
Section2
from
"@/components/common/Section2.vue"
;
import
Section2
from
"@/components/common/Section2.vue"
;
import
STable2
from
"@/components/common/STable2.vue"
;
import
STable2
from
"@/components/common/STable2.vue"
;
export
default
{
export
default
{
name
:
"DataStatis"
,
name
:
"DataStatis"
,
components
:
{
components
:
{
...
@@ -134,7 +186,7 @@ export default {
...
@@ -134,7 +186,7 @@ export default {
},
},
align
:
"left"
,
align
:
"left"
,
},
},
{
name
:
"政府监管得分"
,
props
:
"score"
,
width
:
"30%"
},
{
name
:
"政府监管得分"
,
props
:
"score"
,
width
:
"30%"
,
slot
:
"score"
},
],
],
header2
:
[
header2
:
[
{
{
...
@@ -150,7 +202,7 @@ export default {
...
@@ -150,7 +202,7 @@ export default {
},
},
align
:
"left"
,
align
:
"left"
,
},
},
{
name
:
"
工程质量得分"
,
props
:
"score"
,
width
:
"30%
"
},
{
name
:
"
质量评定得分"
,
props
:
"score"
,
width
:
"30%"
,
slot
:
"score
"
},
],
],
header3
:
[
header3
:
[
{
{
...
@@ -166,7 +218,7 @@ export default {
...
@@ -166,7 +218,7 @@ export default {
},
},
align
:
"left"
,
align
:
"left"
,
},
},
{
name
:
"创新创优得分"
,
props
:
"score"
,
width
:
"30%"
},
{
name
:
"创新创优得分"
,
props
:
"score"
,
width
:
"30%"
,
slot
:
"score"
},
],
],
// header1: [
// header1: [
// {
// {
...
@@ -249,7 +301,7 @@ export default {
...
@@ -249,7 +301,7 @@ export default {
header4_1
:
[
header4_1
:
[
{
{
name
:
"工程名称"
,
name
:
"工程名称"
,
props
:
"name"
,
props
:
"
project_
name"
,
width
:
"40%"
,
width
:
"40%"
,
headerStyle
:
{
headerStyle
:
{
padding
:
"0 .2rem"
,
padding
:
"0 .2rem"
,
...
@@ -262,18 +314,21 @@ export default {
...
@@ -262,18 +314,21 @@ export default {
},
},
{
{
name
:
"工程质量"
,
name
:
"工程质量"
,
props
:
"
value1
"
,
props
:
"
project_num
"
,
width
:
"20%"
,
width
:
"20%"
,
slot
:
"project_num"
,
},
},
{
{
name
:
"质量
检测
"
,
name
:
"质量
评定
"
,
props
:
"
value2
"
,
props
:
"
score
"
,
width
:
"20%"
,
width
:
"20%"
,
slot
:
"score"
,
},
},
{
{
name
:
"总得分"
,
name
:
"总得分"
,
props
:
"
value2
"
,
props
:
"
score_count
"
,
width
:
"20%"
,
width
:
"20%"
,
slot
:
"score_count"
,
},
},
],
],
header4_2
:
[
header4_2
:
[
...
@@ -429,7 +484,9 @@ export default {
...
@@ -429,7 +484,9 @@ export default {
polygons
:
[],
polygons
:
[],
currentCityName
:
""
,
currentCityName
:
""
,
currentCityId
:
""
,
currentCityId
:
""
,
zfjgPoints
:
0
,
zfjg_score
:
0
,
zljc_score
:
0
,
score_count
:
0
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -482,197 +539,139 @@ export default {
...
@@ -482,197 +539,139 @@ export default {
switchList
(
type
)
{
switchList
(
type
)
{
this
.
activeTab
=
type
;
this
.
activeTab
=
type
;
this
.
data4
=
[];
this
.
data4
=
[];
if
(
type
==
1
)
{
this
.
data4
=
[
getScoreByCity
(
this
.
currentCityId
).
then
((
res
)
=>
{
{
this
.
data4
=
res
.
data
;
name
:
"苍南县江南垟平原骨干排涝工程(龙港段)龙金运河和新兰闸站工程"
,
});
value1
:
17
,
getScoreStatusByCity
(
this
.
currentCityId
).
then
((
res
)
=>
{
},
this
.
zfjg_score
=
res
.
data
.
zfjg_score
;
{
this
.
zljc_score
=
res
.
data
.
zljc_score
;
name
:
"慈溪市水资源开发利用二期(梅湖水库扩容工程)"
,
this
.
score_count
=
res
.
data
.
score_count
;
value1
:
23
,
});
},
{
// if (type == 1) {
name
:
"东苕溪防洪后续西险大塘达标加固工程(杭州市段)"
,
value1
:
18
,
// } else if (type == 2) {
},
// this.data4 = [
{
// {
name
:
"奉化区柏坑水库扩容工程"
,
// name: "环湖大堤施工2标",
value1
:
19
,
// value1: "堤防工程",
},
// value2: "92.8%",
{
// },
name
:
"海宁市百里钱塘综合整治提升工程一期(盐仓段)"
,
// {
value1
:
32
,
// name: "环湖大堤施工2标",
},
// value1: "蔡浦港闸站工程",
{
// value2: "93.4%",
name
:
"杭州市本级海塘安澜工程 (三堡至乔司段海塘)一期"
,
// },
value1
:
45
,
// {
},
// name: "环湖大堤施工2标",
{
// value1: "其他口门建筑物单位工程",
name
:
"杭州市本级海塘安澜工程(三堡船闸段海塘)"
,
// value2: "89.5%",
value1
:
16
,
// },
},
// {
{
// name: "环湖大堤施工2标",
name
:
"杭州市本级海塘安澜工程(珊瑚沙海塘)"
,
// value1: "夹浦港-秋龙港-吴城港河道堤防工程",
value1
:
9
,
// value2: "93.4%",
},
// },
{
// {
name
:
"杭州市本级海塘安澜工程(上泗南北大塘)二期"
,
// name: "环湖大堤施工2标",
value1
:
10
,
// value1: "夹浦港-秋龙港-吴城港闸站第一单位工程",
},
// value2: "91.9%",
{
// },
name
:
"杭州市萧山区西江塘义桥段古海塘抢险加固工程"
,
// {
value1
:
58
,
// name: "环湖大堤施工2标",
},
// value1: "夹浦港-秋龙港-吴城港闸站第二单位工程",
{
// value2: "91.1%",
name
:
"杭州市萧围西线(一工段至四工段)提标加固工程"
,
// },
value1
:
21
,
// {
},
// name: "衢州市柯城区寺桥水库工程",
{
// value1: "混凝土面板堆石坝",
name
:
"湖州市苕溪清水入湖河道整治后续工程(德清县段)"
,
// value2: "/",
value1
:
12
,
// },
},
// {
{
// name: "衢州市柯城区寺桥水库工程",
name
:
"环湖大堤(浙江段)后续工程(长兴段)"
,
// value1: "导流泄放洞",
value1
:
32
,
// value2: "/",
},
// },
{
// {
name
:
"嘉兴市区城市防洪扩展工程三期(封闭工程)"
,
// name: "衢州市柯城区寺桥水库工程",
value1
:
3
,
// value1: "溢洪道",
},
// value2: "/",
{
// },
name
:
"金华市安地灌区续建配套与节水改造项目(2021-2022年)调增项目"
,
// {
value1
:
4
,
// name: "金华市安地灌区续建配套与节水改造项目(2021-2022年)调增项目施工标【金华市安地灌区续建配套与节水改造项目(2021-2022年)IV标】",
},
// value1: "渠道及信息化项目",
{
// value2: "/",
name
:
"杭州市本级海塘安澜工程(珊瑚沙海塘)"
,
// },
value1
:
9
,
// ];
},
// } else if (type == 3) {
];
// this.data4 = [
// getAreaQuestionByAreaId(this.currentCityId).then((res) => {
// {
// this.data4 = res.data;
// name: "苍南县江南垟平原骨干排涝工程(龙港段)龙金运河和新兰闸站工程",
// });
// value1: "98%",
}
else
if
(
type
==
2
)
{
// },
this
.
data4
=
[
// {
{
// name: "慈溪市水资源开发利用二期(梅湖水库扩容工程)",
name
:
"环湖大堤施工2标"
,
// value1: "87%",
value1
:
"堤防工程"
,
// },
value2
:
"92.8%"
,
// {
},
// name: "东苕溪防洪后续西险大塘达标加固工程(杭州市段)",
{
// value1: "76.4%",
name
:
"环湖大堤施工2标"
,
// },
value1
:
"蔡浦港闸站工程"
,
// {
value2
:
"93.4%"
,
// name: "奉化区柏坑水库扩容工程",
},
// value1: "87.1%",
{
// },
name
:
"环湖大堤施工2标"
,
// {
value1
:
"其他口门建筑物单位工程"
,
// name: "海宁市百里钱塘综合整治提升工程一期(盐仓段)",
value2
:
"89.5%"
,
// value1: "95.1%",
},
// },
{
// {
name
:
"环湖大堤施工2标"
,
// name: "杭州市本级海塘安澜工程 (三堡至乔司段海塘)一期",
value1
:
"夹浦港-秋龙港-吴城港河道堤防工程"
,
// value1: "98%",
value2
:
"93.4%"
,
// },
},
// {
{
// name: "杭州市本级海塘安澜工程(三堡船闸段海塘)",
name
:
"环湖大堤施工2标"
,
// value1: "87%",
value1
:
"夹浦港-秋龙港-吴城港闸站第一单位工程"
,
// },
value2
:
"91.9%"
,
// {
},
// name: "杭州市本级海塘安澜工程(珊瑚沙海塘)",
{
// value1: "76.4%",
name
:
"环湖大堤施工2标"
,
// },
value1
:
"夹浦港-秋龙港-吴城港闸站第二单位工程"
,
// {
value2
:
"91.1%"
,
// name: "杭州市本级海塘安澜工程(上泗南北大塘)二期",
},
// value1: "87.1%",
{
// },
name
:
"衢州市柯城区寺桥水库工程"
,
// {
value1
:
"混凝土面板堆石坝"
,
// name: "杭州市萧山区西江塘义桥段古海塘抢险加固工程",
value2
:
"/"
,
// value1: "95.1%",
},
// },
{
// {
name
:
"衢州市柯城区寺桥水库工程"
,
// name: "杭州市萧围西线(一工段至四工段)提标加固工程",
value1
:
"导流泄放洞"
,
// value1: "98%",
value2
:
"/"
,
// },
},
// {
{
// name: "湖州市苕溪清水入湖河道整治后续工程(德清县段)",
name
:
"衢州市柯城区寺桥水库工程"
,
// value1: "87%",
value1
:
"溢洪道"
,
// },
value2
:
"/"
,
// {
},
// name: "环湖大堤(浙江段)后续工程(长兴段)",
{
// value1: "76.4%",
name
:
"金华市安地灌区续建配套与节水改造项目(2021-2022年)调增项目施工标【金华市安地灌区续建配套与节水改造项目(2021-2022年)IV标】"
,
// },
value1
:
"渠道及信息化项目"
,
// {
value2
:
"/"
,
// name: "嘉兴市区城市防洪扩展工程三期(封闭工程)",
},
// value1: "87.1%",
];
// },
}
else
if
(
type
==
3
)
{
// {
this
.
data4
=
[
// name: "金华市安地灌区续建配套与节水改造项目(2021-2022年)调增项目",
{
// value1: "95.1%",
name
:
"苍南县江南垟平原骨干排涝工程(龙港段)龙金运河和新兰闸站工程"
,
// },
value1
:
"98%"
,
// {
},
// name: "杭州市本级海塘安澜工程(珊瑚沙海塘)",
{
// value1: "76.2%",
name
:
"慈溪市水资源开发利用二期(梅湖水库扩容工程)"
,
// },
value1
:
"87%"
,
// ];
},
// }
{
name
:
"东苕溪防洪后续西险大塘达标加固工程(杭州市段)"
,
value1
:
"76.4%"
,
},
{
name
:
"奉化区柏坑水库扩容工程"
,
value1
:
"87.1%"
,
},
{
name
:
"海宁市百里钱塘综合整治提升工程一期(盐仓段)"
,
value1
:
"95.1%"
,
},
{
name
:
"杭州市本级海塘安澜工程 (三堡至乔司段海塘)一期"
,
value1
:
"98%"
,
},
{
name
:
"杭州市本级海塘安澜工程(三堡船闸段海塘)"
,
value1
:
"87%"
,
},
{
name
:
"杭州市本级海塘安澜工程(珊瑚沙海塘)"
,
value1
:
"76.4%"
,
},
{
name
:
"杭州市本级海塘安澜工程(上泗南北大塘)二期"
,
value1
:
"87.1%"
,
},
{
name
:
"杭州市萧山区西江塘义桥段古海塘抢险加固工程"
,
value1
:
"95.1%"
,
},
{
name
:
"杭州市萧围西线(一工段至四工段)提标加固工程"
,
value1
:
"98%"
,
},
{
name
:
"湖州市苕溪清水入湖河道整治后续工程(德清县段)"
,
value1
:
"87%"
,
},
{
name
:
"环湖大堤(浙江段)后续工程(长兴段)"
,
value1
:
"76.4%"
,
},
{
name
:
"嘉兴市区城市防洪扩展工程三期(封闭工程)"
,
value1
:
"87.1%"
,
},
{
name
:
"金华市安地灌区续建配套与节水改造项目(2021-2022年)调增项目"
,
value1
:
"95.1%"
,
},
{
name
:
"杭州市本级海塘安澜工程(珊瑚沙海塘)"
,
value1
:
"76.2%"
,
},
];
}
},
},
initMapData
(
mapid
,
baseAreaJson
,
mapData
,
maplevel
)
{
initMapData
(
mapid
,
baseAreaJson
,
mapData
,
maplevel
)
{
var
myChart
=
echarts
.
init
(
document
.
getElementById
(
mapid
));
var
myChart
=
echarts
.
init
(
document
.
getElementById
(
mapid
));
...
@@ -801,23 +800,24 @@ export default {
...
@@ -801,23 +800,24 @@ export default {
shadowBlur
:
10
,
shadowBlur
:
10
,
shadowOffsetX
:
5
,
shadowOffsetX
:
5
,
shadowOffsetY
:
5
,
shadowOffsetY
:
5
,
areaColor
:
{
areaColor
:
"#2a5dc6"
,
type
:
"linear-gradient"
,
// areaColor: {
x
:
0
,
// type: "linear-gradient",
y
:
0
,
// x: 0,
x2
:
0
,
// y: 0,
y2
:
1
,
// x2: 0,
colorStops
:
[
// y2: 1,
{
// colorStops: [
offset
:
0
,
// {
color
:
"#15b5f5"
,
// 0% 处的颜色
// offset: 0,
},
// color: "#15b5f5", // 0% 处的颜色
{
// },
offset
:
1
,
// {
color
:
"#106fd5"
,
// offset: 1,
},
// color: "#106fd5",
],
// },
},
// ],
// },
},
},
},
},
...
@@ -836,10 +836,16 @@ export default {
...
@@ -836,10 +836,16 @@ export default {
type
:
"scatter"
,
type
:
"scatter"
,
coordinateSystem
:
"geo"
,
coordinateSystem
:
"geo"
,
symbol
:
(
value
,
params
)
=>
{
symbol
:
(
value
,
params
)
=>
{
return
(
console
.
log
(
value
);
"image://"
+
if
(
value
[
2
]
<
80
)
{
require
(
"@/assets/images/index/icon_dingwie@2x.png"
)
return
(
);
"image://"
+
require
(
"@/assets/images/index/icon_hong.png"
)
);
}
else
{
return
(
"image://"
+
require
(
"@/assets/images/index/icon_lan.png"
)
);
}
},
},
colorBy
:
"data"
,
colorBy
:
"data"
,
...
...
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