telephone-clients 3.0.101 → 3.0.103

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 (32) hide show
  1. package/package.json +116 -116
  2. package/src/App.vue +56 -52
  3. package/src/components/pc/NewRepairPaper.vue +370 -370
  4. package/src/components/pc/WorkListAllNew.vue +17 -23
  5. package/src/components/temp/ChangemeterInfo.vue +87 -87
  6. package/src/components/temp/DeviceInfo.vue +82 -82
  7. package/src/components/workorder/FaultAll.vue +826 -826
  8. package/src/components/workorder/PhoneStandWork.vue +354 -354
  9. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  10. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  11. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  12. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  13. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  14. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  15. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  16. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  17. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  18. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  19. package/src/filiale/qianneng/pc/RepairsWork.vue +982 -982
  20. package/src/filiale/qianneng/pc/WorkListAllNew.vue +14 -24
  21. package/src/filiale/shanxian/telephone.js +12 -12
  22. package/src/filiale/shexian/android/AddMyTask.vue +347 -0
  23. package/src/filiale/shexian/pc/WorkList.vue +740 -0
  24. package/src/filiale/shexian/telephone.js +18 -17
  25. package/src/filiale/shexian/telephoneAndroid.js +26 -23
  26. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  27. package/src/filiale/wenxi/android/RepairOrderV.vue +1419 -1419
  28. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  29. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  30. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  31. package/src/filiale/zhongsheng/telephone.js +23 -23
  32. package/src/main.js +22 -22
@@ -1,1430 +1,1430 @@
1
- <template>
2
- <!--<div class="app-botton" @click="back()">-->
3
- <!--返回<span class="glyphicon glyphicon-menu-right"></span>-->
4
- <!--</div>-->
5
- <div class="no-close row android-repair-order" style="background-color: #f9f9f9">
6
- <div class="col-sm-12 col-xs-12" >
7
- <ul class="nav nav-tabs" style="background:#ffffff;">
8
- <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
9
- v-if="$index < number+1 && $index < faultshow.number" >
10
- <a href="javascript:void(0)" style="background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="row.class">
11
- <span class="spanboder">{{row.header}}</span>
12
- <img class="butt2" :src="imgback(row.complete === componentName)"></a>
13
- <p></p>
14
- </li>
15
- <div class="col-sm-12 col-xs-12 repair-bg" v-show="routeShow">
16
- <route name='repair' :reuse="false"></route>
17
- </div>
18
- <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
19
- v-if="$index > number && $index < faultshow.number ">
20
- <a href="javascript:void(0)" style="background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="row.class">
21
- <span class="spanboder">{{row.header}}</span>
22
- <img class="butt2" :src="imgback(row.complete === componentName)"></a>
23
- <p></p>
24
- </li>
25
- <div class="col-sm-12 col-xs-12 repair-bg">
26
- <route name='upload' :reuse="false"></route>
27
- </div>
28
- </ul>
29
- </div>
30
- </div>
31
- <p></p>
32
- </template>
33
-
34
- <script>
35
- // 户内维修
36
- import Vue from 'vue'
37
- // import DoorService from './DoorService'
38
- import RepairInfo from './RepairInfo'
39
- import RepairDetails from '../../../components/workorder/RepairDetails'
40
- import RepairUserInfo from '../../../components/workorder/RepairUserInfo'
41
- import ChangeMeterPage from '../../../components/workorder/ChangeMeterPage'
42
- import Outlay from '../../../components/workorder/Outlay'
43
- import FaultAll from '../../../components/workorder/FaultAll'
44
- import { HttpResetClass } from 'vue-client'
45
- import co from 'co'
46
- let loadParamGem = async function (self) {
47
- await self.$LoadParams.loadParam()
48
- }
49
-
50
- export default {
51
- title: '维修单',
52
- props: {
53
- worktype:{
54
- type: String,
55
- default: '报修单'
56
- },
57
- //分辨平板还是pc
58
- system: '',
59
- // 要处理的工单
60
- row: {
61
- type: Object
62
- },
63
- // 要显示的维修单
64
- repair: {
65
- type: Object
66
- },
67
- // 是否是显示
68
- show: {
69
- type: Boolean,
70
- default: false
71
- },
72
- issee:''
73
- },
74
-
75
- data() {
76
- return {
77
- // 维修项
78
- repairdetails:{},
79
- // userinfo: '',
80
- routeShow:true,
81
- number:0,
82
- shupingshow:false,
83
- pipeline: {},
84
- model: {
85
- serviceacitivity: [{
86
- baseuserinfo: {
87
- f_credentials:'身份证'
88
- },
89
- basemeterinfo: {},
90
- matterinfo: {},
91
- servicerepair: [],
92
- // 照片
93
- imgs: [],
94
- // 签名照片名字
95
- // 照片
96
- material: [], //维修的一批材料
97
- f_date: '',
98
- f_date_come: '',
99
- f_date_leave: '',
100
- f_is_userfilesadd:'未上传',
101
- f_workorder_type:this.worktype ? this.worktype : '报修单'
102
- }]
103
- },
104
- details: [],
105
- ids: '',
106
- savevalid: {
107
- uservalid: false,
108
- doorvalid: true,
109
- changetable: false
110
- },
111
- doordetails: {},
112
- devicedetails: {},
113
- cookdetails: {},
114
- componentName: 'repair-info',
115
- tabs: [
116
- // 参数全部设置成空,在ready时,等model处理好了,再添加
117
- {
118
- header: '客户工单信息', complete: 'repair-info', class: 'repair-info-class', props: null
119
- },
120
- // {
121
- // header: '换表', complete: 'change-meter-page', class: 'change-meter-page-class', props: null
122
- //
123
- // },
124
- // {
125
- // header: '客户基本信息',complete:'repair-user-info', class: 'repair-user-info-class', props: null
126
- // },
127
- // 'door-service': {
128
- // header: '户内维修', class: 'door-service-class', props: null
129
- // },
130
- // 'tel-change-matter': {
131
- // header: '换表', class: 'cooking-utensils-class', props: null
132
- // },
133
- // 'pipeline': {
134
- // header: '管道', class: 'pipeline-class', props: null
135
- // },
136
- // 'device-service': {
137
- // header: '设备维修', class: 'device-service-class', props: null
138
- // },
139
- // 'first-gas-check': {
140
- // header: '置换通气', class: 'cooking-utensils-class', props: null
141
- // },
142
- {
143
- header: '拍照及签名',complete:'outlay', class: 'outlay-class', props: null
144
- }
145
- // {
146
- // header: '上传工单',complete:'fault-all', class: 'fault-all-class', props: null
147
- // }
148
- ],
149
- faultshow:{
150
- number : 8
151
- } // 控制 故障汇总 在 菜单里显示与否
152
- }
153
- },
154
- methods: {
155
- imgback(val){
156
- if(val && this.routeShow){
157
- return require('../../../assets/xiangxia1.png')
158
- }else{
159
- return require('../../../assets/xiangyou1.png')
160
- }
161
- },
162
- // 选择tab
163
- tabSelect (item,number) {
164
- // 处理关闭/显示 内容
165
- if(this.number == number && !this.routeShow ){
166
- this.routeShow = true
167
- }else if(this.number == number && this.routeShow){
168
-
169
- this.routeShow = false
170
- }else if(this.number != item.complete){
171
- this.routeShow = true
172
- }
173
- this.number = number
174
- this.componentName = item.complete
175
- if(item.complete == 'repair-details'){
176
- if (this.row.f_workorder_type == '置换通气单') {
177
- // 根据置换单的用户类型,查询气价信息给下拉框赋值
178
- new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/queryGaspriceGroupByFilaleid`,
179
- {data: {f_filialeid:Vue.user.orgid,f_gasproperties:this.row.f_gasproperties}},
180
- {resolveMsg: null, rejectMsg: null}).then((rese)=>{
181
- //tag)
182
- let pricelist = []
183
- if (rese.data) {
184
- rese.data.forEach(item => pricelist.push({label: item.f_price_name, value: item.f_price_name}))
185
- }
186
- this.pricelists = pricelist;
187
- //tag)
188
- let itemprops = {
189
- model: this.model.serviceacitivity[0],
190
- service: this.model,
191
- show: this.show,
192
- repairitem: item,
193
- faultshow :this.faultshow,
194
- shutype:'shu',
195
- tabs:this.tabs,
196
- repairdetails:this.repairdetails,
197
- issee:this.issee,
198
- pricelists: this.pricelists //根据置换单下派的用气性质和公司查询的气价信息
199
- }
200
- //tag
201
- //tag)
202
- this.$goto(item.complete, itemprops, 'repair')
203
- })
204
- } else {
205
- let itemprops = {
206
- model: this.model.serviceacitivity[0],
207
- service: this.model,
208
- show: this.show,
209
- repairitem: item,
210
- faultshow :this.faultshow,
211
- shutype:'shu',
212
- tabs:this.tabs,
213
- repairdetails:this.repairdetails,
214
- issee:this.issee,
215
- pricelists: [{label:"无",value:"无"}]
216
- }
217
- //tag
218
- //tag)
219
- this.$goto(item.complete, itemprops, 'repair')
220
- }
221
- }else{
222
- //tag
223
- // //tag)
224
- // //tag)
225
- if(this.routeShow) {
226
- //tag)
227
- // //tag)
228
- this.$goto(item.complete, this.tabs[number].props, 'repair')
229
- }
230
- }
231
- this.shupingshow = true
232
- },
233
- // 给组件添加参数
234
- getImgPath() {
235
- for (var i = 0; i < this.model.serviceacitivity[0].imgs.length; i++) {
236
- this.ids += this.model.serviceacitivity[0].imgs[i].imgid + ','
237
- }
238
- this.ids = this.ids.substring(0, this.ids.length - 1)
239
- if(this.ids){
240
- this.getImgGen();
241
- }
242
- },
243
- getImgGen(){
244
- let http = new HttpResetClass()
245
- http.load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
246
- items: '*',
247
- tablename: 't_files',
248
- condition: `id in (${this.ids})`,
249
- orderitem: 'id'
250
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
251
- for (let i = 0; i < res.data.length; i++) {
252
- for (let j = 0; j < this.model.serviceacitivity[0].imgs.length; j++) {
253
- //tag)
254
- //tag
255
- if (res.data[i].id.toString() === this.model.serviceacitivity[0].imgs[j].imgid) {
256
- this.model.serviceacitivity[0].imgs[j] = Object.assign({}, res.data[i], this.model.serviceacitivity[0].imgs[j])
257
- }
258
- }
259
-
260
- }
261
- })
262
- },
263
- setProps() {
264
- // 给各自组件添加参数
265
- for(var i =0;i<this.tabs.length;i++ ){
266
- if(this.tabs[i].complete == 'repair-info'){
267
- this.tabs[i].props = {
268
- service: this.row,
269
- model: this.model.serviceacitivity[0].baseuserinfo,
270
- data: this.model.serviceacitivity[0],
271
- savevalid: this.savevalid,
272
- repair: this.row,
273
- show: this.show,
274
- // userinfo: this.userinfo
275
- shutype:'shu',
276
- worktype:this.worktype,
277
- issee:this.issee
278
- }
279
- }else if (this.tabs[i].complete == 'repair-user-info'){
280
- this.tabs[i].props = {
281
- model: this.model.serviceacitivity[0].baseuserinfo,
282
- data: this.model.serviceacitivity[0],
283
- savevalid: this.savevalid,
284
- repair: this.row,
285
- show: this.show,
286
- // userinfo: this.userinfo
287
- shutype:'shu',
288
- worktype:this.worktype,
289
- issee:this.issee
290
- }
291
- } else if (this.tabs[i].complete == 'outlay'){
292
- this.tabs[i].props = {
293
- model: this.model.serviceacitivity[0],
294
- service: this.model,
295
- show: this.show,
296
- system: this.system,
297
- f_single_man: this.model.f_single_man,
298
- shutype: 'shu',
299
- issee:this.issee
300
- }
301
- }else if (this.tabs[i].complete == 'fault-all'){
302
- this.tabs[i].props = {
303
- msg: this.model, model: this.model.serviceacitivity[0],
304
- service: this.model, system: this.system, show: this.show,
305
- savevalid: this.savevalid,
306
- issee: this.issee
307
- }
308
- }else if (this.tabs[i].complete == 'change-meter-page') {
309
- //tag
310
- //tag)
311
- this.tabs[i].props = {
312
- service: this.row,
313
- model: this.model.serviceacitivity[0].basemeterinfo,
314
- data: this.model.serviceacitivity[0],
315
- savevalid: this.savevalid,
316
- repair: this.row,
317
- show: this.show,
318
- // userinfo: this.userinfo
319
- shutype: 'shu',
320
- worktype: this.worktype,
321
- issee: this.issee
322
- }
323
- }
324
- }
325
-
326
- // this.tabs['repair-info'].props = {service: this.row,shutype:'shu'}
327
- // if (this.model.serviceacitivity[0]) {
328
- // this.tabs['repair-user-info'].props = {
329
- // model: this.model.serviceacitivity[0].baseuserinfo,
330
- // data: this.model.serviceacitivity[0],
331
- // savevalid: this.savevalid,
332
- // repair: this.row,
333
- // show: this.show,
334
- // // userinfo: this.userinfo
335
- // shutype:'shu'
336
- // }
337
- // }
338
- // this.tabs['door-service'].props =
339
- // {
340
- // model: this.model.serviceacitivity[0],
341
- // savevalid: this.savevalid,
342
- // changetable: this.changetable,
343
- // service: this.model, show: this.show,
344
- // details: this.doordetails.details,
345
- // shutype:'shu'
346
- // }
347
- // this.tabs['tel-change-matter'].props =
348
- // {
349
- // model: this.model.serviceacitivity[0],
350
- // service: this.model,
351
- // show: this.show,
352
- // shutype:'shu'
353
- // }
354
- // this.tabs['pipeline'].props =
355
- // {
356
- // model: this.model.serviceacitivity[0],
357
- // service: this.model,
358
- // show: this.show,
359
- // shutype:'shu'
360
- // }
361
- // this.tabs['device-service'].props = {
362
- // model: this.model.serviceacitivity[0],
363
- // service: this.model,
364
- // show: this.show,
365
- // details: this.devicedetails.details,
366
- // shutype:'shu'
367
- // }
368
- // this.tabs['outlay'].props = {
369
- // model: this.model.serviceacitivity[0],
370
- // service: this.model,
371
- // show: this.show,
372
- // system: this.system,
373
- // f_single_man: this.model.f_single_man,
374
- // shutype: 'shu'
375
- // }
376
- // this.tabs['fault-all'].props =
377
- // {
378
- // msg: this.model, model: this.model.serviceacitivity[0],
379
- // service: this.model, system: this.system, show: this.show,
380
- // savevalid: this.savevalid
381
- // }
382
-
383
- // 参数设置成功,在转向第一个页签
384
- this.$goto('repair-info', this.tabs[0].props, 'repair')
385
- if(!this.issee){
386
- this.gotoUpload()
387
- }
388
- },
389
-
390
- getRepair() {
391
- if (Vue.android) {
392
- //tag
393
- if (this.$androidUtil.isTest) {
394
- //tag
395
- this.$androidUtil.path({'alias': 'serviceWork', 'data': {id: this.row.serviceacitivity[0].id}}).then((ret) => {
396
- this.model.serviceacitivity = ret.data
397
- this.getDetails()
398
- })
399
- } else {
400
- //tag
401
- let result = this.$androidUtil.path({'alias': 'serviceWork', 'data': {id: this.row.serviceacitivity[0].id}})
402
- //tag
403
- if (result.code === 200) {
404
- // this.show = true
405
- this.model.serviceacitivity = result.data
406
- this.getDetails()
407
- }
408
- }
409
- } else {
410
- //tag
411
- this.getService();
412
- }
413
- },
414
- getService(){
415
- let http = new HttpResetClass()
416
- http.load('POST','rs/path/serviceWork', {data: {id: this.repair.id}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
417
- this.model.serviceacitivity = [res.data[0]]
418
- this.getDetails()
419
- })
420
- },
421
- sortDetails(){
422
- for (let i = 0; i < this.details.length; i++) {
423
- if (this.details[i].details.length) {
424
- for (let j = 0; j < this.details[i].details.length; j++) {
425
- if (this.details[i].details[j].f_type === 'a') {
426
- this.doordetails = {details: this.details[i].details}
427
- break
428
- }
429
- if (this.details[i].details[j].f_type === 'b') {
430
- this.devicedetails = {details: this.details[i].details}
431
- break
432
- }
433
- if (this.details[i].details[j].f_type === 'c') {
434
- this.cookdetails = {details: this.details[i].details}
435
- break
436
- }
437
- }
438
- }
439
- }
440
- },
441
- getDetails() {
442
- if (Vue.android) {
443
- //tag
444
- if (this.$androidUtil.isTest) {
445
- //tag
446
- this.$androidUtil.path({'alias': 'getDetails', 'data': {id: this.row.serviceacitivity[0].id}}).then((ret) => {
447
- this.details = ret.data
448
- this.sortDetails()
449
- if (this.model.serviceacitivity[0] && this.model.serviceacitivity[0].imgs) {
450
- this.getImgPath()
451
- }
452
- this.setProps()
453
- })
454
- } else {
455
- //tag
456
- //tag
457
- let result = this.$androidUtil.path({'alias': 'getDetails', 'data': {id:this.row.serviceacitivity[0].id}})
458
- //tag
459
- if (result.code === 200) {
460
- this.details = result.data
461
- this.sortDetails()
462
- if (this.model.serviceacitivity[0] && this.model.serviceacitivity[0].imgs) {
463
- this.getImgPath()
464
- }
465
- this.setProps()
466
- }
467
- }
468
- } else {
469
- //tag
470
- this.getDetailsGen();
471
- }
472
- },
473
- getDetailsGen(){
474
- let http = new HttpResetClass()
475
- http.load('POST','rs/path/getDetails', {data: {id: this.repair.id}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
476
- this.details = res.data
477
- // this.sortDetails()
478
- if (this.model.serviceacitivity[0] && this.model.serviceacitivity[0].imgs) {
479
- this.getImgPath()
480
- }
481
- this.setProps()
482
- })
483
- },
484
- // 获取维修数据
485
- getRepairInfo(){
486
- if (this.$androidUtil.isTest) {
487
- // android模拟
488
- this.$androidUtil.path({'alias': 'telgetRepairWorkMsg', 'data': {id: this.row.id}}).then((ret) => {
489
- this.model.serviceacitivity = ret.data[0].serviceacitivity
490
- this.setProps()
491
- })
492
- } else {
493
- let result = this.$androidUtil.path({'alias': 'telgetRepairWorkMsg', 'data': {id: this.row.id}})
494
- if (result.code == 200) {
495
- //tag)
496
- //tag)
497
- this.model.serviceacitivity = result.data[0].serviceacitivity
498
- this.setProps()
499
- }
500
- }
501
- },
502
- // 复制数据
503
- copy() {
504
- if (this.row) {
505
- //tag
506
- this.model = Object.assign({}, this.model, this.row)
507
- //tag
508
- //tag)
509
- // 获取维修数据
510
- if(Vue.android){
511
- if(this.row.f_orderstatus == '本地保存'){
512
- this.getRepairInfo()
513
- }
514
- }
515
- }
516
- // 指定了维修单,获取维修单数据,给工单
517
- if (this.repair) {
518
- this.getRepair()
519
- } else {
520
- //tag
521
- this.setProps()
522
- }
523
- },
524
- back () {
525
- let _this = this
526
- if(this.issee){
527
- _this.$back()
528
- return
529
- }
530
- this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
531
- if (res === 'confirm') {
532
- _this.$back()
533
- }
534
- })
535
- },
536
- confirm(){
537
- this.$dispatch('confirm')
538
- },
539
- mute() {
540
- HostApp.mute()
541
- },
542
- // 维修项赋给维修单的维修集合内
543
- getRepairDetails() {
544
- if (this.repairdetails.length > 0) {
545
- let repairlist = []
546
- for (let j = 0;j< this.repairdetails.length;j++) {
547
- let repairitem = []
548
- for (var i = 0;i< this.repairdetails[j].details.length;i++) {
549
- if(this.row.f_source == '安检'){
550
- repairitem.push({f_project:this.repairdetails[j].details[i].f_project,type:this.repairdetails[j].details[i].type,f_defect_id:this.repairdetails[j].details[i].f_defect_id,f_status:'',f_content:''})
551
- }else{
552
- repairitem.push({f_project:this.repairdetails[j].details[i].f_project,type:this.repairdetails[j].details[i].type,f_status:'',f_content:'',f_is_must:this.repairdetails[j].details[i].f_is_must ? 'true':'false'})
553
- }
554
- }
555
- repairlist.push({f_type: this.repairdetails[j].f_type, details: repairitem,imgs:[],f_remarks:this.repairdetails[j].f_remarks})
556
- }
557
- this.model.serviceacitivity[0].servicerepair = Object.assign([], repairlist)
558
- }
559
- //tag)
560
- },
561
- gotoUpload(){
562
- this.$goto('fault-all', {
563
- msg: this.model, model: this.model.serviceacitivity[0],
564
- service: this.model, system: this.system, show: this.show,
565
- savevalid: this.savevalid,
566
- issee:this.issee
567
- }, 'upload')
568
- }
569
- },
570
- watch: {
571
- 'row' () {
572
- //tag
573
- this.copy()
574
- }
575
- },
576
- ready () {
577
- // 1.先判断是否是安检转来的
578
- // 2.判断工单类型 报修单/置换通气单
579
- // 3.判断用户类型 民用及非民用
580
- // Vue.config = {
581
- // telephone:{
582
- // SubstitConfigCivil:{}
583
- // }
584
- // }
585
- // Vue.config.telephone.SubstitConfigCivil = {
586
- // 'data':[
587
- // {
588
- // 'f_type': '用气设备信息',
589
- // 'f_remarks':'设备',
590
- // 'details': [
591
- // {
592
- // 'f_project':'客户用气设备名称',
593
- // 'type': 'string',
594
- // 'f_is_must':true
595
- // },
596
- // {
597
- // 'f_project':'负荷(锅炉/功率)',
598
- // 'type': 'string',
599
- // 'f_is_must':true
600
- // }
601
- // ]
602
- // },
603
- // {
604
- // 'f_type': '控制器信息',
605
- // 'f_remarks':'设备',
606
- // 'details': [
607
- // {
608
- // 'f_project':'有无控制器',
609
- // 'type': 'checkbox'
610
- // },
611
- // {
612
- // 'f_project':'设备名称',
613
- // 'type': 'selector',
614
- // 'f_is_must':true,
615
- // 'options': [
616
- // {
617
- // 'data': '控制器'
618
- // },
619
- // {
620
- // 'data': 'IC卡表'
621
- // },
622
- // {
623
- // 'data': '远传物联网表'
624
- // }
625
- // ]
626
- // },
627
- // {
628
- // 'f_project':'型号',
629
- // 'f_is_must':true,
630
- // 'type': 'string'
631
- // },
632
- // {
633
- // 'f_project':'生产厂家',
634
- // 'f_is_must':true,
635
- // 'type': 'string'
636
- // },
637
- // {
638
- // 'f_project':'铅封号',
639
- // 'type': 'string'
640
- // },
641
- // {
642
- // 'f_project':'备注',
643
- // 'type': 'string'
644
- // }
645
- // ]
646
- // },
647
- // {
648
- // 'f_type': '表具信息',
649
- // 'f_remarks':'设备',
650
- // 'details': [
651
- // {
652
- // 'f_project':'气表品牌',
653
- // 'f_is_must':true,
654
- // 'type': 'selector',
655
- // 'options':[
656
- // {'data':'中元新'},
657
- // {'data':'三龙'},
658
- // {'data':'鸿鹄'},
659
- // {'data':'秦川'},
660
- // {'data':'新奥新'},
661
- // {'data':'中元老'},
662
- // {'data':'新奥老'},
663
- // {'data':'福禄克'},
664
- // {'data':'苍南老CPU'},
665
- // {'data':'振达'},
666
- // {'data':'航宇星民用'},
667
- // {'data':'航宇星民用双模'},
668
- // {'data':'德力西1.0'},
669
- // {'data':'宁波鹏盛'},
670
- // {'data':'德力西2.0'},
671
- // {'data':'建安民用'},
672
- // {'data':'金卡民用'},
673
- // {'data':'其他'}
674
- // ]
675
- // },
676
- // {
677
- // 'f_project':'表具类型',
678
- // 'f_is_must':true,
679
- // 'type': 'selector',
680
- // 'options':[
681
- // {'data':'腰轮流量计'},
682
- // {'data':'涡轮流量计'},
683
- // {'data':'超声流量计'},
684
- // {'data':'热式质量流量计'},
685
- // {'data':'机械表'},
686
- // {'data':'普通卡表'},
687
- // {'data':'带温压补偿的卡表'},
688
- // {'data':'带温压补偿的远传物联网表'},
689
- // {'data':'远传物联网表'},
690
- // {'data':'其他'}
691
- // ]
692
- // },
693
- // {
694
- // 'f_project':'型号',
695
- // 'f_is_must':true,
696
- // 'type': 'string'
697
- // },
698
- // {
699
- // 'f_project':'计量方式',
700
- // 'type': 'selector',
701
- // 'f_is_must':true,
702
- // 'options':[
703
- // {'data':'次高压计量'},
704
- // {'data':'中压计量'},
705
- // {'data':'低压计量'}
706
- // ]
707
- // },
708
- // {
709
- // 'f_project':'流量范围(m³/h)',
710
- // 'f_is_must':true,
711
- // 'type': 'string'
712
- // },
713
- // {
714
- // 'f_project':'口径(mm)',
715
- // 'type': 'string'
716
- // },
717
- // {
718
- // 'f_project':'准确度',
719
- // 'f_is_must':true,
720
- // 'type': 'string'
721
- // },
722
- // {
723
- // 'f_project':'表基数',
724
- // 'f_is_must':true,
725
- // 'type': 'string'
726
- // },
727
- // {
728
- // 'f_project':'加铅封号',
729
- // 'type': 'string'
730
- // },
731
- // {
732
- // 'f_project':'备注',
733
- // 'type': 'string'
734
- // }
735
- // ]
736
- // },
737
- // {
738
- // 'f_type': '置换作业',
739
- // 'details':[
740
- // {
741
- // 'f_project':'户内外燃气设施完整,外观无明显异常',
742
- // 'type': 'radio',
743
- // 'f_is_must':true,
744
- // 'options': [
745
- // {
746
- // 'data': '是',
747
- // 'f_status':'true'
748
- // },
749
- // {
750
- // 'data': '否',
751
- // 'f_status':'false'
752
- // }
753
- // ]
754
- // },
755
- // {
756
- // 'f_project':'是否喷涂警示色',
757
- // 'type': 'radio',
758
- // 'f_is_must':true,
759
- // 'options': [
760
- // {
761
- // 'data': '是',
762
- // 'f_status':'true'
763
- // },
764
- // {
765
- // 'data': '否',
766
- // 'f_status':'false'
767
- // }
768
- // ]
769
- // },
770
- // {
771
- // 'f_project':'燃气管道支撑稳固',
772
- // 'f_is_must':true,
773
- // 'type':'radio',
774
- // 'options': [
775
- // {
776
- // 'data': '是',
777
- // 'f_status':'true'
778
- // },
779
- // {
780
- // 'data': '否',
781
- // 'f_status':'false'
782
- // }
783
- // ]
784
- // },
785
- // {
786
- // 'f_project':'燃气管道连接牢固',
787
- // 'f_is_must':true,
788
- // 'type':'radio',
789
- // 'options': [
790
- // {
791
- // 'data': '是',
792
- // 'f_status':'true'
793
- // },
794
- // {
795
- // 'data': '否',
796
- // 'f_status':'false'
797
- // }
798
- // ]
799
- // },
800
- // {
801
- // 'f_project':'穿墙燃气管道是否加装套管、打密封胶',
802
- // 'f_is_must':true,
803
- // 'type':'radio',
804
- // 'options': [
805
- // {
806
- // 'data': '是',
807
- // 'f_status':'true'
808
- // },
809
- // {
810
- // 'data': '否',
811
- // 'f_status':'false'
812
- // }
813
- // ]
814
- // },
815
- // {
816
- // 'f_project':'进行户内燃气设施严密性试验,试验压力为<>kPa',
817
- // 'f_is_must':true,
818
- // 'type': 'string'
819
- // },
820
- // {
821
- // 'f_project':'严密性试验时间为<>分钟,无压降',
822
- // 'f_is_must':true,
823
- // 'type': 'string'
824
- // },
825
- // {
826
- // 'f_project':'供气压力(单位:kPa)',
827
- // 'f_is_must':true,
828
- // 'type':'string'
829
- // },
830
- // {
831
- // 'f_project':'切断压力(单位:kPa)',
832
- // 'f_is_must':true,
833
- // 'type':'string'
834
- // },
835
- // {
836
- // 'f_project':'放散压力(单位:kPa)',
837
- // 'type':'string'
838
- // }
839
- // ]
840
- // }
841
- // ]
842
- // }
843
- // Vue.config.telephone.SubstitConfigCivil = {
844
- // 'data':[
845
- // {
846
- // 'f_type': '灶具信息',
847
- // 'details': [
848
- // {
849
- // 'f_project':'有无灶具设备',
850
- // 'type': 'checkbox'
851
- // },
852
- // {
853
- // 'f_project':'灶具品牌',
854
- // 'type': 'string',
855
- // 'f_is_must':true
856
- // },
857
- // {
858
- // 'f_project':'灶具型号',
859
- // 'type': 'string',
860
- // 'f_is_must':true
861
- // },
862
- // {
863
- // 'f_project':'购买日期',
864
- // 'type': 'date',
865
- // 'f_is_must':true
866
- // },
867
- // {
868
- // 'f_project':'合格证',
869
- // 'type': 'selector',
870
- // 'options': [
871
- // {'data':'有'},
872
- // {'data':'无'}
873
- // ],
874
- // 'f_is_must':true
875
- // },
876
- // {
877
- // "f_project":"壁挂炉照片",
878
- // "type": "picture",
879
- // 'f_is_must':true
880
- // }
881
- // ]
882
- // },
883
- // {
884
- // 'f_type': '壁挂炉信息',
885
- // 'details': [
886
- // {
887
- // 'f_project':'有无壁挂炉设备',
888
- // 'type': 'checkbox'
889
- // },
890
- // {
891
- // 'f_project':'壁挂炉品牌',
892
- // 'type': 'string',
893
- // 'f_is_must':true
894
- // },
895
- // {
896
- // 'f_project':'壁挂炉型号',
897
- // 'type': 'string',
898
- // 'f_is_must':true
899
- // },
900
- // {
901
- // 'f_project':'购买日期',
902
- // 'type': 'date',
903
- // 'f_is_must':true
904
- // },
905
- // {
906
- // 'f_project':'合格证',
907
- // 'type': 'selector',
908
- // 'options': [
909
- // {
910
- // 'data': '有'
911
- // },
912
- // {
913
- // 'data': '无'
914
- // }
915
- // ],
916
- // 'f_is_must':true
917
- // },
918
- // {
919
- // "f_project":"壁挂炉照片",
920
- // "type": "picture",
921
- // 'f_is_must':true
922
- // }
923
- // ]
924
- // },
925
- // {
926
- // 'f_type': '热水器信息',
927
- // 'details': [
928
- // {
929
- // 'f_project':'有无热水器设备',
930
- // 'type': 'checkbox'
931
- // },
932
- // {
933
- // 'f_project':'热水器品牌',
934
- // 'type': 'string',
935
- // 'f_is_must':true
936
- // },
937
- // {
938
- // 'f_project':'热水器型号',
939
- // 'type': 'string',
940
- // 'f_is_must':true
941
- // },
942
- // {
943
- // 'f_project':'购买日期',
944
- // 'type': 'date',
945
- // 'f_is_must':true
946
- // },
947
- // {
948
- // 'f_project':'合格证',
949
- // 'type': 'selector',
950
- // 'options': [
951
- // {
952
- // 'data': '有'
953
- // },
954
- // {
955
- // 'data': '无'
956
- // }
957
- // ],
958
- // 'f_is_must':true
959
- // }
960
- // ]
961
- // },
962
- // {
963
- // 'f_type': '表具信息',
964
- // 'details':[
965
- // {
966
- // 'f_project':'表号',
967
- // 'type':'string',
968
- // 'f_is_must':true
969
- // },
970
- // {
971
- // 'f_project':'表型号',
972
- // 'type':'string',
973
- // 'f_is_must':true
974
- // },
975
- // {
976
- // 'f_project':'表具厂家',
977
- // 'type':'selector',
978
- // 'f_is_must':true,
979
- // 'options':[
980
- // {'data':'中元新'},
981
- // {'data':'三龙'},
982
- // {'data':'鸿鹄'},
983
- // {'data':'秦川'},
984
- // {'data':'新奥新'},
985
- // {'data':'中元老'},
986
- // {'data':'新奥老'},
987
- // {'data':'福禄克'},
988
- // {'data':'苍南老CPU'},
989
- // {'data':'振达'},
990
- // {'data':'航宇星民用'},
991
- // {'data':'航宇星民用双模'},
992
- // {'data':'德力西1.0'},
993
- // {'data':'宁波鹏盛'},
994
- // {'data':'德力西2.0'},
995
- // {'data':'建安民用'},
996
- // {'data':'金卡民用'},
997
- // {'data':'其他'}
998
- // ]
999
- // },
1000
- // {
1001
- // 'f_project':'表类型',
1002
- // 'type':'selector',
1003
- // 'options':[
1004
- // {'data':'气量卡表'},
1005
- // {'data':'金额卡表'},
1006
- // {'data':'机表'},
1007
- // {'data':'物联网表'}
1008
- // ],
1009
- // 'f_is_must':true
1010
- // },
1011
- // {
1012
- // 'f_project':'表向',
1013
- // 'type':'selector',
1014
- // 'options':[
1015
- // {'data':'左表'},
1016
- // {'data':'右表'}
1017
- // ]
1018
- // },
1019
- // {
1020
- // 'f_project':'表基数',
1021
- // 'type':'string'
1022
- // },
1023
- // {
1024
- // 'f_project':'备注',
1025
- // 'type':'string'
1026
- // }
1027
- // ]
1028
- // },
1029
- // {
1030
- // 'f_type': '置换作业',
1031
- // 'details':[
1032
- // {
1033
- // 'f_project':'用户是否为超期(半年)重新检测',
1034
- // 'type': 'radio',
1035
- // 'options': [
1036
- // {
1037
- // 'data': '是',
1038
- // 'f_status':'true'
1039
- // },
1040
- // {
1041
- // 'data': '否',
1042
- // 'f_status':'false'
1043
- // }
1044
- // ]
1045
- // },
1046
- // {
1047
- // 'f_project':'户内燃气设施外观完好,无损坏',
1048
- // 'type': 'radio',
1049
- // 'options': [
1050
- // {
1051
- // 'data': '是',
1052
- // 'f_status':'true'
1053
- // },
1054
- // {
1055
- // 'data': '否',
1056
- // 'f_status':'false'
1057
- // }
1058
- // ]
1059
- // },
1060
- // {
1061
- // 'f_project':'经过测试后,管道是否有压降',
1062
- // 'type':'radio',
1063
- // 'options': [
1064
- // {
1065
- // 'data': '是',
1066
- // 'f_status':'false'
1067
- // },
1068
- // {
1069
- // 'data': '否',
1070
- // 'f_status':'true'
1071
- // }
1072
- // ]
1073
- // },
1074
- // {
1075
- // 'f_project':'换作业区内无明火,按标准置换',
1076
- // 'type': 'radio',
1077
- // 'options': [
1078
- // {
1079
- // 'data': '是',
1080
- // 'f_status':'true'
1081
- // },
1082
- // {
1083
- // 'data': '否',
1084
- // 'f_status':'false'
1085
- // }
1086
- // ]
1087
- // },
1088
- // {
1089
- // 'f_project':'确认用户的燃气炉具、热水器符合安全规范,胶管两端已连接并且管卡牢固',
1090
- // 'type': 'radio',
1091
- // 'options': [
1092
- // {
1093
- // 'data': '是',
1094
- // 'f_status':'true'
1095
- // },
1096
- // {
1097
- // 'data': '否',
1098
- // 'f_status':'false'
1099
- // }
1100
- // ]
1101
- // },
1102
- // {
1103
- // 'f_project':'已告知用户公司营业厅地址及需要携带的材料',
1104
- // 'type': 'radio',
1105
- // 'options': [
1106
- // {
1107
- // 'data': '是',
1108
- // 'f_status':'true'
1109
- // },
1110
- // {
1111
- // 'data': '否',
1112
- // 'f_status':'false'
1113
- // }
1114
- // ]
1115
- // },
1116
- // {
1117
- // 'f_project':'已向用户宣传安全用气常识、操作规范,并告知24小时客服电话',
1118
- // 'type': 'radio',
1119
- // 'options': [
1120
- // {
1121
- // 'data': '是',
1122
- // 'f_status':'true'
1123
- // },
1124
- // {
1125
- // 'data': '否',
1126
- // 'f_status':'false'
1127
- // }
1128
- // ]
1129
- // },
1130
- // {
1131
- // 'f_project':'严格按照作业标准及步骤进行操作',
1132
- // 'type': 'radio',
1133
- // 'options': [
1134
- // {
1135
- // 'data': '是',
1136
- // 'f_status':'true'
1137
- // },
1138
- // {
1139
- // 'data': '否',
1140
- // 'f_status':'false'
1141
- // }
1142
- // ]
1143
- // },
1144
- // {
1145
- // 'f_project':'严密性供气压力(单位:kPa)',
1146
- // 'type':'string',
1147
- // 'f_is_must':true
1148
- // },
1149
- // {
1150
- // 'f_project':'严密性试验压力(单位:kPa)',
1151
- // 'type':'string',
1152
- // 'f_is_must':true
1153
- // },
1154
- // {
1155
- // 'f_project':'严密性试验时间为<>分钟',
1156
- // 'type':'string',
1157
- // 'f_is_must':true
1158
- // }
1159
- // ]
1160
- // }
1161
- // ]}
1162
- if(this.row.f_source == '安检'){
1163
- //tag)
1164
- this.repairdetails = JSON.parse(this.row.f_repairitems).data
1165
- //tag}`)
1166
- }else{
1167
- //tag
1168
- if(this.row.f_workorder_type == '报修单'){
1169
- if(Vue.config.telephone.RepairsConfig.data != undefined){
1170
- //tag
1171
- //tag)
1172
- // //tag)
1173
- // let endArray = [];
1174
- // let datailsList = []
1175
- // if (this.row.failure) { // 如果下发的计划里,没有下发故障明细
1176
- // let failureArray = [];
1177
- // if (typeof (this.row.failure) === Array) {
1178
- // failureArray = this.row.failure
1179
- // }else {
1180
- // failureArray = JSON.parse(this.row.failure)
1181
- // }
1182
- // for (let i = 0; i < failureArray.length; i++) {
1183
- // datailsList.push({f_project: failureArray[i].f_failure_type,options:[{data:"完成"},{data:"未完成"}],type:"selector"})
1184
- // datailsList.push({f_project: '备注信息',type:"string"})
1185
- // }
1186
- // endArray.push({
1187
- // details: datailsList,
1188
- // f_type: "下发维修项"
1189
- // })
1190
- // }
1191
- // //tag)
1192
- // let fistDate = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.RepairsConfig.data)))
1193
- // //tag)
1194
- // this.repairdetails = Object.assign([],fistDate,endArray)
1195
- this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.RepairsConfig.data)))
1196
- // //tag)
1197
- }else{
1198
- this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1199
- }
1200
- }else if(this.row.f_workorder_type == '置换通气单'){
1201
- //tag
1202
- // 判断用户类型 民用/非民用
1203
- if(this.row.f_user_type == '民用'){
1204
- //tag
1205
- if(Vue.config.telephone.SubstitConfigCivil.data != undefined){
1206
- //tag
1207
- //tag)
1208
- this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.SubstitConfigCivil.data)))
1209
- }else {
1210
- this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1211
- }
1212
- }else{
1213
- //tag
1214
- if(Vue.config.telephone.SubstitConfigBusiness.data != undefined){
1215
- //tag
1216
- //tag)
1217
- this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.SubstitConfigBusiness.data)))
1218
- }else{
1219
- this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1220
- }
1221
- }
1222
- }else{
1223
- //tag
1224
- // 判断用户类型 民用/非民用
1225
- if(this.row.f_user_type == '民用'){
1226
- //tag
1227
- if(Vue.config.telephone.InstallConfigCivil.data != undefined){
1228
- //tag
1229
- //tag)
1230
- this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.InstallConfigCivil.data)))
1231
- }else {
1232
- this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1233
- }
1234
- }else{
1235
- //tag
1236
- if(Vue.config.telephone.InstallConfigBusiness.data != undefined){
1237
- //tag
1238
- //tag)
1239
- this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.InstallConfigBusiness.data)))
1240
- }else{
1241
- this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1242
- }
1243
- }
1244
- }
1245
- }
1246
- // this.repairdetails = [{"f_type": "换表","details": [{"f_project":"换表类型","type": "selector","options": [{"data": "换计费器"},{"data": "换新表"},{"data": "气表清零"}]},{"f_project":"换表原因","type": "selector","options": [{"data": "换新表"}]},{"f_project":"旧表底数","type": "string"}]},{"f_type": "改管","details": [{"f_project":"换表原因","type": "selector","options": [{"data": "换新表"}]},{"f_project":"旧表底数","type": "string"}]}]
1247
- // 维修项传到维修单中
1248
- this.getRepairDetails()
1249
- loadParamGem(this)
1250
- //tag
1251
- this.copy()
1252
- //tag
1253
- // tbs合并数组
1254
- if( this.model.serviceacitivity[0].servicerepair.length > 0){
1255
- for(let i = 0;i < this.model.serviceacitivity[0].servicerepair.length;i++ ){
1256
- this.tabs.splice(1 + i, 0, {header:this.model.serviceacitivity[0].servicerepair[i].f_type,complete:'repair-details',items:this.model.serviceacitivity[0].servicerepair[i].details,class:'repair-details-class',number:i,details:Object.assign({}, JSON.parse(JSON.stringify(this.model.serviceacitivity[0].servicerepair[i])))})
1257
- }
1258
- }
1259
- //tag
1260
- this.faultshow.number = this.tabs.length
1261
- if (this.show || this.repair) {
1262
- this.faultshow.number = this.tabs.length
1263
- }
1264
- },
1265
- components: {
1266
- // 'door-service': DoorService,
1267
- 'repair-info': RepairInfo,
1268
- 'repair-user-info': RepairUserInfo,
1269
- 'outlay': Outlay,
1270
- 'fault-all': FaultAll,
1271
- 'repair-details':RepairDetails
1272
- // 'change-meter-page': ChangeMeterPage
1273
- // 'pipeline': Pipeline,
1274
- // 'device-service': DeviceService,
1275
- // 'trouble-removal': TroubleRemoval,
1276
- // 'cooking-utensils': CookingUtensils,
1277
- // 'repair-matter-info': RepairMatterInfo,
1278
- // 'first-gas-check': FirstGasCheck,
1279
- // 'tel-change-matter': TelChangeMatter/
1280
- },
1281
- events: {
1282
- 'tijiao': function () {
1283
- // 事件回调内的 `this` 自动绑定到注册它的实例上
1284
- this.confirm()
1285
- }
1286
- }
1287
- }
1288
- </script>
1289
- <style lang="less">
1290
- @import "../../../../src/bootstrap/less/variables.less";
1291
- .tab-befor-img (@url) {
1292
- content: '';
1293
- background-image: url("@{url}");
1294
- background-size: 20px;
1295
- display: inline-block;
1296
- margin-right: 8px;
1297
- margin-top: 0.3em;
1298
- height: 1.3em;
1299
- width: 1.3em;
1300
- vertical-align: -35%;
1301
- }
1302
-
1303
- @media screen and (min-width: 768px) {
1304
- .android-repair-order > div > ul a {
1305
- font-size: @font-size-h2;
1306
- margin: 0.3em 0;
1307
- }
1308
- }
1309
- .repair-details-class{
1310
- &::before {
1311
- .tab-befor-img("../../../assets/huneiweixiu1.png");
1312
- }
1313
- }
1314
- .repair-info-class {
1315
- &::before {
1316
- .tab-befor-img("../../../assets/baoxiuxinxi1.png");
1317
- }
1318
- }
1319
- /* .change-meter-page-class {
1320
- &::before {
1321
- .tab-befor-img("../../assets/baoxiuxinxi1.png");
1322
- }
1323
- }*/
1324
- .repair-user-info-class {
1325
- &::before {
1326
- .tab-befor-img("../../../assets/jibenxinxi1.png")
1327
- }
1328
- }
1329
-
1330
- .door-service-class {
1331
- &::before {
1332
- .tab-befor-img("../../../assets/huneiweixiu1.png")
1333
- }
1334
- }
1335
-
1336
- .pipeline-class {
1337
- &::before {
1338
- .tab-befor-img("../../../assets/guandao1.png")
1339
- }
1340
- }
1341
-
1342
- .device-service-class {
1343
- &::before {
1344
- .tab-befor-img("../../../assets/shebeiweixiu1.png")
1345
- }
1346
- }
1347
-
1348
- .trouble-removal-class {
1349
- &::before {
1350
- .tab-befor-img("../../../assets/shiguchuli.png")
1351
- }
1352
- }
1353
-
1354
- .cooking-utensils-class {
1355
- &::before {
1356
- .tab-befor-img("../../../assets/zaoju1.png")
1357
- }
1358
- }
1359
-
1360
- .outlay-class {
1361
- &::before {
1362
- .tab-befor-img("../../../assets/feiyong1.png")
1363
- }
1364
- }
1365
-
1366
- .fault-all-class {
1367
- &::before {
1368
- .tab-befor-img("../../../assets/guzhanghuizong1.png")
1369
- }
1370
- }
1371
- .photo-write-class {
1372
- &::before {
1373
- .tab-befor-img("../../../assets/zaoju.png")
1374
- }
1375
- }
1376
- .delay-apply-class {
1377
- &::before {
1378
- .tab-befor-img("../../../assets/yonghubaoxiu.png")
1379
- }
1380
- }
1381
-
1382
- .repair-back-class {
1383
- &::before {
1384
- .tab-befor-img("../../../assets/fanhui.png")
1385
- }
1386
- }
1387
- .butt2 {
1388
- display: inline;
1389
- float: right;
1390
- width: 10px;
1391
- text-align: center;
1392
- align-items:center;
1393
- position: absolute;
1394
- top:50%;
1395
-
1396
- left:90%;
1397
- transform: translate(-50%,-50%);
1398
- }
1399
- .linesty{
1400
- display: inline-block;
1401
- height:1px;
1402
- width:100%;
1403
- background:#d0d0d0;
1404
- overflow:hidden;
1405
- vertical-align: middle;
1406
- }
1407
- .spanboder{
1408
- border-bottom:2px solid #499edf;
1409
- padding-bottom: 8px
1410
- }
1411
- .app-botton {
1412
- position:fixed;
1413
- background: #87b2dd;
1414
- right:8px;
1415
- color: #FFF;
1416
- padding: 8px;
1417
- text-align: center;
1418
- font-size: 1.2em;
1419
- z-index: 10;
1420
- opacity:0.5;
1421
- bottom: 50px;
1422
- margin-top: -10px;
1423
- height: 40px;
1424
- }
1425
- .android-repair-order > div > ul a {
1426
- font-size: 12px;
1427
- color: #333333;
1428
- padding: 13px 16px;
1429
- }
1430
- </style>
1
+ <template>
2
+ <!--<div class="app-botton" @click="back()">-->
3
+ <!--返回<span class="glyphicon glyphicon-menu-right"></span>-->
4
+ <!--</div>-->
5
+ <div class="no-close row android-repair-order" style="background-color: #f9f9f9">
6
+ <div class="col-sm-12 col-xs-12" >
7
+ <ul class="nav nav-tabs" style="background:#ffffff;">
8
+ <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
9
+ v-if="$index < number+1 && $index < faultshow.number" >
10
+ <a href="javascript:void(0)" style="background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="row.class">
11
+ <span class="spanboder">{{row.header}}</span>
12
+ <img class="butt2" :src="imgback(row.complete === componentName)"></a>
13
+ <p></p>
14
+ </li>
15
+ <div class="col-sm-12 col-xs-12 repair-bg" v-show="routeShow">
16
+ <route name='repair' :reuse="false"></route>
17
+ </div>
18
+ <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
19
+ v-if="$index > number && $index < faultshow.number ">
20
+ <a href="javascript:void(0)" style="background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="row.class">
21
+ <span class="spanboder">{{row.header}}</span>
22
+ <img class="butt2" :src="imgback(row.complete === componentName)"></a>
23
+ <p></p>
24
+ </li>
25
+ <div class="col-sm-12 col-xs-12 repair-bg">
26
+ <route name='upload' :reuse="false"></route>
27
+ </div>
28
+ </ul>
29
+ </div>
30
+ </div>
31
+ <p></p>
32
+ </template>
33
+
34
+ <script>
35
+ // 户内维修
36
+ import Vue from 'vue'
37
+ // import DoorService from './DoorService'
38
+ import RepairInfo from './RepairInfo'
39
+ import RepairDetails from '../../../components/workorder/RepairDetails'
40
+ import RepairUserInfo from '../../../components/workorder/RepairUserInfo'
41
+ import ChangeMeterPage from '../../../components/workorder/ChangeMeterPage'
42
+ import Outlay from '../../../components/workorder/Outlay'
43
+ import FaultAll from '../../../components/workorder/FaultAll'
44
+ import { HttpResetClass } from 'vue-client'
45
+ import co from 'co'
46
+ let loadParamGem = async function (self) {
47
+ await self.$LoadParams.loadParam()
48
+ }
49
+
50
+ export default {
51
+ title: '维修单',
52
+ props: {
53
+ worktype:{
54
+ type: String,
55
+ default: '报修单'
56
+ },
57
+ //分辨平板还是pc
58
+ system: '',
59
+ // 要处理的工单
60
+ row: {
61
+ type: Object
62
+ },
63
+ // 要显示的维修单
64
+ repair: {
65
+ type: Object
66
+ },
67
+ // 是否是显示
68
+ show: {
69
+ type: Boolean,
70
+ default: false
71
+ },
72
+ issee:''
73
+ },
74
+
75
+ data() {
76
+ return {
77
+ // 维修项
78
+ repairdetails:{},
79
+ // userinfo: '',
80
+ routeShow:true,
81
+ number:0,
82
+ shupingshow:false,
83
+ pipeline: {},
84
+ model: {
85
+ serviceacitivity: [{
86
+ baseuserinfo: {
87
+ f_credentials:'身份证'
88
+ },
89
+ basemeterinfo: {},
90
+ matterinfo: {},
91
+ servicerepair: [],
92
+ // 照片
93
+ imgs: [],
94
+ // 签名照片名字
95
+ // 照片
96
+ material: [], //维修的一批材料
97
+ f_date: '',
98
+ f_date_come: '',
99
+ f_date_leave: '',
100
+ f_is_userfilesadd:'未上传',
101
+ f_workorder_type:this.worktype ? this.worktype : '报修单'
102
+ }]
103
+ },
104
+ details: [],
105
+ ids: '',
106
+ savevalid: {
107
+ uservalid: false,
108
+ doorvalid: true,
109
+ changetable: false
110
+ },
111
+ doordetails: {},
112
+ devicedetails: {},
113
+ cookdetails: {},
114
+ componentName: 'repair-info',
115
+ tabs: [
116
+ // 参数全部设置成空,在ready时,等model处理好了,再添加
117
+ {
118
+ header: '客户工单信息', complete: 'repair-info', class: 'repair-info-class', props: null
119
+ },
120
+ // {
121
+ // header: '换表', complete: 'change-meter-page', class: 'change-meter-page-class', props: null
122
+ //
123
+ // },
124
+ // {
125
+ // header: '客户基本信息',complete:'repair-user-info', class: 'repair-user-info-class', props: null
126
+ // },
127
+ // 'door-service': {
128
+ // header: '户内维修', class: 'door-service-class', props: null
129
+ // },
130
+ // 'tel-change-matter': {
131
+ // header: '换表', class: 'cooking-utensils-class', props: null
132
+ // },
133
+ // 'pipeline': {
134
+ // header: '管道', class: 'pipeline-class', props: null
135
+ // },
136
+ // 'device-service': {
137
+ // header: '设备维修', class: 'device-service-class', props: null
138
+ // },
139
+ // 'first-gas-check': {
140
+ // header: '置换通气', class: 'cooking-utensils-class', props: null
141
+ // },
142
+ {
143
+ header: '拍照及签名',complete:'outlay', class: 'outlay-class', props: null
144
+ }
145
+ // {
146
+ // header: '上传工单',complete:'fault-all', class: 'fault-all-class', props: null
147
+ // }
148
+ ],
149
+ faultshow:{
150
+ number : 8
151
+ } // 控制 故障汇总 在 菜单里显示与否
152
+ }
153
+ },
154
+ methods: {
155
+ imgback(val){
156
+ if(val && this.routeShow){
157
+ return require('../../../assets/xiangxia1.png')
158
+ }else{
159
+ return require('../../../assets/xiangyou1.png')
160
+ }
161
+ },
162
+ // 选择tab
163
+ tabSelect (item,number) {
164
+ // 处理关闭/显示 内容
165
+ if(this.number == number && !this.routeShow ){
166
+ this.routeShow = true
167
+ }else if(this.number == number && this.routeShow){
168
+
169
+ this.routeShow = false
170
+ }else if(this.number != item.complete){
171
+ this.routeShow = true
172
+ }
173
+ this.number = number
174
+ this.componentName = item.complete
175
+ if(item.complete == 'repair-details'){
176
+ if (this.row.f_workorder_type == '置换通气单') {
177
+ // 根据置换单的用户类型,查询气价信息给下拉框赋值
178
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/queryGaspriceGroupByFilaleid`,
179
+ {data: {f_filialeid:Vue.user.orgid,f_gasproperties:this.row.f_gasproperties}},
180
+ {resolveMsg: null, rejectMsg: null}).then((rese)=>{
181
+ //tag)
182
+ let pricelist = []
183
+ if (rese.data) {
184
+ rese.data.forEach(item => pricelist.push({label: item.f_price_name, value: item.f_price_name}))
185
+ }
186
+ this.pricelists = pricelist;
187
+ //tag)
188
+ let itemprops = {
189
+ model: this.model.serviceacitivity[0],
190
+ service: this.model,
191
+ show: this.show,
192
+ repairitem: item,
193
+ faultshow :this.faultshow,
194
+ shutype:'shu',
195
+ tabs:this.tabs,
196
+ repairdetails:this.repairdetails,
197
+ issee:this.issee,
198
+ pricelists: this.pricelists //根据置换单下派的用气性质和公司查询的气价信息
199
+ }
200
+ //tag
201
+ //tag)
202
+ this.$goto(item.complete, itemprops, 'repair')
203
+ })
204
+ } else {
205
+ let itemprops = {
206
+ model: this.model.serviceacitivity[0],
207
+ service: this.model,
208
+ show: this.show,
209
+ repairitem: item,
210
+ faultshow :this.faultshow,
211
+ shutype:'shu',
212
+ tabs:this.tabs,
213
+ repairdetails:this.repairdetails,
214
+ issee:this.issee,
215
+ pricelists: [{label:"无",value:"无"}]
216
+ }
217
+ //tag
218
+ //tag)
219
+ this.$goto(item.complete, itemprops, 'repair')
220
+ }
221
+ }else{
222
+ //tag
223
+ // //tag)
224
+ // //tag)
225
+ if(this.routeShow) {
226
+ //tag)
227
+ // //tag)
228
+ this.$goto(item.complete, this.tabs[number].props, 'repair')
229
+ }
230
+ }
231
+ this.shupingshow = true
232
+ },
233
+ // 给组件添加参数
234
+ getImgPath() {
235
+ for (var i = 0; i < this.model.serviceacitivity[0].imgs.length; i++) {
236
+ this.ids += this.model.serviceacitivity[0].imgs[i].imgid + ','
237
+ }
238
+ this.ids = this.ids.substring(0, this.ids.length - 1)
239
+ if(this.ids){
240
+ this.getImgGen();
241
+ }
242
+ },
243
+ getImgGen(){
244
+ let http = new HttpResetClass()
245
+ http.load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
246
+ items: '*',
247
+ tablename: 't_files',
248
+ condition: `id in (${this.ids})`,
249
+ orderitem: 'id'
250
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
251
+ for (let i = 0; i < res.data.length; i++) {
252
+ for (let j = 0; j < this.model.serviceacitivity[0].imgs.length; j++) {
253
+ //tag)
254
+ //tag
255
+ if (res.data[i].id.toString() === this.model.serviceacitivity[0].imgs[j].imgid) {
256
+ this.model.serviceacitivity[0].imgs[j] = Object.assign({}, res.data[i], this.model.serviceacitivity[0].imgs[j])
257
+ }
258
+ }
259
+
260
+ }
261
+ })
262
+ },
263
+ setProps() {
264
+ // 给各自组件添加参数
265
+ for(var i =0;i<this.tabs.length;i++ ){
266
+ if(this.tabs[i].complete == 'repair-info'){
267
+ this.tabs[i].props = {
268
+ service: this.row,
269
+ model: this.model.serviceacitivity[0].baseuserinfo,
270
+ data: this.model.serviceacitivity[0],
271
+ savevalid: this.savevalid,
272
+ repair: this.row,
273
+ show: this.show,
274
+ // userinfo: this.userinfo
275
+ shutype:'shu',
276
+ worktype:this.worktype,
277
+ issee:this.issee
278
+ }
279
+ }else if (this.tabs[i].complete == 'repair-user-info'){
280
+ this.tabs[i].props = {
281
+ model: this.model.serviceacitivity[0].baseuserinfo,
282
+ data: this.model.serviceacitivity[0],
283
+ savevalid: this.savevalid,
284
+ repair: this.row,
285
+ show: this.show,
286
+ // userinfo: this.userinfo
287
+ shutype:'shu',
288
+ worktype:this.worktype,
289
+ issee:this.issee
290
+ }
291
+ } else if (this.tabs[i].complete == 'outlay'){
292
+ this.tabs[i].props = {
293
+ model: this.model.serviceacitivity[0],
294
+ service: this.model,
295
+ show: this.show,
296
+ system: this.system,
297
+ f_single_man: this.model.f_single_man,
298
+ shutype: 'shu',
299
+ issee:this.issee
300
+ }
301
+ }else if (this.tabs[i].complete == 'fault-all'){
302
+ this.tabs[i].props = {
303
+ msg: this.model, model: this.model.serviceacitivity[0],
304
+ service: this.model, system: this.system, show: this.show,
305
+ savevalid: this.savevalid,
306
+ issee: this.issee
307
+ }
308
+ }else if (this.tabs[i].complete == 'change-meter-page') {
309
+ //tag
310
+ //tag)
311
+ this.tabs[i].props = {
312
+ service: this.row,
313
+ model: this.model.serviceacitivity[0].basemeterinfo,
314
+ data: this.model.serviceacitivity[0],
315
+ savevalid: this.savevalid,
316
+ repair: this.row,
317
+ show: this.show,
318
+ // userinfo: this.userinfo
319
+ shutype: 'shu',
320
+ worktype: this.worktype,
321
+ issee: this.issee
322
+ }
323
+ }
324
+ }
325
+
326
+ // this.tabs['repair-info'].props = {service: this.row,shutype:'shu'}
327
+ // if (this.model.serviceacitivity[0]) {
328
+ // this.tabs['repair-user-info'].props = {
329
+ // model: this.model.serviceacitivity[0].baseuserinfo,
330
+ // data: this.model.serviceacitivity[0],
331
+ // savevalid: this.savevalid,
332
+ // repair: this.row,
333
+ // show: this.show,
334
+ // // userinfo: this.userinfo
335
+ // shutype:'shu'
336
+ // }
337
+ // }
338
+ // this.tabs['door-service'].props =
339
+ // {
340
+ // model: this.model.serviceacitivity[0],
341
+ // savevalid: this.savevalid,
342
+ // changetable: this.changetable,
343
+ // service: this.model, show: this.show,
344
+ // details: this.doordetails.details,
345
+ // shutype:'shu'
346
+ // }
347
+ // this.tabs['tel-change-matter'].props =
348
+ // {
349
+ // model: this.model.serviceacitivity[0],
350
+ // service: this.model,
351
+ // show: this.show,
352
+ // shutype:'shu'
353
+ // }
354
+ // this.tabs['pipeline'].props =
355
+ // {
356
+ // model: this.model.serviceacitivity[0],
357
+ // service: this.model,
358
+ // show: this.show,
359
+ // shutype:'shu'
360
+ // }
361
+ // this.tabs['device-service'].props = {
362
+ // model: this.model.serviceacitivity[0],
363
+ // service: this.model,
364
+ // show: this.show,
365
+ // details: this.devicedetails.details,
366
+ // shutype:'shu'
367
+ // }
368
+ // this.tabs['outlay'].props = {
369
+ // model: this.model.serviceacitivity[0],
370
+ // service: this.model,
371
+ // show: this.show,
372
+ // system: this.system,
373
+ // f_single_man: this.model.f_single_man,
374
+ // shutype: 'shu'
375
+ // }
376
+ // this.tabs['fault-all'].props =
377
+ // {
378
+ // msg: this.model, model: this.model.serviceacitivity[0],
379
+ // service: this.model, system: this.system, show: this.show,
380
+ // savevalid: this.savevalid
381
+ // }
382
+
383
+ // 参数设置成功,在转向第一个页签
384
+ this.$goto('repair-info', this.tabs[0].props, 'repair')
385
+ if(!this.issee){
386
+ this.gotoUpload()
387
+ }
388
+ },
389
+
390
+ getRepair() {
391
+ if (Vue.android) {
392
+ //tag
393
+ if (this.$androidUtil.isTest) {
394
+ //tag
395
+ this.$androidUtil.path({'alias': 'serviceWork', 'data': {id: this.row.serviceacitivity[0].id}}).then((ret) => {
396
+ this.model.serviceacitivity = ret.data
397
+ this.getDetails()
398
+ })
399
+ } else {
400
+ //tag
401
+ let result = this.$androidUtil.path({'alias': 'serviceWork', 'data': {id: this.row.serviceacitivity[0].id}})
402
+ //tag
403
+ if (result.code === 200) {
404
+ // this.show = true
405
+ this.model.serviceacitivity = result.data
406
+ this.getDetails()
407
+ }
408
+ }
409
+ } else {
410
+ //tag
411
+ this.getService();
412
+ }
413
+ },
414
+ getService(){
415
+ let http = new HttpResetClass()
416
+ http.load('POST','rs/path/serviceWork', {data: {id: this.repair.id}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
417
+ this.model.serviceacitivity = [res.data[0]]
418
+ this.getDetails()
419
+ })
420
+ },
421
+ sortDetails(){
422
+ for (let i = 0; i < this.details.length; i++) {
423
+ if (this.details[i].details.length) {
424
+ for (let j = 0; j < this.details[i].details.length; j++) {
425
+ if (this.details[i].details[j].f_type === 'a') {
426
+ this.doordetails = {details: this.details[i].details}
427
+ break
428
+ }
429
+ if (this.details[i].details[j].f_type === 'b') {
430
+ this.devicedetails = {details: this.details[i].details}
431
+ break
432
+ }
433
+ if (this.details[i].details[j].f_type === 'c') {
434
+ this.cookdetails = {details: this.details[i].details}
435
+ break
436
+ }
437
+ }
438
+ }
439
+ }
440
+ },
441
+ getDetails() {
442
+ if (Vue.android) {
443
+ //tag
444
+ if (this.$androidUtil.isTest) {
445
+ //tag
446
+ this.$androidUtil.path({'alias': 'getDetails', 'data': {id: this.row.serviceacitivity[0].id}}).then((ret) => {
447
+ this.details = ret.data
448
+ this.sortDetails()
449
+ if (this.model.serviceacitivity[0] && this.model.serviceacitivity[0].imgs) {
450
+ this.getImgPath()
451
+ }
452
+ this.setProps()
453
+ })
454
+ } else {
455
+ //tag
456
+ //tag
457
+ let result = this.$androidUtil.path({'alias': 'getDetails', 'data': {id:this.row.serviceacitivity[0].id}})
458
+ //tag
459
+ if (result.code === 200) {
460
+ this.details = result.data
461
+ this.sortDetails()
462
+ if (this.model.serviceacitivity[0] && this.model.serviceacitivity[0].imgs) {
463
+ this.getImgPath()
464
+ }
465
+ this.setProps()
466
+ }
467
+ }
468
+ } else {
469
+ //tag
470
+ this.getDetailsGen();
471
+ }
472
+ },
473
+ getDetailsGen(){
474
+ let http = new HttpResetClass()
475
+ http.load('POST','rs/path/getDetails', {data: {id: this.repair.id}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
476
+ this.details = res.data
477
+ // this.sortDetails()
478
+ if (this.model.serviceacitivity[0] && this.model.serviceacitivity[0].imgs) {
479
+ this.getImgPath()
480
+ }
481
+ this.setProps()
482
+ })
483
+ },
484
+ // 获取维修数据
485
+ getRepairInfo(){
486
+ if (this.$androidUtil.isTest) {
487
+ // android模拟
488
+ this.$androidUtil.path({'alias': 'telgetRepairWorkMsg', 'data': {id: this.row.id}}).then((ret) => {
489
+ this.model.serviceacitivity = ret.data[0].serviceacitivity
490
+ this.setProps()
491
+ })
492
+ } else {
493
+ let result = this.$androidUtil.path({'alias': 'telgetRepairWorkMsg', 'data': {id: this.row.id}})
494
+ if (result.code == 200) {
495
+ //tag)
496
+ //tag)
497
+ this.model.serviceacitivity = result.data[0].serviceacitivity
498
+ this.setProps()
499
+ }
500
+ }
501
+ },
502
+ // 复制数据
503
+ copy() {
504
+ if (this.row) {
505
+ //tag
506
+ this.model = Object.assign({}, this.model, this.row)
507
+ //tag
508
+ //tag)
509
+ // 获取维修数据
510
+ if(Vue.android){
511
+ if(this.row.f_orderstatus == '本地保存'){
512
+ this.getRepairInfo()
513
+ }
514
+ }
515
+ }
516
+ // 指定了维修单,获取维修单数据,给工单
517
+ if (this.repair) {
518
+ this.getRepair()
519
+ } else {
520
+ //tag
521
+ this.setProps()
522
+ }
523
+ },
524
+ back () {
525
+ let _this = this
526
+ if(this.issee){
527
+ _this.$back()
528
+ return
529
+ }
530
+ this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
531
+ if (res === 'confirm') {
532
+ _this.$back()
533
+ }
534
+ })
535
+ },
536
+ confirm(){
537
+ this.$dispatch('confirm')
538
+ },
539
+ mute() {
540
+ HostApp.mute()
541
+ },
542
+ // 维修项赋给维修单的维修集合内
543
+ getRepairDetails() {
544
+ if (this.repairdetails.length > 0) {
545
+ let repairlist = []
546
+ for (let j = 0;j< this.repairdetails.length;j++) {
547
+ let repairitem = []
548
+ for (var i = 0;i< this.repairdetails[j].details.length;i++) {
549
+ if(this.row.f_source == '安检'){
550
+ repairitem.push({f_project:this.repairdetails[j].details[i].f_project,type:this.repairdetails[j].details[i].type,f_defect_id:this.repairdetails[j].details[i].f_defect_id,f_status:'',f_content:''})
551
+ }else{
552
+ repairitem.push({f_project:this.repairdetails[j].details[i].f_project,type:this.repairdetails[j].details[i].type,f_status:'',f_content:'',f_is_must:this.repairdetails[j].details[i].f_is_must ? 'true':'false'})
553
+ }
554
+ }
555
+ repairlist.push({f_type: this.repairdetails[j].f_type, details: repairitem,imgs:[],f_remarks:this.repairdetails[j].f_remarks})
556
+ }
557
+ this.model.serviceacitivity[0].servicerepair = Object.assign([], repairlist)
558
+ }
559
+ //tag)
560
+ },
561
+ gotoUpload(){
562
+ this.$goto('fault-all', {
563
+ msg: this.model, model: this.model.serviceacitivity[0],
564
+ service: this.model, system: this.system, show: this.show,
565
+ savevalid: this.savevalid,
566
+ issee:this.issee
567
+ }, 'upload')
568
+ }
569
+ },
570
+ watch: {
571
+ 'row' () {
572
+ //tag
573
+ this.copy()
574
+ }
575
+ },
576
+ ready () {
577
+ // 1.先判断是否是安检转来的
578
+ // 2.判断工单类型 报修单/置换通气单
579
+ // 3.判断用户类型 民用及非民用
580
+ // Vue.config = {
581
+ // telephone:{
582
+ // SubstitConfigCivil:{}
583
+ // }
584
+ // }
585
+ // Vue.config.telephone.SubstitConfigCivil = {
586
+ // 'data':[
587
+ // {
588
+ // 'f_type': '用气设备信息',
589
+ // 'f_remarks':'设备',
590
+ // 'details': [
591
+ // {
592
+ // 'f_project':'客户用气设备名称',
593
+ // 'type': 'string',
594
+ // 'f_is_must':true
595
+ // },
596
+ // {
597
+ // 'f_project':'负荷(锅炉/功率)',
598
+ // 'type': 'string',
599
+ // 'f_is_must':true
600
+ // }
601
+ // ]
602
+ // },
603
+ // {
604
+ // 'f_type': '控制器信息',
605
+ // 'f_remarks':'设备',
606
+ // 'details': [
607
+ // {
608
+ // 'f_project':'有无控制器',
609
+ // 'type': 'checkbox'
610
+ // },
611
+ // {
612
+ // 'f_project':'设备名称',
613
+ // 'type': 'selector',
614
+ // 'f_is_must':true,
615
+ // 'options': [
616
+ // {
617
+ // 'data': '控制器'
618
+ // },
619
+ // {
620
+ // 'data': 'IC卡表'
621
+ // },
622
+ // {
623
+ // 'data': '远传物联网表'
624
+ // }
625
+ // ]
626
+ // },
627
+ // {
628
+ // 'f_project':'型号',
629
+ // 'f_is_must':true,
630
+ // 'type': 'string'
631
+ // },
632
+ // {
633
+ // 'f_project':'生产厂家',
634
+ // 'f_is_must':true,
635
+ // 'type': 'string'
636
+ // },
637
+ // {
638
+ // 'f_project':'铅封号',
639
+ // 'type': 'string'
640
+ // },
641
+ // {
642
+ // 'f_project':'备注',
643
+ // 'type': 'string'
644
+ // }
645
+ // ]
646
+ // },
647
+ // {
648
+ // 'f_type': '表具信息',
649
+ // 'f_remarks':'设备',
650
+ // 'details': [
651
+ // {
652
+ // 'f_project':'气表品牌',
653
+ // 'f_is_must':true,
654
+ // 'type': 'selector',
655
+ // 'options':[
656
+ // {'data':'中元新'},
657
+ // {'data':'三龙'},
658
+ // {'data':'鸿鹄'},
659
+ // {'data':'秦川'},
660
+ // {'data':'新奥新'},
661
+ // {'data':'中元老'},
662
+ // {'data':'新奥老'},
663
+ // {'data':'福禄克'},
664
+ // {'data':'苍南老CPU'},
665
+ // {'data':'振达'},
666
+ // {'data':'航宇星民用'},
667
+ // {'data':'航宇星民用双模'},
668
+ // {'data':'德力西1.0'},
669
+ // {'data':'宁波鹏盛'},
670
+ // {'data':'德力西2.0'},
671
+ // {'data':'建安民用'},
672
+ // {'data':'金卡民用'},
673
+ // {'data':'其他'}
674
+ // ]
675
+ // },
676
+ // {
677
+ // 'f_project':'表具类型',
678
+ // 'f_is_must':true,
679
+ // 'type': 'selector',
680
+ // 'options':[
681
+ // {'data':'腰轮流量计'},
682
+ // {'data':'涡轮流量计'},
683
+ // {'data':'超声流量计'},
684
+ // {'data':'热式质量流量计'},
685
+ // {'data':'机械表'},
686
+ // {'data':'普通卡表'},
687
+ // {'data':'带温压补偿的卡表'},
688
+ // {'data':'带温压补偿的远传物联网表'},
689
+ // {'data':'远传物联网表'},
690
+ // {'data':'其他'}
691
+ // ]
692
+ // },
693
+ // {
694
+ // 'f_project':'型号',
695
+ // 'f_is_must':true,
696
+ // 'type': 'string'
697
+ // },
698
+ // {
699
+ // 'f_project':'计量方式',
700
+ // 'type': 'selector',
701
+ // 'f_is_must':true,
702
+ // 'options':[
703
+ // {'data':'次高压计量'},
704
+ // {'data':'中压计量'},
705
+ // {'data':'低压计量'}
706
+ // ]
707
+ // },
708
+ // {
709
+ // 'f_project':'流量范围(m³/h)',
710
+ // 'f_is_must':true,
711
+ // 'type': 'string'
712
+ // },
713
+ // {
714
+ // 'f_project':'口径(mm)',
715
+ // 'type': 'string'
716
+ // },
717
+ // {
718
+ // 'f_project':'准确度',
719
+ // 'f_is_must':true,
720
+ // 'type': 'string'
721
+ // },
722
+ // {
723
+ // 'f_project':'表基数',
724
+ // 'f_is_must':true,
725
+ // 'type': 'string'
726
+ // },
727
+ // {
728
+ // 'f_project':'加铅封号',
729
+ // 'type': 'string'
730
+ // },
731
+ // {
732
+ // 'f_project':'备注',
733
+ // 'type': 'string'
734
+ // }
735
+ // ]
736
+ // },
737
+ // {
738
+ // 'f_type': '置换作业',
739
+ // 'details':[
740
+ // {
741
+ // 'f_project':'户内外燃气设施完整,外观无明显异常',
742
+ // 'type': 'radio',
743
+ // 'f_is_must':true,
744
+ // 'options': [
745
+ // {
746
+ // 'data': '是',
747
+ // 'f_status':'true'
748
+ // },
749
+ // {
750
+ // 'data': '否',
751
+ // 'f_status':'false'
752
+ // }
753
+ // ]
754
+ // },
755
+ // {
756
+ // 'f_project':'是否喷涂警示色',
757
+ // 'type': 'radio',
758
+ // 'f_is_must':true,
759
+ // 'options': [
760
+ // {
761
+ // 'data': '是',
762
+ // 'f_status':'true'
763
+ // },
764
+ // {
765
+ // 'data': '否',
766
+ // 'f_status':'false'
767
+ // }
768
+ // ]
769
+ // },
770
+ // {
771
+ // 'f_project':'燃气管道支撑稳固',
772
+ // 'f_is_must':true,
773
+ // 'type':'radio',
774
+ // 'options': [
775
+ // {
776
+ // 'data': '是',
777
+ // 'f_status':'true'
778
+ // },
779
+ // {
780
+ // 'data': '否',
781
+ // 'f_status':'false'
782
+ // }
783
+ // ]
784
+ // },
785
+ // {
786
+ // 'f_project':'燃气管道连接牢固',
787
+ // 'f_is_must':true,
788
+ // 'type':'radio',
789
+ // 'options': [
790
+ // {
791
+ // 'data': '是',
792
+ // 'f_status':'true'
793
+ // },
794
+ // {
795
+ // 'data': '否',
796
+ // 'f_status':'false'
797
+ // }
798
+ // ]
799
+ // },
800
+ // {
801
+ // 'f_project':'穿墙燃气管道是否加装套管、打密封胶',
802
+ // 'f_is_must':true,
803
+ // 'type':'radio',
804
+ // 'options': [
805
+ // {
806
+ // 'data': '是',
807
+ // 'f_status':'true'
808
+ // },
809
+ // {
810
+ // 'data': '否',
811
+ // 'f_status':'false'
812
+ // }
813
+ // ]
814
+ // },
815
+ // {
816
+ // 'f_project':'进行户内燃气设施严密性试验,试验压力为<>kPa',
817
+ // 'f_is_must':true,
818
+ // 'type': 'string'
819
+ // },
820
+ // {
821
+ // 'f_project':'严密性试验时间为<>分钟,无压降',
822
+ // 'f_is_must':true,
823
+ // 'type': 'string'
824
+ // },
825
+ // {
826
+ // 'f_project':'供气压力(单位:kPa)',
827
+ // 'f_is_must':true,
828
+ // 'type':'string'
829
+ // },
830
+ // {
831
+ // 'f_project':'切断压力(单位:kPa)',
832
+ // 'f_is_must':true,
833
+ // 'type':'string'
834
+ // },
835
+ // {
836
+ // 'f_project':'放散压力(单位:kPa)',
837
+ // 'type':'string'
838
+ // }
839
+ // ]
840
+ // }
841
+ // ]
842
+ // }
843
+ // Vue.config.telephone.SubstitConfigCivil = {
844
+ // 'data':[
845
+ // {
846
+ // 'f_type': '灶具信息',
847
+ // 'details': [
848
+ // {
849
+ // 'f_project':'有无灶具设备',
850
+ // 'type': 'checkbox'
851
+ // },
852
+ // {
853
+ // 'f_project':'灶具品牌',
854
+ // 'type': 'string',
855
+ // 'f_is_must':true
856
+ // },
857
+ // {
858
+ // 'f_project':'灶具型号',
859
+ // 'type': 'string',
860
+ // 'f_is_must':true
861
+ // },
862
+ // {
863
+ // 'f_project':'购买日期',
864
+ // 'type': 'date',
865
+ // 'f_is_must':true
866
+ // },
867
+ // {
868
+ // 'f_project':'合格证',
869
+ // 'type': 'selector',
870
+ // 'options': [
871
+ // {'data':'有'},
872
+ // {'data':'无'}
873
+ // ],
874
+ // 'f_is_must':true
875
+ // },
876
+ // {
877
+ // "f_project":"壁挂炉照片",
878
+ // "type": "picture",
879
+ // 'f_is_must':true
880
+ // }
881
+ // ]
882
+ // },
883
+ // {
884
+ // 'f_type': '壁挂炉信息',
885
+ // 'details': [
886
+ // {
887
+ // 'f_project':'有无壁挂炉设备',
888
+ // 'type': 'checkbox'
889
+ // },
890
+ // {
891
+ // 'f_project':'壁挂炉品牌',
892
+ // 'type': 'string',
893
+ // 'f_is_must':true
894
+ // },
895
+ // {
896
+ // 'f_project':'壁挂炉型号',
897
+ // 'type': 'string',
898
+ // 'f_is_must':true
899
+ // },
900
+ // {
901
+ // 'f_project':'购买日期',
902
+ // 'type': 'date',
903
+ // 'f_is_must':true
904
+ // },
905
+ // {
906
+ // 'f_project':'合格证',
907
+ // 'type': 'selector',
908
+ // 'options': [
909
+ // {
910
+ // 'data': '有'
911
+ // },
912
+ // {
913
+ // 'data': '无'
914
+ // }
915
+ // ],
916
+ // 'f_is_must':true
917
+ // },
918
+ // {
919
+ // "f_project":"壁挂炉照片",
920
+ // "type": "picture",
921
+ // 'f_is_must':true
922
+ // }
923
+ // ]
924
+ // },
925
+ // {
926
+ // 'f_type': '热水器信息',
927
+ // 'details': [
928
+ // {
929
+ // 'f_project':'有无热水器设备',
930
+ // 'type': 'checkbox'
931
+ // },
932
+ // {
933
+ // 'f_project':'热水器品牌',
934
+ // 'type': 'string',
935
+ // 'f_is_must':true
936
+ // },
937
+ // {
938
+ // 'f_project':'热水器型号',
939
+ // 'type': 'string',
940
+ // 'f_is_must':true
941
+ // },
942
+ // {
943
+ // 'f_project':'购买日期',
944
+ // 'type': 'date',
945
+ // 'f_is_must':true
946
+ // },
947
+ // {
948
+ // 'f_project':'合格证',
949
+ // 'type': 'selector',
950
+ // 'options': [
951
+ // {
952
+ // 'data': '有'
953
+ // },
954
+ // {
955
+ // 'data': '无'
956
+ // }
957
+ // ],
958
+ // 'f_is_must':true
959
+ // }
960
+ // ]
961
+ // },
962
+ // {
963
+ // 'f_type': '表具信息',
964
+ // 'details':[
965
+ // {
966
+ // 'f_project':'表号',
967
+ // 'type':'string',
968
+ // 'f_is_must':true
969
+ // },
970
+ // {
971
+ // 'f_project':'表型号',
972
+ // 'type':'string',
973
+ // 'f_is_must':true
974
+ // },
975
+ // {
976
+ // 'f_project':'表具厂家',
977
+ // 'type':'selector',
978
+ // 'f_is_must':true,
979
+ // 'options':[
980
+ // {'data':'中元新'},
981
+ // {'data':'三龙'},
982
+ // {'data':'鸿鹄'},
983
+ // {'data':'秦川'},
984
+ // {'data':'新奥新'},
985
+ // {'data':'中元老'},
986
+ // {'data':'新奥老'},
987
+ // {'data':'福禄克'},
988
+ // {'data':'苍南老CPU'},
989
+ // {'data':'振达'},
990
+ // {'data':'航宇星民用'},
991
+ // {'data':'航宇星民用双模'},
992
+ // {'data':'德力西1.0'},
993
+ // {'data':'宁波鹏盛'},
994
+ // {'data':'德力西2.0'},
995
+ // {'data':'建安民用'},
996
+ // {'data':'金卡民用'},
997
+ // {'data':'其他'}
998
+ // ]
999
+ // },
1000
+ // {
1001
+ // 'f_project':'表类型',
1002
+ // 'type':'selector',
1003
+ // 'options':[
1004
+ // {'data':'气量卡表'},
1005
+ // {'data':'金额卡表'},
1006
+ // {'data':'机表'},
1007
+ // {'data':'物联网表'}
1008
+ // ],
1009
+ // 'f_is_must':true
1010
+ // },
1011
+ // {
1012
+ // 'f_project':'表向',
1013
+ // 'type':'selector',
1014
+ // 'options':[
1015
+ // {'data':'左表'},
1016
+ // {'data':'右表'}
1017
+ // ]
1018
+ // },
1019
+ // {
1020
+ // 'f_project':'表基数',
1021
+ // 'type':'string'
1022
+ // },
1023
+ // {
1024
+ // 'f_project':'备注',
1025
+ // 'type':'string'
1026
+ // }
1027
+ // ]
1028
+ // },
1029
+ // {
1030
+ // 'f_type': '置换作业',
1031
+ // 'details':[
1032
+ // {
1033
+ // 'f_project':'用户是否为超期(半年)重新检测',
1034
+ // 'type': 'radio',
1035
+ // 'options': [
1036
+ // {
1037
+ // 'data': '是',
1038
+ // 'f_status':'true'
1039
+ // },
1040
+ // {
1041
+ // 'data': '否',
1042
+ // 'f_status':'false'
1043
+ // }
1044
+ // ]
1045
+ // },
1046
+ // {
1047
+ // 'f_project':'户内燃气设施外观完好,无损坏',
1048
+ // 'type': 'radio',
1049
+ // 'options': [
1050
+ // {
1051
+ // 'data': '是',
1052
+ // 'f_status':'true'
1053
+ // },
1054
+ // {
1055
+ // 'data': '否',
1056
+ // 'f_status':'false'
1057
+ // }
1058
+ // ]
1059
+ // },
1060
+ // {
1061
+ // 'f_project':'经过测试后,管道是否有压降',
1062
+ // 'type':'radio',
1063
+ // 'options': [
1064
+ // {
1065
+ // 'data': '是',
1066
+ // 'f_status':'false'
1067
+ // },
1068
+ // {
1069
+ // 'data': '否',
1070
+ // 'f_status':'true'
1071
+ // }
1072
+ // ]
1073
+ // },
1074
+ // {
1075
+ // 'f_project':'换作业区内无明火,按标准置换',
1076
+ // 'type': 'radio',
1077
+ // 'options': [
1078
+ // {
1079
+ // 'data': '是',
1080
+ // 'f_status':'true'
1081
+ // },
1082
+ // {
1083
+ // 'data': '否',
1084
+ // 'f_status':'false'
1085
+ // }
1086
+ // ]
1087
+ // },
1088
+ // {
1089
+ // 'f_project':'确认用户的燃气炉具、热水器符合安全规范,胶管两端已连接并且管卡牢固',
1090
+ // 'type': 'radio',
1091
+ // 'options': [
1092
+ // {
1093
+ // 'data': '是',
1094
+ // 'f_status':'true'
1095
+ // },
1096
+ // {
1097
+ // 'data': '否',
1098
+ // 'f_status':'false'
1099
+ // }
1100
+ // ]
1101
+ // },
1102
+ // {
1103
+ // 'f_project':'已告知用户公司营业厅地址及需要携带的材料',
1104
+ // 'type': 'radio',
1105
+ // 'options': [
1106
+ // {
1107
+ // 'data': '是',
1108
+ // 'f_status':'true'
1109
+ // },
1110
+ // {
1111
+ // 'data': '否',
1112
+ // 'f_status':'false'
1113
+ // }
1114
+ // ]
1115
+ // },
1116
+ // {
1117
+ // 'f_project':'已向用户宣传安全用气常识、操作规范,并告知24小时客服电话',
1118
+ // 'type': 'radio',
1119
+ // 'options': [
1120
+ // {
1121
+ // 'data': '是',
1122
+ // 'f_status':'true'
1123
+ // },
1124
+ // {
1125
+ // 'data': '否',
1126
+ // 'f_status':'false'
1127
+ // }
1128
+ // ]
1129
+ // },
1130
+ // {
1131
+ // 'f_project':'严格按照作业标准及步骤进行操作',
1132
+ // 'type': 'radio',
1133
+ // 'options': [
1134
+ // {
1135
+ // 'data': '是',
1136
+ // 'f_status':'true'
1137
+ // },
1138
+ // {
1139
+ // 'data': '否',
1140
+ // 'f_status':'false'
1141
+ // }
1142
+ // ]
1143
+ // },
1144
+ // {
1145
+ // 'f_project':'严密性供气压力(单位:kPa)',
1146
+ // 'type':'string',
1147
+ // 'f_is_must':true
1148
+ // },
1149
+ // {
1150
+ // 'f_project':'严密性试验压力(单位:kPa)',
1151
+ // 'type':'string',
1152
+ // 'f_is_must':true
1153
+ // },
1154
+ // {
1155
+ // 'f_project':'严密性试验时间为<>分钟',
1156
+ // 'type':'string',
1157
+ // 'f_is_must':true
1158
+ // }
1159
+ // ]
1160
+ // }
1161
+ // ]}
1162
+ if(this.row.f_source == '安检'){
1163
+ //tag)
1164
+ this.repairdetails = JSON.parse(this.row.f_repairitems).data
1165
+ //tag}`)
1166
+ }else{
1167
+ //tag
1168
+ if(this.row.f_workorder_type == '报修单'){
1169
+ if(Vue.config.telephone.RepairsConfig.data != undefined){
1170
+ //tag
1171
+ //tag)
1172
+ // //tag)
1173
+ // let endArray = [];
1174
+ // let datailsList = []
1175
+ // if (this.row.failure) { // 如果下发的计划里,没有下发故障明细
1176
+ // let failureArray = [];
1177
+ // if (typeof (this.row.failure) === Array) {
1178
+ // failureArray = this.row.failure
1179
+ // }else {
1180
+ // failureArray = JSON.parse(this.row.failure)
1181
+ // }
1182
+ // for (let i = 0; i < failureArray.length; i++) {
1183
+ // datailsList.push({f_project: failureArray[i].f_failure_type,options:[{data:"完成"},{data:"未完成"}],type:"selector"})
1184
+ // datailsList.push({f_project: '备注信息',type:"string"})
1185
+ // }
1186
+ // endArray.push({
1187
+ // details: datailsList,
1188
+ // f_type: "下发维修项"
1189
+ // })
1190
+ // }
1191
+ // //tag)
1192
+ // let fistDate = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.RepairsConfig.data)))
1193
+ // //tag)
1194
+ // this.repairdetails = Object.assign([],fistDate,endArray)
1195
+ this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.RepairsConfig.data)))
1196
+ // //tag)
1197
+ }else{
1198
+ this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1199
+ }
1200
+ }else if(this.row.f_workorder_type == '置换通气单'){
1201
+ //tag
1202
+ // 判断用户类型 民用/非民用
1203
+ if(this.row.f_user_type == '民用'){
1204
+ //tag
1205
+ if(Vue.config.telephone.SubstitConfigCivil.data != undefined){
1206
+ //tag
1207
+ //tag)
1208
+ this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.SubstitConfigCivil.data)))
1209
+ }else {
1210
+ this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1211
+ }
1212
+ }else{
1213
+ //tag
1214
+ if(Vue.config.telephone.SubstitConfigBusiness.data != undefined){
1215
+ //tag
1216
+ //tag)
1217
+ this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.SubstitConfigBusiness.data)))
1218
+ }else{
1219
+ this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1220
+ }
1221
+ }
1222
+ }else{
1223
+ //tag
1224
+ // 判断用户类型 民用/非民用
1225
+ if(this.row.f_user_type == '民用'){
1226
+ //tag
1227
+ if(Vue.config.telephone.InstallConfigCivil.data != undefined){
1228
+ //tag
1229
+ //tag)
1230
+ this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.InstallConfigCivil.data)))
1231
+ }else {
1232
+ this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1233
+ }
1234
+ }else{
1235
+ //tag
1236
+ if(Vue.config.telephone.InstallConfigBusiness.data != undefined){
1237
+ //tag
1238
+ //tag)
1239
+ this.repairdetails = Object.assign([], JSON.parse(JSON.stringify(Vue.config.telephone.InstallConfigBusiness.data)))
1240
+ }else{
1241
+ this.$showMessage('网络异常,请重新登陆系统!', ['confirm'])
1242
+ }
1243
+ }
1244
+ }
1245
+ }
1246
+ // this.repairdetails = [{"f_type": "换表","details": [{"f_project":"换表类型","type": "selector","options": [{"data": "换计费器"},{"data": "换新表"},{"data": "气表清零"}]},{"f_project":"换表原因","type": "selector","options": [{"data": "换新表"}]},{"f_project":"旧表底数","type": "string"}]},{"f_type": "改管","details": [{"f_project":"换表原因","type": "selector","options": [{"data": "换新表"}]},{"f_project":"旧表底数","type": "string"}]}]
1247
+ // 维修项传到维修单中
1248
+ this.getRepairDetails()
1249
+ loadParamGem(this)
1250
+ //tag
1251
+ this.copy()
1252
+ //tag
1253
+ // tbs合并数组
1254
+ if( this.model.serviceacitivity[0].servicerepair.length > 0){
1255
+ for(let i = 0;i < this.model.serviceacitivity[0].servicerepair.length;i++ ){
1256
+ this.tabs.splice(1 + i, 0, {header:this.model.serviceacitivity[0].servicerepair[i].f_type,complete:'repair-details',items:this.model.serviceacitivity[0].servicerepair[i].details,class:'repair-details-class',number:i,details:Object.assign({}, JSON.parse(JSON.stringify(this.model.serviceacitivity[0].servicerepair[i])))})
1257
+ }
1258
+ }
1259
+ //tag
1260
+ this.faultshow.number = this.tabs.length
1261
+ if (this.show || this.repair) {
1262
+ this.faultshow.number = this.tabs.length
1263
+ }
1264
+ },
1265
+ components: {
1266
+ // 'door-service': DoorService,
1267
+ 'repair-info': RepairInfo,
1268
+ 'repair-user-info': RepairUserInfo,
1269
+ 'outlay': Outlay,
1270
+ 'fault-all': FaultAll,
1271
+ 'repair-details':RepairDetails
1272
+ // 'change-meter-page': ChangeMeterPage
1273
+ // 'pipeline': Pipeline,
1274
+ // 'device-service': DeviceService,
1275
+ // 'trouble-removal': TroubleRemoval,
1276
+ // 'cooking-utensils': CookingUtensils,
1277
+ // 'repair-matter-info': RepairMatterInfo,
1278
+ // 'first-gas-check': FirstGasCheck,
1279
+ // 'tel-change-matter': TelChangeMatter/
1280
+ },
1281
+ events: {
1282
+ 'tijiao': function () {
1283
+ // 事件回调内的 `this` 自动绑定到注册它的实例上
1284
+ this.confirm()
1285
+ }
1286
+ }
1287
+ }
1288
+ </script>
1289
+ <style lang="less">
1290
+ @import "../../../../src/bootstrap/less/variables.less";
1291
+ .tab-befor-img (@url) {
1292
+ content: '';
1293
+ background-image: url("@{url}");
1294
+ background-size: 20px;
1295
+ display: inline-block;
1296
+ margin-right: 8px;
1297
+ margin-top: 0.3em;
1298
+ height: 1.3em;
1299
+ width: 1.3em;
1300
+ vertical-align: -35%;
1301
+ }
1302
+
1303
+ @media screen and (min-width: 768px) {
1304
+ .android-repair-order > div > ul a {
1305
+ font-size: @font-size-h2;
1306
+ margin: 0.3em 0;
1307
+ }
1308
+ }
1309
+ .repair-details-class{
1310
+ &::before {
1311
+ .tab-befor-img("../../../assets/huneiweixiu1.png");
1312
+ }
1313
+ }
1314
+ .repair-info-class {
1315
+ &::before {
1316
+ .tab-befor-img("../../../assets/baoxiuxinxi1.png");
1317
+ }
1318
+ }
1319
+ /* .change-meter-page-class {
1320
+ &::before {
1321
+ .tab-befor-img("../../assets/baoxiuxinxi1.png");
1322
+ }
1323
+ }*/
1324
+ .repair-user-info-class {
1325
+ &::before {
1326
+ .tab-befor-img("../../../assets/jibenxinxi1.png")
1327
+ }
1328
+ }
1329
+
1330
+ .door-service-class {
1331
+ &::before {
1332
+ .tab-befor-img("../../../assets/huneiweixiu1.png")
1333
+ }
1334
+ }
1335
+
1336
+ .pipeline-class {
1337
+ &::before {
1338
+ .tab-befor-img("../../../assets/guandao1.png")
1339
+ }
1340
+ }
1341
+
1342
+ .device-service-class {
1343
+ &::before {
1344
+ .tab-befor-img("../../../assets/shebeiweixiu1.png")
1345
+ }
1346
+ }
1347
+
1348
+ .trouble-removal-class {
1349
+ &::before {
1350
+ .tab-befor-img("../../../assets/shiguchuli.png")
1351
+ }
1352
+ }
1353
+
1354
+ .cooking-utensils-class {
1355
+ &::before {
1356
+ .tab-befor-img("../../../assets/zaoju1.png")
1357
+ }
1358
+ }
1359
+
1360
+ .outlay-class {
1361
+ &::before {
1362
+ .tab-befor-img("../../../assets/feiyong1.png")
1363
+ }
1364
+ }
1365
+
1366
+ .fault-all-class {
1367
+ &::before {
1368
+ .tab-befor-img("../../../assets/guzhanghuizong1.png")
1369
+ }
1370
+ }
1371
+ .photo-write-class {
1372
+ &::before {
1373
+ .tab-befor-img("../../../assets/zaoju.png")
1374
+ }
1375
+ }
1376
+ .delay-apply-class {
1377
+ &::before {
1378
+ .tab-befor-img("../../../assets/yonghubaoxiu.png")
1379
+ }
1380
+ }
1381
+
1382
+ .repair-back-class {
1383
+ &::before {
1384
+ .tab-befor-img("../../../assets/fanhui.png")
1385
+ }
1386
+ }
1387
+ .butt2 {
1388
+ display: inline;
1389
+ float: right;
1390
+ width: 10px;
1391
+ text-align: center;
1392
+ align-items:center;
1393
+ position: absolute;
1394
+ top:50%;
1395
+
1396
+ left:90%;
1397
+ transform: translate(-50%,-50%);
1398
+ }
1399
+ .linesty{
1400
+ display: inline-block;
1401
+ height:1px;
1402
+ width:100%;
1403
+ background:#d0d0d0;
1404
+ overflow:hidden;
1405
+ vertical-align: middle;
1406
+ }
1407
+ .spanboder{
1408
+ border-bottom:2px solid #499edf;
1409
+ padding-bottom: 8px
1410
+ }
1411
+ .app-botton {
1412
+ position:fixed;
1413
+ background: #87b2dd;
1414
+ right:8px;
1415
+ color: #FFF;
1416
+ padding: 8px;
1417
+ text-align: center;
1418
+ font-size: 1.2em;
1419
+ z-index: 10;
1420
+ opacity:0.5;
1421
+ bottom: 50px;
1422
+ margin-top: -10px;
1423
+ height: 40px;
1424
+ }
1425
+ .android-repair-order > div > ul a {
1426
+ font-size: 12px;
1427
+ color: #333333;
1428
+ padding: 13px 16px;
1429
+ }
1430
+ </style>