telephone-clients 3.0.103-9 → 3.0.103-90

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 (98) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +5 -3
  3. package/src/assets//345/210/240/351/231/244.png +0 -0
  4. package/src/components/Util/RightTreeSafe.vue +2 -2
  5. package/src/components/Util/RightTreeSafeDep.vue +350 -0
  6. package/src/components/android/AddMyTask.vue +7 -0
  7. package/src/components/pc/NewRepairPaper.vue +2 -2
  8. package/src/components/pc/RepairsWork.vue +19 -0
  9. package/src/components/pc/RoleSelectorDep.vue +158 -0
  10. package/src/components/pc/TelFindUser.vue +1 -1
  11. package/src/components/pc/TelListener.vue +47 -16
  12. package/src/components/pc/WorkCenter.vue +1 -1
  13. package/src/components/pc/WorkCenterList.vue +1 -1
  14. package/src/components/pc/WorkHistory.vue +14 -2
  15. package/src/components/pc/WorkListAllNew.vue +1 -1
  16. package/src/components/pc/WorkListNew.vue +9 -3
  17. package/src/components/telreport/RepairsDetailsReport.vue +98 -0
  18. package/src/components/telreport/TableFaultReport.vue +96 -0
  19. package/src/components/telreport/Traffic.vue +3 -3
  20. package/src/components/temp/ChangemeterInfo.vue +4 -16
  21. package/src/components/temp/DeviceInfo.vue +2 -4
  22. package/src/components/temp/InfoTable.vue +5 -2
  23. package/src/components/temp/OldRepairList.vue +100 -0
  24. package/src/components/temp/RepairList.vue +2 -2
  25. package/src/components/weinan/RecordList.vue +2 -2
  26. package/src/components/weinan/SiteSend.vue +2 -2
  27. package/src/components/weinan/SiteSendWeixiu.vue +7 -16
  28. package/src/components/weinan/StandWorkWeixiu.vue +1 -1
  29. package/src/components/weinan/WorkList.vue +73 -0
  30. package/src/components/weinan/WorkListAll.vue +90 -14
  31. package/src/components/weinan/WorkListWeixiu.vue +1 -1
  32. package/src/components/workorder/CompletedRepair.vue +269 -183
  33. package/src/components/workorder/FaultAll.vue +9 -9
  34. package/src/components/workorder/PhoneUpDetail.vue +3 -0
  35. package/src/components/workorder/RepairDetails.vue +12 -2
  36. package/src/components/workorder/RepairFirstV.vue +1 -1
  37. package/src/filiale/kelai/android/AppTakePic.vue +143 -0
  38. package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
  39. package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
  40. package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
  41. package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
  42. package/src/filiale/kelai/telephone.js +9 -8
  43. package/src/filiale/kelai/telephoneAndroid.js +3 -1
  44. package/src/filiale/qianneng/android/FaultAll.vue +1 -1
  45. package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
  46. package/src/filiale/qianneng/pc/MaterialDetailed.vue +10 -0
  47. package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
  48. package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
  49. package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
  50. package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
  51. package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
  52. package/src/filiale/qianneng/pc/changetable.vue +273 -0
  53. package/src/filiale/qianneng/telephone.js +2 -0
  54. package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
  55. package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
  56. package/src/filiale/rizhao/pc/Traffic.vue +3 -3
  57. package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
  58. package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
  59. package/src/filiale/rongcheng/FaultAll.vue +3 -3
  60. package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
  61. package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
  62. package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
  63. package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
  64. package/src/filiale/shanxian/telephone.js +2 -1
  65. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  66. package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
  67. package/src/filiale/shexian/android/FaultAll.vue +16 -0
  68. package/src/filiale/shexian/android/Outlay.vue +182 -165
  69. package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
  70. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  71. package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
  72. package/src/filiale/shexian/pc/WorkList.vue +25 -1
  73. package/src/filiale/shexian/pc/WorkListAllNew.vue +21 -15
  74. package/src/filiale/shexian/telephoneAndroid.js +3 -0
  75. package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
  76. package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
  77. package/src/filiale/wenxi/android/FailureShow.vue +61 -0
  78. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1047 -0
  79. package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
  80. package/src/filiale/wenxi/android/RepairOrderV.vue +1 -9
  81. package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
  82. package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
  83. package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
  84. package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
  85. package/src/filiale/wenxi/pc/GasWork.vue +747 -0
  86. package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
  87. package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
  88. package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
  89. package/src/filiale/wenxi/pc/WorkListAll.vue +5 -2
  90. package/src/filiale/wenxi/telephone.js +4 -6
  91. package/src/filiale/wenxi/telephoneAndroid.js +4 -1
  92. package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
  93. package/src/filiale/yuncheng/telephone.js +12 -0
  94. package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
  95. package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
  96. package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
  97. package/src/telephone.js +10 -0
  98. package/src/weinan.js +6 -0
@@ -1,127 +1,120 @@
1
- <template >
2
- <!-- <case-container path="rs/file/vue/工单派发.vue" :data="data" :special="type"></case-container> -->
3
-
1
+ <template>
4
2
  <div id="pc-diswork-page" class="flex" v-show="!saveing">
5
3
  <work-busy :is-busy="saveing" v-show="saveing"></work-busy>
6
- <!--<label class="control-label text-justify p-left-10" style="line-height: 27px; font-weight: bold;width: 80px">工单类型</label>-->
7
- <!--<ul class="nav nav-tabs" style="display: inline-block;">
8
- <li :class="{active: worktype === '咨询单'}" v-if="meading == '转站点'"><a class="f_size" href="javascript:void(0)" @click="handWork('咨询单')">咨询单</a></li>
9
- <li :class="{active: worktype === '投诉单' }" v-if="meading == '转站点'"><a class="f_size" href="javascript:void(0)" @click="handWork('投诉单')">投诉单</a></li>
10
- <li :class="{active: worktype === '报修单' }"><a class="f_size" href="javascript:void(0)" @click="handWork('报修单')">报修单</a></li>
11
- <li :class="{active: worktype === '置换通气' }"><a class="f_size" href="javascript:void(0)" @click="handWork('置换通气')">置换通气</a></li>
12
- <li :class="{active: worktype === '工单处理' }"><a class="f_size" href="javascript:void(0)" @click="handWork('工单处理')">工单处理</a></li>
13
- &lt;!&ndash;<li :class="{active: worktype === '安装单' }"><a href="javascript:void(0)" @click="handWork('安装单')">安装单</a></li>&ndash;&gt;
14
- </ul>-->
15
- <ul class="nav nav-pills span" style="height:auto;margin:8px 0px;padding:4px 0;border-bottom: 1px solid #e7e7e7;" class="nav nav-tabs" >
16
- <!-- <li v-if="meading == '转站点'"><a :style="selectFiled == '咨询单'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '咨询单','tel_f_size':selectFiled != '咨询单'}" href="javascript:void(0)" @click="setField('咨询单')">咨询单</a></li>-->
17
- <!-- <li v-if="meading == '转站点'"><a :style="selectFiled == '投诉单'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '投诉单','tel_f_size':selectFiled != '投诉单'}" href="javascript:void(0)" @click="setField('投诉单')">投诉单</a></li>-->
18
- <li ><a :style="selectFiled == '报修单'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '报修单','tel_f_size':selectFiled != '报修单'}" href="javascript:void(0)" @click="setField('报修单')">报修单</a></li>
19
- <!-- <li v-if="asp == 'true'" ><a :style="selectFiled == '置换通气'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '置换通气','tel_f_size':selectFiled != '置换通气'}" href="javascript:void(0)" @click="setField('置换通气')">置换通气</a></li>-->
20
- <li ><a :style="selectFiled == '工单处理'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '工单处理','tel_f_size':selectFiled != '工单处理'}" href="javascript:void(0)" @click="setField('工单处理')">工单处理</a></li>
21
- </ul>
22
- <div class="tab-content span" style="overflow-y: auto">
23
- <!-- <seek-work v-show="worktype === '咨询单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart" :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></seek-work>-->
24
- <!-- <complain-work v-show="worktype === '投诉单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart" :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></complain-work>-->
25
- <repairs-work v-show="worktype === '报修单'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj" :login-user="loginUser" :meading="'转维修员'" v-on:commitsus="commit"></repairs-work>
26
- <!-- <gas-work v-show="worktype === '置换通气'" :cleantf="cleanstart" :type="type" :call-obj="callObj" :login-user="loginUser" :meading="'转维修员'" v-on:saveend="saveend" v-on:saveing="savestart" v-on:commitsus="commit"></gas-work>-->
27
- <!--<install-work v-show="worktype === '安装单'" :cleantf="cleanstart" :type="type" :call-obj="callObj" :login-user="loginUser" :meading="meading" v-on:saveend="saveend" v-on:saveing="savestart" v-on:commitsus="commit"></install-work>-->
28
- <work-center v-show="worktype === '工单处理'" :data='user' :call-obj="callObj" :meading="meading"></work-center>
29
- </div>
30
- <!--<button type="button" name="button" class="btn btn-primary btn-sm fr btn-img-cl" @click="handWork('工单处理')" >
31
- 工&nbsp;单&nbsp;处&nbsp;理
32
- <span class="badge" >{{works}}</span>
33
- </button>-->
34
- <!--<div>
35
- <seek-work v-show="worktype === '咨询单'" :data='user' :cleantf="cleanstart" :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></seek-work>
36
- <complain-work v-show="worktype === '投诉单'" :data='user' :cleantf="cleanstart" :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></complain-work>
37
- <repairs-work v-show="worktype === '报修单'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj" :login-user="loginUser" :meading="'转维修员'" v-on:commitsus="commit"></repairs-work>
38
- <gas-work v-show="worktype === '置换通气'" :cleantf="cleanstart" :type="type" :call-obj="callObj" :login-user="loginUser" :meading="'转维修员'" v-on:saveend="saveend" v-on:saveing="savestart" v-on:commitsus="commit"></gas-work>
39
- &lt;!&ndash;<install-work v-show="worktype === '安装单'" :cleantf="cleanstart" :type="type" :call-obj="callObj" :login-user="loginUser" :meading="meading" v-on:saveend="saveend" v-on:saveing="savestart" v-on:commitsus="commit"></install-work>&ndash;&gt;
4
+ <ul class="nav nav-pills span" style="height:auto;margin:8px 0px;padding:4px 0;border-bottom: 1px solid #e7e7e7;"
5
+ class="nav nav-tabs">
6
+ <li v-if="meading == '转站点'"><a :style="selectFiled == '咨询单'?'color:#333333!important;':'color:#666666!important;'"
7
+ :class="{'tel_voiceActive':selectFiled == '咨询单','tel_f_size':selectFiled != '咨询单'}"
8
+ href="javascript:void(0)" @click="setField('咨询单')">咨询单</a></li>
9
+ <li v-if="meading == '转站点'"><a :style="selectFiled == '投诉单'?'color:#333333!important;':'color:#666666!important;'"
10
+ :class="{'tel_voiceActive':selectFiled == '投诉单','tel_f_size':selectFiled != '投诉单'}"
11
+ href="javascript:void(0)" @click="setField('投诉单')">投诉单</a></li>
12
+ <li><a :style="selectFiled == '报修单'?'color:#333333!important;':'color:#666666!important;'"
13
+ :class="{'tel_voiceActive':selectFiled == '报修单','tel_f_size':selectFiled != '报修单'}"
14
+ href="javascript:void(0)" @click="setField('报修单')">报修单</a></li>
15
+ <li v-if="asp == 'true'"><a :style="selectFiled == '置换通气'?'color:#333333!important;':'color:#666666!important;'"
16
+ :class="{'tel_voiceActive':selectFiled == '置换通气','tel_f_size':selectFiled != '置换通气'}"
17
+ href="javascript:void(0)" @click="setField('置换通气')">通气点火</a></li>
18
+ <li><a :style="selectFiled == '工单处理'?'color:#333333!important;':'color:#666666!important;'"
19
+ :class="{'tel_voiceActive':selectFiled == '工单处理','tel_f_size':selectFiled != '工单处理'}"
20
+ href="javascript:void(0)" @click="setField('工单处理')">工单处理</a></li>
21
+ </ul>
22
+ <div class="tab-content span" style="overflow-y: auto">
23
+ <seek-work v-show="worktype === '咨询单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart"
24
+ :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></seek-work>
25
+ <complain-work v-show="worktype === '投诉单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart"
26
+ :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></complain-work>
27
+ <repairs-work v-show="worktype === '报修单'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
28
+ :login-user="loginUser" :meading="'转维修员'" v-on:commitsus="commit"></repairs-work>
29
+ <gas-work v-show="worktype === '置换通气'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
30
+ :login-user="loginUser" :meading="'转维修员'" v-on:saveend="saveend" v-on:saveing="savestart"
31
+ v-on:commitsus="commit"></gas-work>
40
32
  <work-center v-show="worktype === '工单处理'" :data='user' :call-obj="callObj" :meading="meading"></work-center>
41
- </div>-->
33
+ </div>
42
34
  </div>
43
35
  </template>
44
36
 
45
37
  <script>
46
- export default {
47
- title: '工单派发',
48
- data () {
49
- return {
50
- worktype: '报修单',
51
- row: '',
52
- cleanstart:0,
53
- saveing:false,
54
- selectFiled:'咨询单',
55
- asp:'false'
56
- }
57
- },
58
- props: {
59
- meading:{
60
- type: String,
61
- default: '转站点'
62
- },
63
- user: {},
64
- type: {},
65
- works: {},
66
- callObj: {
67
- type: Object
38
+ export default {
39
+ title: '工单派发',
40
+ data() {
41
+ return {
42
+ worktype: '咨询单',
43
+ row: '',
44
+ cleanstart: 0,
45
+ saveing: false,
46
+ selectFiled: '咨询单',
47
+ asp: 'false'
48
+ }
68
49
  },
69
- loginUser: {
70
- type: Object
50
+ props: {
51
+ meading: {
52
+ type: String,
53
+ default: '转站点'
54
+ },
55
+ user: {},
56
+ type: {},
57
+ works: {},
58
+ callObj: {
59
+ type: Object
60
+ },
61
+ loginUser: {
62
+ type: Object
63
+ },
64
+ findid: {
65
+ type: Number
66
+ }
71
67
  },
72
- findid:{
73
- type:Number
74
- }
75
- },
76
- ready(){
77
- this.asp=this.$appdata.getSingleValue('置换通气')
78
- if(this.meading == '转维修员'){
79
- this.worktype = '报修单'
80
- }
81
- },
82
- methods: {
83
- setField(type){
84
- this.selectFiled=type
85
- this.worktype = type
68
+ ready() {
69
+ this.asp = this.$appdata.getSingleValue('置换通气')
70
+ if (this.meading == '转维修员') {
71
+ this.worktype = '报修单'
72
+ }
86
73
  },
87
- saveend(){
88
- this.saveing = false
74
+ methods: {
75
+ setField(type) {
76
+ this.selectFiled = type
77
+ this.worktype = type
78
+ },
79
+ saveend() {
80
+ this.saveing = false
81
+ },
82
+ savestart() {
83
+ this.saveing = true
84
+ },
85
+ handWork(type) {
86
+ this.worktype = type
87
+ },
88
+ commit(val) {
89
+ this.cleanstart += 1
90
+ this.$emit('commit', val)
91
+ }
89
92
  },
90
- savestart(){
91
- this.saveing = true
92
- },
93
- handWork (type) {
94
- this.worktype = type
95
- },
96
- commit(val){
97
- this.cleanstart += 1
98
- this.$emit('commit',val)
99
- }
100
- },
101
- events:{
102
- distribute(val){
103
- console.log('distribute'+ val)
104
- this.$dispatch('useroperate',val)
93
+ events: {
94
+ distribute(val) {
95
+ this.$dispatch('useroperate', val)
105
96
 
106
- }
107
- },
108
- watch: {
109
- 'worktype' () {
110
- var ev = new Event("resize", {"bubbles":true, "cancelable":false});
111
- window.dispatchEvent(ev);
97
+ }
112
98
  },
99
+ watch: {
100
+ 'worktype'() {
101
+ var ev = new Event("resize", {"bubbles": true, "cancelable": false});
102
+ window.dispatchEvent(ev);
103
+ },
104
+ }
113
105
  }
114
- }
115
106
  </script>
116
107
  <style lang="less">
117
108
  #pc-diswork-page .row, #pc-diswork-page .form-input-group {
118
109
  margin: 5px 0px;
119
110
  height: auto;
120
111
  }
112
+
121
113
  /* 禁止textarea横向拉伸 */
122
114
  .ver-textarea {
123
115
  resize: vertical;
124
116
  }
117
+
125
118
  .btn-img (@url) {
126
119
  width: 100px;
127
120
  background-image: url("@{url}");
@@ -129,49 +122,42 @@ export default {
129
122
  background-position: 5px;
130
123
  text-align: right;
131
124
  background-repeat: no-repeat;
132
- border-radius:0px;
133
- font-size:12px;
125
+ border-radius: 0px;
126
+ font-size: 12px;
134
127
  height: 28px;
135
128
  }
129
+
136
130
  #pc-diswork-page .btn-img-cl {
137
131
  .btn-img('../../../assets/gongdantixing.png');
138
132
  }
133
+
139
134
  #pc-diswork-page .btn-img-re {
140
135
  .btn-img('../../../assets/chongxinpaifa.png');
141
136
  margin-right: 10px;
142
137
  }
143
- .tel_voiceActive{
138
+
139
+ .tel_voiceActive {
144
140
  font-family: PingFang-SC-Bold;
145
141
  font-size: 16px;
146
- font-weight: normal!important;
147
- font-stretch: normal!important;
142
+ font-weight: normal !important;
143
+ font-stretch: normal !important;
148
144
  line-height: 18px;
149
145
  letter-spacing: 0px;
150
- color: #333333!important;
146
+ color: #333333 !important;
151
147
  border-bottom: 3px solid #599fe5;
152
- padding:10px 10px!important;
148
+ padding: 10px 10px !important;
153
149
  }
154
- .tel_f_size{
150
+
151
+ .tel_f_size {
155
152
  font-family: PingFang-SC-Medium;
156
153
  font-size: 16px;
157
154
  font-weight: normal;
158
155
  font-stretch: normal;
159
156
  line-height: 18px;
160
157
  letter-spacing: 0px;
161
- color: #666666!important;
162
- padding:10px 10px!important;
158
+ color: #666666 !important;
159
+ padding: 10px 10px !important;
163
160
  }
164
161
 
165
- /*#pc-diswork-page {
166
- position: relative;
167
- margin-top: -5px;
168
- }
169
- #pc-diswork-page button {
170
- position: absolute;
171
- right: 15px;
172
- bottom: 5px;
173
- }
174
- .form-input-group .form-control {
175
- }*/
176
162
  </style>
177
163
 
@@ -131,7 +131,7 @@ export default {
131
131
  this.failures.splice(0, this.failures.length)
132
132
 
133
133
  // 空串,直接返回
134
- if (this.value) {
134
+ if (this.value && this.value.startsWith("[")) {
135
135
  // 把字符串转换成故障列表对象
136
136
  let array = JSON.parse(this.value)
137
137
  array.forEach((value) => {