Merge branch 'master' of http://192.168.0.105:10010/r/jfptweb-publicSecurity
11 files modified
1 files added
| | |
| | | -ms-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .police-container-patrol{ |
| | | background-color: #004CA7 !important; |
| | | padding-right: 1px; |
| | | } |
| | | .police-container .table table tr th, .police-container .table table tr td{ |
| | | color: #fff !important; |
| | | } |
| | | .police-dispatching .police-container .police-container-patrol .tab-header li{ |
| | | color: #fff !important; |
| | | } |
| | | .police-container .table table tr td a{ |
| | | color: #fff !important; |
| | | } |
| | | .route-name-layer .layui-layer-title,.route-name-layer .layui-layer-content{ |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | } |
| | | /* .route-name-layer-input{ |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } */ |
| | |
| | | .region-name .layui-layer-title { |
| | | padding: 0 80px; |
| | | text-align: center; |
| | | background: #fff; |
| | | /* background: #fff; */ |
| | | border: none; |
| | | color: #677788; |
| | | /* color: #677788; */ |
| | | font-size: 20px; |
| | | border-radius: 10px 10px 0 0; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | /* border: 1px solid #007bc3 !important; */ |
| | | /* border-radius: 5px !important; */ |
| | | } |
| | | |
| | | .region-name .layui-layer-content { |
| | | background: #fff; |
| | | background: #004CA7; |
| | | border-radius: 0 0 10px 10px; |
| | | } |
| | |
| | | .routename-and-peoplename .layui-layer-title { |
| | | padding: 0 80px; |
| | | text-align: center; |
| | | background: #fff; |
| | | /* background: #fff; */ |
| | | border: none; |
| | | color: #677788; |
| | | /* color: #677788; */ |
| | | font-size: 20px; |
| | | border-radius: 10px 10px 0 0; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | /* border: 1px solid #007bc3 !important; */ |
| | | /* border-radius: 5px !important; */ |
| | | |
| | | } |
| | | |
| | | .routename-and-peoplename .layui-layer-content { |
| | | background: #fff; |
| | | background: #004CA7; |
| | | border-radius: 0 0 10px 10px; |
| | | } |
| | |
| | | .region-name-box li:nth-child(2) { |
| | | height: 80px; |
| | | } |
| | | |
| | | .region-name-box li:nth-child(2) textarea::-webkit-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-moz-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-ms-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | .region-name-box li:nth-child(2) textarea { |
| | | width: 100%; |
| | | height: 100%; |
| | | text-indent: 2em; |
| | | font-size: 14px; |
| | | line-height: 24px; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .region-name-box input { |
| | |
| | | vertical-align: middle; |
| | | outline: none; |
| | | } |
| | | |
| | | .region-name-box .region-name-input::-webkit-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-moz-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-ms-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | .region-name-box .region-name-input { |
| | | width: 100%; |
| | | height: 28px; |
| | | font-size: 14px; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .region-name-box .start-editing { |
| | |
| | | .route-name-layer-box li:nth-child(2) { |
| | | height: 80px; |
| | | } |
| | | |
| | | .route-name-layer-box li:nth-child(2) textarea::-webkit-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-moz-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-ms-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | .route-name-layer-box li:nth-child(2) textarea { |
| | | width: 100%; |
| | | height: 100%; |
| | | text-indent: 2em; |
| | | font-size: 14px; |
| | | line-height: 24px; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .route-name-layer-box li:nth-child(3) select::-webkit-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-moz-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-ms-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | .route-name-layer-box li:nth-child(3) select { |
| | | padding-left: 12px; |
| | | height: 28px; |
| | | width: 100%; |
| | | outline: none; |
| | | color: #677788; |
| | | /* color: #677788; */ |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .route-name-layer-box li:nth-child(3) select option { |
| | | color: #000; |
| | | color: #fff; |
| | | } |
| | | |
| | | .route-name-layer-box input { |
| | |
| | | vertical-align: middle; |
| | | outline: none; |
| | | } |
| | | |
| | | .route-name-layer-box .route-name-layer-input::-webkit-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-moz-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-ms-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | .route-name-layer-box .route-name-layer-input { |
| | | width: 100%; |
| | | height: 28px; |
| | | font-size: 14px; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .route-name-layer-box .start-editing { |
| | |
| | | width: 100%; |
| | | height: 100%; |
| | | box-sizing: border-box; |
| | | color: #677788; |
| | | color: #fff; |
| | | } |
| | | |
| | | .routename-and-peoplename-box li { |
| | |
| | | .routename-and-peoplename-box li span { |
| | | flex: 2; |
| | | } |
| | | |
| | | .routename-and-peoplename-box li:nth-child(2) select::-webkit-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-moz-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-ms-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | .routename-and-peoplename-box li:nth-child(2) select { |
| | | margin-top: 6px; |
| | | padding: 0 10px; |
| | |
| | | flex: 6; |
| | | height: 28px; |
| | | outline: none; |
| | | color: #677788; |
| | | /* colorgb(37, 20, 20)fff; */ |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .routename-and-peoplename-box li:nth-child(2) select option { |
| | | color: #677788; |
| | | color: #fff; |
| | | } |
| | | |
| | | |
| | |
| | | outline: none; |
| | | height: 28px; |
| | | font-size: 14px; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .routename-and-peoplename-box .confirm-update { |
| | |
| | | .police-container .police-container-patrol .distribute-table-content .operation>div { |
| | | flex: 8; |
| | | } |
| | | |
| | | .police-container .police-container-patrol .distribute-table-content .operation input[type='text']::-webkit-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-moz-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | input::-ms-input-placeholder { |
| | | color: #fff; |
| | | } |
| | | .police-container .police-container-patrol .distribute-table-content .operation input[type='text'] { |
| | | flex: 8; |
| | | padding: 0 10px; |
| | | height: 30px; |
| | | border: 1px solid rgba(231, 234, 243, 1); |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .police-container .police-container-patrol .distribute-table-content .operation input[type='button'] { |
| | |
| | | .police-container .main-content .select>ul>li:first-child { |
| | | position: relative; |
| | | padding-left: 10px; |
| | | color: #677788; |
| | | background: rgb(255, 255, 255); |
| | | border: 1px solid rgba(231, 234, 243, 1); |
| | | color: #fff; |
| | | /* background: rgb(255, 255, 255); */ |
| | | /* border: 1px solid rgba(231, 234, 243, 1); */ |
| | | box-sizing: border-box; |
| | | text-align: left; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | |
| | |
| | | left: 48px; |
| | | width: calc(100% - 48px); |
| | | height: 32px; |
| | | color: #677788; |
| | | color: #fff; |
| | | padding-left: 10px; |
| | | box-sizing: border-box; |
| | | cursor: pointer; |
| | |
| | | flex: 1; |
| | | padding-left: 10px; |
| | | height: 34px; |
| | | border-top: 1px solid rgba(231, 234, 243, 1); |
| | | background: rgb(255, 255, 255); |
| | | color: #677788; |
| | | /* border-top: 1px solid rgba(231, 234, 243, 1); */ |
| | | /* background: rgb(255, 255, 255); */ |
| | | color: #fff; |
| | | box-sizing: border-box; |
| | | cursor: pointer; |
| | | background-color: #004CA7 !important; |
| | | color: #fff !important; |
| | | border: 1px solid #007bc3 !important; |
| | | border-radius: 5px !important; |
| | | } |
| | | |
| | | .police-container .main-content .select>ul>li:first-child ul li:hover { |
| | | color: #15a2fe; |
| | | background: #beeeff; |
| | | color: #fff; |
| | | background: #007bc3; |
| | | } |
| | | |
| | | .police-container .main-content .select>ul>li:first-child ul li:first-child { |
| | |
| | | <li id='patrolRoute'> |
| | | 区域: |
| | | <div> |
| | | |
| | | |
| | | </div> |
| | | <div class='select-list'> |
| | | <ul> |
| | | |
| | | |
| | | </ul> |
| | | </div> |
| | | </li> |
| | |
| | | </div> |
| | | |
| | | <div class="tips"> |
| | | 单击左键开始绘制。 |
| | | 单击左键开始绘制。 |
| | | </div> |
| | | </div> |
| New file |
| | |
| | | import request from '@/router/axios'; |
| | | |
| | | export const getList = () => { |
| | | return request({ |
| | | url: '/api/blade-user/getUserRegisterStatisticsData', |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | color: $fontColor !important; |
| | | } |
| | | .el-menu-item:hover { |
| | | // background-color: $mainBhover !important; |
| | | color: red !important; |
| | | background-color: $mainBhover !important; |
| | | // color: red !important; |
| | | } |
| | | .el-input__inner { |
| | | background-color: $inputB !important; |
| | |
| | | .avue-main { |
| | | background-color: $mainBx2 !important; |
| | | } |
| | | |
| | | //角色管理 权限设置 |
| | | .el-tabs--border-card { |
| | | background-color: $mainB !important; |
| | | } |
| | | |
| | | .el-tabs--border-card > .el-tabs__header { |
| | | background-color: $mainB !important; |
| | | } |
| | | .el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active { |
| | | background-color: transparent !important; |
| | | border-bottom: 1px solid $mainB !important; |
| | | } |
| | |
| | | <div> |
| | | <div> |
| | | <div> |
| | | <div>群防群控队伍</div> |
| | | <div> |
| | | 群防群控队伍 |
| | | <div class="title-1">({{ OURnum }})</div> |
| | | </div> |
| | | </div> |
| | | <div id="on_three_yjy"> |
| | | <div> |
| | | <div> |
| | | <div><img src="/img/wyh.png" alt="" /><span>10</span></div> |
| | | <span> 治安保卫委员会 </span> |
| | | <div><img src="/img/wyh.png" alt="" /><span>20</span></div> |
| | | <span> 治保会队伍 </span> |
| | | </div> |
| | | <div> |
| | | <div><img src="/img/zabw.png" alt="" /><span>44</span></div> |
| | | <span> 治安保卫队伍 </span> |
| | | <div><img src="/img/zabw.png" alt="" /><span>15</span></div> |
| | | <span> 内保干部队伍 </span> |
| | | </div> |
| | | <div> |
| | | <div><img src="/img/xf.png" alt="" /><span>42</span></div> |
| | | <div><img src="/img/xf.png" alt="" /><span>30</span></div> |
| | | <span> 治安巡防队伍 </span> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div> |
| | | <div><img src="/img/xxy.png" alt="" /><span>36</span></div> |
| | | <div><img src="/img/xxy.png" alt="" /><span>26</span></div> |
| | | <span> 信息员队伍 </span> |
| | | </div> |
| | | <div> |
| | | <div><img src="/img/badw.png" alt="" /><span>52</span></div> |
| | | <span> 保安队伍 </span> |
| | | <div><img src="/img/badw.png" alt="" /><span>30</span></div> |
| | | <span> 保安员队伍 </span> |
| | | </div> |
| | | <div> |
| | | <div><img src="/img/ldz.png" alt="" /><span>25</span></div> |
| | | <span> 楼栋长 </span> |
| | | <span> 警务辅助队伍</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <div> |
| | | <div> |
| | | <div>生长树</div> |
| | | <div>能量树</div> |
| | | </div> |
| | | <div id="on_four_yjy"> |
| | | <div class="tree"> |
| | |
| | | import * as echarts from "echarts"; |
| | | |
| | | import geojson from "@/geojson/nanchang.json"; |
| | | import { getList } from "@/api/home/home"; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | |
| | | pluss: false, // 水滴值+1动画开关 |
| | | movetree: true, // 树动画开关 |
| | | ranksNum: [], |
| | | |
| | | option1: "", |
| | | echarts1: "", |
| | | }; |
| | | }, |
| | | |
| | | computed: {}, |
| | | computed: { |
| | | OURnum() { |
| | | return 146; |
| | | }, |
| | | }, |
| | | created() {}, |
| | | mounted() { |
| | | // eslint-disable-next-line no-undef |
| | | this.onTwoEcharts(); |
| | | this.onSixEcharts(); |
| | | this.createechart1(); //建立图表1 |
| | | this.onSixEcharts(); //图表1数据 |
| | | this.createMapJson(); |
| | | }, |
| | | methods: { |
| | |
| | | grid: { |
| | | borderWidth: 0, |
| | | top: "10%", |
| | | left: "8%", |
| | | left: "10%", |
| | | bottom: "10%", |
| | | right: "8%", |
| | | textStyle: { |
| | |
| | | |
| | | myChart.setOption(option, true); |
| | | }, |
| | | |
| | | onSixEcharts() { |
| | | createechart1() { |
| | | var myChart = echarts.init(document.getElementById("on_six_yjy")); |
| | | this.echarts1 = myChart; |
| | | }, |
| | | onSixEcharts() { |
| | | this.echarts1.clear(); |
| | | //改折线图 |
| | | var option = { |
| | | tooltip: { |
| | | trigger: "axis", |
| | | axisPointer: { |
| | | type: "shadow", |
| | | }, |
| | | }, |
| | | legend: { |
| | | data: ["在线率", "注册量"], |
| | | align: "right", |
| | | right: 10, |
| | | textStyle: { |
| | | color: "#fff", |
| | | }, |
| | | itemWidth: 10, |
| | | itemHeight: 10, |
| | | itemGap: 35, |
| | | }, |
| | | grid: { |
| | | left: "3%", |
| | | right: "4%", |
| | | bottom: "3%", |
| | | containLabel: true, |
| | | }, |
| | | xAxis: [ |
| | | { |
| | | type: "category", |
| | | data: [ |
| | | "东湖区", |
| | | "西湖区", |
| | | "青云谱区", |
| | | "青山湖区", |
| | | "新建区", |
| | | "红谷滩区", |
| | | "南昌县", |
| | | "安义县", |
| | | "进贤县", |
| | | ], |
| | | axisLine: { |
| | | show: true, |
| | | lineStyle: { |
| | | color: "#063374", |
| | | width: 1, |
| | | type: "solid", |
| | | }, |
| | | }, |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | | axisLabel: { |
| | | show: true, |
| | | textStyle: { |
| | | color: "#00c7ff", |
| | | }, |
| | | rotate: 45, |
| | | }, |
| | | }, |
| | | ], |
| | | yAxis: [ |
| | | { |
| | | type: "value", |
| | | name: "注册量", |
| | | // min: 0, |
| | | // max: 250, |
| | | // interval: 50, |
| | | axisLabel: { |
| | | formatter: "{value}", |
| | | }, |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | | axisLine: { |
| | | show: false, |
| | | lineStyle: { |
| | | color: "#00c7ff", |
| | | width: 1, |
| | | type: "solid", |
| | | }, |
| | | }, |
| | | // max: 100, |
| | | // min: 0, |
| | | splitLine: { |
| | | lineStyle: { |
| | | color: "#063374", |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | type: "value", |
| | | name: "在线率", |
| | | axisLabel: { |
| | | formatter: "{value} %", |
| | | }, |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | | axisLine: { |
| | | show: false, |
| | | lineStyle: { |
| | | color: "#00c7ff", |
| | | width: 1, |
| | | type: "solid", |
| | | }, |
| | | }, |
| | | max: 100, |
| | | min: 0, |
| | | splitLine: { |
| | | lineStyle: { |
| | | color: "#063374", |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | series: [ |
| | | { |
| | | name: "在线率", |
| | | type: "bar", |
| | | data: [44, 46, 48, 52, 55, 45, 56, 38, 66], |
| | | barWidth: 6, //柱子宽度 |
| | | barGap: 0.4, //柱子之间间距 |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
| | | { |
| | | offset: 0, |
| | | color: "#008cff", |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: "#005193", |
| | | }, |
| | | ]), |
| | | opacity: 1, |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | name: "注册量", |
| | | type: "line", |
| | | data: [50, 54, 58, 55, 65, 72, 44, 55, 58], |
| | | barWidth: 6, |
| | | barGap: 0.4, |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
| | | { |
| | | offset: 0, |
| | | color: "#c4e300", |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: "#728400", |
| | | }, |
| | | ]), |
| | | opacity: 1, |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | }; |
| | | var that = this; |
| | | getList().then((res) => { |
| | | var data = []; |
| | | var datax = []; |
| | | var d = res.data.data; |
| | | for (var k in d) { |
| | | data.push(d[k].num); |
| | | datax.push(d[k].region); |
| | | } |
| | | console.log(res, 243423); |
| | | |
| | | myChart.setOption(option); |
| | | var option = { |
| | | tooltip: { |
| | | trigger: "axis", |
| | | axisPointer: { |
| | | type: "shadow", |
| | | }, |
| | | }, |
| | | legend: { |
| | | data: ["注册量", "在线率"], |
| | | align: "right", |
| | | right: 10, |
| | | textStyle: { |
| | | color: "#fff", |
| | | }, |
| | | itemWidth: 10, |
| | | itemHeight: 10, |
| | | itemGap: 35, |
| | | }, |
| | | grid: { |
| | | left: "3%", |
| | | right: "2%", |
| | | bottom: "3%", |
| | | containLabel: true, |
| | | }, |
| | | xAxis: [ |
| | | { |
| | | type: "category", |
| | | data: datax, |
| | | // [ |
| | | // "东湖区", |
| | | // "西湖区", |
| | | // "青云谱区", |
| | | // "青山湖区", |
| | | // "新建区", |
| | | // "红谷滩区", |
| | | // "南昌县", |
| | | // "安义县", |
| | | // "进贤县", |
| | | // ], |
| | | axisLine: { |
| | | show: true, |
| | | lineStyle: { |
| | | color: "#063374", |
| | | width: 1, |
| | | type: "solid", |
| | | }, |
| | | }, |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | | axisLabel: { |
| | | show: true, |
| | | textStyle: { |
| | | color: "#00c7ff", |
| | | }, |
| | | rotate: 45, |
| | | }, |
| | | }, |
| | | ], |
| | | yAxis: [ |
| | | { |
| | | type: "value", |
| | | name: "注册量", |
| | | axisLabel: { |
| | | formatter: "{value}", |
| | | }, |
| | | position: "left", |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | | minInterval: 1, |
| | | axisLine: { |
| | | show: false, |
| | | lineStyle: { |
| | | color: "#00c7ff", |
| | | width: 1, |
| | | type: "solid", |
| | | }, |
| | | }, |
| | | // max: 3, |
| | | // min: 0, |
| | | splitLine: { |
| | | lineStyle: { |
| | | color: "#063374", |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | type: "value", |
| | | name: "在线率", |
| | | // min: 0, |
| | | // max: 250, |
| | | // interval: 50, |
| | | axisLabel: { |
| | | formatter: "{value} %", |
| | | }, |
| | | position: "right", |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | | axisLine: { |
| | | show: false, |
| | | lineStyle: { |
| | | color: "#00c7ff", |
| | | width: 1, |
| | | type: "solid", |
| | | }, |
| | | }, |
| | | max: 100, |
| | | min: 0, |
| | | splitLine: { |
| | | lineStyle: { |
| | | color: "#063374", |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | series: [ |
| | | { |
| | | name: "注册量", |
| | | type: "bar", |
| | | // data: [44, 46, 48, 52, 55, 45, 56, 38, 66], |
| | | data: data, |
| | | barWidth: 6, //柱子宽度 |
| | | barGap: 0.4, //柱子之间间距 |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
| | | { |
| | | offset: 0, |
| | | color: "#008cff", |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: "#005193", |
| | | }, |
| | | ]), |
| | | opacity: 1, |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | name: "在线率", |
| | | type: "line", |
| | | data: [50, 54, 58, 55, 65, 72, 44, 55, 58], |
| | | // barWidth: 6, |
| | | // barGap: 0.4, |
| | | yAxisIndex: 1, |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
| | | { |
| | | offset: 0, |
| | | color: "#c4e300", |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: "#728400", |
| | | }, |
| | | ]), |
| | | opacity: 1, |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | }; |
| | | that.echarts1.setOption(option); |
| | | }); |
| | | }, |
| | | |
| | | createMapJson() { |
| | |
| | | .move-3 { |
| | | animation: move-3 1s; |
| | | } |
| | | |
| | | .title-1 { |
| | | display: inline; |
| | | padding-left: 20px; |
| | | } |
| | | </style> |
| | |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | target: 'http://s16s652780.51mypc.cn/api/', |
| | | // target: 'http://192.168.0.114:82/', |
| | | //target: 'http://localhost:82/', |
| | | //target: 'https://web.byisf.com/api/', |
| | | //远程演示服务地址,可用于直接启动项目 |