system-phone 3.1.63 → 3.1.64
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 +1 -1
- package/src/components/info/FindUserInfo.vue +176 -202
- package/src/filiale/gongyi/LoginApp.vue +706 -706
- package/src/filiale/gongyi/systemphonegrid.js +4 -4
- package/src/filiale/meihekou/LoginAppV4.vue +821 -821
- package/src/filiale/meihekou/systemphonegrid.js +4 -4
- package/src/filiale/yangchunboneng/FindUserInfo.vue +202 -202
- package/src/filiale/yangchunboneng/systemphonegrid.js +6 -6
package/package.json
CHANGED
|
@@ -1,202 +1,176 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <div class="app-botton" @click="back()" v-if="show">-->
|
|
3
|
-
<!-- <span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
4
|
-
<!-- </div>-->
|
|
5
|
-
<div class="select-overspread auto" style="padding-bottom:5px;">
|
|
6
|
-
<div class="auto repair-info-content compatible">
|
|
7
|
-
<div class="row" style="display: flex;align-items: center">
|
|
8
|
-
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
9
|
-
模糊查询:
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
12
|
-
<input type="text" class="form-control" v-model="model.f_userinfo" placeholder='模糊查询'>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="row" style="display: flex;align-items: center">
|
|
16
|
-
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
17
|
-
用户编号:
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
20
|
-
<input type="text" class="form-control" v-model="model.f_userid"
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="row" style="display: flex;align-items: center">
|
|
24
|
-
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
25
|
-
用户姓名:
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
28
|
-
<input type="text" class="form-control" v-model="model.f_username"
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="row" style="display: flex;align-items: center">
|
|
32
|
-
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
33
|
-
用户地址:
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
36
|
-
<input type="text" class="form-control" v-model="model.f_address"
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="row" style="text-align: center;margin-top: 30px;margin-bottom: 30px">
|
|
40
|
-
<button style="width: 70%" type="button" name="button" class="btn btn-primary" @click="search()">查询</button>
|
|
41
|
-
<!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
|
|
45
|
-
<div class="panel-body inbg" @click="selectUser(row)">
|
|
46
|
-
<div class="row auto">
|
|
47
|
-
<div class="col-sm-4">
|
|
48
|
-
用户编号: {{
|
|
49
|
-
</div>
|
|
50
|
-
<div class="col-sm-4">
|
|
51
|
-
用户姓名: {{
|
|
52
|
-
</div>
|
|
53
|
-
<div class="col-sm-4">
|
|
54
|
-
用户电话: {{
|
|
55
|
-
</div>
|
|
56
|
-
<div class="col-sm-3">
|
|
57
|
-
用户类别: {{
|
|
58
|
-
</div>
|
|
59
|
-
<div class="col-sm-9">
|
|
60
|
-
地址信息: {{
|
|
61
|
-
</div>
|
|
62
|
-
<div class="col-sm-6">
|
|
63
|
-
表底数: {{
|
|
64
|
-
</div>
|
|
65
|
-
<div class="col-sm-6">
|
|
66
|
-
表上余额: {{
|
|
67
|
-
</div>
|
|
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
|
-
|
|
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
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
this.users = res.data
|
|
178
|
-
})
|
|
179
|
-
} else {
|
|
180
|
-
HostApp.alert('读卡异常,请检查读卡设备!')
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
ready() {
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
</script>
|
|
188
|
-
<style>
|
|
189
|
-
.app-botton {
|
|
190
|
-
position: fixed;
|
|
191
|
-
background: #87b2dd;
|
|
192
|
-
color: #FFF;
|
|
193
|
-
padding: 8px;
|
|
194
|
-
text-align: center;
|
|
195
|
-
font-size: 1.2em;
|
|
196
|
-
z-index: 10;
|
|
197
|
-
opacity: 0.5;
|
|
198
|
-
bottom: 50px;
|
|
199
|
-
margin-top: -10px;
|
|
200
|
-
height: 40px;
|
|
201
|
-
}
|
|
202
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <div class="app-botton" @click="back()" v-if="show">-->
|
|
3
|
+
<!-- <span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
4
|
+
<!-- </div>-->
|
|
5
|
+
<div class="select-overspread auto" style="padding-bottom:5px;">
|
|
6
|
+
<div class="auto repair-info-content compatible">
|
|
7
|
+
<div class="row" style="display: flex;align-items: center">
|
|
8
|
+
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
9
|
+
模糊查询:
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
12
|
+
<input type="text" class="form-control" v-model="model.f_userinfo" placeholder='模糊查询'>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="row" style="display: flex;align-items: center">
|
|
16
|
+
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
17
|
+
用户编号:
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
20
|
+
<input type="text" class="form-control" v-model="model.f_userid" placeholder='用户编号'>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="row" style="display: flex;align-items: center">
|
|
24
|
+
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
25
|
+
用户姓名:
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
28
|
+
<input type="text" class="form-control" v-model="model.f_username" placeholder='用户姓名'>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="row" style="display: flex;align-items: center">
|
|
32
|
+
<div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
|
|
33
|
+
用户地址:
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
|
|
36
|
+
<input type="text" class="form-control" v-model="model.f_address" placeholder='用户地址'>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="row" style="text-align: center;margin-top: 30px;margin-bottom: 30px" >
|
|
40
|
+
<button style="width: 70%" type="button" name="button" class="btn btn-primary" @click="search()">查询</button>
|
|
41
|
+
<!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
|
|
45
|
+
<div class="panel-body inbg" @click="selectUser(row)">
|
|
46
|
+
<div class="row auto" >
|
|
47
|
+
<div class="col-sm-4">
|
|
48
|
+
用户编号: {{row.f_userinfo_code}}
|
|
49
|
+
</div>
|
|
50
|
+
<div class="col-sm-4">
|
|
51
|
+
用户姓名: {{row.f_user_name}}
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-sm-4">
|
|
54
|
+
用户电话: {{row.f_user_phone}}
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-sm-3">
|
|
57
|
+
用户类别: {{row.f_user_type}}
|
|
58
|
+
</div>
|
|
59
|
+
<div class="col-sm-9">
|
|
60
|
+
地址信息: {{row.f_address}}
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-sm-6">
|
|
63
|
+
表底数: {{row.f_meter_base}}
|
|
64
|
+
</div>
|
|
65
|
+
<div class="col-sm-6">
|
|
66
|
+
表上余额: {{row.f_balance_amount}}
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
<!-- <phone-info-table :user="user" :is-need-condition="false" :is-group="false" v-if="show"></phone-info-table>-->
|
|
73
|
+
</template>
|
|
74
|
+
|
|
75
|
+
<script>
|
|
76
|
+
import Vue from 'vue'
|
|
77
|
+
import { HttpResetClass } from 'vue-client'
|
|
78
|
+
export default {
|
|
79
|
+
title: '移动端用户信息查询',
|
|
80
|
+
props: {
|
|
81
|
+
|
|
82
|
+
},
|
|
83
|
+
data () {
|
|
84
|
+
return {
|
|
85
|
+
users:[],
|
|
86
|
+
model:{
|
|
87
|
+
f_userid:'',
|
|
88
|
+
f_username:'',
|
|
89
|
+
f_address:''
|
|
90
|
+
},
|
|
91
|
+
user:'',
|
|
92
|
+
show:false
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
methods: {
|
|
96
|
+
search() {
|
|
97
|
+
// console.log("Vue.user",Vue.user)
|
|
98
|
+
this.model.f_userid ? this.model.f_userid : '1=1'
|
|
99
|
+
let condition = `ti.f_orgid = '${Vue.user.orgid}'`
|
|
100
|
+
condition += this.model.f_userid ? ` and ti.f_userinfo_code = '${this.model.f_userid}'` : ' and 1=1'
|
|
101
|
+
condition += this.model.f_username ? ` and ti.f_user_name like '%${this.model.f_username}%'` : ' and 1=1'
|
|
102
|
+
condition += this.model.f_address ? ` and tua.f_address like '%${this.model.f_address}%'` : ' and 1=1'
|
|
103
|
+
if (this.model.f_userinfo){
|
|
104
|
+
condition += ` and (
|
|
105
|
+
ti.f_userinfo_code like '%${this.model.f_userinfo}%'
|
|
106
|
+
or ti.f_user_name like '%${this.model.f_userinfo}%'
|
|
107
|
+
or ti.f_user_phone like '%${this.model.f_userinfo}%'
|
|
108
|
+
or f_meternumber like '%${this.model.f_userinfo}%'
|
|
109
|
+
or tua.f_address like '%${this.model.f_userinfo}%'
|
|
110
|
+
or ti.f_rent_phone like '${this.model.f_userinfo}'
|
|
111
|
+
or ti.f_zuhu_phone like '${this.model.f_userinfo}'
|
|
112
|
+
)`
|
|
113
|
+
}
|
|
114
|
+
console.log(condition)
|
|
115
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
116
|
+
data: {
|
|
117
|
+
condition:condition
|
|
118
|
+
}
|
|
119
|
+
},{rejectMsg:null,resolveMsg:null}).then((res) => {
|
|
120
|
+
console.log("查找用户返回的结果")
|
|
121
|
+
console.log(res.data)
|
|
122
|
+
this.users = res.data
|
|
123
|
+
})
|
|
124
|
+
},
|
|
125
|
+
selectUser(row){
|
|
126
|
+
this.user = row
|
|
127
|
+
var prpdata = {
|
|
128
|
+
_this:this,
|
|
129
|
+
title:"用户信息",
|
|
130
|
+
safe:false
|
|
131
|
+
}
|
|
132
|
+
this.$dispatch('gotoson',prpdata)
|
|
133
|
+
this.$goto('info-table',{user:row,},'self')
|
|
134
|
+
},
|
|
135
|
+
back(){
|
|
136
|
+
this.show = false
|
|
137
|
+
},
|
|
138
|
+
read(){
|
|
139
|
+
// 读卡
|
|
140
|
+
let res = HostApp.read()
|
|
141
|
+
if(res.code == 200){
|
|
142
|
+
let cardid = res.msg.CardID
|
|
143
|
+
let condition1 = `tf.f_card_id = '${cardid}'`
|
|
144
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
145
|
+
data: {
|
|
146
|
+
condition:condition1
|
|
147
|
+
}
|
|
148
|
+
}).then((res) => {
|
|
149
|
+
console.log("查找用户返回的结果")
|
|
150
|
+
console.log(res.data)
|
|
151
|
+
this.users = res.data
|
|
152
|
+
})
|
|
153
|
+
}else{
|
|
154
|
+
HostApp.alert('读卡异常,请检查读卡设备!')
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
ready(){
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
</script>
|
|
162
|
+
<style>
|
|
163
|
+
.app-botton {
|
|
164
|
+
position:fixed;
|
|
165
|
+
background: #87b2dd;
|
|
166
|
+
color: #FFF;
|
|
167
|
+
padding: 8px;
|
|
168
|
+
text-align: center;
|
|
169
|
+
font-size: 1.2em;
|
|
170
|
+
z-index: 10;
|
|
171
|
+
opacity:0.5;
|
|
172
|
+
bottom: 50px;
|
|
173
|
+
margin-top: -10px;
|
|
174
|
+
height: 40px;
|
|
175
|
+
}
|
|
176
|
+
</style>
|