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
@@ -245,16 +245,9 @@
245
245
  <th>
246
246
  <nobr>截止时间</nobr>
247
247
  </th>
248
- <th>
249
- <nobr>逾期时间</nobr>
250
- </th>
251
-
252
-
253
248
  <th>
254
249
  <nobr>工单结果</nobr>
255
250
  </th>
256
-
257
-
258
251
  </tr>
259
252
  </template>
260
253
  <template partial='body'>
@@ -325,11 +318,6 @@
325
318
  <td style="text-align: center;">
326
319
  <nobr>{{ row.f_finish_date == '1900-01-01 00:00:00' ? '' : row.f_finish_date}}</nobr>
327
320
  </td>
328
- <td style="text-align: center;">
329
- <nobr>{{ $parent.$parent.$parent.d2(row) }}</nobr>
330
- </td>
331
-
332
-
333
321
  <td style="text-align: center;">
334
322
  <nobr>{{ row.f_result_status }}</nobr>
335
323
  </td>
@@ -426,8 +414,11 @@ export default {
426
414
  thead: '',
427
415
  tfoot: '',
428
416
  zhihuans: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '异常', value: '异常'}],
429
- headData: ['工单类型', '报修类型', '工单编号', '用户姓名', '用户地址', '用户电话', '报修电话', '报修时间', '报修原因', '维修人','故障类型'],
430
- bodyData: ['f_workorder_type', 'f_repairtype', 'f_service_id', 'f_user_name', 'f_address', 'f_phone', 'f_contact_phone', 'f_created_date', 'f_remarks', 'f_order_man'],
417
+ headData: ['工单类型', '工单编号', '派单时间','客户信息', '联系电话', '故障明细', '工单来源', '工单状态', '派单人', '话务员','接单员',
418
+ '结单时间','到达时间', '离开时间','逾期状态','截止时间','工单结果'],
419
+ bodyData: ['f_workorder_type', 'f_service_id', 'f_created_date', 'f_customer_info_show','f_contact_phone', 'f_json', 'f_source',
420
+ 'f_state_show', 'f_single_man','f_attendant','f_order_man','f_date','f_date_come','f_date_leave',
421
+ 'f_overdue_show','f_finish_time_show','f_result_status'],
431
422
  searchData: {
432
423
  condition: '1=1'
433
424
  },
@@ -435,17 +426,20 @@ export default {
435
426
  'f_workorder_type': '工单类型',
436
427
  'f_service_id': '工单编号',
437
428
  'f_created_date': '派单时间',
438
- 'f_user_name': '用户姓名',
439
- 'f_address': '用户地址',
429
+ 'f_customer_info_show': '客户信息',
440
430
  'f_contact_phone': '联系电话',
441
- 'f_source': '工单来源',
442
431
  'f_json': '故障明细',
432
+ 'f_source': '工单来源',
433
+ 'f_state_show': '工单状态',
443
434
  'f_single_man': '派单人',
444
- 'f_attendant': '受理人',
445
- 'f_order_man': '接单人',
446
- 'defname': '工单状态',
447
- 'f_date_leave': '完成时间',
448
- 'f_remarks': '备注'
435
+ 'f_attendant': '话务员',
436
+ 'f_order_man': '接单员',
437
+ 'f_date': '结单时间',
438
+ 'f_date_come': '到达时间',
439
+ 'f_date_leave': '离开时间',
440
+ 'f_overdue_show': '逾期状态',
441
+ 'f_finish_time_show': '截止时间',
442
+ 'f_result_status': '工单结果',
449
443
  },
450
444
  criteriaShow: false
451
445
  }
@@ -496,7 +490,7 @@ export default {
496
490
  this.$refs.paged.$refs.criteria.model={}
497
491
  },
498
492
  d1(row){
499
- return row.f_workorder_type == '报修单'?(row.f_result_status == '已完成'?(this.datejisuan(row.f_finish_date,row.f_date)<0?'已逾期':'未逾期'):(this.datejisuan(row.f_finish_date,'')<0?'已逾期':'未逾期')):''
493
+ return row.f_workorder_type == '报修单'?(row.f_result_status == '已完成'?(this.datejisuan(row.f_finish_date,row.f_date)<0?'已逾期':'未逾期'):(this.datejisuan(row.f_finish_date,this.getNowFormatDate())<0?'已逾期':'未逾期')):''
500
494
  },
501
495
  d2(row){
502
496
  const result = row.f_workorder_type == '报修单'?(row.f_result_status == '已完成'?(this.datejisuan(row.f_finish_date,row.f_date)<0?this.formatDuring(new Date(row.f_date).getTime(),new Date(row.f_finish_date).getTime()):'未逾期'):(this.datejisuan(row.f_finish_date,'')<0?this.formatDuring(new Date().getTime(),new Date(row.f_finish_date).getTime()):'未逾期')):''
@@ -1,87 +1,87 @@
1
- <template >
2
- <div id="pc-finduser-page">
3
- <criteria-paged :model="model" v-ref:paged :simple="true">
4
- <!-- <criteria partial='criteria'>
5
- </criteria> -->
6
- <data-grid :model="model" partial='list' v-ref:grid
7
- class="list_area table_sy">
8
- <template partial='head'>
9
- <tr>
10
- <!--<th><nobr>用户编号</nobr></th>-->
11
- <!--<th><nobr>用户姓名</nobr></th>-->
12
- <th><nobr>新表号</nobr></th>
13
- <th><nobr>旧表号</nobr></th>
14
- <th><nobr>补气量</nobr></th>
15
- <th><nobr>换表原因</nobr></th>
16
- <th><nobr>操作人</nobr></th>
17
- <th><nobr>操作日期</nobr></th>
18
- </tr>
19
- </template>
20
- <template partial='body'>
21
- <!--<td><nobr>{{row.f_userinfo_id}}</nobr></td>-->
22
- <!--<td><nobr>{{row.f_user_name}}</nobr></td>-->
23
- <td><nobr>{{row.f_newmeternumber}}</nobr></td>
24
- <td><nobr>{{row.f_meternumber}}</nobr></td>
25
- <td><nobr>{{row.f_newremanent_gas}}</nobr></td>
26
- <td><nobr>{{row.f_changemeter_type}}</nobr></td>
27
- <th><nobr>{{row.f_operator}}</nobr></th>
28
- <td><nobr>{{row.f_operate_date}}</nobr></td>
29
- </template>
30
- <!--<template partial='foot'>
31
- <td style="text-align:center">汇总</td>
32
- <td></td>
33
- <td></td>
34
- <td >累计购气量:{{model.sums.f_pregas}}</td>
35
- <td >累计金额:{{model.sums.f_totalcost}}</td>
36
- <td >共{{model.count}}条</td>
37
- </template>-->
38
- </data-grid>
39
- </criteria-paged>
40
- </div>
41
- </template>
42
-
43
- <script>
44
- import { PagedList } from 'vue-client'
45
- export default {
46
- title: '换表记录',
47
- data () {
48
- return {
49
- model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 5, {items: '"*"', tablename: '"t_changemeter"', orderitem: '"f_operate_date desc"'}),
50
- show: false,
51
- row: Object
52
- }
53
- },
54
- props: {
55
- user: {
56
- type: Object
57
- },
58
- clearflg:0
59
- },
60
- methods: {
61
- selected (row) {
62
- if (this.row === row) {
63
- this.row = null
64
- } else {
65
- this.row = row
66
- }
67
- },
68
- isSelected (row) {
69
- return this.row === row
70
- }
71
- },
72
- watch: {
73
- 'user' (val) {
74
- this.model.rows = []
75
- this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
76
- },
77
- 'clearflg'(){
78
- this.model.rows = []
79
- }
80
- },
81
- ready () {
82
- if (this.user && this.user.f_userinfo_id) {
83
- this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
84
- }
85
- }
86
- }
87
- </script>
1
+ <template >
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <!-- <criteria partial='criteria'>
5
+ </criteria> -->
6
+ <data-grid :model="model" partial='list' v-ref:grid
7
+ class="list_area table_sy">
8
+ <template partial='head'>
9
+ <tr>
10
+ <!--<th><nobr>用户编号</nobr></th>-->
11
+ <!--<th><nobr>用户姓名</nobr></th>-->
12
+ <th><nobr>新表号</nobr></th>
13
+ <th><nobr>旧表号</nobr></th>
14
+ <th><nobr>补气量</nobr></th>
15
+ <th><nobr>换表原因</nobr></th>
16
+ <th><nobr>操作人</nobr></th>
17
+ <th><nobr>操作日期</nobr></th>
18
+ </tr>
19
+ </template>
20
+ <template partial='body'>
21
+ <!--<td><nobr>{{row.f_userinfo_id}}</nobr></td>-->
22
+ <!--<td><nobr>{{row.f_user_name}}</nobr></td>-->
23
+ <td><nobr>{{row.f_newmeternumber}}</nobr></td>
24
+ <td><nobr>{{row.f_meternumber}}</nobr></td>
25
+ <td><nobr>{{row.f_newremanent_gas}}</nobr></td>
26
+ <td><nobr>{{row.f_changemeter_type}}</nobr></td>
27
+ <th><nobr>{{row.f_operator}}</nobr></th>
28
+ <td><nobr>{{row.f_operate_date}}</nobr></td>
29
+ </template>
30
+ <!--<template partial='foot'>
31
+ <td style="text-align:center">汇总</td>
32
+ <td></td>
33
+ <td></td>
34
+ <td >累计购气量:{{model.sums.f_pregas}}</td>
35
+ <td >累计金额:{{model.sums.f_totalcost}}</td>
36
+ <td >共{{model.count}}条</td>
37
+ </template>-->
38
+ </data-grid>
39
+ </criteria-paged>
40
+ </div>
41
+ </template>
42
+
43
+ <script>
44
+ import { PagedList } from 'vue-client'
45
+ export default {
46
+ title: '换表记录',
47
+ data () {
48
+ return {
49
+ model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 5, {items: '"*"', tablename: '"t_changemeter"', orderitem: '"f_operate_date desc"'}),
50
+ show: false,
51
+ row: Object
52
+ }
53
+ },
54
+ props: {
55
+ user: {
56
+ type: Object
57
+ },
58
+ clearflg:0
59
+ },
60
+ methods: {
61
+ selected (row) {
62
+ if (this.row === row) {
63
+ this.row = null
64
+ } else {
65
+ this.row = row
66
+ }
67
+ },
68
+ isSelected (row) {
69
+ return this.row === row
70
+ }
71
+ },
72
+ watch: {
73
+ 'user' (val) {
74
+ this.model.rows = []
75
+ this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
76
+ },
77
+ 'clearflg'(){
78
+ this.model.rows = []
79
+ }
80
+ },
81
+ ready () {
82
+ if (this.user && this.user.f_userinfo_id) {
83
+ this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
84
+ }
85
+ }
86
+ }
87
+ </script>
@@ -1,82 +1,82 @@
1
- <template >
2
- <div id="pc-finduser-page">
3
- <criteria-paged :model="model" v-ref:paged :simple="true">
4
- <!-- <criteria partial='criteria'>
5
- </criteria> -->
6
- <data-grid :model="model" partial='list' v-ref:grid
7
- class="list_area table_sy">
8
- <template partial='head'>
9
- <tr>
10
- <!--<th><nobr>用户编号</nobr></th>-->
11
- <th><nobr>设备类型</nobr></th>
12
- <th><nobr>设备品牌</nobr></th>
13
- <th><nobr>设备数量</nobr></th>
14
- <th><nobr>设备状态</nobr></th>
15
- <th><nobr>操作日期</nobr></th>
16
- </tr>
17
- </template>
18
- <template partial='body'>
19
- <!--<td><nobr>{{row.f_user_id}}</nobr></td>-->
20
- <td><nobr>{{row.f_devices_type}}</nobr></td>
21
- <td><nobr>{{row.f_brand}}</nobr></td>
22
- <td><nobr>{{row.f_devices_num}}</nobr></td>
23
- <td><nobr>{{row.f_devices_state}}</nobr></td>
24
- <td><nobr>{{row.f_operate_date}}</nobr></td>
25
- </template>
26
- </data-grid>
27
- </criteria-paged>
28
- </div>
29
- </template>
30
-
31
- <script>
32
- import { PagedList } from 'vue-client'
33
- import co from 'co'
34
- let getmodelGen = function * (self, val) {
35
- yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}'`))
36
- .then(() => {
37
- // self.getdata()
38
- })
39
- }
40
- export default {
41
- title: '设备信息',
42
- data () {
43
- return {
44
- model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: '"t_devices"', orderitem: '"f_operate_date desc"'}),
45
- show: false,
46
- row: Object
47
- }
48
- },
49
- props: {
50
- user: {
51
- type: Object
52
- },
53
- clearflg:0
54
- },
55
- methods: {
56
- getmodel () {
57
- let gen = getmodelGen(this)
58
- co(gen)
59
- }
60
- },
61
- watch: {
62
- 'user' (val) {
63
- // this.model.search(`card_id = ${this.user.card_id}`)
64
- if(this.user){
65
- if (!(this.user.isNuN)) {
66
- this.model.rows = []
67
- this.getmodel()
68
- }
69
- }
70
- },
71
- 'clearflg'(){
72
- this.model.rows = []
73
- }
74
- },
75
- ready () {
76
- if (this.user && this.user.f_userinfo_id) {
77
- // this.model.search(`card_id = ${this.user.card_id}`)
78
- this.getmodel()
79
- }
80
- }
81
- }
82
- </script>
1
+ <template >
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <!-- <criteria partial='criteria'>
5
+ </criteria> -->
6
+ <data-grid :model="model" partial='list' v-ref:grid
7
+ class="list_area table_sy">
8
+ <template partial='head'>
9
+ <tr>
10
+ <!--<th><nobr>用户编号</nobr></th>-->
11
+ <th><nobr>设备类型</nobr></th>
12
+ <th><nobr>设备品牌</nobr></th>
13
+ <th><nobr>设备数量</nobr></th>
14
+ <th><nobr>设备状态</nobr></th>
15
+ <th><nobr>操作日期</nobr></th>
16
+ </tr>
17
+ </template>
18
+ <template partial='body'>
19
+ <!--<td><nobr>{{row.f_user_id}}</nobr></td>-->
20
+ <td><nobr>{{row.f_devices_type}}</nobr></td>
21
+ <td><nobr>{{row.f_brand}}</nobr></td>
22
+ <td><nobr>{{row.f_devices_num}}</nobr></td>
23
+ <td><nobr>{{row.f_devices_state}}</nobr></td>
24
+ <td><nobr>{{row.f_operate_date}}</nobr></td>
25
+ </template>
26
+ </data-grid>
27
+ </criteria-paged>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+ import { PagedList } from 'vue-client'
33
+ import co from 'co'
34
+ let getmodelGen = function * (self, val) {
35
+ yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}'`))
36
+ .then(() => {
37
+ // self.getdata()
38
+ })
39
+ }
40
+ export default {
41
+ title: '设备信息',
42
+ data () {
43
+ return {
44
+ model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: '"t_devices"', orderitem: '"f_operate_date desc"'}),
45
+ show: false,
46
+ row: Object
47
+ }
48
+ },
49
+ props: {
50
+ user: {
51
+ type: Object
52
+ },
53
+ clearflg:0
54
+ },
55
+ methods: {
56
+ getmodel () {
57
+ let gen = getmodelGen(this)
58
+ co(gen)
59
+ }
60
+ },
61
+ watch: {
62
+ 'user' (val) {
63
+ // this.model.search(`card_id = ${this.user.card_id}`)
64
+ if(this.user){
65
+ if (!(this.user.isNuN)) {
66
+ this.model.rows = []
67
+ this.getmodel()
68
+ }
69
+ }
70
+ },
71
+ 'clearflg'(){
72
+ this.model.rows = []
73
+ }
74
+ },
75
+ ready () {
76
+ if (this.user && this.user.f_userinfo_id) {
77
+ // this.model.search(`card_id = ${this.user.card_id}`)
78
+ this.getmodel()
79
+ }
80
+ }
81
+ }
82
+ </script>