system-phone 3.1.1 → 3.1.4
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/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/SystemPhone.iml +8 -8
- package/build/dev-server.js +141 -141
- package/build/webpack.base.conf.js +82 -82
- package/build.gradle +27 -27
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +183 -183
- package/gradlew.bat +100 -100
- package/index.html +21 -21
- package/package.json +1 -1
- package/src/App.vue +25 -25
- package/src/Util.js +415 -415
- package/src/assets//346/215/242/350/241/250/347/273/264/344/277/256.png +0 -0
- package/src/assets//351/200/232/347/224/250/350/203/214/346/231/257/345/233/276.png +0 -0
- package/src/components/AloneLoadParams.vue +26 -26
- package/src/components/AlreadyService.vue +193 -193
- package/src/components/AttendManage.vue +534 -534
- package/src/components/LoadAppdata.vue +38 -38
- package/src/components/LoginApp.vue +732 -732
- package/src/components/LoginAppNew.vue +587 -587
- package/src/components/LoginAppV4.vue +716 -716
- package/src/components/ModifyPassWord.vue +216 -216
- package/src/components/NavBottom.vue +117 -117
- package/src/components/NavBottomV.vue +141 -141
- package/src/components/NavBottomVVV.vue +185 -185
- package/src/components/OnlineManage.vue +256 -256
- package/src/components/PhoneAllInfo.vue +68 -68
- package/src/components/PhoneChangemeterInfo.vue +116 -116
- package/src/components/PhoneImageInfo.vue +102 -102
- package/src/components/PhoneInfoTable.vue +39 -39
- package/src/components/PhoneMeterInfo.vue +132 -132
- package/src/components/PhoneRepairInfo.vue +146 -146
- package/src/components/PhoneSafeInfo.vue +101 -101
- package/src/components/PhoneSellInfo.vue +148 -148
- package/src/components/PhoneSellInfoLite.vue +112 -112
- package/src/components/PhoneUser.vue +202 -202
- package/src/components/PhoneUserDetil.vue +70 -70
- package/src/components/PhoneUserFind.vue +138 -138
- package/src/components/RightTree.vue +217 -217
- package/src/components/SystemSetUp.vue +332 -332
- package/src/components/TabBarPhone.vue +81 -81
- package/src/components/Test.vue +14 -14
- package/src/components/ToolsPage.vue +199 -199
- package/src/components/UploadManage.vue +194 -194
- package/src/components/gaomi/NavBottomV.vue +223 -223
- package/src/components/gaomi/NavBottomVVVV.vue +210 -210
- package/src/components/gaomi/Scroller.vue +63 -63
- package/src/components/gaomi/SystemSetUp.vue +186 -186
- package/src/components/gaomi/ToolsPage.vue +168 -168
- package/src/components/idea/feedBack.vue +150 -150
- package/src/components/idea/feedbackAdd.vue +366 -366
- package/src/components/info/ConfigInfo.vue +122 -122
- package/src/components/info/FindUserInfo.vue +157 -157
- package/src/components/info/InfoTable.vue +37 -37
- package/src/components/iot/InstructMessage.vue +313 -313
- package/src/components/iot/IotBaseInfo.vue +97 -97
- package/src/components/iot/IotMeterInfo.vue +77 -77
- package/src/components/iot/iotMonitoringMain.vue +501 -501
- package/src/components/online/ApplyOnline.vue +581 -581
- package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
- package/src/components/screen/ChargeContentPage.vue +656 -656
- package/src/components/screen/ContentPage.vue +611 -611
- package/src/components/screen/GongdanContentPage.vue +149 -149
- package/src/components/screen/ListCountItem.vue +93 -93
- package/src/components/screen/ModuleTitle.vue +48 -48
- package/src/components/screen/SafeOrderContentPage.vue +440 -440
- package/src/components/screen/SecurityCheckItem.vue +50 -50
- package/src/components/screen/TotalItem.vue +76 -76
- package/src/components/screen/TotalUserNumber.vue +77 -77
- package/src/components/screen/WorkOrderItem.vue +51 -51
- package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
- package/src/components/screen/WorkOrderRightItem.vue +115 -115
- package/src/components/userinfo/paymentQuery.vue +189 -189
- package/src/components/userinfo/queryFile.vue +190 -190
- package/src/components/wasm.vue +18 -18
- package/src/expandcssAndroid.less +521 -521
- package/src/filiale/liaoyuan/NavBottomVVV.vue +186 -0
- package/src/filiale/liaoyuan/ToolsPage.vue +199 -0
- package/src/filiale/liaoyuan/systemphonegrid.js +5 -0
- package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -194
- package/src/filiale/yulinyuchuan/AttendManage.vue +537 -537
- package/src/filiale/yulinyuchuan/LoginApp.vue +741 -741
- package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -256
- package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -332
- package/src/filiale/yulinyuchuan/UploadManage.vue +195 -195
- package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -9
- package/src/filiale/yulinyuchuanTY/AlreadyService.vue +194 -0
- package/src/filiale/yulinyuchuanTY/AttendManage.vue +537 -0
- package/src/filiale/yulinyuchuanTY/LoginApp.vue +741 -0
- package/src/filiale/yulinyuchuanTY/OnlineManage.vue +256 -0
- package/src/filiale/yulinyuchuanTY/SystemSetUp.vue +332 -0
- package/src/filiale/yulinyuchuanTY/UploadManage.vue +195 -0
- package/src/filiale/yulinyuchuanTY/systemphonegrid.js +9 -0
- package/src/index.js +9 -9
- package/src/main.js +38 -38
- package/src/plugins/const.js +404 -404
- package/src/plugins/vue-py.js +37 -37
- package/src/stores/AppData.js +79 -79
- package/src/systemphone-gaomi.js +105 -105
- package/src/systemphone.js +60 -60
- package/src/systemphonegrid.js +185 -185
- package/src/util/LdapHelper.js +75 -75
- package/static/const.js +404 -404
- package/static/layui/font/iconfont.svg +554 -554
- package/static/vue-py.js +37 -37
- package/static/wasm_exec.js +465 -465
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="panel panel-default auto repair-info-content">
|
|
3
|
-
<div class="panel-body">
|
|
4
|
-
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
-
<div class="bg-info">
|
|
6
|
-
<div class="row form-group">
|
|
7
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
10
|
-
旧表号: {{row.f_old_meternumber}}
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
-
新表号: {{row.f_new_meternumber}}
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
16
|
-
旧表底数: {{row.f_new_meter_base}}
|
|
17
|
-
</div>
|
|
18
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
19
|
-
新表底数: {{row.f_old_meter_base}}
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
22
|
-
旧表品牌: {{row.f_old_meter_brand}}
|
|
23
|
-
</div>
|
|
24
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
-
新表品牌: {{row.f_new_meter_brand}}
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
-
换表补气金额: {{row.f_newtable_fillfee}}
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
31
|
-
换表补气气量: {{row.f_newtable_fillgas}}
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<p v-show="model.length == 0 ">此用户暂无换表记录</p>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script>
|
|
45
|
-
import { PagedList } from 'vue-client'
|
|
46
|
-
import { HttpResetClass } from 'vue-client'
|
|
47
|
-
import co from 'co'
|
|
48
|
-
export default {
|
|
49
|
-
title: '换表记录',
|
|
50
|
-
data () {
|
|
51
|
-
return {
|
|
52
|
-
model: [],
|
|
53
|
-
show: false,
|
|
54
|
-
row: Object
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
props: {
|
|
58
|
-
user: {
|
|
59
|
-
type: Object
|
|
60
|
-
},
|
|
61
|
-
f_userinfo_id:''
|
|
62
|
-
},
|
|
63
|
-
methods: {
|
|
64
|
-
getmodel () {
|
|
65
|
-
let userinfoid
|
|
66
|
-
if(this.f_userinfo_id){
|
|
67
|
-
userinfoid = this.f_userinfo_id
|
|
68
|
-
}else{
|
|
69
|
-
userinfoid = this.user.f_userinfo_id
|
|
70
|
-
console.log(this.user.f_userinfo_id)
|
|
71
|
-
}
|
|
72
|
-
console.log(userinfoid)
|
|
73
|
-
let http = new HttpResetClass()
|
|
74
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getChangeTable`, {
|
|
75
|
-
data: {
|
|
76
|
-
items: "*",
|
|
77
|
-
tablename: "t_userfiles",
|
|
78
|
-
condition: `f_userinfo_id = '${userinfoid}'`
|
|
79
|
-
}
|
|
80
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
81
|
-
|
|
82
|
-
this.model=res.data
|
|
83
|
-
this.show1=true
|
|
84
|
-
})
|
|
85
|
-
},
|
|
86
|
-
back(){
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
watch: {
|
|
91
|
-
'user' (val) {
|
|
92
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
93
|
-
if(this.user){
|
|
94
|
-
if (!(this.user.isNuN)) {
|
|
95
|
-
this.model= []
|
|
96
|
-
this.getmodel()
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
'f_userinfo_id'(){
|
|
101
|
-
if(this.f_userinfo_id){
|
|
102
|
-
this.model= []
|
|
103
|
-
this.getmodel()
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
ready () {
|
|
108
|
-
if (this.user && this.user.f_userinfo_id) {
|
|
109
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
110
|
-
this.getmodel()
|
|
111
|
-
}
|
|
112
|
-
if(this.f_userinfo_id){
|
|
113
|
-
this.getmodel()
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
</script>
|
|
118
|
-
<style>
|
|
119
|
-
.app-botton {
|
|
120
|
-
position:fixed;
|
|
121
|
-
background: #87b2dd;
|
|
122
|
-
color: #FFF;
|
|
123
|
-
padding: 8px;
|
|
124
|
-
text-align: center;
|
|
125
|
-
font-size: 1.2em;
|
|
126
|
-
z-index: 10;
|
|
127
|
-
opacity:0.5;
|
|
128
|
-
bottom: 50px;
|
|
129
|
-
margin-top: -10px;
|
|
130
|
-
height: 40px;
|
|
131
|
-
}
|
|
132
|
-
</style>
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
|
3
|
+
<div class="panel-body">
|
|
4
|
+
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
+
<div class="bg-info">
|
|
6
|
+
<div class="row form-group">
|
|
7
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
10
|
+
旧表号: {{row.f_old_meternumber}}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
+
新表号: {{row.f_new_meternumber}}
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
16
|
+
旧表底数: {{row.f_new_meter_base}}
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
19
|
+
新表底数: {{row.f_old_meter_base}}
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
22
|
+
旧表品牌: {{row.f_old_meter_brand}}
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
+
新表品牌: {{row.f_new_meter_brand}}
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
+
换表补气金额: {{row.f_newtable_fillfee}}
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
31
|
+
换表补气气量: {{row.f_newtable_fillgas}}
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<p v-show="model.length == 0 ">此用户暂无换表记录</p>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script>
|
|
45
|
+
import { PagedList } from 'vue-client'
|
|
46
|
+
import { HttpResetClass } from 'vue-client'
|
|
47
|
+
import co from 'co'
|
|
48
|
+
export default {
|
|
49
|
+
title: '换表记录',
|
|
50
|
+
data () {
|
|
51
|
+
return {
|
|
52
|
+
model: [],
|
|
53
|
+
show: false,
|
|
54
|
+
row: Object
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
props: {
|
|
58
|
+
user: {
|
|
59
|
+
type: Object
|
|
60
|
+
},
|
|
61
|
+
f_userinfo_id:''
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
getmodel () {
|
|
65
|
+
let userinfoid
|
|
66
|
+
if(this.f_userinfo_id){
|
|
67
|
+
userinfoid = this.f_userinfo_id
|
|
68
|
+
}else{
|
|
69
|
+
userinfoid = this.user.f_userinfo_id
|
|
70
|
+
console.log(this.user.f_userinfo_id)
|
|
71
|
+
}
|
|
72
|
+
console.log(userinfoid)
|
|
73
|
+
let http = new HttpResetClass()
|
|
74
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getChangeTable`, {
|
|
75
|
+
data: {
|
|
76
|
+
items: "*",
|
|
77
|
+
tablename: "t_userfiles",
|
|
78
|
+
condition: `f_userinfo_id = '${userinfoid}'`
|
|
79
|
+
}
|
|
80
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
81
|
+
|
|
82
|
+
this.model=res.data
|
|
83
|
+
this.show1=true
|
|
84
|
+
})
|
|
85
|
+
},
|
|
86
|
+
back(){
|
|
87
|
+
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
watch: {
|
|
91
|
+
'user' (val) {
|
|
92
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
93
|
+
if(this.user){
|
|
94
|
+
if (!(this.user.isNuN)) {
|
|
95
|
+
this.model= []
|
|
96
|
+
this.getmodel()
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
'f_userinfo_id'(){
|
|
101
|
+
if(this.f_userinfo_id){
|
|
102
|
+
this.model= []
|
|
103
|
+
this.getmodel()
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
ready () {
|
|
108
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
109
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
110
|
+
this.getmodel()
|
|
111
|
+
}
|
|
112
|
+
if(this.f_userinfo_id){
|
|
113
|
+
this.getmodel()
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
</script>
|
|
118
|
+
<style>
|
|
119
|
+
.app-botton {
|
|
120
|
+
position:fixed;
|
|
121
|
+
background: #87b2dd;
|
|
122
|
+
color: #FFF;
|
|
123
|
+
padding: 8px;
|
|
124
|
+
text-align: center;
|
|
125
|
+
font-size: 1.2em;
|
|
126
|
+
z-index: 10;
|
|
127
|
+
opacity:0.5;
|
|
128
|
+
bottom: 50px;
|
|
129
|
+
margin-top: -10px;
|
|
130
|
+
height: 40px;
|
|
131
|
+
}
|
|
132
|
+
</style>
|
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="panel panel-default auto repair-info-content">
|
|
3
|
-
<div class="panel-body">
|
|
4
|
-
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
-
<div class="bg-info">
|
|
6
|
-
<div class="row form-group">
|
|
7
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
10
|
-
工单编号: {{row.f_service_id}}
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
-
电话: {{row.f_contact_phone}}
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
16
|
-
维修状态: {{row.processins.activities[row.processins.activities.length-1].defname}}
|
|
17
|
-
</div>
|
|
18
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
19
|
-
派单时间: {{row.f_created_date}}
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
22
|
-
结束时间: {{row.serviceacitivity[row.serviceacitivity.length-1].f_date_leave}}
|
|
23
|
-
</div>
|
|
24
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
-
维修员: {{row.f_order_man}}
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
-
购气时间: {{getfailure(row.failure)}}
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<p v-show="model.length == 0 ">此用户暂无维修记录</p>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script>
|
|
41
|
-
import { PagedList } from 'vue-client'
|
|
42
|
-
import { HttpResetClass } from 'vue-client'
|
|
43
|
-
import co from 'co'
|
|
44
|
-
export default {
|
|
45
|
-
title: '查询用户',
|
|
46
|
-
data () {
|
|
47
|
-
return {
|
|
48
|
-
model: [],
|
|
49
|
-
show: false,
|
|
50
|
-
row: Object
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
props: {
|
|
54
|
-
user: {
|
|
55
|
-
type: Object
|
|
56
|
-
},
|
|
57
|
-
f_userinfo_id:''
|
|
58
|
-
},
|
|
59
|
-
methods: {
|
|
60
|
-
getmodel () {
|
|
61
|
-
let userinfoid
|
|
62
|
-
if(this.f_userinfo_id){
|
|
63
|
-
userinfoid = this.f_userinfo_id
|
|
64
|
-
}else{
|
|
65
|
-
userinfoid = this.user.f_userinfo_id
|
|
66
|
-
console.log(this.user.f_userinfo_id)
|
|
67
|
-
}
|
|
68
|
-
console.log(userinfoid)
|
|
69
|
-
let http=new HttpResetClass
|
|
70
|
-
http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/path/serviceSummery`, {data:{condition: {condition1: `f_userinfo_id = '${userinfoid}'`, condition2: "", condition3: "1=1", condition4: "1=1"}}}, {resolveMsg: null, rejectMsg: null}).then((row) => {
|
|
71
|
-
|
|
72
|
-
this.model = row.data
|
|
73
|
-
console.log("model=========="+JSON.stringify(this.model))
|
|
74
|
-
})
|
|
75
|
-
},
|
|
76
|
-
getfailure(failure){
|
|
77
|
-
let failureJson=JSON.parse(failure)
|
|
78
|
-
let showfailure=''
|
|
79
|
-
for (let i = 0; i <failureJson.length ; i++) {
|
|
80
|
-
let fault=failureJson[i]
|
|
81
|
-
if (fault.f_failure_type){
|
|
82
|
-
console.log(fault.f_failure_type)
|
|
83
|
-
showfailure+=fault.f_failure_type+":"
|
|
84
|
-
}
|
|
85
|
-
if (fault.f_equipment){
|
|
86
|
-
console.log(fault.f_equipment)
|
|
87
|
-
showfailure+=fault.f_equipment+","
|
|
88
|
-
}
|
|
89
|
-
if (fault.failurecase){
|
|
90
|
-
for (let j = 0; j <fault.failurecase.length ; j++) {
|
|
91
|
-
if (i==failureJson.length-1&&j==fault.failurecase.length-1){
|
|
92
|
-
showfailure+=fault.failurecase[j]+"."
|
|
93
|
-
}else {
|
|
94
|
-
showfailure+=fault.failurecase[j]+","
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return showfailure
|
|
100
|
-
},
|
|
101
|
-
back(){
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
watch: {
|
|
106
|
-
'user' (val) {
|
|
107
|
-
if(this.user){
|
|
108
|
-
if (!(this.user.isNuN)) {
|
|
109
|
-
this.model= []
|
|
110
|
-
this.getmodel()
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
'f_userinfo_id'(){
|
|
115
|
-
if(this.f_userinfo_id){
|
|
116
|
-
this.model= []
|
|
117
|
-
this.getmodel()
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
ready () {
|
|
122
|
-
console.log("进去维修组件的ready=====================>"+this.f_userinfo_id)
|
|
123
|
-
if (this.user && this.user.f_userinfo_id) {
|
|
124
|
-
this.getmodel()
|
|
125
|
-
}
|
|
126
|
-
if(this.f_userinfo_id){
|
|
127
|
-
this.getmodel()
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
</script>
|
|
132
|
-
<style>
|
|
133
|
-
.app-botton {
|
|
134
|
-
position:fixed;
|
|
135
|
-
background: #87b2dd;
|
|
136
|
-
color: #FFF;
|
|
137
|
-
padding: 8px;
|
|
138
|
-
text-align: center;
|
|
139
|
-
font-size: 1.2em;
|
|
140
|
-
z-index: 10;
|
|
141
|
-
opacity:0.5;
|
|
142
|
-
bottom: 50px;
|
|
143
|
-
margin-top: -10px;
|
|
144
|
-
height: 40px;
|
|
145
|
-
}
|
|
146
|
-
</style>
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
|
3
|
+
<div class="panel-body">
|
|
4
|
+
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
+
<div class="bg-info">
|
|
6
|
+
<div class="row form-group">
|
|
7
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
10
|
+
工单编号: {{row.f_service_id}}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
+
电话: {{row.f_contact_phone}}
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
16
|
+
维修状态: {{row.processins.activities[row.processins.activities.length-1].defname}}
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
19
|
+
派单时间: {{row.f_created_date}}
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
22
|
+
结束时间: {{row.serviceacitivity[row.serviceacitivity.length-1].f_date_leave}}
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
+
维修员: {{row.f_order_man}}
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
+
购气时间: {{getfailure(row.failure)}}
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<p v-show="model.length == 0 ">此用户暂无维修记录</p>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<script>
|
|
41
|
+
import { PagedList } from 'vue-client'
|
|
42
|
+
import { HttpResetClass } from 'vue-client'
|
|
43
|
+
import co from 'co'
|
|
44
|
+
export default {
|
|
45
|
+
title: '查询用户',
|
|
46
|
+
data () {
|
|
47
|
+
return {
|
|
48
|
+
model: [],
|
|
49
|
+
show: false,
|
|
50
|
+
row: Object
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
props: {
|
|
54
|
+
user: {
|
|
55
|
+
type: Object
|
|
56
|
+
},
|
|
57
|
+
f_userinfo_id:''
|
|
58
|
+
},
|
|
59
|
+
methods: {
|
|
60
|
+
getmodel () {
|
|
61
|
+
let userinfoid
|
|
62
|
+
if(this.f_userinfo_id){
|
|
63
|
+
userinfoid = this.f_userinfo_id
|
|
64
|
+
}else{
|
|
65
|
+
userinfoid = this.user.f_userinfo_id
|
|
66
|
+
console.log(this.user.f_userinfo_id)
|
|
67
|
+
}
|
|
68
|
+
console.log(userinfoid)
|
|
69
|
+
let http=new HttpResetClass
|
|
70
|
+
http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/path/serviceSummery`, {data:{condition: {condition1: `f_userinfo_id = '${userinfoid}'`, condition2: "", condition3: "1=1", condition4: "1=1"}}}, {resolveMsg: null, rejectMsg: null}).then((row) => {
|
|
71
|
+
|
|
72
|
+
this.model = row.data
|
|
73
|
+
console.log("model=========="+JSON.stringify(this.model))
|
|
74
|
+
})
|
|
75
|
+
},
|
|
76
|
+
getfailure(failure){
|
|
77
|
+
let failureJson=JSON.parse(failure)
|
|
78
|
+
let showfailure=''
|
|
79
|
+
for (let i = 0; i <failureJson.length ; i++) {
|
|
80
|
+
let fault=failureJson[i]
|
|
81
|
+
if (fault.f_failure_type){
|
|
82
|
+
console.log(fault.f_failure_type)
|
|
83
|
+
showfailure+=fault.f_failure_type+":"
|
|
84
|
+
}
|
|
85
|
+
if (fault.f_equipment){
|
|
86
|
+
console.log(fault.f_equipment)
|
|
87
|
+
showfailure+=fault.f_equipment+","
|
|
88
|
+
}
|
|
89
|
+
if (fault.failurecase){
|
|
90
|
+
for (let j = 0; j <fault.failurecase.length ; j++) {
|
|
91
|
+
if (i==failureJson.length-1&&j==fault.failurecase.length-1){
|
|
92
|
+
showfailure+=fault.failurecase[j]+"."
|
|
93
|
+
}else {
|
|
94
|
+
showfailure+=fault.failurecase[j]+","
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return showfailure
|
|
100
|
+
},
|
|
101
|
+
back(){
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
watch: {
|
|
106
|
+
'user' (val) {
|
|
107
|
+
if(this.user){
|
|
108
|
+
if (!(this.user.isNuN)) {
|
|
109
|
+
this.model= []
|
|
110
|
+
this.getmodel()
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
'f_userinfo_id'(){
|
|
115
|
+
if(this.f_userinfo_id){
|
|
116
|
+
this.model= []
|
|
117
|
+
this.getmodel()
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
ready () {
|
|
122
|
+
console.log("进去维修组件的ready=====================>"+this.f_userinfo_id)
|
|
123
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
124
|
+
this.getmodel()
|
|
125
|
+
}
|
|
126
|
+
if(this.f_userinfo_id){
|
|
127
|
+
this.getmodel()
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
</script>
|
|
132
|
+
<style>
|
|
133
|
+
.app-botton {
|
|
134
|
+
position:fixed;
|
|
135
|
+
background: #87b2dd;
|
|
136
|
+
color: #FFF;
|
|
137
|
+
padding: 8px;
|
|
138
|
+
text-align: center;
|
|
139
|
+
font-size: 1.2em;
|
|
140
|
+
z-index: 10;
|
|
141
|
+
opacity:0.5;
|
|
142
|
+
bottom: 50px;
|
|
143
|
+
margin-top: -10px;
|
|
144
|
+
height: 40px;
|
|
145
|
+
}
|
|
146
|
+
</style>
|