system-phone 3.1.1 → 3.1.2
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/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,122 +1,122 @@
|
|
|
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" v-for="item in dataConfig">
|
|
9
|
-
<div class="col-xs-4 col-sm-4 col-md-4">
|
|
10
|
-
{{item.value}}:
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-xs-8 col-sm-8 col-md-8">
|
|
13
|
-
{{row[item.name]}}
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<p v-show="model.length == 0 ">此用户暂无购气记录</p>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script>
|
|
26
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
27
|
-
import co from 'co'
|
|
28
|
-
export default {
|
|
29
|
-
title: '查询用户',
|
|
30
|
-
data () {
|
|
31
|
-
return {
|
|
32
|
-
model: [],
|
|
33
|
-
show: false,
|
|
34
|
-
row: Object,
|
|
35
|
-
dataConfig:[]
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
props: {
|
|
39
|
-
user: {
|
|
40
|
-
type: Object
|
|
41
|
-
},
|
|
42
|
-
f_userinfo_id:'',
|
|
43
|
-
config:"",
|
|
44
|
-
},
|
|
45
|
-
methods: {
|
|
46
|
-
convertArray(arr) {
|
|
47
|
-
return arr.map(obj => {
|
|
48
|
-
const key = Object.keys(obj)[0];
|
|
49
|
-
return {
|
|
50
|
-
name: key,
|
|
51
|
-
value: obj[key]
|
|
52
|
-
};
|
|
53
|
-
});
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
getmodel () {
|
|
57
|
-
let userinfoid
|
|
58
|
-
if(this.f_userinfo_id){
|
|
59
|
-
userinfoid = this.f_userinfo_id
|
|
60
|
-
}else{
|
|
61
|
-
userinfoid = this.user.f_userinfo_id
|
|
62
|
-
console.log(this.user.f_userinfo_id)
|
|
63
|
-
}
|
|
64
|
-
console.log(userinfoid)
|
|
65
|
-
new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/geUserInfoIdData`, {data: {condition:`f_userinfo_id = '${userinfoid}'`,type:this.config}},{resolveMsg : null,rejectMsg :null}).then((row) => {
|
|
66
|
-
console.log("9898988",row)
|
|
67
|
-
if(row.data.state===200){
|
|
68
|
-
this.model = row.data.userdata
|
|
69
|
-
this.dataConfig = this.convertArray(row.data.filename)
|
|
70
|
-
this.show=true
|
|
71
|
-
}
|
|
72
|
-
})
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
back(){
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
watch: {
|
|
80
|
-
'user' (val) {
|
|
81
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
82
|
-
if(this.user){
|
|
83
|
-
if (!(this.user.isNuN)) {
|
|
84
|
-
this.model= []
|
|
85
|
-
this.getmodel()
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
'f_userinfo_id'(){
|
|
90
|
-
if(this.f_userinfo_id){
|
|
91
|
-
this.model= []
|
|
92
|
-
this.getmodel()
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
ready () {
|
|
97
|
-
console.log("9797977",this.config)
|
|
98
|
-
if (this.user && this.user.f_userinfo_id) {
|
|
99
|
-
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
100
|
-
this.getmodel()
|
|
101
|
-
}
|
|
102
|
-
if(this.f_userinfo_id){
|
|
103
|
-
this.getmodel()
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
</script>
|
|
108
|
-
<style>
|
|
109
|
-
.app-botton {
|
|
110
|
-
position:fixed;
|
|
111
|
-
background: #87b2dd;
|
|
112
|
-
color: #FFF;
|
|
113
|
-
padding: 8px;
|
|
114
|
-
text-align: center;
|
|
115
|
-
font-size: 1.2em;
|
|
116
|
-
z-index: 10;
|
|
117
|
-
opacity:0.5;
|
|
118
|
-
bottom: 50px;
|
|
119
|
-
margin-top: -10px;
|
|
120
|
-
height: 40px;
|
|
121
|
-
}
|
|
122
|
-
</style>
|
|
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" v-for="item in dataConfig">
|
|
9
|
+
<div class="col-xs-4 col-sm-4 col-md-4">
|
|
10
|
+
{{item.value}}:
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-8 col-sm-8 col-md-8">
|
|
13
|
+
{{row[item.name]}}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<p v-show="model.length == 0 ">此用户暂无购气记录</p>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
27
|
+
import co from 'co'
|
|
28
|
+
export default {
|
|
29
|
+
title: '查询用户',
|
|
30
|
+
data () {
|
|
31
|
+
return {
|
|
32
|
+
model: [],
|
|
33
|
+
show: false,
|
|
34
|
+
row: Object,
|
|
35
|
+
dataConfig:[]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
props: {
|
|
39
|
+
user: {
|
|
40
|
+
type: Object
|
|
41
|
+
},
|
|
42
|
+
f_userinfo_id:'',
|
|
43
|
+
config:"",
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
convertArray(arr) {
|
|
47
|
+
return arr.map(obj => {
|
|
48
|
+
const key = Object.keys(obj)[0];
|
|
49
|
+
return {
|
|
50
|
+
name: key,
|
|
51
|
+
value: obj[key]
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
getmodel () {
|
|
57
|
+
let userinfoid
|
|
58
|
+
if(this.f_userinfo_id){
|
|
59
|
+
userinfoid = this.f_userinfo_id
|
|
60
|
+
}else{
|
|
61
|
+
userinfoid = this.user.f_userinfo_id
|
|
62
|
+
console.log(this.user.f_userinfo_id)
|
|
63
|
+
}
|
|
64
|
+
console.log(userinfoid)
|
|
65
|
+
new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/geUserInfoIdData`, {data: {condition:`f_userinfo_id = '${userinfoid}'`,type:this.config}},{resolveMsg : null,rejectMsg :null}).then((row) => {
|
|
66
|
+
console.log("9898988",row)
|
|
67
|
+
if(row.data.state===200){
|
|
68
|
+
this.model = row.data.userdata
|
|
69
|
+
this.dataConfig = this.convertArray(row.data.filename)
|
|
70
|
+
this.show=true
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
},
|
|
75
|
+
back(){
|
|
76
|
+
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
watch: {
|
|
80
|
+
'user' (val) {
|
|
81
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
82
|
+
if(this.user){
|
|
83
|
+
if (!(this.user.isNuN)) {
|
|
84
|
+
this.model= []
|
|
85
|
+
this.getmodel()
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
'f_userinfo_id'(){
|
|
90
|
+
if(this.f_userinfo_id){
|
|
91
|
+
this.model= []
|
|
92
|
+
this.getmodel()
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
ready () {
|
|
97
|
+
console.log("9797977",this.config)
|
|
98
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
99
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
100
|
+
this.getmodel()
|
|
101
|
+
}
|
|
102
|
+
if(this.f_userinfo_id){
|
|
103
|
+
this.getmodel()
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</script>
|
|
108
|
+
<style>
|
|
109
|
+
.app-botton {
|
|
110
|
+
position:fixed;
|
|
111
|
+
background: #87b2dd;
|
|
112
|
+
color: #FFF;
|
|
113
|
+
padding: 8px;
|
|
114
|
+
text-align: center;
|
|
115
|
+
font-size: 1.2em;
|
|
116
|
+
z-index: 10;
|
|
117
|
+
opacity:0.5;
|
|
118
|
+
bottom: 50px;
|
|
119
|
+
margin-top: -10px;
|
|
120
|
+
height: 40px;
|
|
121
|
+
}
|
|
122
|
+
</style>
|
|
@@ -1,157 +1,157 @@
|
|
|
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_userid" 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_username" 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_address" placeholder='用户地址'>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="row" style="text-align: center;margin-top: 30px;margin-bottom: 30px" >
|
|
32
|
-
<button style="width: 70%" type="button" name="button" class="btn btn-primary" @click="search()">查询</button>
|
|
33
|
-
<!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
|
|
37
|
-
<div class="panel-body inbg" @click="selectUser(row)">
|
|
38
|
-
<div class="row auto" >
|
|
39
|
-
<div class="col-sm-4">
|
|
40
|
-
用户编号: {{row.f_userinfo_code}}
|
|
41
|
-
</div>
|
|
42
|
-
<div class="col-sm-4">
|
|
43
|
-
用户姓名: {{row.f_user_name}}
|
|
44
|
-
</div>
|
|
45
|
-
<div class="col-sm-4">
|
|
46
|
-
用户电话: {{row.f_user_phone}}
|
|
47
|
-
</div>
|
|
48
|
-
<div class="col-sm-3">
|
|
49
|
-
用户类别: {{row.f_user_type}}
|
|
50
|
-
</div>
|
|
51
|
-
<div class="col-sm-9">
|
|
52
|
-
地址信息: {{row.f_address}}
|
|
53
|
-
</div>
|
|
54
|
-
<div class="col-sm-6">
|
|
55
|
-
表底数: {{row.f_meter_base}}
|
|
56
|
-
</div>
|
|
57
|
-
<div class="col-sm-6">
|
|
58
|
-
表上余额: {{row.f_balance_amount}}
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
<!-- <phone-info-table :user="user" :is-need-condition="false" :is-group="false" v-if="show"></phone-info-table>-->
|
|
65
|
-
</template>
|
|
66
|
-
|
|
67
|
-
<script>
|
|
68
|
-
import Vue from 'vue'
|
|
69
|
-
import { HttpResetClass } from 'vue-client'
|
|
70
|
-
export default {
|
|
71
|
-
title: '移动端用户信息查询',
|
|
72
|
-
props: {
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
data () {
|
|
76
|
-
return {
|
|
77
|
-
users:[],
|
|
78
|
-
model:{
|
|
79
|
-
f_userid:'',
|
|
80
|
-
f_username:'',
|
|
81
|
-
f_address:''
|
|
82
|
-
},
|
|
83
|
-
user:'',
|
|
84
|
-
show:false
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
methods: {
|
|
88
|
-
search() {
|
|
89
|
-
// console.log("Vue.user",Vue.user)
|
|
90
|
-
this.model.f_userid ? this.model.f_userid : '1=1'
|
|
91
|
-
let condition = `ti.f_orgid = '${Vue.user.orgid}'`
|
|
92
|
-
condition += this.model.f_userid ? ` and ti.f_userinfo_code = '${this.model.f_userid}'` : ' and 1=1'
|
|
93
|
-
condition += this.model.f_username ? ` and ti.f_user_name like '%${this.model.f_username}%'` : ' and 1=1'
|
|
94
|
-
condition += this.model.f_address ? ` and tua.f_address like '%${this.model.f_address}%'` : ' and 1=1'
|
|
95
|
-
console.log(condition)
|
|
96
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
97
|
-
data: {
|
|
98
|
-
condition:condition
|
|
99
|
-
}
|
|
100
|
-
},{rejectMsg:null,resolveMsg:null}).then((res) => {
|
|
101
|
-
console.log("查找用户返回的结果")
|
|
102
|
-
console.log(res.data)
|
|
103
|
-
this.users = res.data
|
|
104
|
-
})
|
|
105
|
-
},
|
|
106
|
-
selectUser(row){
|
|
107
|
-
this.user = row
|
|
108
|
-
var prpdata = {
|
|
109
|
-
_this:this,
|
|
110
|
-
title:"用户信息",
|
|
111
|
-
safe:false
|
|
112
|
-
}
|
|
113
|
-
this.$dispatch('gotoson',prpdata)
|
|
114
|
-
this.$goto('info-table',{user:row,},'self')
|
|
115
|
-
},
|
|
116
|
-
back(){
|
|
117
|
-
this.show = false
|
|
118
|
-
},
|
|
119
|
-
read(){
|
|
120
|
-
// 读卡
|
|
121
|
-
let res = HostApp.read()
|
|
122
|
-
if(res.code == 200){
|
|
123
|
-
let cardid = res.msg.CardID
|
|
124
|
-
let condition1 = `tf.f_card_id = '${cardid}'`
|
|
125
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
126
|
-
data: {
|
|
127
|
-
condition:condition1
|
|
128
|
-
}
|
|
129
|
-
}).then((res) => {
|
|
130
|
-
console.log("查找用户返回的结果")
|
|
131
|
-
console.log(res.data)
|
|
132
|
-
this.users = res.data
|
|
133
|
-
})
|
|
134
|
-
}else{
|
|
135
|
-
HostApp.alert('读卡异常,请检查读卡设备!')
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
ready(){
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
</script>
|
|
143
|
-
<style>
|
|
144
|
-
.app-botton {
|
|
145
|
-
position:fixed;
|
|
146
|
-
background: #87b2dd;
|
|
147
|
-
color: #FFF;
|
|
148
|
-
padding: 8px;
|
|
149
|
-
text-align: center;
|
|
150
|
-
font-size: 1.2em;
|
|
151
|
-
z-index: 10;
|
|
152
|
-
opacity:0.5;
|
|
153
|
-
bottom: 50px;
|
|
154
|
-
margin-top: -10px;
|
|
155
|
-
height: 40px;
|
|
156
|
-
}
|
|
157
|
-
</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_userid" 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_username" 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_address" placeholder='用户地址'>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="row" style="text-align: center;margin-top: 30px;margin-bottom: 30px" >
|
|
32
|
+
<button style="width: 70%" type="button" name="button" class="btn btn-primary" @click="search()">查询</button>
|
|
33
|
+
<!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
|
|
37
|
+
<div class="panel-body inbg" @click="selectUser(row)">
|
|
38
|
+
<div class="row auto" >
|
|
39
|
+
<div class="col-sm-4">
|
|
40
|
+
用户编号: {{row.f_userinfo_code}}
|
|
41
|
+
</div>
|
|
42
|
+
<div class="col-sm-4">
|
|
43
|
+
用户姓名: {{row.f_user_name}}
|
|
44
|
+
</div>
|
|
45
|
+
<div class="col-sm-4">
|
|
46
|
+
用户电话: {{row.f_user_phone}}
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-3">
|
|
49
|
+
用户类别: {{row.f_user_type}}
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-9">
|
|
52
|
+
地址信息: {{row.f_address}}
|
|
53
|
+
</div>
|
|
54
|
+
<div class="col-sm-6">
|
|
55
|
+
表底数: {{row.f_meter_base}}
|
|
56
|
+
</div>
|
|
57
|
+
<div class="col-sm-6">
|
|
58
|
+
表上余额: {{row.f_balance_amount}}
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<!-- <phone-info-table :user="user" :is-need-condition="false" :is-group="false" v-if="show"></phone-info-table>-->
|
|
65
|
+
</template>
|
|
66
|
+
|
|
67
|
+
<script>
|
|
68
|
+
import Vue from 'vue'
|
|
69
|
+
import { HttpResetClass } from 'vue-client'
|
|
70
|
+
export default {
|
|
71
|
+
title: '移动端用户信息查询',
|
|
72
|
+
props: {
|
|
73
|
+
|
|
74
|
+
},
|
|
75
|
+
data () {
|
|
76
|
+
return {
|
|
77
|
+
users:[],
|
|
78
|
+
model:{
|
|
79
|
+
f_userid:'',
|
|
80
|
+
f_username:'',
|
|
81
|
+
f_address:''
|
|
82
|
+
},
|
|
83
|
+
user:'',
|
|
84
|
+
show:false
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
methods: {
|
|
88
|
+
search() {
|
|
89
|
+
// console.log("Vue.user",Vue.user)
|
|
90
|
+
this.model.f_userid ? this.model.f_userid : '1=1'
|
|
91
|
+
let condition = `ti.f_orgid = '${Vue.user.orgid}'`
|
|
92
|
+
condition += this.model.f_userid ? ` and ti.f_userinfo_code = '${this.model.f_userid}'` : ' and 1=1'
|
|
93
|
+
condition += this.model.f_username ? ` and ti.f_user_name like '%${this.model.f_username}%'` : ' and 1=1'
|
|
94
|
+
condition += this.model.f_address ? ` and tua.f_address like '%${this.model.f_address}%'` : ' and 1=1'
|
|
95
|
+
console.log(condition)
|
|
96
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
97
|
+
data: {
|
|
98
|
+
condition:condition
|
|
99
|
+
}
|
|
100
|
+
},{rejectMsg:null,resolveMsg:null}).then((res) => {
|
|
101
|
+
console.log("查找用户返回的结果")
|
|
102
|
+
console.log(res.data)
|
|
103
|
+
this.users = res.data
|
|
104
|
+
})
|
|
105
|
+
},
|
|
106
|
+
selectUser(row){
|
|
107
|
+
this.user = row
|
|
108
|
+
var prpdata = {
|
|
109
|
+
_this:this,
|
|
110
|
+
title:"用户信息",
|
|
111
|
+
safe:false
|
|
112
|
+
}
|
|
113
|
+
this.$dispatch('gotoson',prpdata)
|
|
114
|
+
this.$goto('info-table',{user:row,},'self')
|
|
115
|
+
},
|
|
116
|
+
back(){
|
|
117
|
+
this.show = false
|
|
118
|
+
},
|
|
119
|
+
read(){
|
|
120
|
+
// 读卡
|
|
121
|
+
let res = HostApp.read()
|
|
122
|
+
if(res.code == 200){
|
|
123
|
+
let cardid = res.msg.CardID
|
|
124
|
+
let condition1 = `tf.f_card_id = '${cardid}'`
|
|
125
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
126
|
+
data: {
|
|
127
|
+
condition:condition1
|
|
128
|
+
}
|
|
129
|
+
}).then((res) => {
|
|
130
|
+
console.log("查找用户返回的结果")
|
|
131
|
+
console.log(res.data)
|
|
132
|
+
this.users = res.data
|
|
133
|
+
})
|
|
134
|
+
}else{
|
|
135
|
+
HostApp.alert('读卡异常,请检查读卡设备!')
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
ready(){
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
</script>
|
|
143
|
+
<style>
|
|
144
|
+
.app-botton {
|
|
145
|
+
position:fixed;
|
|
146
|
+
background: #87b2dd;
|
|
147
|
+
color: #FFF;
|
|
148
|
+
padding: 8px;
|
|
149
|
+
text-align: center;
|
|
150
|
+
font-size: 1.2em;
|
|
151
|
+
z-index: 10;
|
|
152
|
+
opacity:0.5;
|
|
153
|
+
bottom: 50px;
|
|
154
|
+
margin-top: -10px;
|
|
155
|
+
height: 40px;
|
|
156
|
+
}
|
|
157
|
+
</style>
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="span">
|
|
3
|
-
<div class="panel panel-default">
|
|
4
|
-
<div class="panel-body flex-row" style="padding: 0;">
|
|
5
|
-
<div class="flex flex-over" style="padding: 0 0px 0px 0px; overflow: auto;width: 100%">
|
|
6
|
-
<!-- 用户查询,停气公告,话务员统计信息,知识库 -->
|
|
7
|
-
<div class="span no-close">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
|
|
10
|
-
<tab header="收费记录">
|
|
11
|
-
<config-info config="收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
|
|
12
|
-
</tab>
|
|
13
|
-
<tab header="其他收费记录">
|
|
14
|
-
<config-info config="其他收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
|
|
15
|
-
</tab>
|
|
16
|
-
</tabset>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
<script>
|
|
24
|
-
export default {
|
|
25
|
-
title: '用户信息',
|
|
26
|
-
props: {
|
|
27
|
-
user:{
|
|
28
|
-
type: Object
|
|
29
|
-
},
|
|
30
|
-
f_userinfo_id:''
|
|
31
|
-
},
|
|
32
|
-
data () {
|
|
33
|
-
return {
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="span">
|
|
3
|
+
<div class="panel panel-default">
|
|
4
|
+
<div class="panel-body flex-row" style="padding: 0;">
|
|
5
|
+
<div class="flex flex-over" style="padding: 0 0px 0px 0px; overflow: auto;width: 100%">
|
|
6
|
+
<!-- 用户查询,停气公告,话务员统计信息,知识库 -->
|
|
7
|
+
<div class="span no-close">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
|
|
10
|
+
<tab header="收费记录">
|
|
11
|
+
<config-info config="收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
|
|
12
|
+
</tab>
|
|
13
|
+
<tab header="其他收费记录">
|
|
14
|
+
<config-info config="其他收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
|
|
15
|
+
</tab>
|
|
16
|
+
</tabset>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
<script>
|
|
24
|
+
export default {
|
|
25
|
+
title: '用户信息',
|
|
26
|
+
props: {
|
|
27
|
+
user:{
|
|
28
|
+
type: Object
|
|
29
|
+
},
|
|
30
|
+
f_userinfo_id:''
|
|
31
|
+
},
|
|
32
|
+
data () {
|
|
33
|
+
return {
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
</script>
|