telephone-clients 3.0.103 → 3.0.104-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/App.vue +7 -9
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/Util/RightTreeSafe.vue +2 -2
- package/src/components/Util/RightTreeSafeDep.vue +350 -0
- package/src/components/android/AddMyTask.vue +7 -0
- package/src/components/guoxin/VisitInfo.vue +0 -11
- package/src/components/pc/NewRepairPaper.vue +3 -3
- package/src/components/pc/RepairsWork.vue +22 -2
- package/src/components/pc/RoleSelectorDep.vue +158 -0
- package/src/components/pc/TelFindUser.vue +1 -1
- package/src/components/pc/TelListener.vue +47 -16
- package/src/components/pc/VisitInfo.vue +0 -10
- package/src/components/pc/WorkCenter.vue +1 -1
- package/src/components/pc/WorkCenterList.vue +1 -1
- package/src/components/pc/WorkHistory.vue +20 -2
- package/src/components/pc/WorkListAll.vue +1 -1
- package/src/components/pc/WorkListAllNew.vue +10 -3
- package/src/components/pc/WorkListNew.vue +712 -706
- package/src/components/pc/olddata/OldWorkList.vue +193 -0
- package/src/components/telreport/RepairsDetailsReport.vue +98 -0
- package/src/components/telreport/TableFaultReport.vue +96 -0
- package/src/components/telreport/Traffic.vue +3 -3
- package/src/components/telreport/TrafficClassificationReport.vue +134 -0
- package/src/components/temp/ChangemeterInfo.vue +75 -87
- package/src/components/temp/DeviceInfo.vue +80 -82
- package/src/components/temp/HandplanInfo.vue +2 -2
- package/src/components/temp/InfoTable.vue +5 -2
- package/src/components/temp/MetereadInfo.vue +1 -4
- package/src/components/temp/OldRepairList.vue +100 -0
- package/src/components/temp/RepairList.vue +2 -2
- package/src/components/weinan/Console.vue +1 -1
- package/src/components/weinan/RecordList.vue +2 -2
- package/src/components/weinan/SiteSend.vue +2 -2
- package/src/components/weinan/SiteSendWeixiu.vue +7 -16
- package/src/components/weinan/StandWorkWeixiu.vue +1 -1
- package/src/components/weinan/WorkList.vue +73 -0
- package/src/components/weinan/WorkListAll.vue +90 -14
- package/src/components/weinan/WorkListWeixiu.vue +1 -1
- package/src/components/workorder/CompletedRepair.vue +269 -183
- package/src/components/workorder/FaultAll.vue +826 -826
- package/src/components/workorder/PhoneStandWork.vue +354 -354
- package/src/components/workorder/PhoneUpDetail.vue +3 -0
- package/src/components/workorder/RepairDetails.vue +12 -2
- package/src/components/workorder/RepairFirstV.vue +1 -1
- package/src/components/workorder/RepairOrderV.vue +1446 -1446
- package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
- package/src/filiale/furuike/pc/Seekwork.vue +352 -352
- package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
- package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
- package/src/filiale/kelai/android/AppTakePic.vue +143 -0
- package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
- package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
- package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
- package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
- package/src/filiale/kelai/telephone.js +9 -8
- package/src/filiale/kelai/telephoneAndroid.js +3 -1
- package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
- package/src/filiale/qianneng/android/FaultAll.vue +883 -883
- package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
- package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
- package/src/filiale/qianneng/android/TemporarySingle.vue +537 -512
- package/src/filiale/qianneng/android/chargesList.vue +161 -161
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -248
- package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
- package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
- package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
- package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
- package/src/filiale/qianneng/pc/changetable.vue +273 -0
- package/src/filiale/qianneng/telephone.js +22 -20
- package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
- package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
- package/src/filiale/rizhao/pc/Traffic.vue +3 -3
- package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
- package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
- package/src/filiale/rongcheng/FaultAll.vue +3 -3
- package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
- package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
- package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
- package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
- package/src/filiale/shanxian/pc/WorkList.vue +1 -1
- package/src/filiale/shanxian/telephone.js +13 -12
- package/src/filiale/shexian/android/AddMyTask.vue +7 -0
- package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
- package/src/filiale/shexian/android/FaultAll.vue +847 -0
- package/src/filiale/shexian/android/Outlay.vue +182 -165
- package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
- package/src/filiale/shexian/android/RepairInfo.vue +1 -0
- package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
- package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
- package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
- package/src/filiale/shexian/pc/WorkList.vue +782 -740
- package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
- package/src/filiale/shexian/telephone.js +21 -18
- package/src/filiale/shexian/telephoneAndroid.js +32 -26
- package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
- package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
- package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
- package/src/filiale/wenxi/android/FailureShow.vue +61 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
- package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
- package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
- package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
- package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
- package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
- package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
- package/src/filiale/wenxi/pc/GasWork.vue +747 -0
- package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
- package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
- package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
- package/src/filiale/wenxi/telephone.js +4 -6
- package/src/filiale/wenxi/telephoneAndroid.js +4 -1
- package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
- package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
- package/src/filiale/yuncheng/telephone.js +12 -0
- package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
- package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
- package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
- package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
- package/src/filiale/zhongsheng/telephone.js +23 -23
- package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
- package/src/main.js +1 -1
- package/src/telephone.js +16 -0
- package/src/weinan.js +6 -0
- package/src/filiale/wenxi/pc/WorkListAll.vue +0 -647
|
@@ -1,87 +1,75 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
<th><nobr
|
|
13
|
-
<th><nobr
|
|
14
|
-
<th><nobr
|
|
15
|
-
<th><nobr
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
<td><nobr>{{row.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
+
</tr>
|
|
17
|
+
</template>
|
|
18
|
+
<template partial='body'>
|
|
19
|
+
<td><nobr>{{row.f_meternumber}}</nobr></td>
|
|
20
|
+
<td><nobr>{{row.f_meternumber_old}}</nobr></td>
|
|
21
|
+
<td><nobr>{{row.f_remanent_gas}}</nobr></td>
|
|
22
|
+
<td><nobr>{{row.f_type}}</nobr></td>
|
|
23
|
+
<th><nobr>{{row.f_operator}}</nobr></th>
|
|
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
|
+
export default {
|
|
34
|
+
title: '换表记录',
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 5, {items: '"*"', tablename: '"t_changetables"', orderitem: '"f_operate_date desc"'}),
|
|
38
|
+
show: false,
|
|
39
|
+
row: Object
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
props: {
|
|
43
|
+
user: {
|
|
44
|
+
type: Object
|
|
45
|
+
},
|
|
46
|
+
clearflg:0
|
|
47
|
+
},
|
|
48
|
+
methods: {
|
|
49
|
+
selected (row) {
|
|
50
|
+
if (this.row === row) {
|
|
51
|
+
this.row = null
|
|
52
|
+
} else {
|
|
53
|
+
this.row = row
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
isSelected (row) {
|
|
57
|
+
return this.row === row
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
watch: {
|
|
61
|
+
'user' (val) {
|
|
62
|
+
this.model.rows = []
|
|
63
|
+
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
64
|
+
},
|
|
65
|
+
'clearflg'(){
|
|
66
|
+
this.model.rows = []
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
ready () {
|
|
70
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
71
|
+
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
</script>
|
|
@@ -1,82 +1,80 @@
|
|
|
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
|
-
|
|
11
|
-
<th><nobr
|
|
12
|
-
<th><nobr
|
|
13
|
-
<th><nobr
|
|
14
|
-
<th><nobr
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<td><nobr>{{row.
|
|
21
|
-
<td><nobr>{{row.
|
|
22
|
-
<td><nobr>{{row.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
+
</tr>
|
|
16
|
+
</template>
|
|
17
|
+
<template partial='body'>
|
|
18
|
+
<td><nobr>{{row.f_devices_type}}</nobr></td>
|
|
19
|
+
<td><nobr>{{row.f_brand}}</nobr></td>
|
|
20
|
+
<td><nobr>{{row.f_devices_num}}</nobr></td>
|
|
21
|
+
<td><nobr>{{row.f_userinfodevices_state}}</nobr></td>
|
|
22
|
+
<td><nobr>{{row.f_operate_date}}</nobr></td>
|
|
23
|
+
</template>
|
|
24
|
+
</data-grid>
|
|
25
|
+
</criteria-paged>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script>
|
|
30
|
+
import { PagedList } from 'vue-client'
|
|
31
|
+
import co from 'co'
|
|
32
|
+
let getmodelGen = function * (self, val) {
|
|
33
|
+
yield self.model.search((`f_user_id = '${self.user.f_user_id}'`))
|
|
34
|
+
.then(() => {
|
|
35
|
+
// self.getdata()
|
|
36
|
+
})
|
|
37
|
+
}
|
|
38
|
+
export default {
|
|
39
|
+
title: '设备信息',
|
|
40
|
+
data () {
|
|
41
|
+
return {
|
|
42
|
+
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"'}),
|
|
43
|
+
show: false,
|
|
44
|
+
row: Object
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
props: {
|
|
48
|
+
user: {
|
|
49
|
+
type: Object
|
|
50
|
+
},
|
|
51
|
+
clearflg:0
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
getmodel () {
|
|
55
|
+
let gen = getmodelGen(this)
|
|
56
|
+
co(gen)
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
watch: {
|
|
60
|
+
'user' (val) {
|
|
61
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
62
|
+
if(this.user){
|
|
63
|
+
if (!(this.user.isNuN)) {
|
|
64
|
+
this.model.rows = []
|
|
65
|
+
this.getmodel()
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
'clearflg'(){
|
|
70
|
+
this.model.rows = []
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
ready () {
|
|
74
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
75
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
76
|
+
this.getmodel()
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
</script>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</tr>
|
|
22
22
|
</template>
|
|
23
23
|
<template partial='body'>
|
|
24
|
-
<td><nobr>{{row.
|
|
24
|
+
<td><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
25
25
|
<td><nobr>{{row.f_user_name}}</nobr></td>
|
|
26
26
|
<td><nobr>{{row.f_meternumber}}</nobr></td>
|
|
27
27
|
<td><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
ready () {
|
|
73
|
-
if (this.user && this.user.
|
|
73
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
74
74
|
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
<li ><a :style="selectFiled == '指令查看'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '指令查看','tel_f_size':selectFiled != '指令查看'}" href="javascript:void(0)" @click="setField('指令查看')">指令查看</a></li>
|
|
20
20
|
<li ><a :style="selectFiled == '上报查询'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '上报查询','tel_f_size':selectFiled != '上报查询'}" href="javascript:void(0)" @click="setField('上报查询')">上报查询</a></li>
|
|
21
21
|
<li ><a :style="selectFiled == '停用信息'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '停用信息','tel_f_size':selectFiled != '停用信息'}" href="javascript:void(0)" @click="setField('停用信息')">停用信息</a></li>
|
|
22
|
+
<li v-if="oldshow"><a :style="selectFiled == '旧单信息'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '旧单信息','tel_f_size':selectFiled != '旧单信息'}" href="javascript:void(0)" @click="setField('旧单信息')">旧单信息</a></li>
|
|
22
23
|
</ul>
|
|
23
24
|
<div class="tab-content span">
|
|
24
25
|
<sell-info v-if="selectFiled=='购气记录'" :user="user" :clearflg="clearflg" style="font-size: 12px"></sell-info>
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
<tel-meteread-info v-if="selectFiled=='上报查询'" :user="user" :clearflg="clearflg" style="font-size: 12px"></tel-meteread-info>
|
|
32
33
|
<disable-information v-if="selectFiled=='停用信息'" :user="user" :clearflg="clearflg" style="font-size: 12px"></disable-information>
|
|
33
34
|
<repair-list v-if="selectFiled=='来电记录'" :user="user" :clearflg="clearflg" style="font-size: 12px"></repair-list>
|
|
34
|
-
|
|
35
|
+
<old-repair-list v-if="selectFiled=='旧单信息'" :user="user" :clearflg="clearflg" style="font-size: 12px"></old-repair-list>
|
|
35
36
|
</div>
|
|
36
37
|
|
|
37
38
|
</div>
|
|
@@ -81,12 +82,14 @@ export default {
|
|
|
81
82
|
},
|
|
82
83
|
|
|
83
84
|
ready () {
|
|
85
|
+
this.oldshow = this.$appdata.getSingleValue('旧工单信息显示') ? true : false
|
|
84
86
|
//tag
|
|
85
87
|
},
|
|
86
88
|
data () {
|
|
87
89
|
return {
|
|
88
90
|
a:'tabs-one',
|
|
89
|
-
selectFiled:'购气记录'
|
|
91
|
+
selectFiled:'购气记录',
|
|
92
|
+
oldshow:false
|
|
90
93
|
}
|
|
91
94
|
},
|
|
92
95
|
methods :{
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
<template partial='head'>
|
|
9
9
|
<tr>
|
|
10
10
|
<th><nobr>表号</nobr></th>
|
|
11
|
-
<!--<th><nobr>气表厂家</nobr></th>-->
|
|
12
11
|
<th><nobr>上报日期</nobr></th>
|
|
13
12
|
<th><nobr>本次抄表底数</nobr></th>
|
|
14
13
|
<th><nobr>表内剩余金额</nobr></th>
|
|
@@ -17,12 +16,10 @@
|
|
|
17
16
|
</template>
|
|
18
17
|
<template partial='body'>
|
|
19
18
|
<td style="text-align: center">{{row.f_meternumber}}</td>
|
|
20
|
-
<!--<td>{{row.f_manufacturers}}</td>-->
|
|
21
19
|
<td style="text-align: center">{{row.f_hand_date}}</td>
|
|
22
20
|
<td style="text-align: center">{{row.f_tablebase}}</td>
|
|
23
21
|
<td style="text-align: center">{{row.f_jval}}</td>
|
|
24
|
-
<td style="text-align: center"
|
|
25
|
-
<td style="text-align: center" v-else>关阀</td>
|
|
22
|
+
<td style="text-align: center">{{row.f_valvestate == '0' ? '开阀' : '关阀'}}</td>
|
|
26
23
|
</template>
|
|
27
24
|
</data-grid>
|
|
28
25
|
</criteria-paged>
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="pc-finduser-page">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged :simple="true">
|
|
4
|
+
<data-grid :model="model" partial='list' v-ref:grid
|
|
5
|
+
class="list_area table_sy">
|
|
6
|
+
<template partial='head'>
|
|
7
|
+
<tr>
|
|
8
|
+
<th><nobr>用户编号</nobr></th>
|
|
9
|
+
<th><nobr>用户信息</nobr></th>
|
|
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
|
+
<th><nobr>工单编号</nobr></th>
|
|
19
|
+
<th><nobr>处理方式</nobr></th>
|
|
20
|
+
<th><nobr>是否处理</nobr></th>
|
|
21
|
+
<th><nobr>派单人</nobr></th>
|
|
22
|
+
<th><nobr>派单时间</nobr></th>
|
|
23
|
+
<th><nobr>接单人信息</nobr></th>
|
|
24
|
+
<th><nobr>维修信息</nobr></th>
|
|
25
|
+
<th><nobr>完成状态</nobr></th>
|
|
26
|
+
<th><nobr>是否回访</nobr></th>
|
|
27
|
+
<th><nobr>回访人</nobr></th>
|
|
28
|
+
<th><nobr>用户意见</nobr>
|
|
29
|
+
</tr>
|
|
30
|
+
</template>
|
|
31
|
+
<template partial='body'>
|
|
32
|
+
<td>{{row.f_userid}}</td>
|
|
33
|
+
<td>{{row.f_username}} {{row.f_address}} {{row.f_phone}}</td>
|
|
34
|
+
<td>{{row.f_linktype}}</td>
|
|
35
|
+
<td>{{row.f_reporttime}}</td>
|
|
36
|
+
<td>{{row.f_meternumber}} {{row.f_metertype}} {{row.f_aroundmeter}}</td>
|
|
37
|
+
<td>{{row.f_metergasnums}}</td>
|
|
38
|
+
<td>{{row.f_teltype}}</td>
|
|
39
|
+
<td>{{row.f_repairtype}}</td>
|
|
40
|
+
<td>{{row.f_operator}} {{row.f_department}}</td>
|
|
41
|
+
<td>{{row.f_repairreason}}</td>
|
|
42
|
+
<td>{{row.f_cucode}}</td>
|
|
43
|
+
<td>{{row.f_dealtype}}</td>
|
|
44
|
+
<td>{{row.f_havadeal}}</td>
|
|
45
|
+
<td>{{row.f_sender}}</td>
|
|
46
|
+
<td>{{row.f_senddate}}</td>
|
|
47
|
+
<td>{{row.f_accepter}} {{row.f_acceptertel}}</td>
|
|
48
|
+
<td>{{row.f_smwxjl}}</td>
|
|
49
|
+
<td>{{row.f_havacomplete}}</td>
|
|
50
|
+
<td>{{row.f_ifvisit}}</td>
|
|
51
|
+
<td>{{row.f_visitren}}</td>
|
|
52
|
+
<td>{{row.f_consumeroption}}</td>
|
|
53
|
+
</template>
|
|
54
|
+
|
|
55
|
+
</data-grid>
|
|
56
|
+
</criteria-paged>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
|
|
60
|
+
<script>
|
|
61
|
+
/**
|
|
62
|
+
*用户档案相关信息组件
|
|
63
|
+
*/
|
|
64
|
+
import { PagedList } from 'vue-client'
|
|
65
|
+
export default {
|
|
66
|
+
title: '历史维修记录',
|
|
67
|
+
data () {
|
|
68
|
+
return {
|
|
69
|
+
model: new PagedList( 'rs/sql/tel_singleTable_OrderBy', 5,{items: '"*"', tablename: '"t_oldserviceworkorder"', orderitem: '"f_reporttime desc"'}),
|
|
70
|
+
show:false,
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
props: {
|
|
74
|
+
user: {
|
|
75
|
+
type: Object
|
|
76
|
+
},
|
|
77
|
+
callObj:{
|
|
78
|
+
type: Object
|
|
79
|
+
},
|
|
80
|
+
clearflg:0
|
|
81
|
+
},
|
|
82
|
+
methods: {
|
|
83
|
+
},
|
|
84
|
+
watch : {
|
|
85
|
+
'user' (val) {
|
|
86
|
+
this.model.rows = []
|
|
87
|
+
this.model.search(`f_userid = '${this.user.f_userinfo_code}'`)
|
|
88
|
+
|
|
89
|
+
},
|
|
90
|
+
'clearflg'(){
|
|
91
|
+
this.model.rows = []
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
ready () {
|
|
95
|
+
if (this.user && this.user.f_userinfo_code) {
|
|
96
|
+
this.model.search(`f_userid = '${this.user.f_userinfo_code}'`)
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
</script>
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
watch : {
|
|
109
109
|
'user' (val) {
|
|
110
110
|
this.model.rows = []
|
|
111
|
-
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
111
|
+
this.model.search(`tswo.f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
112
112
|
|
|
113
113
|
},
|
|
114
114
|
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
},
|
|
119
119
|
ready () {
|
|
120
120
|
if (this.user && this.user.f_userinfo_id) {
|
|
121
|
-
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
121
|
+
this.model.search(`tswo.f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
</v-select>
|
|
79
79
|
</div>
|
|
80
80
|
<div class="col-sm-9 form-group form-input-group" style="width: 80%" >
|
|
81
|
-
<label style="width: 100%;margin-right: 10px" class="font_normal_body"
|
|
81
|
+
<label style="width: 100%;margin-right: 10px" class="font_normal_body">呼入自助数:{{$parent.$parent.RecordAll.zizhu}} 呼入人工数:{{$parent.$parent.RecordAll.neixian}} 人工接听数:{{$parent.$parent.RecordAll.jieting}} 回访数:{{$parent.$parent.RecordAll.huchu}} 接线率:{{$parent.$parent.RecordAll.hflv}}% </label>
|
|
82
82
|
|
|
83
83
|
</div>
|
|
84
84
|
<!-- <div class="col-sm-1" style="float: right;margin-right: 40px" >-->
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
],
|
|
219
219
|
model: new PagedList('rs/sql/tel_recordlist', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
|
|
220
220
|
row: null,
|
|
221
|
-
RecordAll: {"huru":0,"zongshu":0,"jieting":0,"huchu":0,"neixian":0,"hflv":0,"jxlv":0},
|
|
221
|
+
RecordAll: {"huru":0,"zongshu":0,"jieting":0,"huchu":0,"neixian":0,"hflv":0,"jxlv":0,"zizhu":0},
|
|
222
222
|
cclist:{
|
|
223
223
|
type: Array,
|
|
224
224
|
default: null
|
|
@@ -199,7 +199,7 @@ export default {
|
|
|
199
199
|
resolveMsg: null,
|
|
200
200
|
rejectMsg: null
|
|
201
201
|
}).then((res) => {
|
|
202
|
-
let result = res.data.filter(res=>res.depids==Vue.user.depids)
|
|
202
|
+
let result = res.data.filter(res=>res.depids==Vue.user.depids && res.state == '在职')
|
|
203
203
|
result.forEach((item) => {
|
|
204
204
|
this.repairers.push({label: `${item.name} ${item.f_user_telephone}`, value: item.name})
|
|
205
205
|
|
|
@@ -213,7 +213,7 @@ export default {
|
|
|
213
213
|
}
|
|
214
214
|
http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
215
215
|
|
|
216
|
-
let result = res.data.filter(res=>res.depids==this.$login.f.depids)
|
|
216
|
+
let result = res.data.filter(res=>res.depids==this.$login.f.depids && res.state == '在职')
|
|
217
217
|
|
|
218
218
|
result.forEach((item) => {
|
|
219
219
|
this.repairers.push({label: `${item.name} ${item.f_user_telephone}`, value: item.name})
|
|
@@ -33,10 +33,11 @@
|
|
|
33
33
|
@click="$emit('cancel')">取消
|
|
34
34
|
</button>
|
|
35
35
|
|
|
36
|
-
<button style="float: right; margin-top: 25vh " type="button" name="button" class="button_search button_spacing" @click="worksend()">
|
|
36
|
+
<button v-if="rowlist.length===0" style="float: right; margin-top: 25vh " type="button" name="button" class="button_search button_spacing" @click="worksend()">
|
|
37
37
|
下发
|
|
38
38
|
</button>
|
|
39
|
-
|
|
39
|
+
<button v-if="!(rowlist.length===0) && !(source == 'mobile')" style="float: right; margin-top: 25vh" type="button" name="button" class="button_search button_spacing" @click="worksendall()">批量下发</button>
|
|
40
|
+
<!-- <button type="button" name="button" class="btn btn-success" @click="worksendall()" :disabled='btnshow' v-if="!source == 'mobile'">批量下发</button>-->
|
|
40
41
|
</div>
|
|
41
42
|
</template>
|
|
42
43
|
<script>
|
|
@@ -182,43 +183,33 @@ export default {
|
|
|
182
183
|
if (!this.row.serviceacitivity[0].f_reciever) {
|
|
183
184
|
return this.$showAlert('请选择维修人员', 'warning', 2000)
|
|
184
185
|
}
|
|
185
|
-
if (this.rowlist.length > 0
|
|
186
|
+
if (this.rowlist.length > 0) {
|
|
186
187
|
this.bartext = '正在批量下发' + this.rowlist.length + '个单子'
|
|
187
188
|
this.btnshow = true
|
|
188
189
|
this.$showAlert('正在批量下发,请稍等!!!!!', 'warning', 2000)
|
|
189
190
|
for (var index in this.rowlist) {
|
|
190
191
|
this.barperc = ((parseInt(index) + 1) * 100) / (parseInt(this.rowlist.length))
|
|
191
|
-
//this.barperc=parseInt((parseInt(index)+1)/this.rowlist.length)*100)
|
|
192
|
-
//tag
|
|
193
|
-
//tag
|
|
194
|
-
// let result = ''
|
|
195
|
-
// if(this.rowlist[index].f_repairtype == '置换通气'){
|
|
196
|
-
// result = this.getUserfile(this.rowlist[index])
|
|
197
|
-
// //tag)
|
|
198
|
-
// }
|
|
199
192
|
this.rowlist[index].serviceacitivity = this.row.serviceacitivity
|
|
200
193
|
let userdata = Object.assign({}, userdata, this.rowlist[index])
|
|
201
194
|
userdata.f_advice = this.f_advice
|
|
202
195
|
let data = {
|
|
203
196
|
model: userdata,
|
|
204
197
|
loginUser: {name: this.$login.f.name, ename: this.$login.f.ename}
|
|
205
|
-
// adduser:{userinfo: result, devices: []}
|
|
206
198
|
}
|
|
207
199
|
let gen = await this.sendmsg(data)
|
|
208
|
-
//tag
|
|
209
200
|
}
|
|
210
201
|
this.saveing = false
|
|
211
202
|
this.btnshow = false
|
|
212
203
|
this.barperc = 0
|
|
213
204
|
this.$showMessage('批量派发' + this.rowlist.length + '个单子成功', ['confirm']).then((res) => {
|
|
214
205
|
if (res === 'confirm') {
|
|
206
|
+
this.rowlist = []
|
|
215
207
|
this.$emit('success')
|
|
216
|
-
// this.cleardate()
|
|
217
208
|
}
|
|
218
209
|
})
|
|
219
210
|
//tag
|
|
220
211
|
} else {
|
|
221
|
-
this.$showMessage('
|
|
212
|
+
this.$showMessage('请先选择工单,再进行批量下发', ['confirm']).then((res) => {
|
|
222
213
|
if (res === 'confirm') {
|
|
223
214
|
//tag
|
|
224
215
|
}
|
|
@@ -262,7 +253,7 @@ export default {
|
|
|
262
253
|
}
|
|
263
254
|
http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
264
255
|
|
|
265
|
-
let result = res.data
|
|
256
|
+
let result = res.data
|
|
266
257
|
|
|
267
258
|
result.forEach((item) => {
|
|
268
259
|
this.repairers.push({label: item.name, value: item.name})
|