telephone-clients 3.0.103 → 3.0.104-1

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 (126) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +7 -9
  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/guoxin/VisitInfo.vue +0 -11
  8. package/src/components/pc/NewRepairPaper.vue +3 -3
  9. package/src/components/pc/RepairsWork.vue +22 -2
  10. package/src/components/pc/RoleSelectorDep.vue +158 -0
  11. package/src/components/pc/TelFindUser.vue +1 -1
  12. package/src/components/pc/TelListener.vue +47 -16
  13. package/src/components/pc/VisitInfo.vue +0 -10
  14. package/src/components/pc/WorkCenter.vue +1 -1
  15. package/src/components/pc/WorkCenterList.vue +1 -1
  16. package/src/components/pc/WorkHistory.vue +20 -2
  17. package/src/components/pc/WorkListAll.vue +1 -1
  18. package/src/components/pc/WorkListAllNew.vue +10 -3
  19. package/src/components/pc/WorkListNew.vue +712 -706
  20. package/src/components/pc/olddata/OldWorkList.vue +193 -0
  21. package/src/components/telreport/RepairsDetailsReport.vue +98 -0
  22. package/src/components/telreport/TableFaultReport.vue +96 -0
  23. package/src/components/telreport/Traffic.vue +3 -3
  24. package/src/components/telreport/TrafficClassificationReport.vue +134 -0
  25. package/src/components/temp/ChangemeterInfo.vue +75 -87
  26. package/src/components/temp/DeviceInfo.vue +80 -82
  27. package/src/components/temp/HandplanInfo.vue +2 -2
  28. package/src/components/temp/InfoTable.vue +5 -2
  29. package/src/components/temp/MetereadInfo.vue +1 -4
  30. package/src/components/temp/OldRepairList.vue +100 -0
  31. package/src/components/temp/RepairList.vue +2 -2
  32. package/src/components/weinan/Console.vue +1 -1
  33. package/src/components/weinan/RecordList.vue +2 -2
  34. package/src/components/weinan/SiteSend.vue +2 -2
  35. package/src/components/weinan/SiteSendWeixiu.vue +7 -16
  36. package/src/components/weinan/StandWorkWeixiu.vue +1 -1
  37. package/src/components/weinan/WorkList.vue +73 -0
  38. package/src/components/weinan/WorkListAll.vue +90 -14
  39. package/src/components/weinan/WorkListWeixiu.vue +1 -1
  40. package/src/components/workorder/CompletedRepair.vue +269 -183
  41. package/src/components/workorder/FaultAll.vue +826 -826
  42. package/src/components/workorder/PhoneStandWork.vue +354 -354
  43. package/src/components/workorder/PhoneUpDetail.vue +3 -0
  44. package/src/components/workorder/RepairDetails.vue +12 -2
  45. package/src/components/workorder/RepairFirstV.vue +1 -1
  46. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  47. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  48. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  49. package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
  50. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  51. package/src/filiale/kelai/android/AppTakePic.vue +143 -0
  52. package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
  53. package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
  54. package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
  55. package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
  56. package/src/filiale/kelai/telephone.js +9 -8
  57. package/src/filiale/kelai/telephoneAndroid.js +3 -1
  58. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  59. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  60. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  61. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  62. package/src/filiale/qianneng/android/TemporarySingle.vue +537 -512
  63. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  64. package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -248
  65. package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
  66. package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
  67. package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
  68. package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
  69. package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
  70. package/src/filiale/qianneng/pc/changetable.vue +273 -0
  71. package/src/filiale/qianneng/telephone.js +22 -20
  72. package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
  73. package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
  74. package/src/filiale/rizhao/pc/Traffic.vue +3 -3
  75. package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
  76. package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
  77. package/src/filiale/rongcheng/FaultAll.vue +3 -3
  78. package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
  79. package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
  80. package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
  81. package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
  82. package/src/filiale/shanxian/pc/WorkList.vue +1 -1
  83. package/src/filiale/shanxian/telephone.js +13 -12
  84. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  85. package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
  86. package/src/filiale/shexian/android/FaultAll.vue +847 -0
  87. package/src/filiale/shexian/android/Outlay.vue +182 -165
  88. package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
  89. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  90. package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
  91. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
  92. package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
  93. package/src/filiale/shexian/pc/WorkList.vue +782 -740
  94. package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
  95. package/src/filiale/shexian/telephone.js +21 -18
  96. package/src/filiale/shexian/telephoneAndroid.js +32 -26
  97. package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
  98. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  99. package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
  100. package/src/filiale/wenxi/android/FailureShow.vue +61 -0
  101. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
  102. package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
  103. package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
  104. package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
  105. package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
  106. package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
  107. package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
  108. package/src/filiale/wenxi/pc/GasWork.vue +747 -0
  109. package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
  110. package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
  111. package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
  112. package/src/filiale/wenxi/telephone.js +4 -6
  113. package/src/filiale/wenxi/telephoneAndroid.js +4 -1
  114. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  115. package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
  116. package/src/filiale/yuncheng/telephone.js +12 -0
  117. package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
  118. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  119. package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
  120. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  121. package/src/filiale/zhongsheng/telephone.js +23 -23
  122. package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
  123. package/src/main.js +1 -1
  124. package/src/telephone.js +16 -0
  125. package/src/weinan.js +6 -0
  126. package/src/filiale/wenxi/pc/WorkListAll.vue +0 -647
@@ -0,0 +1,144 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" class="basic-main" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" style="margin-bottom: 10px" partial>
7
+ <div class="row">
8
+ <div class="col-sm-6 form-group form-input-group" style="width: 40%">
9
+ <role-selector-tel
10
+ role-name="维修员"
11
+ role-lable="维&nbsp;修&nbsp;员"
12
+ @re-res="$parent.$parent.getRes"
13
+ :value.sync="model.f_checker_id"
14
+ v-model="model.f_checker_id"
15
+ condition="f_order_man = '{}'">
16
+ </role-selector-tel>
17
+ </div>
18
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
19
+ <label class="font_normal_body" style="width: 40%">操作时间</label>
20
+ <datepicker placeholder="起始操作时间"
21
+ :value.sync="model.f_created_date"
22
+ v-model="model.f_created_date"
23
+ :format="'yyyy-MM-dd 00:00:00'"
24
+ condition="f_date >= '{}'"
25
+ ></datepicker>
26
+ </div>
27
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
28
+ <label class="font_normal_body" style="width: 40%">操作时间</label>
29
+ <datepicker placeholder="终止操作时间"
30
+ :value.sync="model.f_created_enddate"
31
+ v-model="model.f_created_enddate"
32
+ :format="'yyyy-MM-dd 23:59:59'"
33
+ condition="f_date <= '{}'"
34
+ ></datepicker>
35
+ </div>
36
+ <div class="form-group col-sm-3 button-range">
37
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
38
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
39
+ <export-excel :data="$parent.$parent.getCondition"
40
+ :field="$parent.$parent.getfield"
41
+ sqlurl="rs/logic/telephoneExport"
42
+ sql-name="getMaterialStatistics"
43
+ template-name='材料汇总导出'
44
+ :choose-col="true"></export-excel>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </criteria>
49
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
50
+ <template partial='head'>
51
+ <tr>
52
+ <th>序号</th>
53
+ <th>维修员</th>
54
+ <th>材料名称</th>
55
+ <th>材料型号</th>
56
+ <th>数量</th>
57
+ <th>金额(元)</th>
58
+ </tr>
59
+ </template>
60
+ <template partial='body'>
61
+ <tr >
62
+ <td style="text-align: center;">
63
+ <nobr><font>{{$index+1}}</font></nobr>
64
+ </td>
65
+ <td style="text-align: center;">
66
+ <nobr><font>{{row.f_repair_man}}</font></nobr>
67
+ </td>
68
+ <td style="text-align: center;">
69
+ <nobr><font>{{row.f_material_name}}</font></nobr>
70
+ </td>
71
+ <td style="text-align: center;">
72
+ <nobr><font>{{row.f_material_type}}</font></nobr>
73
+ </td>
74
+ <td style="text-align: center;">
75
+ <nobr><font>{{row.f_count}}</font></nobr>
76
+ </td>
77
+ <td style="text-align: center;">
78
+ <nobr><font>{{row.f_money}}</font></nobr>
79
+ </td>
80
+ </tr>
81
+ </template>
82
+ </data-grid>
83
+ </criteria-paged>
84
+ </div>
85
+
86
+ </div>
87
+ </template>
88
+
89
+ <script>
90
+ import {PagedList} from 'vue-client'
91
+ export default {
92
+ title: '材料汇总',
93
+ data () {
94
+ return {
95
+ model: new PagedList('rs/sql/getMaterialStatistics', 30, null),
96
+ criteriaShow: false,
97
+ getfield: {
98
+ 'f_repair_man': '维修员',
99
+ 'f_material_name': '材料名称',
100
+ 'f_material_type': '材料型号',
101
+ 'f_count': '数量',
102
+ 'f_money': '金额(元)',
103
+ },
104
+ f_filialeids: ''
105
+ }
106
+ },
107
+ ready () {
108
+ // 调用查询
109
+ this.search()
110
+ },
111
+ methods: {
112
+ clear () {
113
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
114
+ this.$refs.cp.$refs.cri.model[key] = ''
115
+ })
116
+ },
117
+ searchCondition (args) {
118
+ if (this.f_filialeids) {
119
+ args.condition += ` and t2.f_filiale_id in ${this.f_filialeids}`
120
+ } else {
121
+ args.condition += ` and t2.f_filiale_id = '${this.$login.f.orgid}'`
122
+ }
123
+ this.model.search(args.condition, args.model)
124
+ },
125
+ // 查询
126
+ search () {
127
+ this.$refs.cp.$refs.cri.search()
128
+ },
129
+ getRes (obj) {
130
+ this.f_filialeids = this.$login.convertToIn(obj.resids)
131
+ },
132
+ },
133
+ computed: {
134
+ getCondition () {
135
+ return {
136
+ condition: this.model.condition
137
+ }
138
+ }
139
+ }
140
+ }
141
+ </script>
142
+
143
+ <style scoped>
144
+ </style>
@@ -65,13 +65,13 @@
65
65
  <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px">用户地址:</td>
66
66
  <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px">{{baseuserinfo.f_address}}</td>
67
67
  </tr>
68
- <tr>
68
+ <!-- <tr>
69
69
 
70
70
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">派单时间:</td>
71
71
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ service.f_created_date }}</td>
72
72
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">完成时间:</td>
73
73
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ service.f_repair_date }}</td>
74
- </tr>
74
+ </tr>-->
75
75
  <tr>
76
76
 
77
77
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
@@ -199,14 +199,14 @@
199
199
  </div>
200
200
  </div>
201
201
  <!-- {{detail.f_first_imgname}}-->
202
- <div class="row" v-if="detail.f_first_imgname">
202
+ <!-- <div class="row" v-if="detail.f_first_imgname">
203
203
  <div class="container" style="max-width: 500px;background: #FFFFFF">
204
204
  <div class="img" style="float: none">
205
205
  <img-self-tel :src="'rs/image/file/'+detail.f_first_imgname" width="400" height="300"></img-self-tel>
206
206
  </div>
207
207
 
208
208
  </div>
209
- </div>
209
+ </div>-->
210
210
  </td>
211
211
 
212
212
 
@@ -6,6 +6,12 @@
6
6
  <label class="font_normal_body" style="width: 30%">来电电话</label>
7
7
  <input style="width: 60%" type="text" readonly v-model='model.f_phone' class="form-control"></input>
8
8
  </div>
9
+ <div class="col-sm-6 form-group form-fix-width">
10
+ <label class="font_normal_body" for="f_user_name" :class="model.f_userinfo_code ? '': 'class-error' "
11
+ style="width: 30%">客户编号</label>
12
+ <input style="width: 60%" type="text" readonly v-model='model.f_userinfo_code' id="f_userinfo_code" name="f_userinfo_code"
13
+ class="form-control"/>
14
+ </div>
9
15
  <div class="col-sm-6 form-group form-fix-width">
10
16
  <label class="font_normal_body" for="f_user_name" :class="model.f_user_name ? '': 'class-error' "
11
17
  style="width: 30%">客户姓名</label>
@@ -93,7 +99,8 @@
93
99
  </div>
94
100
  <div class="col-sm-6 form-group form-fix-width">
95
101
  <label class=" font_normal_body" style="width: 30%">截止天数</label>
96
- <v-select :value="model.day" :value-single="true"
102
+ <v-select :value.sync="model.day" :value-single="true"
103
+ v-model="model.day"
97
104
  :options='days' placeholder='请选择截止天数'
98
105
  close-on-select
99
106
  v-on:change="daychange" style="width: 60%"></v-select>
@@ -310,12 +317,14 @@
310
317
  f_service_acitivity_type: '派单'
311
318
  }],
312
319
  f_source: '话务来电',
320
+ day:'',
313
321
  f_finish_date:'',
314
322
  f_service_id: '',
315
323
  f_contact_phone: '',
316
324
  f_enter_number: '',
317
325
  f_meetunit: '',
318
326
  f_phone: '',
327
+ f_userinfo_code: '',
319
328
  f_user_name: '',
320
329
  f_address: '',
321
330
  f_alarm_accident: '',//报警详细地址
@@ -631,6 +640,7 @@
631
640
  f_meetunit: this.model.serviceacitivity[0].f_meetunit,
632
641
  f_reciever: this.model.serviceacitivity[0].f_reciever
633
642
  }],
643
+ day:'',
634
644
  f_finish_date:'',
635
645
  f_repairman_phone:this.model.f_repairman_phone,
636
646
  f_meetunit: this.model.f_meetunit,
@@ -760,7 +770,7 @@
760
770
  ',报警人:' + this.showMessageData.model.f_user_name +
761
771
  ',报警电话:' + this.showMessageData.model.f_phone +
762
772
  ',联系电话:' + this.showMessageData.model.f_contact_phone +
763
- ',接管时间:' + this.showMessageData.model.f_repair_date +
773
+ ',接警时间:' + Util.getNowDate() +
764
774
  ',警情类别:' + this.showMessageData.model.f_repairtype +
765
775
  ',报警类别:' + JSON.parse(this.showMessageData.model.failure)[0].f_failure_type +
766
776
  ',报警事故地址:' + this.showMessageData.model.f_alarm_accident +
@@ -154,13 +154,13 @@
154
154
  @click="repairlist($index)">查看详情
155
155
  </button>
156
156
  </div>
157
- <div style="margin-top: 5px" v-if="activity.type === 't_servicework' && activity.f_button =='维修完成' ">
157
+ <!-- <div style="margin-top: 5px" v-if="activity.type === 't_servicework' && activity.f_button =='维修完成' ">
158
158
  <p>验收人员: {{ activity.f_name }} &nbsp;&nbsp;&nbsp;完成结果: {{ activity.f_result_status }}
159
159
  </p>
160
160
  <button type="button" name="button"style="margin-left: 0px" class="button_spacing button_search-1"
161
161
  @click="repairlist($index)">查看详情
162
162
  </button>
163
- </div>
163
+ </div>-->
164
164
  <!-- 工单结案 -->
165
165
  <div style="margin-top: 5px" v-if="activity.type === 't_serviceend'">
166
166
  <p>{{ activity.f_date }}</p>
@@ -8,7 +8,7 @@
8
8
  <div class="col-sm-3 form-group form-input-group" style="width: 20%">
9
9
  <label class="font_normal_body" style="width: 40%">工单编号</label>
10
10
  <input type="text" class="input_search" v-model="model.f_service_id" placeholder='工单编号'
11
- condition="f_service_id like '%{}%'"
11
+ condition="tswo.f_service_id like '%{}%'"
12
12
  :size="model.f_service_id ? model.f_service_id.length : 6">
13
13
  </div>
14
14
  <div class="col-sm-3 form-group form-input-group" style="width: 20%">
@@ -177,7 +177,6 @@
177
177
  <label class="font_normal_body" style="width: 40%">工单结果</label>
178
178
  <v-select :value.sync="model.f_result_status" :value-single="true" v-model="model.f_result_status"
179
179
  :options='$parent.$parent.result_status' placeholder='工单结果'
180
- condition="tsw.f_result_status = '{}'"
181
180
  close-on-select>
182
181
  </v-select>
183
182
  </div>
@@ -187,6 +186,20 @@
187
186
  condition="tswo.f_single_man like '%{}%'"
188
187
  :size="model.f_single_man ? model.f_single_man.length : 6">
189
188
  </div>
189
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
190
+ <label class="font_normal_body" style="width: 40%">客户类型</label>
191
+ <v-select :value.sync="model.f_user_type" :value-single="true" v-model="model.f_user_type"
192
+ :options='$parent.$parent.user_types' placeholder='客户类型'
193
+ condition="tswo.f_user_type = '{}'"
194
+ close-on-select>
195
+ </v-select>
196
+ </div>
197
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
198
+ <label class="font_normal_body" style="width: 40%">维修类型</label>
199
+ <input type="text" class="input_search" v-model="model.f_failure" placeholder='维修类型'
200
+ condition="tf.f_failure like '%{}%'" style="width: 150px"
201
+ >
202
+ </div>
190
203
  </div>
191
204
  </div>
192
205
  </criteria>
@@ -251,9 +264,21 @@
251
264
  <th>
252
265
  <nobr>工单结果</nobr>
253
266
  </th>
267
+ <th>
268
+ <nobr>客户类型</nobr>
269
+ </th>
270
+ <th>
271
+ <nobr>维修类型</nobr>
272
+ </th>
254
273
  <th>
255
274
  <nobr>派单类型</nobr>
256
275
  </th>
276
+ <th>
277
+ <nobr>汇总备注</nobr>
278
+ </th>
279
+ <th>
280
+ <nobr>隐患备注</nobr>
281
+ </th>
257
282
  </tr>
258
283
  </template>
259
284
  <template partial='body'>
@@ -281,7 +306,7 @@
281
306
 
282
307
  <td>
283
308
  <nobr>
284
- {{ row.f_user_name }}&nbsp;&nbsp;&nbsp;{{ row.f_address }}&nbsp;&nbsp;&nbsp;
309
+ {{ row.f_userinfo_code }}&nbsp;&nbsp;&nbsp;{{ row.f_user_name }}&nbsp;&nbsp;&nbsp;{{ row.f_address }}&nbsp;&nbsp;&nbsp;
285
310
  </nobr>
286
311
  </td>
287
312
  <td style="text-align: center;">
@@ -324,9 +349,21 @@
324
349
  <td style="text-align: center;">
325
350
  <nobr>{{ row.f_result_status }}</nobr>
326
351
  </td>
352
+ <td style="text-align: center;">
353
+ <nobr>{{ row.f_user_type }}</nobr>
354
+ </td>
355
+ <td style="text-align: center;">
356
+ <nobr>{{ row.f_failure }}</nobr>
357
+ </td>
327
358
  <td style="text-align: center;">
328
359
  <nobr>{{ row.f_handlingtype }}</nobr>
329
360
  </td>
361
+ <td style="text-align: center;">
362
+ <nobr>{{ row.f_repair_remarks }}</nobr>
363
+ </td>
364
+ <td style="text-align: center;">
365
+ <nobr>{{ row.f_content }}</nobr>
366
+ </td>
330
367
  </template>
331
368
  </data-grid>
332
369
  </criteria-paged>
@@ -403,6 +440,7 @@ export default {
403
440
  model: new PagedList('rs/sql/serviceDetails', 20),
404
441
  row: null,
405
442
  orderMan: '',
443
+ user_types:[{label: '全部', value: ''}, {label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],
406
444
  handling_types:[{label: '全部', value: ''}, {label: '转站点', value: '转站点'},{label: '转维修员', value: '转维修员'},{label: '转运营系统', value: '转运营系统'}],
407
445
  msgs: [],
408
446
  service: Object,
@@ -443,7 +481,11 @@ export default {
443
481
  'f_overdue_show': '逾期状态',
444
482
  'f_finish_time_show': '截止时间',
445
483
  'f_result_status': '工单结果',
446
- 'f_handlingtype': '派单类型'
484
+ 'f_user_type': '客户类型',
485
+ 'f_failure': '维修类型',
486
+ 'f_handlingtype': '派单类型',
487
+ 'f_repair_remarks': '汇总备注',
488
+ 'f_content': '隐患备注'
447
489
  },
448
490
  criteriaShow: false
449
491
  }
@@ -570,7 +612,13 @@ export default {
570
612
  } else {
571
613
  args.condition += ` and f_filiale_id = '${this.$login.f.orgid}'`
572
614
  }
573
-
615
+ if (args.model.f_result_status) {
616
+ if (args.model.f_result_status == '已完成') {
617
+ args.condition += ` and tsw.f_result_status = '已完成'`
618
+ }else {
619
+ args.condition += ` and tsw.f_result_status is null `
620
+ }
621
+ }
574
622
  this.searchData.condition = args.condition
575
623
  return this.model.search(args.condition, args.model)
576
624
  },
@@ -0,0 +1,273 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" class="basic-main" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
9
+ <label class="font_normal_body" style="width: 40%">工单编号</label>
10
+ <input type="text" class="input_search" v-model="model.f_service_id" placeholder='工单编号'
11
+ condition="tswo.f_service_id like '%{}%'"
12
+ :size="model.f_service_id ? model.f_service_id.length : 6">
13
+ </div>
14
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%;">
15
+ <label class="font_normal_body" style="width: 40%">客户姓名</label>
16
+ <input type="text" class="input_search" v-model="model.f_user_name" placeholder='客户姓名'
17
+ condition="tswo.f_user_name like '%{}%'"
18
+ :size="model.f_user_name ? model.f_user_name.length : 6">
19
+ </div>
20
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
21
+ <label class="font_normal_body" style="width: 40%">开始时间</label>
22
+ <datepicker placeholder="维修完成时间"
23
+ :value.sync="model.f_date_start"
24
+ v-model="model.f_date_start"
25
+ :format="'yyyy-MM-dd 00:00:00'"
26
+ condition="f_date > '{}'"
27
+ ></datepicker>
28
+ </div>
29
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
30
+ <label class="font_normal_body" style="width: 40%">结束时间</label>
31
+ <datepicker placeholder="维修完成时间"
32
+ :value.sync="model.f_date_end"
33
+ v-model="model.f_date_end"
34
+ :format="'yyyy-MM-dd 23:59:59'"
35
+ condition="f_date < '{}'"
36
+ ></datepicker>
37
+ </div>
38
+ <div class="form-group col-sm-3 button-range">
39
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
40
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
41
+ <export-excel :data="$parent.$parent.getCondition"
42
+ :field="$parent.$parent.getfield"
43
+ sqlurl="rs/logic/telephoneExport"
44
+ sql-name="changeTable"
45
+ template-name='工单换表记录'
46
+ :choose-col="true"></export-excel>
47
+ <div style="float: right;" class="button_spacing button_search"
48
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
49
+ @click="$parent.$parent.hidden()"></div>
50
+ </div>
51
+ </div>
52
+ <div class="row" v-show="$parent.$parent.criteriaShow">
53
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
54
+ <label class="font_normal_body" style="width: 40%">客户编号</label>
55
+ <input type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
56
+ condition="tswo.f_userinfo_code like '%{}%'"
57
+ :size="model.f_userinfo_code ? model.f_userinfo_code.length : 6">
58
+ </div>
59
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
60
+ <label class="font_normal_body" style="width: 40%">联系电话</label>
61
+ <input type="text" class="input_search" v-model="model.f_contact_phone" placeholder='联系电话'
62
+ condition="tswo.f_contact_phone like '%{}%'"
63
+ :size="model.f_contact_phone ? model.f_contact_phone.length : 6">
64
+ </div>
65
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
66
+ <label class="font_normal_body" style="width: 40%">地&emsp;&emsp;址</label>
67
+ <input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
68
+ condition="tswo.f_address like '%{}%'"
69
+ :size="model.f_address ? model.f_address.length : 4">
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </criteria>
74
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
75
+ <template partial='head'>
76
+ <tr>
77
+ <th><nobr>序号</nobr></th>
78
+ <th><nobr>工单编号</nobr></th>
79
+ <th><nobr>用户编号</nobr></th>
80
+ <th><nobr>用户名称</nobr></th>
81
+ <th><nobr>用户地址</nobr></th>
82
+ <th><nobr>联系电话</nobr></th>
83
+ <th><nobr>是否换表</nobr></th>
84
+ <th><nobr>换表类型</nobr></th>
85
+ <th><nobr>换表原因</nobr></th>
86
+ <th><nobr>旧表底数</nobr></th>
87
+ <th><nobr>旧表剩余气量</nobr></th>
88
+ <th><nobr>累用金额</nobr></th>
89
+ <th><nobr>剩余金额</nobr></th>
90
+ <th><nobr>表向</nobr></th>
91
+ <th><nobr>防盗卡1</nobr></th>
92
+ <th><nobr>防盗卡2</nobr></th>
93
+ <th><nobr>出厂日期</nobr></th>
94
+ <th><nobr>表位置</nobr></th>
95
+ <th><nobr>气表品牌</nobr></th>
96
+ <th><nobr>气表型号</nobr></th>
97
+ <th><nobr>新表号</nobr></th>
98
+ <th><nobr>新表底数</nobr></th>
99
+ <th><nobr>补气量</nobr></th>
100
+ <th><nobr>补气金额</nobr></th>
101
+ <th><nobr>换表费用</nobr></th>
102
+ <th><nobr>备注</nobr></th>
103
+ <th><nobr>完成时间</nobr></th>
104
+ </tr>
105
+ </template>
106
+ <template partial='body'>
107
+ <tr >
108
+ <td style="text-align: center;">
109
+ <nobr><font>{{$index+1}}</font></nobr>
110
+ </td>
111
+ <td style="text-align: center;">
112
+ <nobr><font>{{ row.f_service_id}}</font></nobr>
113
+ </td>
114
+ <td style="text-align: center;">
115
+ <nobr><font>{{ row.f_userinfo_code}}</font></nobr>
116
+ </td>
117
+ <td style="text-align: center;">
118
+ <nobr><font>{{ row.f_user_name}}</font></nobr>
119
+ </td>
120
+ <td style="text-align: center;">
121
+ <nobr><font>{{ row.f_address}}</font></nobr>
122
+ </td>
123
+ <td style="text-align: center;">
124
+ <nobr><font>{{ row.f_contact_phone}}</font></nobr>
125
+ </td>
126
+ <td style="text-align: center;">
127
+ <nobr><font>{{ row.是否换表 }}</font></nobr>
128
+ </td>
129
+ <td style="text-align: center;">
130
+ <nobr><font>{{ row.换表类型 }}</font></nobr>
131
+ </td>
132
+ <td style="text-align: center;">
133
+ <nobr><font>{{ row.换表原因 }}</font></nobr>
134
+ </td>
135
+ <td style="text-align: center;">
136
+ <nobr><font>{{ row.旧表底数 }}</font></nobr>
137
+ </td>
138
+ <td style="text-align: center;">
139
+ <nobr><font>{{ row.旧表剩余气量 }}</font></nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr><font>{{ row.累用金额 }}</font></nobr>
143
+ </td>
144
+ <td style="text-align: center;">
145
+ <nobr><font>{{ row.剩余金额 }}</font></nobr>
146
+ </td>
147
+ <td style="text-align: center;">
148
+ <nobr><font>{{ row.表向 }}</font></nobr>
149
+ </td>
150
+ <td style="text-align: center;">
151
+ <nobr><font>{{ row.防盗卡1 }}</font></nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr><font>{{ row.防盗卡2 }}</font></nobr>
155
+ </td>
156
+ <td style="text-align: center;">
157
+ <nobr><font>{{ row.出厂日期 }}</font></nobr>
158
+ </td>
159
+ <td style="text-align: center;">
160
+ <nobr><font>{{ row.表位置 }}</font></nobr>
161
+ </td>
162
+ <td style="text-align: center;">
163
+ <nobr><font>{{ row.气表品牌 }}</font></nobr>
164
+ </td>
165
+ <td style="text-align: center;">
166
+ <nobr><font>{{ row.气表型号 }}</font></nobr>
167
+ </td>
168
+ <td style="text-align: center;">
169
+ <nobr><font>{{ row.新表号 }}</font></nobr>
170
+ </td>
171
+ <td style="text-align: center;">
172
+ <nobr><font>{{ row.新表底数 }}</font></nobr>
173
+ </td>
174
+ <td style="text-align: center;">
175
+ <nobr><font>{{ row.补气量 }}</font></nobr>
176
+ </td>
177
+ <td style="text-align: center;">
178
+ <nobr><font>{{ row.补气金额 }}</font></nobr>
179
+ </td>
180
+ <td style="text-align: center;">
181
+ <nobr><font>{{ row.换表费用 }}</font></nobr>
182
+ </td>
183
+ <td style="text-align: center;">
184
+ <nobr><font>{{ row.备注 }}</font></nobr>
185
+ </td>
186
+ <td style="text-align: center;">
187
+ <nobr><font>{{ row.f_date }}</font></nobr>
188
+ </td>
189
+ </tr>
190
+ </template>
191
+ </data-grid>
192
+ </criteria-paged>
193
+ </div>
194
+
195
+ </div>
196
+ </template>
197
+
198
+ <script>
199
+ import {PagedList} from 'vue-client'
200
+ export default {
201
+ title: '工单换表记录',
202
+ data () {
203
+ return {
204
+ model: new PagedList('rs/sql/changeTable', 30, {
205
+ f_orgid: 'this.model.f_orgid'
206
+ }),
207
+ criteriaShow: false,
208
+ getfield: {
209
+ 'f_service_id': '工单编号',
210
+ 'f_userinfo_code': '客户编号',
211
+ 'f_user_name': '客户名称',
212
+ 'f_address': '用户地址',
213
+ 'f_contact_phone': '联系电话',
214
+ '是否换表':'是否换表',
215
+ '换表类型':'换表类型',
216
+ '换表原因':'换表原因',
217
+ '旧表底数':'旧表底数',
218
+ '旧表剩余气量':'旧表剩余气量',
219
+ '累用金额':'累用金额',
220
+ '剩余金额':'剩余金额',
221
+ '表向':'表向',
222
+ '防盗卡1':'防盗卡1',
223
+ '防盗卡2':'防盗卡2',
224
+ '出厂日期':'出厂日期',
225
+ '表位置':'表位置',
226
+ '气表品牌':'气表品牌',
227
+ '气表型号':'气表型号',
228
+ '新表号':'新表号',
229
+ '新表底数':'新表底数',
230
+ '补气量':'补气量',
231
+ '补气金额':'补气金额',
232
+ '换表费用':'换表费用',
233
+ '备注':'备注',
234
+ 'f_date': '完成时间'
235
+ }
236
+ }
237
+ },
238
+ ready () {
239
+ // 调用查询
240
+ this.$refs.cp.$refs.cri.model.f_orgid = this.$login.f.orgid
241
+ this.search()
242
+ },
243
+ methods: {
244
+ clear () {
245
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
246
+ this.$refs.cp.$refs.cri.model[key] = ''
247
+ })
248
+ },
249
+ searchCondition (args) {
250
+ this.$refs.cp.$refs.cri.model.f_orgid = this.$login.f.orgid
251
+ this.model.search(args.condition, args.model)
252
+ },
253
+ // 查询
254
+ search () {
255
+ this.$refs.cp.$refs.cri.search()
256
+ },
257
+ hidden () {
258
+ this.criteriaShow = !this.criteriaShow
259
+ },
260
+ },
261
+ computed: {
262
+ getCondition () {
263
+ return {
264
+ condition: this.model.condition,
265
+ f_orgid: this.$login.f.orgid
266
+ }
267
+ }
268
+ }
269
+ }
270
+ </script>
271
+
272
+ <style scoped>
273
+ </style>