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