manage-client 3.2.147 → 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.
Files changed (27) hide show
  1. package/build/dev-server.js +179 -176
  2. package/build/webpack.base.conf.js +1 -1
  3. package/package.json +2 -1
  4. package/src/components/sale/businessquery/ChangeMeterQuery.vue +10 -0
  5. package/src/filiale/qianneng/ChargeQuery.vue +1 -1
  6. package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +1 -1
  7. package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +35 -17
  8. package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +71 -40
  9. package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +6 -6
  10. package/src/filiale/zhongyi/CallReport/RateBottom.vue +8 -8
  11. package/src/filiale/zhongyi/CallReport/RateTop.vue +8 -8
  12. package/src/filiale/zhongyi/CallReport/ScrollContent.vue +14 -14
  13. package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +49 -49
  14. package/src/filiale/zhongyi/CallReport/SwiperTools.vue +161 -0
  15. package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +143 -0
  16. package/src/filiale/zhongyi/CallReport/Time.vue +65 -26
  17. package/src/filiale/zhongyi/CallReport/Userinfo.vue +73 -143
  18. package/src/filiale/zhongyi/CallReport/WeatherData.vue +11 -8
  19. package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +12 -12
  20. package/src/main.js +66 -66
  21. package/static/fonts/font.css +6 -0
  22. 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
  23. package/static/images/zhongyi/Pigeon.png +0 -0
  24. package/static/images/zhongyi/blueArrows.png +0 -0
  25. package/static/images/zhongyi/exclamationPoint.png +0 -0
  26. package/static/images/zhongyi/refresh.png +0 -0
  27. package/static/images/zhongyi/yellowArrows.png +0 -0
@@ -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}}&emsp;</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}}&emsp;</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>
@@ -1,61 +1,100 @@
1
1
  <template>
2
2
  <div class="time">
3
- <span class="timeHMS">{{ data.timeHMS }}</span>
4
- <span class="timeYMD">{{ data.timeYMD }}</span>
3
+ <div class="timeHMS">{{ hourMinuteSecond }}</div>
4
+ <div class="timeYMD">{{ yearMonthDay }}</div>
5
+ <!-- <div class="timeWeek">{{ week }}</div>-->
6
+
5
7
  </div>
6
8
  </template>
7
9
 
8
10
  <script>
9
11
  import {HttpResetClass} from "vue-client";
12
+ import '../../../../static/fonts/font.css'
10
13
 
11
14
  export default {
12
15
  name: "Time",
13
16
  data(){
14
17
  return{
15
- data:{
16
- timeHMS:'10:38: 28',
17
- timeYMD:'2022-5-25星期三',
18
- }
18
+ nextTime:"",
19
+ hourMinuteSecond:"",
20
+ yearMonthDay:"",
21
+ week:"",
19
22
  }
20
23
  },
24
+ ready(){
25
+ this.showTime()
26
+ // this.getInitData()
27
+ },
21
28
  methods:{
22
29
  getInitData(){
23
30
  let http = new HttpResetClass()
24
31
  http.load('post','rs/sql/getCallSumData',{}).then((res)=>{
25
- console.log(res.data)
32
+ console.log("===========",res.data)
26
33
  // this.data = res.data[0]
27
34
  })
28
- }
29
- },
30
- ready(){
31
- // this.getInitData()
35
+ },
36
+ showTime() {
37
+ this.interval = setInterval(() => {
38
+ //開始运行
39
+ this.nextTime = ''
40
+ let dt = new Date();
41
+ let weekList=new Array('日','一','二','三','四','五','六',);
42
+ let y = dt.getFullYear();
43
+ let mt = dt.getMonth() + 1;
44
+ let day = dt.getDate();
45
+ let h = dt.getHours(); //获取时
46
+ let m = dt.getMinutes(); //获取分
47
+ let s = dt.getSeconds(); //获取秒
48
+ let week=dt.getDay();
49
+ let weekStr=weekList[week];
50
+ //时分秒<10前面拼接0
51
+ h = this.check(h);
52
+ m = this.check(m);
53
+ s = this.check(s);
54
+ // this.nextTime = h + ":" + m + ":" + s + " " + y + "/" + mt + "/" + day + "星期"+ weekStr;
55
+ this.hourMinuteSecond = h + ":" + m + ":" + s;
56
+ this.yearMonthDay = y + "-" + mt + "-" + day+"星期"+ weekStr;
57
+ // this.week="星期"+ weekStr;
58
+
59
+ }, 1000); //设定定时器,循环运行
60
+ },
61
+ //检查时分秒如果<10前面拼接0
62
+ check(i){
63
+ let num;
64
+ i<10?num="0"+i:num=i;
65
+ return num;
66
+ },
32
67
  }
33
68
  }
34
69
  </script>
35
70
 
36
71
  <style scoped>
37
72
  .time {
38
- width: 15.625vw;
39
- height: 2.222vh;
73
+ width: 16.625vw;
74
+ height: 5.222vh;
40
75
  position: absolute;
41
76
  top: -1.389vh;
42
- right: 1.5625vw;
77
+ right: 0.365vw;
78
+ display: flex;
79
+ font-family: alhy;
80
+ justify-content: space-around;
43
81
  }
44
-
45
82
  .timeHMS{
46
- font-size: 25px;
47
- font-weight: 600;
83
+ width: 6vw;
84
+ height: 5.037vh;
85
+ font-size: 2.315vh;
86
+ font-weight: 400;
48
87
  color: #C3DEFF;
49
- line-height: 95px;
50
- opacity: 0.8;
88
+ line-height: 8.796vh;
51
89
  }
52
-
53
90
  .timeYMD {
54
- font-size: 18px;
55
- font-weight: 600;
56
- color: #BAD9FF;
57
- line-height: 95px;
58
- opacity: 0.6;
59
- margin-left: 0.521vw;
91
+ width: 8.49vw;
92
+ height: 5.574vh;
93
+ font-size: 1.667vh;
94
+ font-weight: 400;
95
+ color: #C3DEFF;
96
+ line-height: 8.796vh;
97
+ opacity: 0.7;
60
98
  }
99
+ .timeWeek{}
61
100
  </style>
@@ -1,37 +1,91 @@
1
1
  <template>
2
2
  <!-- 用户信息 -->
3
3
  <div class="userinfo">
4
-
5
-
6
- <div class="title-area">
7
- <div>时间</div>
8
- <div>来电时长</div>
9
- <div>用户姓名</div>
10
- <div>工单类型</div>
11
- <div>用户地址</div>
12
- <div>接待员</div>
13
- <div>状态</div>
14
- </div>
15
- <div class="userinfo-data">
16
- <div class="list-area"><scroll-content :notice-list="noticeList"></scroll-content></div>
17
-
18
- </div>
4
+ <swiper-tools :notice-list="noticeList" :title-list="titleList"></swiper-tools>
19
5
  </div>
20
6
  </template>
21
7
 
22
8
  <script>
23
- import ScrollContent from "./ScrollContent"
9
+ import SwiperTools from "./SwiperTools2"
24
10
  export default {
25
11
 
26
12
  name: "Userinfo",
27
13
  components:{
28
- ScrollContent
14
+ SwiperTools
15
+ },
16
+ data(){
17
+ return{
18
+ noticeList:[
19
+ {
20
+ date: "2022-09-01 10:25:06",
21
+ duration:'2min',
22
+ name:'赵王莉1',
23
+ orderType:'报修',
24
+ address:'建设小区21号112室',
25
+ receptionist:'候倩楠',
26
+ state:'接听'
27
+ },
28
+ {
29
+ date: "2022-09-01 10:25:06",
30
+ duration:'2min',
31
+ name:'林妹妹1',
32
+ orderType:'报修',
33
+ address:'建设小区21号112室',
34
+ receptionist:'候倩楠',
35
+ state:'接听'
36
+ },
37
+ {
38
+ date: "2022-09-01 10:25:06",
39
+ duration:'2min',
40
+ name:'赵王莉2',
41
+ orderType:'报修',
42
+ address:'建设小区21号112室',
43
+ receptionist:'候倩楠',
44
+ state:'接听'
45
+ },
46
+ {
47
+ date: "2022-09-01 10:25:06",
48
+ duration:'2min',
49
+ name:'林妹妹2',
50
+ orderType:'报修',
51
+ address:'建设小区21号112室',
52
+ receptionist:'候倩楠',
53
+ state:'接听'
54
+ },
55
+ {
56
+ date: "2022-09-01 10:25:06",
57
+ duration:'2min',
58
+ name:'赵王莉3',
59
+ orderType:'报修',
60
+ address:'建设小区21号112室',
61
+ receptionist:'候倩楠',
62
+ state:'接听'
63
+ },
64
+ {
65
+ date: "2022-09-01 10:25:06",
66
+ duration:'2min',
67
+ name:'林妹妹3',
68
+ orderType:'报修',
69
+ address:'建设小区21号112室',
70
+ receptionist:'候倩楠',
71
+ state:'接听'
72
+ },
73
+ ],
74
+ titleList:{
75
+ date: '时间',
76
+ duration: '来电时长',
77
+ name:'用户姓名',
78
+ orderType:'工单类型',
79
+ address:'用户地址',
80
+ receptionist:'接待员',
81
+ state:'状态'
82
+ }
83
+ }
29
84
  },
30
85
  }
31
86
  </script>
32
87
 
33
- <style scoped>
34
- /* 用户信息样式 */
88
+ <style lang="less" scoped>
35
89
  .userinfo {
36
90
  width: 71.40625vw;
37
91
  height: 28.426vh;
@@ -40,128 +94,4 @@ export default {
40
94
  right: 1.09375vw;
41
95
  bottom: 3.889vh;
42
96
  }
43
-
44
-
45
- .title-area {
46
- /*width: 96%;*/
47
- /* height: 80%; */
48
- color: #00D2FF;
49
-
50
- font-size: 27px;
51
- /*background: #4f5bff;*/
52
- display: flex;
53
- flex-direction: row;
54
- align-items: center;
55
- position: relative;
56
- /*left: 6.823vw;*/
57
-
58
- }
59
- .title-area div {
60
- position: relative;
61
- bottom: -1.667vh;
62
- }
63
- .title-area div:nth-of-type(1){
64
- margin-left: 7.24vw;
65
- }
66
- .title-area div:nth-of-type(2){
67
- margin-left: 7.917vw;
68
- }
69
- .title-area div:nth-of-type(3){
70
- margin-left: 3.177vw;
71
- }
72
- .title-area div:nth-of-type(4){
73
- margin-left: 2.34375vw;
74
- }
75
- .title-area div:nth-of-type(5){
76
- margin-left: 5.46875vw;
77
- }
78
- .title-area div:nth-of-type(6){
79
- margin-left: 5.46875vw;
80
- }
81
- .title-area div:nth-of-type(7){
82
- margin-left: 4.01vw;
83
- }
84
-
85
- /*.title-item {*/
86
- /* width: 12%;*/
87
- /* !*height: 21%;*!*/
88
- /* position: relative;*/
89
- /* bottom: -1.667vh;*/
90
- /*}*/
91
-
92
- /*.special {*/
93
- /* width: 17%;*/
94
- /* margin-left: 7.24vw;*/
95
- /*}*/
96
-
97
- /*.type {*/
98
- /* width: 16%;*/
99
- /*}*/
100
-
101
- /*.address {*/
102
- /* width: 16%;*/
103
- /*}*/
104
-
105
- .userinfo-data {
106
- height: 19.63vh;
107
- position: absolute;
108
- top: 8.148vh;
109
- left: 0.521vw;
110
- }
111
-
112
- .userinfo-data ul {
113
- display: flex;
114
- flex-direction: row;
115
- align-items: center;
116
- position: relative;
117
- }
118
-
119
- .userinfo-data ul li {
120
- list-style: none;
121
- color: #ffffff;
122
- font-size: 22px;
123
- line-height: 39px;
124
- }
125
-
126
- .userinfo-data ul li:nth-of-type(1) {
127
- margin-left: 2.083vw;
128
- }
129
-
130
- .userinfo-data ul li:nth-of-type(2) {
131
- margin-left: 5.99vw;
132
- }
133
-
134
- .userinfo-data ul li:nth-of-type(3) {
135
- position: absolute;
136
- left: 27.396vw;
137
- width: 5.208vw;
138
- }
139
-
140
- .userinfo-data ul li:nth-of-type(4) {
141
- position: absolute;
142
- left: 35.677vw;
143
- width: 3.125vw;
144
- }
145
-
146
- .userinfo-data ul li:nth-of-type(5) {
147
- /* margin-left: 396px; */
148
- position: absolute;
149
- left: 43.021vw;
150
- width: 26.042vw;
151
- }
152
-
153
- .userinfo-data ul li:nth-of-type(6) {
154
- position: absolute;
155
- left: 56.771vw;
156
- width: 4.6875vw;
157
- }
158
-
159
- .userinfo-data ul li:nth-of-type(7) {
160
- position: absolute;
161
- left: 64.6875vw;
162
- width: 5.208vw;
163
- color: #F7DB35;
164
- }
165
-
166
- /* 用户信息样式结束 */
167
97
  </style>
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div class="weather">
3
- <i class="weather-icon"></i>
3
+ <div class="weather-icon"></div>
4
4
  <span class="weather-text">
5
- 多云12℃-22℃
5
+ 多云12℃ — 22℃
6
6
  </span>
7
7
  </div>
8
8
  </template>
@@ -19,23 +19,26 @@ export default {
19
19
  height: 2.222vh;
20
20
  position: absolute;
21
21
  top: 0.926vh;
22
- left: 2.604vw;
22
+ left: 1.604vw;
23
+ display: flex;
23
24
  }
24
25
 
25
26
  .weather-icon {
26
- width: 1.5625vw;
27
+ width: 1.667vw;
27
28
  height: 2.037vh;
28
29
  background-image: url("../../../../static/images/zhongyi/cloudy.png");
29
30
  background-repeat: no-repeat;
30
- background-position: 0px 0px;
31
- background-size: cover;
31
+ background-position: 0 0;
32
+ background-size: contain;
33
+ margin-top: 0.278vh;
32
34
 
33
35
  }
34
36
 
35
37
  .weather-text {
36
- font-size: 25px;
38
+ font-family: alhy;
39
+ font-size: 2.315vh;
37
40
  font-weight: 400;
38
41
  color: #C3DEFF;
39
- line-height: 36px;
42
+ line-height: 3.333vh;
40
43
  }
41
44
  </style>