manage-client 3.2.146 → 3.2.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/App.vue +1 -0
- package/src/components/SellReport/BankManager.vue +102 -102
- package/src/components/SellReport/Test.vue +862 -0
- package/src/components/WebReport/EchartsBox.vue +1 -0
- package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
- package/src/filiale/xinkang/ChargeQuery.vue +1308 -0
- package/src/filiale/xinkang/sale.js +10 -0
- package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +116 -0
- package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +162 -0
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +291 -0
- package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +140 -0
- package/src/filiale/zhongyi/CallReport/RateBottom.vue +143 -0
- package/src/filiale/zhongyi/CallReport/RateTop.vue +144 -0
- package/src/filiale/zhongyi/CallReport/ScrollContent.vue +143 -0
- package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +385 -0
- package/src/filiale/zhongyi/CallReport/Time.vue +61 -0
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +167 -0
- package/src/filiale/zhongyi/CallReport/WeatherData.vue +41 -0
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +181 -0
- package/src/filiale/zhongyi/sale.js +34 -1
- package/src/main.js +1 -1
- package/src/reportManage.js +4 -0
- package/static/images/zhongyi/Pigeon.png +0 -0
- package/static/images/zhongyi/background.png +0 -0
- package/static/images/zhongyi/blueBall.png +0 -0
- package/static/images/zhongyi/blueLadder.png +0 -0
- package/static/images/zhongyi/blueLine.png +0 -0
- package/static/images/zhongyi/bluebg.png +0 -0
- package/static/images/zhongyi/bulebg2.png +0 -0
- package/static/images/zhongyi/chart-2@2x.png +0 -0
- package/static/images/zhongyi/cloudy.png +0 -0
- package/static/images/zhongyi/exclamationPoint.png +0 -0
- package/static/images/zhongyi/netHall.png +0 -0
- package/static/images/zhongyi/orangebg.png +0 -0
- package/static/images/zhongyi/phone1.png +0 -0
- package/static/images/zhongyi/phone2.png +0 -0
- package/static/images/zhongyi/phone3.png +0 -0
- package/static/images/zhongyi/phone4.png +0 -0
- package/static/images/zhongyi/phone5.png +0 -0
- package/static/images/zhongyi/refresh.png +0 -0
- package/static/images/zhongyi/ring.png +0 -0
- package/static/images/zhongyi/service1.png +0 -0
- package/static/images/zhongyi/service2.png +0 -0
- package/static/images/zhongyi/telephone1.png +0 -0
- package/static/images/zhongyi/telephone2.png +0 -0
- package/static/images/zhongyi/trumpet.png +0 -0
- package/static/images/zhongyi/weChat.png +0 -0
- package/static/images/zhongyi/workOrder.png +0 -0
- package/static/images/zhongyi/yellowBall.png +0 -0
- package/static/images/zhongyi/yellowLadder.png +0 -0
- package/static/images/zhongyi/yellowbg.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235 2@2x.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235@2x.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1.png +0 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="main-basic">
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<!-- <basic-page ></basic-page>-->
|
|
7
|
+
|
|
8
|
+
<!-- <!–左侧内容模块–>-->
|
|
9
|
+
<!-- <template v-slot:contentLeft>-->
|
|
10
|
+
<!-- <left-content-page></left-content-page>-->
|
|
11
|
+
<!-- </template>-->
|
|
12
|
+
<!-- <!–右侧–>-->
|
|
13
|
+
|
|
14
|
+
<weather-data></weather-data>
|
|
15
|
+
<time></time>
|
|
16
|
+
<div class="content-header">中邑燃气</div>
|
|
17
|
+
<div class="inform"><span><i></i>{{ data.inform }}</span></div>
|
|
18
|
+
<!--工单模块-->
|
|
19
|
+
<work-order-page></work-order-page>
|
|
20
|
+
<!--完成率模块-->
|
|
21
|
+
<percentage-complete></percentage-complete>
|
|
22
|
+
<!--完成率echart-->
|
|
23
|
+
<percentage-complete-echart></percentage-complete-echart>
|
|
24
|
+
<!--用户模块-->
|
|
25
|
+
<userinfo></userinfo>
|
|
26
|
+
<!--来电统计模块-->
|
|
27
|
+
<incoming-telegram :row="model"></incoming-telegram>
|
|
28
|
+
|
|
29
|
+
<!---->
|
|
30
|
+
|
|
31
|
+
<rate-top></rate-top>-->
|
|
32
|
+
<rate-bottom></rate-bottom>-->
|
|
33
|
+
<!--客服状态模块-->
|
|
34
|
+
<service-status></service-status>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script>
|
|
45
|
+
import WorkOrderPage from "./WorkOrderPage";
|
|
46
|
+
import PercentageComplete from "./PercentageComplete";
|
|
47
|
+
import RateBottom from "./RateBottom";
|
|
48
|
+
import WeatherData from "./WeatherData";
|
|
49
|
+
export default {
|
|
50
|
+
components: {WeatherData, RateBottom, PercentageComplete, WorkOrderPage},
|
|
51
|
+
title:'CallReportMainPage',
|
|
52
|
+
data() {
|
|
53
|
+
return {
|
|
54
|
+
// model:"初入数据",
|
|
55
|
+
data:{
|
|
56
|
+
inform:'2022.3.7号停气',
|
|
57
|
+
// inform:'2022.3.7号停气2022.3.7号停气',
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
name: "CallReportMainPage"
|
|
62
|
+
}
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<style scoped>
|
|
66
|
+
.main-basic{
|
|
67
|
+
/* margin: 0; */
|
|
68
|
+
width: 100vw;
|
|
69
|
+
height: 100vh;
|
|
70
|
+
background-image: url("../../../../static/images/zhongyi/background.png");
|
|
71
|
+
background-repeat: no-repeat;
|
|
72
|
+
}
|
|
73
|
+
.content-header {
|
|
74
|
+
width: 8.333vw;
|
|
75
|
+
height: 3.519vh;
|
|
76
|
+
font-size: 40px;
|
|
77
|
+
color: #fff;
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 1.389vh;
|
|
80
|
+
left: 45.99vw;
|
|
81
|
+
line-height: 3.333vh;
|
|
82
|
+
}
|
|
83
|
+
.inform {
|
|
84
|
+
width: 35.833vw;
|
|
85
|
+
height: 6.019vh;
|
|
86
|
+
background-image: url("../../../../static/images/zhongyi/orangebg.png");
|
|
87
|
+
background-repeat: no-repeat;
|
|
88
|
+
background-position: 0px 0px;
|
|
89
|
+
background-size: cover;
|
|
90
|
+
position: absolute;
|
|
91
|
+
top: 11.204vh;
|
|
92
|
+
left: 31.458vw;
|
|
93
|
+
text-align: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.inform span {
|
|
97
|
+
font-size: 40px;
|
|
98
|
+
font-weight: bold;
|
|
99
|
+
color: #FFFFFF;
|
|
100
|
+
line-height: 33px;
|
|
101
|
+
position: relative;
|
|
102
|
+
top: 1.204vh;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.inform i {
|
|
106
|
+
width: 2.03125vw;
|
|
107
|
+
height: 2.87vh;
|
|
108
|
+
background-image: url("../../../../static/images/zhongyi/trumpet.png");
|
|
109
|
+
background-repeat: no-repeat;
|
|
110
|
+
background-position: 0px 0px;
|
|
111
|
+
background-size: cover;
|
|
112
|
+
position: absolute;
|
|
113
|
+
left: -2.604vw;
|
|
114
|
+
top: 1.111vh;
|
|
115
|
+
}
|
|
116
|
+
</style>
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- 来电模块 -->
|
|
3
|
+
<div class="incoming-telegram">
|
|
4
|
+
<p><i></i><span>来电数量统计</span></p>
|
|
5
|
+
<i></i><i></i>
|
|
6
|
+
<div>
|
|
7
|
+
<span>{{ data.netAppointment}}</span><br>
|
|
8
|
+
<span>年度网厅预约话务(次)</span>
|
|
9
|
+
</div>
|
|
10
|
+
<div>
|
|
11
|
+
<span>{{ data.hotLine }}</span><br>
|
|
12
|
+
<span>年度热线服务话务(次)</span>
|
|
13
|
+
</div>
|
|
14
|
+
<span class="text1">接通率</span>
|
|
15
|
+
<span class="text2">接通率</span>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
import echarts from "echarts";
|
|
23
|
+
import {HttpResetClass} from "vue-client";
|
|
24
|
+
export default {
|
|
25
|
+
name: "IncomingTelegram",
|
|
26
|
+
|
|
27
|
+
data(){
|
|
28
|
+
return{
|
|
29
|
+
data:{
|
|
30
|
+
netAppointment:'16,871',
|
|
31
|
+
hotLine:'85,917',
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
methods:{
|
|
38
|
+
getInitData(){
|
|
39
|
+
let http = new HttpResetClass()
|
|
40
|
+
http.load('post','rs/sql/getCallSumData',{}).then((res)=>{
|
|
41
|
+
console.log(res.data)
|
|
42
|
+
// this.data = res.data[0]
|
|
43
|
+
})
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
ready(){
|
|
47
|
+
// this.getInitData()
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
</script>
|
|
53
|
+
|
|
54
|
+
<style scoped>
|
|
55
|
+
|
|
56
|
+
/* 来电统计样式 */
|
|
57
|
+
.incoming-telegram {
|
|
58
|
+
width: 23.4375vw;
|
|
59
|
+
height: 51.667vh;
|
|
60
|
+
background: rgba(255, 255, 255, .04);
|
|
61
|
+
position: absolute;
|
|
62
|
+
top: 12.315vh;
|
|
63
|
+
right: 1.198vw;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.incoming-telegram p i {
|
|
67
|
+
width: 1.458vw;
|
|
68
|
+
height: 2.593vh;
|
|
69
|
+
background-image: url('../../../../static/images/zhongyi/chart-2@2x.png');
|
|
70
|
+
background-repeat: no-repeat;
|
|
71
|
+
background-size: cover;
|
|
72
|
+
background-position: 0 0;
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: 2.315vh;
|
|
75
|
+
left: 1.51vw;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.incoming-telegram i {
|
|
79
|
+
width: 22.8125vw;
|
|
80
|
+
height: 0.093vh;
|
|
81
|
+
background-image: url('../../../../static/images/zhongyi/blueLine.png');
|
|
82
|
+
background-repeat: no-repeat;
|
|
83
|
+
background-size: cover;
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: 6.852vh;
|
|
86
|
+
left: 1.09375vw;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.incoming-telegram i:nth-of-type(2) {
|
|
90
|
+
top: 6.667vh;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.incoming-telegram p span {
|
|
94
|
+
/* width: 161px;
|
|
95
|
+
height: 26px; */
|
|
96
|
+
font-size: 27px;
|
|
97
|
+
color: #FFFFFF;
|
|
98
|
+
position: absolute;
|
|
99
|
+
top: 1.852vh;
|
|
100
|
+
left: 3.698vw;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
.incoming-telegram div {
|
|
105
|
+
position: absolute;
|
|
106
|
+
top: 11vh;
|
|
107
|
+
left: 1.042vw;
|
|
108
|
+
height: 13.889vh;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.incoming-telegram div:nth-of-type(2) {
|
|
112
|
+
top: 32.185vh;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.incoming-telegram div span:nth-of-type(1) {
|
|
116
|
+
font-size: 54px;
|
|
117
|
+
font-weight: bold;
|
|
118
|
+
color: #FFCD00;
|
|
119
|
+
display: block;
|
|
120
|
+
text-align: center;
|
|
121
|
+
margin-bottom: -24px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.incoming-telegram div:nth-of-type(2) span:nth-of-type(1) {
|
|
125
|
+
color: #00FFEA;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.incoming-telegram div span:nth-of-type(2) {
|
|
129
|
+
font-size: 22px;
|
|
130
|
+
/* font-weight: bold; */
|
|
131
|
+
color: #FFFEFE;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.rate-top{
|
|
135
|
+
width: 45%;
|
|
136
|
+
height: 30% !important;
|
|
137
|
+
margin: 1px 1px 1px 220px;
|
|
138
|
+
}
|
|
139
|
+
.rate-bottom{
|
|
140
|
+
width: 45%;
|
|
141
|
+
height: 30% !important;
|
|
142
|
+
margin: 240px 1px 1px 220px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.text1 {
|
|
146
|
+
font-size: 22px;
|
|
147
|
+
font-weight: bold;
|
|
148
|
+
color: #FFFEFE;
|
|
149
|
+
position: absolute;
|
|
150
|
+
top: 24.722vh;
|
|
151
|
+
right: 3.385vw;
|
|
152
|
+
}
|
|
153
|
+
.text2 {
|
|
154
|
+
font-size: 22px;
|
|
155
|
+
font-weight: bold;
|
|
156
|
+
color: #FFFEFE;
|
|
157
|
+
position: absolute;
|
|
158
|
+
top: 45.185vh;
|
|
159
|
+
right: 3.385vw;
|
|
160
|
+
}
|
|
161
|
+
/* 来电统计样式结束 */
|
|
162
|
+
</style>
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- 完成率组件 -->
|
|
3
|
+
<div class="percentageComplete">
|
|
4
|
+
<div class="view">
|
|
5
|
+
<div class="pending"><i></i><span>待处理</span><span class="pendingNum">{{ data.pendingNum }}</span></div>
|
|
6
|
+
<div class="beingProcessed"><i></i><span>处理中</span><span class="beingProcessedNum">{{ data.beingProcessedNum }}</span></div>
|
|
7
|
+
<div class="completed"><i></i><span>已完成</span><span class="completedNum">{{ data.completedNum }}</span></div>
|
|
8
|
+
<div class="completedEcharts"></div>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="data">
|
|
11
|
+
<ul>
|
|
12
|
+
<li><span>昨日工单</span><span class="day">{{ data.day }}</span><span>日环比</span><i></i><span class="daysFrom">{{ data.daysFrom }}</span></li>
|
|
13
|
+
<li><span>月度工单量</span><span class="month">{{ data.month }}</span><span>月环比</span><i></i><span class="onAMonthlyBasis">{{ data.onAMonthlyBasis }}</span></li>
|
|
14
|
+
<li><span>年度工单量</span><span class="year">{{ data.year }}</span><span>同比</span><i></i><span class="yoy">{{ data.yoy }}</span></li>
|
|
15
|
+
</ul>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
import {HttpResetClass} from "vue-client";
|
|
22
|
+
|
|
23
|
+
export default {
|
|
24
|
+
name: "PercentageComplete",
|
|
25
|
+
data(){
|
|
26
|
+
return{
|
|
27
|
+
data:{
|
|
28
|
+
//待处理
|
|
29
|
+
pendingNum:'29',
|
|
30
|
+
// 处理中
|
|
31
|
+
beingProcessedNum:'16',
|
|
32
|
+
//已完成
|
|
33
|
+
completedNum:'37',
|
|
34
|
+
//昨日工单
|
|
35
|
+
day:'154',
|
|
36
|
+
//月度工单量
|
|
37
|
+
month:'5149',
|
|
38
|
+
//年度工单量
|
|
39
|
+
year:'145784',
|
|
40
|
+
//日环比
|
|
41
|
+
daysFrom:'44.18%',
|
|
42
|
+
//月环比
|
|
43
|
+
onAMonthlyBasis:'71.12%',
|
|
44
|
+
//同比
|
|
45
|
+
yoy:'95.07%',
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
methods:{
|
|
52
|
+
getInitData(){
|
|
53
|
+
let http = new HttpResetClass()
|
|
54
|
+
http.load('post','rs/sql/getCallSumData',{}).then((res)=>{
|
|
55
|
+
console.log(res.data)
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
ready(){
|
|
60
|
+
// this.getInitData()
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<style scoped>
|
|
66
|
+
/* 完成率组件样式 */
|
|
67
|
+
.percentageComplete {
|
|
68
|
+
width: 24.198vw;
|
|
69
|
+
height: 42.852vh;
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 53.241vh;
|
|
72
|
+
left: 1.146vw;
|
|
73
|
+
background: #0f136c;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.pending {
|
|
77
|
+
width: 4.948vw;
|
|
78
|
+
height: 13.981vh;
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: 4.63vh;
|
|
81
|
+
left: 0.573vw;
|
|
82
|
+
border: 1px dashed #fff;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.pending i {
|
|
86
|
+
width: 100%;
|
|
87
|
+
height: 100%;
|
|
88
|
+
background-repeat: no-repeat;
|
|
89
|
+
background-position: 1px 0px;
|
|
90
|
+
background-size: cover;
|
|
91
|
+
position: absolute;
|
|
92
|
+
background-image: url("../../../../static/images/zhongyi/exclamationPoint.png");
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.pending span:nth-of-type(1) {
|
|
96
|
+
font-size: 22px;
|
|
97
|
+
color: #FFFFFF;
|
|
98
|
+
position: absolute;
|
|
99
|
+
bottom: 9.259vh;
|
|
100
|
+
left: 0.885vw;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.pending span:nth-of-type(2) {
|
|
104
|
+
font-size: 32px;
|
|
105
|
+
font-weight: bold;
|
|
106
|
+
color: #FF7E00;
|
|
107
|
+
position: absolute;
|
|
108
|
+
bottom: 12.222vh;
|
|
109
|
+
left: 1.5625vw;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.beingProcessed {
|
|
113
|
+
width: 4.948vw;
|
|
114
|
+
height: 13.981vh;
|
|
115
|
+
position: absolute;
|
|
116
|
+
top: 4.63vh;
|
|
117
|
+
left: 5.417vw;
|
|
118
|
+
border: 1px dashed #fff;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.beingProcessed i {
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 100%;
|
|
124
|
+
background-repeat: no-repeat;
|
|
125
|
+
background-position: 1px 0px;
|
|
126
|
+
background-size: cover;
|
|
127
|
+
position: absolute;
|
|
128
|
+
background-image: url("../../../../static/images/zhongyi/refresh.png");
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.beingProcessed span:nth-of-type(1) {
|
|
132
|
+
font-size: 22px;
|
|
133
|
+
color: #FFFFFF;
|
|
134
|
+
position: absolute;
|
|
135
|
+
bottom: 9.259vh;
|
|
136
|
+
left: 0.885vw;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.beingProcessed span:nth-of-type(2) {
|
|
140
|
+
font-size: 32px;
|
|
141
|
+
font-weight: bold;
|
|
142
|
+
color: #FFCC0F;
|
|
143
|
+
position: absolute;
|
|
144
|
+
bottom: 12.222vh;
|
|
145
|
+
left: 1.5625vw;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.completed {
|
|
149
|
+
width: 4.948vw;
|
|
150
|
+
height: 13.981vh;
|
|
151
|
+
position: absolute;
|
|
152
|
+
top: 4.63vh;
|
|
153
|
+
left: 10.208vw;
|
|
154
|
+
border: 1px dashed #fff;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.completed i {
|
|
158
|
+
width: 100%;
|
|
159
|
+
height: 100%;
|
|
160
|
+
background-repeat: no-repeat;
|
|
161
|
+
background-position: 1px 0px;
|
|
162
|
+
background-size: cover;
|
|
163
|
+
position: absolute;
|
|
164
|
+
background-image: url("../../../../static/images/zhongyi/Pigeon.png");
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.completed span:nth-of-type(1) {
|
|
168
|
+
font-size: 22px;
|
|
169
|
+
color: #FFFFFF;
|
|
170
|
+
position: absolute;
|
|
171
|
+
bottom: 9.259vh;
|
|
172
|
+
left: 0.885vw;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.completed span:nth-of-type(2) {
|
|
176
|
+
font-size: 32px;
|
|
177
|
+
font-weight: bold;
|
|
178
|
+
color: #01F7E6;
|
|
179
|
+
position: absolute;
|
|
180
|
+
bottom: 12.222vh;
|
|
181
|
+
left: 1.5625vw;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.completedEcharts {
|
|
185
|
+
width: 7.24vw;
|
|
186
|
+
height: 12.87vh;
|
|
187
|
+
opacity: 0.08;
|
|
188
|
+
border-radius: 50%;
|
|
189
|
+
position: absolute;
|
|
190
|
+
top: 4.352vh;
|
|
191
|
+
right: 1.146vw;
|
|
192
|
+
/*background-color: #00F6FF;*/
|
|
193
|
+
}
|
|
194
|
+
.data{
|
|
195
|
+
height: 1vh;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.data li {
|
|
199
|
+
width: 22.8125vw;
|
|
200
|
+
height: 4.537vh;
|
|
201
|
+
position: absolute;
|
|
202
|
+
/* position: relative; */
|
|
203
|
+
left: 1.09375vw;
|
|
204
|
+
list-style: none;
|
|
205
|
+
display: inline-block;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.data li:nth-of-type(1) {
|
|
209
|
+
width: 22.8125vw;
|
|
210
|
+
height: 4.537vh;
|
|
211
|
+
background-image: url('../../../../static/images/zhongyi/bluebg.png');
|
|
212
|
+
background-repeat: no-repeat;
|
|
213
|
+
background-size: cover;
|
|
214
|
+
bottom: 16.389vh;
|
|
215
|
+
border: 1px dashed #fff;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.data li:nth-of-type(2) {
|
|
219
|
+
width: 22.8125vw;
|
|
220
|
+
height: 4.537vh;
|
|
221
|
+
background-image: url('../../../../static/images/zhongyi/yellowbg.png');
|
|
222
|
+
background-repeat: no-repeat;
|
|
223
|
+
background-size: cover;
|
|
224
|
+
bottom: 9.259vh;
|
|
225
|
+
border: 1px dashed #fff;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.data li:nth-of-type(3) {
|
|
229
|
+
width: 22.8125vw;
|
|
230
|
+
height: 4.537vh;
|
|
231
|
+
background-image: url('../../../../static/images/zhongyi/bulebg2.png');
|
|
232
|
+
background-repeat: no-repeat;
|
|
233
|
+
background-size: cover;
|
|
234
|
+
bottom: 2.037vh;
|
|
235
|
+
border: 1px dashed #fff;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.data li span:nth-of-type(1) {
|
|
239
|
+
font-size: 22px;
|
|
240
|
+
color: #FFFFFF;
|
|
241
|
+
position: relative;
|
|
242
|
+
top: 0.833vh;
|
|
243
|
+
left: 0.625vw;
|
|
244
|
+
}
|
|
245
|
+
.data li span:nth-of-type(2) {
|
|
246
|
+
font-size: 27px;
|
|
247
|
+
position: absolute;
|
|
248
|
+
font-weight: bold;
|
|
249
|
+
top: 0.556vh;
|
|
250
|
+
left: 6.823vw;
|
|
251
|
+
}
|
|
252
|
+
.day{
|
|
253
|
+
color: #00D2FF;
|
|
254
|
+
}
|
|
255
|
+
.month{
|
|
256
|
+
color: #FFCD00;
|
|
257
|
+
}
|
|
258
|
+
.year{
|
|
259
|
+
color: #01F7E6;
|
|
260
|
+
}
|
|
261
|
+
.data li span:nth-of-type(3) {
|
|
262
|
+
font-size: 22px;
|
|
263
|
+
color: #FFFFFF;
|
|
264
|
+
position: absolute;
|
|
265
|
+
top: 0.833vh;
|
|
266
|
+
right: 7.292vw;
|
|
267
|
+
}
|
|
268
|
+
.data li span:nth-of-type(4) {
|
|
269
|
+
font-size: 22px;
|
|
270
|
+
|
|
271
|
+
position: absolute;
|
|
272
|
+
font-weight: bold;
|
|
273
|
+
top: 0.833vh;
|
|
274
|
+
right: 0.833vw;
|
|
275
|
+
}
|
|
276
|
+
.daysFrom{
|
|
277
|
+
color: #FF7E00;
|
|
278
|
+
}
|
|
279
|
+
.onAMonthlyBasis,.yoy{
|
|
280
|
+
color: #01F7E6;
|
|
281
|
+
}
|
|
282
|
+
/*.data ul li i{*/
|
|
283
|
+
/* width: 22px;*/
|
|
284
|
+
/* height: 22px;*/
|
|
285
|
+
/* background-image: url('./images/zhongyi/箭头\ 19\ 1.png');*/
|
|
286
|
+
/* background-repeat: no-repeat;*/
|
|
287
|
+
/* background-size: cover;*/
|
|
288
|
+
/* position: absolute;*/
|
|
289
|
+
/*}*/
|
|
290
|
+
/* 完成率组件样式结束 */
|
|
291
|
+
</style>
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="echart"></div>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<!--PercentageCompleteEchart-->
|
|
7
|
+
<script>
|
|
8
|
+
import echarts from "echarts";
|
|
9
|
+
export default {
|
|
10
|
+
name: "PercentageCompleteEchart",
|
|
11
|
+
// components: {},
|
|
12
|
+
// props:['row','dat1'],
|
|
13
|
+
data(){
|
|
14
|
+
return {
|
|
15
|
+
percentageComplete:66,
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
ready(){
|
|
19
|
+
// console.log(this.row)
|
|
20
|
+
this.percentageCompleteEchart()
|
|
21
|
+
},
|
|
22
|
+
mounted(){
|
|
23
|
+
},
|
|
24
|
+
methods:{
|
|
25
|
+
|
|
26
|
+
percentageCompleteEchart(){
|
|
27
|
+
let myChart = echarts.init(document.getElementById("echart"));
|
|
28
|
+
let value = this.percentageComplete;
|
|
29
|
+
let option = {
|
|
30
|
+
// backgroundColor:"#061740",
|
|
31
|
+
title: {
|
|
32
|
+
text: `${value}%`,
|
|
33
|
+
x: 'center',
|
|
34
|
+
y: 'center',
|
|
35
|
+
textStyle: {
|
|
36
|
+
color: '#00F6FF',
|
|
37
|
+
fontSize:20
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
series: [ {
|
|
41
|
+
type: 'pie',
|
|
42
|
+
radius: ['58%', '45%'],
|
|
43
|
+
silent: true,
|
|
44
|
+
clockwise: true,
|
|
45
|
+
startAngle: 90,
|
|
46
|
+
z: 0,
|
|
47
|
+
zlevel: 0,
|
|
48
|
+
label: {
|
|
49
|
+
normal: {
|
|
50
|
+
position: "center",
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
data: [{
|
|
55
|
+
value: value,
|
|
56
|
+
name: "",
|
|
57
|
+
itemStyle: {
|
|
58
|
+
normal: {
|
|
59
|
+
color:"#00F6FF",
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
value: 100-value,
|
|
65
|
+
name: "",
|
|
66
|
+
label: {
|
|
67
|
+
normal: {
|
|
68
|
+
show: false
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
itemStyle: {
|
|
72
|
+
normal: {
|
|
73
|
+
color: "transparent"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
{
|
|
81
|
+
name: "",
|
|
82
|
+
type: "gauge",
|
|
83
|
+
radius: "58%",
|
|
84
|
+
center: ['50%', '50%'],
|
|
85
|
+
startAngle: 0,
|
|
86
|
+
endAngle: 359.9,
|
|
87
|
+
splitNumber: 15,
|
|
88
|
+
hoverAnimation: true,
|
|
89
|
+
axisTick: {
|
|
90
|
+
show: false
|
|
91
|
+
},
|
|
92
|
+
splitLine: {
|
|
93
|
+
length: 17,
|
|
94
|
+
lineStyle: {
|
|
95
|
+
width: 5,
|
|
96
|
+
color: "#061740"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
axisLabel: {
|
|
100
|
+
show: false
|
|
101
|
+
},
|
|
102
|
+
pointer: {
|
|
103
|
+
show: false
|
|
104
|
+
},
|
|
105
|
+
axisLine: {
|
|
106
|
+
lineStyle: {
|
|
107
|
+
opacity: 0
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
detail: {
|
|
111
|
+
show: false
|
|
112
|
+
},
|
|
113
|
+
data: [{
|
|
114
|
+
value: 0,
|
|
115
|
+
name: ""
|
|
116
|
+
}]
|
|
117
|
+
},
|
|
118
|
+
|
|
119
|
+
]
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
myChart.setOption(option);
|
|
123
|
+
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
}
|
|
129
|
+
</script>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
<style scoped>
|
|
133
|
+
#echart{
|
|
134
|
+
margin-left: 270px;
|
|
135
|
+
margin-top: 140px;
|
|
136
|
+
width: 250px;
|
|
137
|
+
height: 250px;
|
|
138
|
+
}
|
|
139
|
+
canvas{}
|
|
140
|
+
</style>
|