manage-client 3.2.145 → 3.2.148
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 +179 -176
- package/build/webpack.base.conf.js +1 -1
- package/package.json +2 -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/components/sale/businessquery/ChangeMeterQuery.vue +10 -0
- package/src/filiale/macheng/config/exportConfig.js +1 -1
- package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
- package/src/filiale/qianneng/ChargeQuery.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 +180 -0
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +322 -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/SwiperTools.vue +161 -0
- package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +143 -0
- package/src/filiale/zhongyi/CallReport/Time.vue +100 -0
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +97 -0
- package/src/filiale/zhongyi/CallReport/WeatherData.vue +44 -0
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +181 -0
- package/src/filiale/zhongyi/sale.js +34 -1
- package/src/main.js +66 -66
- package/src/reportManage.js +4 -0
- package/static/fonts/font.css +6 -0
- package/static/fonts//351/230/277/351/207/214/346/261/211/344/273/252/346/231/272/350/203/275/351/273/221/344/275/223.TTF +0 -0
- package/static/images/zhongyi/Pigeon.png +0 -0
- package/static/images/zhongyi/background.png +0 -0
- package/static/images/zhongyi/blueArrows.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/yellowArrows.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,385 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- 客服状态组件 -->
|
|
3
|
+
<div class="service-status">
|
|
4
|
+
<div>
|
|
5
|
+
<div>
|
|
6
|
+
|
|
7
|
+
<div v-if="service[0].name!=='离线'"><i class="service1"></i></div>
|
|
8
|
+
<div v-if="service[0].name==='离线'"><i class="service2"></i></div>
|
|
9
|
+
|
|
10
|
+
<div v-if="service[0].state==='振铃'"><i class="status1"></i></div>
|
|
11
|
+
<div v-if="service[0].state==='接听'"><i class="status2"></i></div>
|
|
12
|
+
<div v-if="service[0].state==='等待'"><i class="status3"></i></div>
|
|
13
|
+
<div v-if="service[0].state==='离线'"><i class="status4"></i></div>
|
|
14
|
+
|
|
15
|
+
<span>{{ service[0].name }}</span>
|
|
16
|
+
</div>
|
|
17
|
+
<div>
|
|
18
|
+
|
|
19
|
+
<div v-if="service[1].name!=='离线'"><i class="service1"></i></div>
|
|
20
|
+
<div v-if="service[1].name==='离线'"><i class="service2"></i></div>
|
|
21
|
+
|
|
22
|
+
<div v-if="service[1].state==='振铃'"><i class="status1"></i></div>
|
|
23
|
+
<div v-if="service[1].state==='接听'"><i class="status2"></i></div>
|
|
24
|
+
<div v-if="service[1].state==='等待'"><i class="status3"></i></div>
|
|
25
|
+
<div v-if="service[1].state==='离线'"><i class="status4"></i></div>
|
|
26
|
+
|
|
27
|
+
<span>{{ service[1].name }}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div>
|
|
30
|
+
|
|
31
|
+
<div v-if="service[2].name!=='离线'"><i class="service1"></i></div>
|
|
32
|
+
<div v-if="service[2].name==='离线'"><i class="service2"></i></div>
|
|
33
|
+
|
|
34
|
+
<div v-if="service[2].state==='振铃'"><i class="status1"></i></div>
|
|
35
|
+
<div v-if="service[2].state==='接听'"><i class="status2"></i></div>
|
|
36
|
+
<div v-if="service[2].state==='等待'"><i class="status3"></i></div>
|
|
37
|
+
<div v-if="service[2].state==='离线'"><i class="status4"></i></div>
|
|
38
|
+
|
|
39
|
+
<span>{{ service[2].name }}</span>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="move-down">
|
|
43
|
+
<div>
|
|
44
|
+
|
|
45
|
+
<div v-if="service[3].name!=='离线'"><i class="service1"></i></div>
|
|
46
|
+
<div v-if="service[3].name==='离线'"><i class="service2"></i></div>
|
|
47
|
+
|
|
48
|
+
<div v-if="service[3].state==='振铃'"><i class="status1"></i></div>
|
|
49
|
+
<div v-if="service[3].state==='接听'"><i class="status2"></i></div>
|
|
50
|
+
<div v-if="service[3].state==='等待'"><i class="status3"></i></div>
|
|
51
|
+
<div v-if="service[3].state==='离线'"><i class="status4"></i></div>
|
|
52
|
+
|
|
53
|
+
<span>{{ service[3].name }}</span>
|
|
54
|
+
</div>
|
|
55
|
+
<div>
|
|
56
|
+
|
|
57
|
+
<div v-if="service[4].name!=='离线'"><i class="service1"></i></div>
|
|
58
|
+
<div v-if="service[4].name==='离线'"><i class="service2"></i></div>
|
|
59
|
+
|
|
60
|
+
<div v-if="service[4].state==='振铃'"><i class="status1"></i></div>
|
|
61
|
+
<div v-if="service[4].state==='接听'"><i class="status2"></i></div>
|
|
62
|
+
<div v-if="service[4].state==='等待'"><i class="status3"></i></div>
|
|
63
|
+
<div v-if="service[4].state==='离线'"><i class="status4"></i></div>
|
|
64
|
+
|
|
65
|
+
<span>{{ service[4].name }}</span>
|
|
66
|
+
</div>
|
|
67
|
+
<div>
|
|
68
|
+
|
|
69
|
+
<div v-if="service[5].name!=='离线'"><i class="service1"></i></div>
|
|
70
|
+
<div v-if="service[5].name==='离线'"><i class="service2"></i></div>
|
|
71
|
+
|
|
72
|
+
<div v-if="service[5].state==='振铃'"><i class="status1"></i></div>
|
|
73
|
+
<div v-if="service[5].state==='接听'"><i class="status2"></i></div>
|
|
74
|
+
<div v-if="service[5].state==='等待'"><i class="status3"></i></div>
|
|
75
|
+
<div v-if="service[5].state==='离线'"><i class="status4"></i></div>
|
|
76
|
+
|
|
77
|
+
<span>{{ service[5].name }}</span>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<div class="status-count">
|
|
84
|
+
<div>
|
|
85
|
+
<i class="answer"></i>
|
|
86
|
+
<span class="answer-text">接听中</span>
|
|
87
|
+
<span class="answer-num">{{ data.answerNum }}</span>
|
|
88
|
+
</div>
|
|
89
|
+
<div>
|
|
90
|
+
<i class="await"></i>
|
|
91
|
+
<span class="await-text">等待接听</span>
|
|
92
|
+
<span class="await-num">{{ data.awaitNum }}</span>
|
|
93
|
+
</div>
|
|
94
|
+
<div>
|
|
95
|
+
<i class="ring"></i>
|
|
96
|
+
<span class="ring-text">振铃</span>
|
|
97
|
+
<span class="ring-num">{{ data.ringNum }}</span>
|
|
98
|
+
</div>
|
|
99
|
+
<div>
|
|
100
|
+
<i class="off-line"></i>
|
|
101
|
+
<span class="off-line-text">离线</span>
|
|
102
|
+
<span class="off-line-num">{{ data.offLineNum }}</span>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
</div>
|
|
106
|
+
</template>
|
|
107
|
+
|
|
108
|
+
<script>
|
|
109
|
+
import {HttpResetClass} from "vue-client";
|
|
110
|
+
|
|
111
|
+
export default {
|
|
112
|
+
|
|
113
|
+
name: "ServiceStatus",
|
|
114
|
+
components:{
|
|
115
|
+
|
|
116
|
+
},
|
|
117
|
+
data(){
|
|
118
|
+
return{
|
|
119
|
+
data:{
|
|
120
|
+
answerNum:'2',
|
|
121
|
+
awaitNum:'1',
|
|
122
|
+
ringNum:'2',
|
|
123
|
+
offLineNum:'1',
|
|
124
|
+
|
|
125
|
+
},
|
|
126
|
+
service:[
|
|
127
|
+
{name:'刘竹凡',state:'振铃'},//振铃,接听,等待,离线
|
|
128
|
+
{name:'马静静',state:'接听'},
|
|
129
|
+
{name:'刘竹凡',state:'振铃'},
|
|
130
|
+
{name:'李云玉',state:'接听'},
|
|
131
|
+
{name:'张思雨',state:'等待'},
|
|
132
|
+
{name:'离线',state:'离线'},
|
|
133
|
+
],
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
ready(){
|
|
140
|
+
// this.getInitData()
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
methods:{
|
|
144
|
+
getInitData(){
|
|
145
|
+
let http = new HttpResetClass()
|
|
146
|
+
http.load('post','rs/sql/getCallSumData',{}).then((res)=>{
|
|
147
|
+
console.log(res.data)
|
|
148
|
+
// this.data = res.data[0]
|
|
149
|
+
})
|
|
150
|
+
},
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
</script>
|
|
156
|
+
|
|
157
|
+
<style scoped>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
.service-status {
|
|
161
|
+
width: 36.458vw;
|
|
162
|
+
height: 31.944vh;
|
|
163
|
+
position: absolute;
|
|
164
|
+
top: 23.241vh;
|
|
165
|
+
left: 31.927vw;
|
|
166
|
+
/* background: rgba(255, 255, 255, .04); */
|
|
167
|
+
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.service-status div {
|
|
171
|
+
height: 15.741vh;
|
|
172
|
+
display: flex;
|
|
173
|
+
justify-content: space-between;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.move-down {
|
|
177
|
+
margin-top: 2.13vh;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.service-status div div {
|
|
181
|
+
width: 7.552vw;
|
|
182
|
+
height: 10.463vh;
|
|
183
|
+
position: relative;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.service1 {
|
|
187
|
+
width: 3.49vw;
|
|
188
|
+
height: 8.148vh;
|
|
189
|
+
background-image: url("../../../../static/images/zhongyi/service1.png");
|
|
190
|
+
background-repeat: no-repeat;
|
|
191
|
+
background-position: 0 0;
|
|
192
|
+
background-size: contain;
|
|
193
|
+
position: absolute;
|
|
194
|
+
left: 0.78125vw;
|
|
195
|
+
}
|
|
196
|
+
.service2 {
|
|
197
|
+
width: 3.49vw;
|
|
198
|
+
height: 8.148vh;
|
|
199
|
+
background-image: url("../../../../static/images/zhongyi/service2.png");
|
|
200
|
+
background-repeat: no-repeat;
|
|
201
|
+
background-position: 0 0;
|
|
202
|
+
background-size: contain;
|
|
203
|
+
position: absolute;
|
|
204
|
+
left: 0.78125vw;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
.status1 {
|
|
213
|
+
width: 1.875vw;
|
|
214
|
+
background-image: url("../../../../static/images/zhongyi/ring.png");
|
|
215
|
+
height: 4.333vh;
|
|
216
|
+
background-repeat: no-repeat;
|
|
217
|
+
background-position: 0 0;
|
|
218
|
+
background-size: contain;
|
|
219
|
+
position: absolute;
|
|
220
|
+
right: 0.052vw;
|
|
221
|
+
bottom: 0.185vh;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.status2 {
|
|
225
|
+
width: 1.875vw;
|
|
226
|
+
background-image: url("../../../../static/images/zhongyi/phone1.png");
|
|
227
|
+
height: 4.333vh;
|
|
228
|
+
background-repeat: no-repeat;
|
|
229
|
+
background-position: 0 0;
|
|
230
|
+
background-size: contain;
|
|
231
|
+
position: absolute;
|
|
232
|
+
right: 0.052vw;
|
|
233
|
+
bottom: 0.104vw;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.status3 {
|
|
237
|
+
width: 2.34375vw;
|
|
238
|
+
background-image: url("../../../../static/images/zhongyi/telephone1.png");
|
|
239
|
+
height: 4.333vh;
|
|
240
|
+
background-repeat: no-repeat;
|
|
241
|
+
background-position: 0 0;
|
|
242
|
+
background-size: contain;
|
|
243
|
+
position: absolute;
|
|
244
|
+
right: 0.052vw;
|
|
245
|
+
bottom: 0.185vh;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.status4 {
|
|
249
|
+
width: 1.875vw;
|
|
250
|
+
background-image: url("../../../../static/images/zhongyi/phone2.png");
|
|
251
|
+
height: 4.333vh;
|
|
252
|
+
background-repeat: no-repeat;
|
|
253
|
+
background-position: 0 0;
|
|
254
|
+
background-size: contain;
|
|
255
|
+
position: absolute;
|
|
256
|
+
right: 0.052vw;
|
|
257
|
+
bottom: 0.185vh;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.service-status div span {
|
|
261
|
+
width: 5.208vw;
|
|
262
|
+
height: 2.037vh;
|
|
263
|
+
font-size: 2.037vh;
|
|
264
|
+
font-weight: bold;
|
|
265
|
+
color: #FFFEFE;
|
|
266
|
+
display: block;
|
|
267
|
+
text-align: center;
|
|
268
|
+
position: absolute;
|
|
269
|
+
top: 9.537vh;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
.status-count {
|
|
275
|
+
width: 41.667vw;
|
|
276
|
+
height: 4.63vh;
|
|
277
|
+
/* background-color: rgb(131, 238, 188); */
|
|
278
|
+
position: absolute;
|
|
279
|
+
top: 59.537vh;
|
|
280
|
+
left: 30.573vw;
|
|
281
|
+
display: flex;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.answer{
|
|
285
|
+
width: 1.875vw;
|
|
286
|
+
height: 4.333vh;
|
|
287
|
+
background-image: url("../../../../static/images/zhongyi/phone1.png");
|
|
288
|
+
background-repeat: no-repeat;
|
|
289
|
+
background-position: 0 0;
|
|
290
|
+
background-size: contain;
|
|
291
|
+
position: absolute;
|
|
292
|
+
top: 1.389vh;
|
|
293
|
+
}
|
|
294
|
+
.answer-text{
|
|
295
|
+
position: absolute;
|
|
296
|
+
top: 1.852vh;
|
|
297
|
+
left: 3.125vw;
|
|
298
|
+
}
|
|
299
|
+
.answer-num{
|
|
300
|
+
font-size: 2.593vh;
|
|
301
|
+
color: #00FFEA;
|
|
302
|
+
position: absolute;
|
|
303
|
+
top: 1.204vh;
|
|
304
|
+
left: 7.24vw;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.await{
|
|
308
|
+
width: 2.34375vw;
|
|
309
|
+
height: 4.333vh;
|
|
310
|
+
background-image: url("../../../../static/images/zhongyi/telephone1.png");
|
|
311
|
+
background-repeat: no-repeat;
|
|
312
|
+
background-position: 0 0;
|
|
313
|
+
background-size: contain;
|
|
314
|
+
position: absolute;
|
|
315
|
+
top: 1.389vh;
|
|
316
|
+
left: 10.417vw;
|
|
317
|
+
}
|
|
318
|
+
.await-text{
|
|
319
|
+
position: absolute;
|
|
320
|
+
top: 1.852vh;
|
|
321
|
+
left: 14.0625vw;
|
|
322
|
+
}
|
|
323
|
+
.await-num{
|
|
324
|
+
font-size: 2.593vh;
|
|
325
|
+
color: #FFCD00;
|
|
326
|
+
position: absolute;
|
|
327
|
+
top: 1.204vh;
|
|
328
|
+
left: 19.271vw;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.ring{
|
|
332
|
+
width: 1.875vw;
|
|
333
|
+
height: 4.333vh;
|
|
334
|
+
background-image: url("../../../../static/images/zhongyi/ring.png");
|
|
335
|
+
background-repeat: no-repeat;
|
|
336
|
+
background-position: 0 0;
|
|
337
|
+
background-size: contain;
|
|
338
|
+
position: absolute;
|
|
339
|
+
top: 1.389vh;
|
|
340
|
+
left: 22.396vw;
|
|
341
|
+
}
|
|
342
|
+
.ring-text{
|
|
343
|
+
position: absolute;
|
|
344
|
+
top: 1.852vh;
|
|
345
|
+
left: 25.78125vw;
|
|
346
|
+
}
|
|
347
|
+
.ring-num{
|
|
348
|
+
font-size: 2.593vh;
|
|
349
|
+
color: #FF7E00;
|
|
350
|
+
position: absolute;
|
|
351
|
+
top: 1.204vh;
|
|
352
|
+
left: 28.90625vw;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.off-line{
|
|
356
|
+
width: 1.875vw;
|
|
357
|
+
height: 4.333vh;
|
|
358
|
+
background-image: url("../../../../static/images/zhongyi/phone2.png");
|
|
359
|
+
background-repeat: no-repeat;
|
|
360
|
+
background-position: 0 0;
|
|
361
|
+
background-size: contain;
|
|
362
|
+
position: absolute;
|
|
363
|
+
top: 1.389vh;
|
|
364
|
+
left: 32.03125vw;
|
|
365
|
+
}
|
|
366
|
+
.off-line-text{
|
|
367
|
+
position: absolute;
|
|
368
|
+
top: 1.852vh;
|
|
369
|
+
left: 35.417vw;
|
|
370
|
+
}
|
|
371
|
+
.off-line-num{
|
|
372
|
+
font-size: 2.593vh;
|
|
373
|
+
color: #DBDBDB;
|
|
374
|
+
position: absolute;
|
|
375
|
+
top: 1.204vh;
|
|
376
|
+
left: 38.802vw;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
.status-count div span:nth-of-type(1) {
|
|
381
|
+
font-size: 2.037vh;
|
|
382
|
+
color: #FFFFFF;
|
|
383
|
+
line-height: 2.315vh;
|
|
384
|
+
}
|
|
385
|
+
</style>
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="title-area">
|
|
3
|
+
<div v-for="value in titleList">{{ value }}</div>
|
|
4
|
+
</div>
|
|
5
|
+
<div class="userinfo-data">
|
|
6
|
+
<!-- <table>-->
|
|
7
|
+
<!-- <thead>-->
|
|
8
|
+
<!-- <tr class="title-area" >-->
|
|
9
|
+
<!-- <td v-for="value in titleList">{{ value }}</td>-->
|
|
10
|
+
<!-- </tr>-->
|
|
11
|
+
<!-- </thead>-->
|
|
12
|
+
<!-- <tbody class="swiper-container">-->
|
|
13
|
+
<!-- <tr class="swiper-wrapper" v-for="item in noticeList">-->
|
|
14
|
+
<!-- <template v-for="value in item">-->
|
|
15
|
+
<!-- <td class="swiper-slide">{{value}} </td>-->
|
|
16
|
+
<!-- </template>-->
|
|
17
|
+
<!-- </tr>-->
|
|
18
|
+
<!-- </tbody>-->
|
|
19
|
+
<!-- </table>-->
|
|
20
|
+
<div class="swiper-container">
|
|
21
|
+
<div class="swiper-wrapper">
|
|
22
|
+
<div class="swiper-slide" v-for="item in noticeList">
|
|
23
|
+
<div v-for="value in item">
|
|
24
|
+
<div>{{value}} </div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
import Swiper from "swiper"
|
|
34
|
+
import 'swiper/css/swiper.min.css'
|
|
35
|
+
export default {
|
|
36
|
+
name: "SwiperSlide",
|
|
37
|
+
watch:{
|
|
38
|
+
noticeList: {
|
|
39
|
+
immediate: true,
|
|
40
|
+
deep:true,//深度监听,也是看情况使用
|
|
41
|
+
handler() {
|
|
42
|
+
this.$nextTick(()=>{
|
|
43
|
+
new Swiper ('.swiper-container', {
|
|
44
|
+
slidesPerView : this.rowSpeed.row,
|
|
45
|
+
speed:this.rowSpeed.speed*1000,
|
|
46
|
+
//垂直播放
|
|
47
|
+
direction: 'vertical',
|
|
48
|
+
autoplay: {
|
|
49
|
+
delay: 0,
|
|
50
|
+
stopOnLastSlide: false,
|
|
51
|
+
disableOnInteraction: true,
|
|
52
|
+
// waitForTransition: false,
|
|
53
|
+
},
|
|
54
|
+
loop: true // 循环模式选项
|
|
55
|
+
});
|
|
56
|
+
})
|
|
57
|
+
},
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
props:{
|
|
61
|
+
rowSpeed:{
|
|
62
|
+
/* 行数 row 速度 speed */
|
|
63
|
+
type:Object,
|
|
64
|
+
default: {
|
|
65
|
+
row:5,
|
|
66
|
+
speed:3
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
titleList:{
|
|
70
|
+
type:Object,
|
|
71
|
+
default:{
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
,
|
|
75
|
+
noticeList:{
|
|
76
|
+
type:Array,
|
|
77
|
+
default:[
|
|
78
|
+
{
|
|
79
|
+
date: '',
|
|
80
|
+
duration:'',
|
|
81
|
+
name:'',
|
|
82
|
+
orderType:'',
|
|
83
|
+
address:'',
|
|
84
|
+
receptionist:'',
|
|
85
|
+
state:''
|
|
86
|
+
},
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
</script>
|
|
92
|
+
|
|
93
|
+
<style lang="less" scoped>
|
|
94
|
+
.title-area {
|
|
95
|
+
color: #00D2FF;
|
|
96
|
+
font-size: 2.5vh;
|
|
97
|
+
display: flex;
|
|
98
|
+
height: 5.093vh;
|
|
99
|
+
flex-direction: row;
|
|
100
|
+
align-items: center;
|
|
101
|
+
position: relative;
|
|
102
|
+
margin-top: 2.407vh;
|
|
103
|
+
text-align: center;
|
|
104
|
+
justify-content: space-evenly;
|
|
105
|
+
//div:nth-of-type(1){width: 25%;}
|
|
106
|
+
//div:nth-of-type(2){width: 8%;}
|
|
107
|
+
//div:nth-of-type(3){width: 15%;}
|
|
108
|
+
//div:nth-of-type(4){width: 8%;}
|
|
109
|
+
//div:nth-of-type(5){width: 21%;}
|
|
110
|
+
//div:nth-of-type(6){width: 10%;}
|
|
111
|
+
//div:nth-of-type(7){width: 11%;}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.userinfo-data {
|
|
115
|
+
height: 19.63vh;
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 8.148vh;
|
|
118
|
+
left: 0.521vw;
|
|
119
|
+
width: 71.354vw;
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
}
|
|
122
|
+
.swiper-slide{
|
|
123
|
+
display: flex;
|
|
124
|
+
color: #ffffff;
|
|
125
|
+
font-size: 22px;
|
|
126
|
+
line-height: 41px;
|
|
127
|
+
justify-content: space-evenly;
|
|
128
|
+
|
|
129
|
+
//div:nth-of-type(1){
|
|
130
|
+
// width: 230px;
|
|
131
|
+
//}
|
|
132
|
+
//div:nth-of-type(2){
|
|
133
|
+
// width: 70px;
|
|
134
|
+
//}
|
|
135
|
+
//div:nth-of-type(3){
|
|
136
|
+
// width: 100px;
|
|
137
|
+
//}
|
|
138
|
+
//div:nth-of-type(4){
|
|
139
|
+
// width: 22px;
|
|
140
|
+
//}
|
|
141
|
+
//div:nth-of-type(5){
|
|
142
|
+
// height: 100%;
|
|
143
|
+
// width: 266px;
|
|
144
|
+
// //text-align: center;
|
|
145
|
+
// margin-left: 40px;
|
|
146
|
+
// div{
|
|
147
|
+
// overflow: hidden;
|
|
148
|
+
// text-overflow: ellipsis;
|
|
149
|
+
// white-space: nowrap;
|
|
150
|
+
// }
|
|
151
|
+
//}
|
|
152
|
+
//div:nth-of-type(6){
|
|
153
|
+
// width: 90px;
|
|
154
|
+
//}
|
|
155
|
+
//div:nth-of-type(7){
|
|
156
|
+
// width: 66px;
|
|
157
|
+
// color: #F7DB35;
|
|
158
|
+
//}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
</style>
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<table style="width: 100%">
|
|
4
|
+
<thead>
|
|
5
|
+
<tr class="title-area" >
|
|
6
|
+
<td v-for="value in titleList">{{ value }}</td>
|
|
7
|
+
</tr>
|
|
8
|
+
</thead>
|
|
9
|
+
<!-- 显示不出来-->
|
|
10
|
+
<!-- <tbody class="swiper-container">-->
|
|
11
|
+
<!-- <template class="swiper-wrapper">-->
|
|
12
|
+
<!-- <tr class="swiper-slide" v-for="item in noticeList">-->
|
|
13
|
+
<!-- <td v-for="value in item">{{value}}</td>-->
|
|
14
|
+
<!-- </tr>-->
|
|
15
|
+
<!-- </template>-->
|
|
16
|
+
<!-- </tbody>-->
|
|
17
|
+
<!-- 格式不对-->
|
|
18
|
+
<!-- <tbody class="swiper-container">-->
|
|
19
|
+
<!-- <tr class="swiper-wrapper">-->
|
|
20
|
+
<!-- <td class="swiper-slide" v-for="item in noticeList">-->
|
|
21
|
+
<!-- <span v-for="value in item">{{value}}</span>-->
|
|
22
|
+
<!-- </td>-->
|
|
23
|
+
<!-- </tr>-->
|
|
24
|
+
<!-- </tbody>-->
|
|
25
|
+
<!-- 动不了的-->
|
|
26
|
+
<tbody class="swiper-container">
|
|
27
|
+
<tr class="swiper-slide" v-for="item in noticeList">
|
|
28
|
+
<td v-for="value in item">{{value}}</td>
|
|
29
|
+
</tr>
|
|
30
|
+
</tbody>
|
|
31
|
+
</table>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
|
|
35
|
+
<script>
|
|
36
|
+
import Swiper from "swiper";
|
|
37
|
+
import 'swiper/css/swiper.min.css'
|
|
38
|
+
export default {
|
|
39
|
+
name: "SwiperTools2",
|
|
40
|
+
watch:{
|
|
41
|
+
noticeList: {
|
|
42
|
+
immediate: true,
|
|
43
|
+
deep:true,//深度监听,也是看情况使用
|
|
44
|
+
handler() {
|
|
45
|
+
this.$nextTick(()=>{
|
|
46
|
+
new Swiper ('.swiper-container', {
|
|
47
|
+
slidesPerView : this.rowSpeed.row,
|
|
48
|
+
speed:this.rowSpeed.speed*1000,
|
|
49
|
+
//垂直播放
|
|
50
|
+
direction: 'vertical',
|
|
51
|
+
autoplay: {
|
|
52
|
+
delay: 0,
|
|
53
|
+
stopOnLastSlide: false,
|
|
54
|
+
disableOnInteraction: true,
|
|
55
|
+
// waitForTransition: false,
|
|
56
|
+
},
|
|
57
|
+
loop: true // 循环模式选项
|
|
58
|
+
});
|
|
59
|
+
})
|
|
60
|
+
},
|
|
61
|
+
// addScroll() {
|
|
62
|
+
// let tBody = document.getElementsByClassName('zyl-tBody');
|
|
63
|
+
// if (tBody) {
|
|
64
|
+
// tBody.addEventListener('scroll', this.handleScroll);
|
|
65
|
+
// }
|
|
66
|
+
//
|
|
67
|
+
// }
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
// ready(){
|
|
72
|
+
// this.show1()
|
|
73
|
+
// },
|
|
74
|
+
// methods:{
|
|
75
|
+
// show1(){
|
|
76
|
+
// let temp = document.getElementsByTagName("template");
|
|
77
|
+
// let clon = temp.content.cloneNode(true);
|
|
78
|
+
// document.body.appendChild(clon);
|
|
79
|
+
// }
|
|
80
|
+
// },
|
|
81
|
+
props:{
|
|
82
|
+
rowSpeed:{
|
|
83
|
+
/* 行数 row 速度 speed */
|
|
84
|
+
type:Object,
|
|
85
|
+
default: {
|
|
86
|
+
row:5,
|
|
87
|
+
speed:3
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
titleList:{
|
|
91
|
+
type:Object,
|
|
92
|
+
default:{
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
,
|
|
96
|
+
noticeList:{
|
|
97
|
+
type:Array,
|
|
98
|
+
default:[
|
|
99
|
+
{
|
|
100
|
+
},
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
</script>
|
|
106
|
+
|
|
107
|
+
<style lang="less" scoped>
|
|
108
|
+
.title-area {
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 100%;
|
|
111
|
+
color: #00D2FF;
|
|
112
|
+
font-size: 2.5vh;
|
|
113
|
+
/*display: flex;*/
|
|
114
|
+
/*height: 5.093vh;*/
|
|
115
|
+
/*flex-direction: row;*/
|
|
116
|
+
/*align-items: center;*/
|
|
117
|
+
position: relative;
|
|
118
|
+
/*margin-top: 2.407vh;*/
|
|
119
|
+
text-align: center;
|
|
120
|
+
/*justify-content: space-evenly;*/
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.userinfo-data {
|
|
124
|
+
width: 100%;
|
|
125
|
+
height: 100%;
|
|
126
|
+
/*position: absolute;*/
|
|
127
|
+
/*top: 8.148vh;*/
|
|
128
|
+
/*left: 0.521vw;*/
|
|
129
|
+
/*width: 71.354vw;*/
|
|
130
|
+
//pointer-events: none;
|
|
131
|
+
}
|
|
132
|
+
.swiper-slide {
|
|
133
|
+
/*display: flex;*/
|
|
134
|
+
width: 100%;
|
|
135
|
+
color: #ffffff;
|
|
136
|
+
font-size: 22px;
|
|
137
|
+
line-height: 41px;
|
|
138
|
+
text-align: center;
|
|
139
|
+
/*justify-content: space-evenly;*/
|
|
140
|
+
height: 20%;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
</style>
|