system-phone 3.0.49 → 3.1.0
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/images//346/211/223/345/215/241.png +0 -0
- package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
- package/src/assets//345/210/240/351/231/244/347/205/247/347/211/207.png +0 -0
- package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/233/236/350/256/277.png +0 -0
- package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
- package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
- package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
- package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
- package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
- package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
- package/src/assets//346/212/245/345/273/272/344/273/243/345/212/236.png +0 -0
- package/src/assets//346/226/275/345/260/201.png +0 -0
- package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
- package/src/assets//346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
- package/src/assets//347/205/247/347/211/207/345/210/240/351/231/244.png +0 -0
- package/src/assets//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/273/272/346/241/243.png +0 -0
- package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
- package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
- package/src/assets//347/273/264/344/277/256/350/256/260/345/275/225.png +0 -0
- package/src/assets//350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
- package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
- package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
- package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
- package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
- package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
- package/src/assets//351/235/236/346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
- package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/src/assets//351/246/226/351/241/265/345/244/247/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 +120 -1
- package/src/components/LoadAppdata.vue +38 -38
- package/src/components/LoginApp.vue +732 -724
- package/src/components/LoginAppNew.vue +587 -587
- package/src/components/LoginAppV4.vue +732 -0
- 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 +1 -1
- package/src/components/PhoneAllInfo.vue +68 -68
- package/src/components/PhoneChangemeterInfo.vue +116 -116
- package/src/components/PhoneImageInfo.vue +102 -0
- 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 +4 -4
- package/src/components/PhoneSellInfo.vue +148 -123
- 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/SystemSetUp.vue +332 -308
- package/src/components/TabBarPhone.vue +81 -81
- package/src/components/Test.vue +14 -14
- package/src/components/ToolsPage.vue +27 -4
- 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/yulinyuchuan/AlreadyService.vue +194 -0
- package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
- package/src/filiale/yulinyuchuan/LoginApp.vue +741 -0
- package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
- package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
- package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
- package/src/filiale/yulinyuchuan/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 +91 -63
- package/src/systemphone-gaomi.js +105 -105
- package/src/systemphone.js +60 -58
- package/src/systemphonegrid.js +15 -40
- 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,123 +1,148 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="panel panel-default auto repair-info-content">
|
|
3
|
-
<div class="panel-body" v-show="show">
|
|
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_pregas}}
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
-
购气金额: {{row.f_preamount}}
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
16
|
-
收费状态: {{row.f_state}}
|
|
17
|
-
</div>
|
|
18
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
19
|
-
收款: {{row.f_collection}}
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
22
|
-
缴费方式: {{row.f_payment}}
|
|
23
|
-
</div>
|
|
24
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
-
营业网点: {{row.f_depname}}
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
-
操作员: {{row.f_operator}}
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
31
|
-
购气时间: {{row.f_operate_date}}
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
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
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
this.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
|
3
|
+
<div class="panel-body" v-show="show">
|
|
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_pregas}}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
+
购气金额: {{row.f_preamount}}
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
16
|
+
收费状态: {{row.f_state}}
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
19
|
+
收款: {{row.f_collection}}
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
22
|
+
缴费方式: {{row.f_payment}}
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
25
|
+
营业网点: {{row.f_depname}}
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
28
|
+
操作员: {{row.f_operator}}
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
31
|
+
购气时间: {{row.f_operate_date}}
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div className="panel panel-default well">
|
|
40
|
+
<div className="bg-info">
|
|
41
|
+
<div className="row form-group">
|
|
42
|
+
<div className="col-xs-12 col-sm-12 col-md-12">
|
|
43
|
+
<div className="row">
|
|
44
|
+
<div className="col-xs-6 col-sm-6 col-md-6">
|
|
45
|
+
总购气量: {{ f_pregas_count }}
|
|
46
|
+
</div>
|
|
47
|
+
<div className="col-xs-6 col-sm-6 col-md-6">
|
|
48
|
+
总购气金额: {{ f_preamount_count }}
|
|
49
|
+
</div>
|
|
50
|
+
<div className="col-xs-6 col-sm-6 col-md-6">
|
|
51
|
+
购气次数: {{ model.length }}
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
<p v-show="model.length == 0 ">此用户暂无购气记录</p>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<script>
|
|
64
|
+
import { PagedList } from 'vue-client'
|
|
65
|
+
import co from 'co'
|
|
66
|
+
export default {
|
|
67
|
+
title: '查询用户',
|
|
68
|
+
data () {
|
|
69
|
+
return {
|
|
70
|
+
model: [],
|
|
71
|
+
f_pregas_count: 0,
|
|
72
|
+
f_preamount_count: 0,
|
|
73
|
+
show: false,
|
|
74
|
+
row: Object
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
props: {
|
|
78
|
+
user: {
|
|
79
|
+
type: Object
|
|
80
|
+
},
|
|
81
|
+
f_userinfo_id:''
|
|
82
|
+
},
|
|
83
|
+
methods: {
|
|
84
|
+
getmodel () {
|
|
85
|
+
let userinfoid
|
|
86
|
+
if(this.f_userinfo_id){
|
|
87
|
+
userinfoid = this.f_userinfo_id
|
|
88
|
+
}else{
|
|
89
|
+
userinfoid = this.user.f_userinfo_id
|
|
90
|
+
console.log(this.user.f_userinfo_id)
|
|
91
|
+
}
|
|
92
|
+
console.log(userinfoid)
|
|
93
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_operate_date desc', condition:`f_userinfo_id = '${userinfoid}'`}},{resolveMsg : null,rejectMsg :null}).then((row) => {
|
|
94
|
+
this.model = row.data
|
|
95
|
+
row.data.forEach(item => {
|
|
96
|
+
this.f_pregas_count += item.f_pregas
|
|
97
|
+
this.f_preamount_count += item.f_preamount
|
|
98
|
+
})
|
|
99
|
+
this.show=true
|
|
100
|
+
})
|
|
101
|
+
},
|
|
102
|
+
back(){
|
|
103
|
+
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
watch: {
|
|
107
|
+
'user' (val) {
|
|
108
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
109
|
+
if(this.user){
|
|
110
|
+
if (!(this.user.isNuN)) {
|
|
111
|
+
this.model= []
|
|
112
|
+
this.getmodel()
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
'f_userinfo_id'(){
|
|
117
|
+
if(this.f_userinfo_id){
|
|
118
|
+
this.model= []
|
|
119
|
+
this.getmodel()
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
ready () {
|
|
124
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
125
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
126
|
+
this.getmodel()
|
|
127
|
+
}
|
|
128
|
+
if(this.f_userinfo_id){
|
|
129
|
+
this.getmodel()
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
</script>
|
|
134
|
+
<style>
|
|
135
|
+
.app-botton {
|
|
136
|
+
position:fixed;
|
|
137
|
+
background: #87b2dd;
|
|
138
|
+
color: #FFF;
|
|
139
|
+
padding: 8px;
|
|
140
|
+
text-align: center;
|
|
141
|
+
font-size: 1.2em;
|
|
142
|
+
z-index: 10;
|
|
143
|
+
opacity:0.5;
|
|
144
|
+
bottom: 50px;
|
|
145
|
+
margin-top: -10px;
|
|
146
|
+
height: 40px;
|
|
147
|
+
}
|
|
148
|
+
</style>
|
|
@@ -1,112 +1,112 @@
|
|
|
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_pregas}}
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
-
购气金额: {{row.f_preamount}}
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
16
|
-
购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}}
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<p v-show="model.length == 0 && noExp ">此用户暂无购气记录</p>
|
|
25
|
-
<p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</template>
|
|
29
|
-
|
|
30
|
-
<script>
|
|
31
|
-
import { PagedList } from 'vue-client'
|
|
32
|
-
import co from 'co'
|
|
33
|
-
export default {
|
|
34
|
-
title: '查询用户',
|
|
35
|
-
data () {
|
|
36
|
-
return {
|
|
37
|
-
model: [],
|
|
38
|
-
show: false,
|
|
39
|
-
row: Object,
|
|
40
|
-
noExp: false,
|
|
41
|
-
expMsg: '查询中......'
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
props: {
|
|
45
|
-
user: {
|
|
46
|
-
type: Object
|
|
47
|
-
},
|
|
48
|
-
f_userinfo_id:''
|
|
49
|
-
},
|
|
50
|
-
methods: {
|
|
51
|
-
getmodel () {
|
|
52
|
-
let userinfoid
|
|
53
|
-
if(this.f_userinfo_id){
|
|
54
|
-
userinfoid = this.f_userinfo_id
|
|
55
|
-
}else{
|
|
56
|
-
userinfoid = this.user.f_userinfo_id
|
|
57
|
-
console.log(this.user.f_userinfo_id)
|
|
58
|
-
}
|
|
59
|
-
console.log(userinfoid)
|
|
60
|
-
this.noExp = false
|
|
61
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_delivery_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {
|
|
62
|
-
this.model = row.data
|
|
63
|
-
this.noExp = true
|
|
64
|
-
})
|
|
65
|
-
},
|
|
66
|
-
back(){
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
watch: {
|
|
71
|
-
'user' (val) {
|
|
72
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
73
|
-
if(this.user){
|
|
74
|
-
if (!(this.user.isNuN)) {
|
|
75
|
-
this.model= []
|
|
76
|
-
this.getmodel()
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
'f_userinfo_id'(){
|
|
81
|
-
if(this.f_userinfo_id){
|
|
82
|
-
this.model= []
|
|
83
|
-
this.getmodel()
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
ready () {
|
|
88
|
-
if (this.user && this.user.f_userinfo_id) {
|
|
89
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
90
|
-
this.getmodel()
|
|
91
|
-
}
|
|
92
|
-
if(this.f_userinfo_id){
|
|
93
|
-
this.getmodel()
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
</script>
|
|
98
|
-
<style>
|
|
99
|
-
.app-botton {
|
|
100
|
-
position:fixed;
|
|
101
|
-
background: #87b2dd;
|
|
102
|
-
color: #FFF;
|
|
103
|
-
padding: 8px;
|
|
104
|
-
text-align: center;
|
|
105
|
-
font-size: 1.2em;
|
|
106
|
-
z-index: 10;
|
|
107
|
-
opacity:0.5;
|
|
108
|
-
bottom: 50px;
|
|
109
|
-
margin-top: -10px;
|
|
110
|
-
height: 40px;
|
|
111
|
-
}
|
|
112
|
-
</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_pregas}}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
+
购气金额: {{row.f_preamount}}
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
16
|
+
购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}}
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<p v-show="model.length == 0 && noExp ">此用户暂无购气记录</p>
|
|
25
|
+
<p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script>
|
|
31
|
+
import { PagedList } from 'vue-client'
|
|
32
|
+
import co from 'co'
|
|
33
|
+
export default {
|
|
34
|
+
title: '查询用户',
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
model: [],
|
|
38
|
+
show: false,
|
|
39
|
+
row: Object,
|
|
40
|
+
noExp: false,
|
|
41
|
+
expMsg: '查询中......'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
props: {
|
|
45
|
+
user: {
|
|
46
|
+
type: Object
|
|
47
|
+
},
|
|
48
|
+
f_userinfo_id:''
|
|
49
|
+
},
|
|
50
|
+
methods: {
|
|
51
|
+
getmodel () {
|
|
52
|
+
let userinfoid
|
|
53
|
+
if(this.f_userinfo_id){
|
|
54
|
+
userinfoid = this.f_userinfo_id
|
|
55
|
+
}else{
|
|
56
|
+
userinfoid = this.user.f_userinfo_id
|
|
57
|
+
console.log(this.user.f_userinfo_id)
|
|
58
|
+
}
|
|
59
|
+
console.log(userinfoid)
|
|
60
|
+
this.noExp = false
|
|
61
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_delivery_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {
|
|
62
|
+
this.model = row.data
|
|
63
|
+
this.noExp = true
|
|
64
|
+
})
|
|
65
|
+
},
|
|
66
|
+
back(){
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
watch: {
|
|
71
|
+
'user' (val) {
|
|
72
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
73
|
+
if(this.user){
|
|
74
|
+
if (!(this.user.isNuN)) {
|
|
75
|
+
this.model= []
|
|
76
|
+
this.getmodel()
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
'f_userinfo_id'(){
|
|
81
|
+
if(this.f_userinfo_id){
|
|
82
|
+
this.model= []
|
|
83
|
+
this.getmodel()
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
ready () {
|
|
88
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
89
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
90
|
+
this.getmodel()
|
|
91
|
+
}
|
|
92
|
+
if(this.f_userinfo_id){
|
|
93
|
+
this.getmodel()
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
</script>
|
|
98
|
+
<style>
|
|
99
|
+
.app-botton {
|
|
100
|
+
position:fixed;
|
|
101
|
+
background: #87b2dd;
|
|
102
|
+
color: #FFF;
|
|
103
|
+
padding: 8px;
|
|
104
|
+
text-align: center;
|
|
105
|
+
font-size: 1.2em;
|
|
106
|
+
z-index: 10;
|
|
107
|
+
opacity:0.5;
|
|
108
|
+
bottom: 50px;
|
|
109
|
+
margin-top: -10px;
|
|
110
|
+
height: 40px;
|
|
111
|
+
}
|
|
112
|
+
</style>
|