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
7584e28f
authored
2023-04-06 10:53:56 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:地图配置化的升级
1 parent
6a30e369
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
9 deletions
README.md
public/config.json
src/common/map/610702.js
src/common/map/632701.js
src/components/Echart/Map/Chart.vue
README.md
View file @
7584e28
<!--
*
@Description:
*
@Autor: renchao
*
@LastEditTime: 2023-04-06
09:51:35
*
@LastEditTime: 2023-04-06
10:52:36
-->
## Git 贡献提交规范
-
`feat`
增加新功能
...
...
@@ -25,8 +25,7 @@
"LOGIN": "", { 登录配置 }
"CODE": "BDCJGPT", {"BDCSBPT":上报: "BDCJGPT":监管}
"SERVERAPI": "/bdcsjsb",
"AREARMAP": "hanzhong", // {"hanzhong","yushu"}
"AREARNAME": "汉中市",// {汉中市,玉树}
"AREARMAP": "610702", // {"610702","632701"}
"calcHeight": 200, {上报:160 监管:200}
"echartTextColor": "#FFFFFF", {上报:"#4A4A4A" 监管:"#FFFFFF"}
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
...
...
public/config.json
View file @
7584e28
{
"TITLE"
:
"汉中市数据上报系统"
,
"THEME"
:
"
sb
"
,
"CODE"
:
"BDC
SB
PT"
,
"THEME"
:
"
jg
"
,
"CODE"
:
"BDC
JG
PT"
,
"AREARMAP"
:
"610702"
,
"AREARNAME"
:
"汉中市"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
160
,
"echartTextColor"
:
"#4A4A4A"
,
...
...
src/common/map/610702.js
View file @
7584e28
This diff could not be displayed because it is too large.
src/common/map/632701.js
View file @
7584e28
This diff could not be displayed because it is too large.
src/components/Echart/Map/Chart.vue
View file @
7584e28
...
...
@@ -84,7 +84,7 @@ export default {
mapType: "", // 自定义扩展图表类型
top: "15%",
left: "10%",
map: this.BASE_API.AREAR
NAME
,
map: this.BASE_API.AREAR
MAP
,
itemStyle: {
normal: {
//阴影
...
...
@@ -98,7 +98,7 @@ export default {
mapType: "", // 自定义扩展图表类型
top: "18%",
left: "10%",
map: this.BASE_API.AREAR
NAME
,
map: this.BASE_API.AREAR
MAP
,
itemStyle: {
color: '#21371d',
areaColor: "#21371d",
...
...
@@ -118,7 +118,7 @@ export default {
type: "map",
aspectScale: 1, //长宽比
zoom: 1.1,
mapType: this.BASE_API.AREAR
NAME
, // 自定义扩展图表类型
mapType: this.BASE_API.AREAR
MAP
, // 自定义扩展图表类型
top: "15%",
left: "10%",
itemStyle: {
...
...
Please
register
or
sign in
to post a comment