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,70 +1,70 @@
|
|
|
1
|
-
<template xmlns:v-bond="http://www.w3.org/1999/html">
|
|
2
|
-
<div>
|
|
3
|
-
<form align="center">
|
|
4
|
-
<h3 align="center">通讯录</h3>
|
|
5
|
-
<img class="touxiang" src="../image/touxiang.jpg"><br/>
|
|
6
|
-
<h5 align="center">{{ model.data.name }}</h5>
|
|
7
|
-
<p>   手机:</p>
|
|
8
|
-
<hr>
|
|
9
|
-
<p>   {{ model.data.phone }}<img src="../assets/phone.png" align="right"
|
|
10
|
-
@click.stop.prevent='makeAPhoneCall(model.data.phone)'>  </p>
|
|
11
|
-
<hr>
|
|
12
|
-
<p>   紧急联系人:</p>
|
|
13
|
-
<hr>
|
|
14
|
-
<p>   {{ model.data.accesstime }}<img src="../assets/phone.png" align="right">  </p>
|
|
15
|
-
<hr>
|
|
16
|
-
<p>   岗位服务:<span>{{ model.data.rolestr(1) }}  </span></p><br/>
|
|
17
|
-
<hr>
|
|
18
|
-
<p>   电子邮箱:<span align="right">{{ model.data.loginip }}  </span></p><br/>
|
|
19
|
-
<hr>
|
|
20
|
-
<p>   所属公司:<span align="right">{{ model.data.f_department_name }}  </span></p><br/>
|
|
21
|
-
<hr>
|
|
22
|
-
<p>   所属部门:<span al ign="right">{{ model.data.state }}  </span></p><br/>
|
|
23
|
-
</form>
|
|
24
|
-
</div>
|
|
25
|
-
</template>
|
|
26
|
-
|
|
27
|
-
<script>
|
|
28
|
-
export default {
|
|
29
|
-
name: 'PhoneUserDetil',
|
|
30
|
-
title: '展示客户信息详情',
|
|
31
|
-
data () {
|
|
32
|
-
return {
|
|
33
|
-
model: {
|
|
34
|
-
data: [
|
|
35
|
-
{
|
|
36
|
-
name: '周杰伦', phone: '123', ectt: '123', JobSe: '待定', email: '1235@aqw.com', img: '../assets/安检导航竖屏.png'
|
|
37
|
-
, office: '梁平区聚源有限公司', depment: '安全运营部'
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
methods: {
|
|
44
|
-
makeAPhoneCall (phoneNumber) {
|
|
45
|
-
alert('将要拨通的号码为:'+phoneNumber)
|
|
46
|
-
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
ready () {
|
|
50
|
-
console.log(this.row)
|
|
51
|
-
this.model.data = this.row
|
|
52
|
-
this.model.data.phone=12345
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
</script>
|
|
56
|
-
|
|
57
|
-
<style scoped>
|
|
58
|
-
.touxiang {
|
|
59
|
-
width: 30%;
|
|
60
|
-
height: 30%;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
p {
|
|
64
|
-
text-align: left;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
span {
|
|
68
|
-
float: right;
|
|
69
|
-
}
|
|
70
|
-
</style>
|
|
1
|
+
<template xmlns:v-bond="http://www.w3.org/1999/html">
|
|
2
|
+
<div>
|
|
3
|
+
<form align="center">
|
|
4
|
+
<h3 align="center">通讯录</h3>
|
|
5
|
+
<img class="touxiang" src="../image/touxiang.jpg"><br/>
|
|
6
|
+
<h5 align="center">{{ model.data.name }}</h5>
|
|
7
|
+
<p>   手机:</p>
|
|
8
|
+
<hr>
|
|
9
|
+
<p>   {{ model.data.phone }}<img src="../assets/phone.png" align="right"
|
|
10
|
+
@click.stop.prevent='makeAPhoneCall(model.data.phone)'>  </p>
|
|
11
|
+
<hr>
|
|
12
|
+
<p>   紧急联系人:</p>
|
|
13
|
+
<hr>
|
|
14
|
+
<p>   {{ model.data.accesstime }}<img src="../assets/phone.png" align="right">  </p>
|
|
15
|
+
<hr>
|
|
16
|
+
<p>   岗位服务:<span>{{ model.data.rolestr(1) }}  </span></p><br/>
|
|
17
|
+
<hr>
|
|
18
|
+
<p>   电子邮箱:<span align="right">{{ model.data.loginip }}  </span></p><br/>
|
|
19
|
+
<hr>
|
|
20
|
+
<p>   所属公司:<span align="right">{{ model.data.f_department_name }}  </span></p><br/>
|
|
21
|
+
<hr>
|
|
22
|
+
<p>   所属部门:<span al ign="right">{{ model.data.state }}  </span></p><br/>
|
|
23
|
+
</form>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
export default {
|
|
29
|
+
name: 'PhoneUserDetil',
|
|
30
|
+
title: '展示客户信息详情',
|
|
31
|
+
data () {
|
|
32
|
+
return {
|
|
33
|
+
model: {
|
|
34
|
+
data: [
|
|
35
|
+
{
|
|
36
|
+
name: '周杰伦', phone: '123', ectt: '123', JobSe: '待定', email: '1235@aqw.com', img: '../assets/安检导航竖屏.png'
|
|
37
|
+
, office: '梁平区聚源有限公司', depment: '安全运营部'
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
methods: {
|
|
44
|
+
makeAPhoneCall (phoneNumber) {
|
|
45
|
+
alert('将要拨通的号码为:'+phoneNumber)
|
|
46
|
+
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
ready () {
|
|
50
|
+
console.log(this.row)
|
|
51
|
+
this.model.data = this.row
|
|
52
|
+
this.model.data.phone=12345
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
<style scoped>
|
|
58
|
+
.touxiang {
|
|
59
|
+
width: 30%;
|
|
60
|
+
height: 30%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
p {
|
|
64
|
+
text-align: left;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
span {
|
|
68
|
+
float: right;
|
|
69
|
+
}
|
|
70
|
+
</style>
|
|
@@ -1,138 +1,138 @@
|
|
|
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;" v-show="!show">
|
|
6
|
-
<div class="auto repair-info-content compatible">
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
|
|
9
|
-
<input type="text" class="form-control" v-model="model.f_userid" placeholder='用户编号'>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
|
|
12
|
-
<input type="text" class="form-control" v-model="model.f_username" placeholder='姓名'>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
|
|
15
|
-
<input type="text" class="form-control" v-model="model.f_address" placeholder='地址'>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="row">
|
|
19
|
-
<button type="button" name="button" class="btn btn-primary pull-right" @click="search()">查询</button>
|
|
20
|
-
<!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
<div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
|
|
24
|
-
<div class="panel-body inbg" @click="selectUser(row)">
|
|
25
|
-
<div class="row auto" >
|
|
26
|
-
<div class="col-sm-4">
|
|
27
|
-
用户编号: {{row.f_userinfo_code}}
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-4">
|
|
30
|
-
用户姓名: {{row.f_user_name}}
|
|
31
|
-
</div>
|
|
32
|
-
<div class="col-sm-4">
|
|
33
|
-
用户电话: {{row.f_user_phone}}
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-sm-3">
|
|
36
|
-
用户类别: {{row.f_user_type}}
|
|
37
|
-
</div>
|
|
38
|
-
<div class="col-sm-9">
|
|
39
|
-
地址信息: {{row.f_address}}
|
|
40
|
-
</div>
|
|
41
|
-
<div class="col-sm-6">
|
|
42
|
-
表底数: {{row.f_meter_base}}
|
|
43
|
-
</div>
|
|
44
|
-
<div class="col-sm-6">
|
|
45
|
-
表上余额: {{row.f_balance_amount}}
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<phone-info-table :user="user" :is-need-condition="false" :is-group="false" v-if="show"></phone-info-table>
|
|
52
|
-
</template>
|
|
53
|
-
|
|
54
|
-
<script>
|
|
55
|
-
import Vue from 'vue'
|
|
56
|
-
import { HttpResetClass } from 'vue-client'
|
|
57
|
-
export default {
|
|
58
|
-
title: '移动端用户信息查询',
|
|
59
|
-
props: {
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
data () {
|
|
63
|
-
return {
|
|
64
|
-
users:[],
|
|
65
|
-
model:{
|
|
66
|
-
f_userid:'',
|
|
67
|
-
f_username:'',
|
|
68
|
-
f_address:''
|
|
69
|
-
},
|
|
70
|
-
user:'',
|
|
71
|
-
show:false
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
methods: {
|
|
75
|
-
search() {
|
|
76
|
-
// console.log("Vue.user",Vue.user)
|
|
77
|
-
this.model.f_userid ? this.model.f_userid : '1=1'
|
|
78
|
-
let condition = `ti.f_orgid = '${Vue.user.orgid}'`
|
|
79
|
-
condition += this.model.f_userid ? ` and ti.f_userinfo_code = '${this.model.f_userid}'` : ' and 1=1'
|
|
80
|
-
condition += this.model.f_username ? ` and ti.f_user_name like '%${this.model.f_username}%'` : ' and 1=1'
|
|
81
|
-
condition += this.model.f_address ? ` and tua.f_address like '%${this.model.f_address}%'` : ' and 1=1'
|
|
82
|
-
console.log(condition)
|
|
83
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
84
|
-
data: {
|
|
85
|
-
condition:condition
|
|
86
|
-
}
|
|
87
|
-
}).then((res) => {
|
|
88
|
-
console.log("查找用户返回的结果")
|
|
89
|
-
console.log(res.data)
|
|
90
|
-
this.users = res.data
|
|
91
|
-
})
|
|
92
|
-
},
|
|
93
|
-
selectUser(row){
|
|
94
|
-
this.user = row
|
|
95
|
-
this.show = true
|
|
96
|
-
},
|
|
97
|
-
back(){
|
|
98
|
-
this.show = false
|
|
99
|
-
},
|
|
100
|
-
read(){
|
|
101
|
-
// 读卡
|
|
102
|
-
let res = HostApp.read()
|
|
103
|
-
if(res.code == 200){
|
|
104
|
-
let cardid = res.msg.CardID
|
|
105
|
-
let condition1 = `tf.f_card_id = '${cardid}'`
|
|
106
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
107
|
-
data: {
|
|
108
|
-
condition:condition1
|
|
109
|
-
}
|
|
110
|
-
}).then((res) => {
|
|
111
|
-
console.log("查找用户返回的结果")
|
|
112
|
-
console.log(res.data)
|
|
113
|
-
this.users = res.data
|
|
114
|
-
})
|
|
115
|
-
}else{
|
|
116
|
-
HostApp.alert('读卡异常,请检查读卡设备!')
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
ready(){
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
</script>
|
|
124
|
-
<style>
|
|
125
|
-
.app-botton {
|
|
126
|
-
position:fixed;
|
|
127
|
-
background: #87b2dd;
|
|
128
|
-
color: #FFF;
|
|
129
|
-
padding: 8px;
|
|
130
|
-
text-align: center;
|
|
131
|
-
font-size: 1.2em;
|
|
132
|
-
z-index: 10;
|
|
133
|
-
opacity:0.5;
|
|
134
|
-
bottom: 50px;
|
|
135
|
-
margin-top: -10px;
|
|
136
|
-
height: 40px;
|
|
137
|
-
}
|
|
138
|
-
</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;" v-show="!show">
|
|
6
|
+
<div class="auto repair-info-content compatible">
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
|
|
9
|
+
<input type="text" class="form-control" v-model="model.f_userid" placeholder='用户编号'>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
|
|
12
|
+
<input type="text" class="form-control" v-model="model.f_username" placeholder='姓名'>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
|
|
15
|
+
<input type="text" class="form-control" v-model="model.f_address" placeholder='地址'>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="row">
|
|
19
|
+
<button type="button" name="button" class="btn btn-primary pull-right" @click="search()">查询</button>
|
|
20
|
+
<!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
|
|
24
|
+
<div class="panel-body inbg" @click="selectUser(row)">
|
|
25
|
+
<div class="row auto" >
|
|
26
|
+
<div class="col-sm-4">
|
|
27
|
+
用户编号: {{row.f_userinfo_code}}
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-4">
|
|
30
|
+
用户姓名: {{row.f_user_name}}
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-sm-4">
|
|
33
|
+
用户电话: {{row.f_user_phone}}
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-3">
|
|
36
|
+
用户类别: {{row.f_user_type}}
|
|
37
|
+
</div>
|
|
38
|
+
<div class="col-sm-9">
|
|
39
|
+
地址信息: {{row.f_address}}
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-6">
|
|
42
|
+
表底数: {{row.f_meter_base}}
|
|
43
|
+
</div>
|
|
44
|
+
<div class="col-sm-6">
|
|
45
|
+
表上余额: {{row.f_balance_amount}}
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<phone-info-table :user="user" :is-need-condition="false" :is-group="false" v-if="show"></phone-info-table>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script>
|
|
55
|
+
import Vue from 'vue'
|
|
56
|
+
import { HttpResetClass } from 'vue-client'
|
|
57
|
+
export default {
|
|
58
|
+
title: '移动端用户信息查询',
|
|
59
|
+
props: {
|
|
60
|
+
|
|
61
|
+
},
|
|
62
|
+
data () {
|
|
63
|
+
return {
|
|
64
|
+
users:[],
|
|
65
|
+
model:{
|
|
66
|
+
f_userid:'',
|
|
67
|
+
f_username:'',
|
|
68
|
+
f_address:''
|
|
69
|
+
},
|
|
70
|
+
user:'',
|
|
71
|
+
show:false
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
search() {
|
|
76
|
+
// console.log("Vue.user",Vue.user)
|
|
77
|
+
this.model.f_userid ? this.model.f_userid : '1=1'
|
|
78
|
+
let condition = `ti.f_orgid = '${Vue.user.orgid}'`
|
|
79
|
+
condition += this.model.f_userid ? ` and ti.f_userinfo_code = '${this.model.f_userid}'` : ' and 1=1'
|
|
80
|
+
condition += this.model.f_username ? ` and ti.f_user_name like '%${this.model.f_username}%'` : ' and 1=1'
|
|
81
|
+
condition += this.model.f_address ? ` and tua.f_address like '%${this.model.f_address}%'` : ' and 1=1'
|
|
82
|
+
console.log(condition)
|
|
83
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
84
|
+
data: {
|
|
85
|
+
condition:condition
|
|
86
|
+
}
|
|
87
|
+
}).then((res) => {
|
|
88
|
+
console.log("查找用户返回的结果")
|
|
89
|
+
console.log(res.data)
|
|
90
|
+
this.users = res.data
|
|
91
|
+
})
|
|
92
|
+
},
|
|
93
|
+
selectUser(row){
|
|
94
|
+
this.user = row
|
|
95
|
+
this.show = true
|
|
96
|
+
},
|
|
97
|
+
back(){
|
|
98
|
+
this.show = false
|
|
99
|
+
},
|
|
100
|
+
read(){
|
|
101
|
+
// 读卡
|
|
102
|
+
let res = HostApp.read()
|
|
103
|
+
if(res.code == 200){
|
|
104
|
+
let cardid = res.msg.CardID
|
|
105
|
+
let condition1 = `tf.f_card_id = '${cardid}'`
|
|
106
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
|
|
107
|
+
data: {
|
|
108
|
+
condition:condition1
|
|
109
|
+
}
|
|
110
|
+
}).then((res) => {
|
|
111
|
+
console.log("查找用户返回的结果")
|
|
112
|
+
console.log(res.data)
|
|
113
|
+
this.users = res.data
|
|
114
|
+
})
|
|
115
|
+
}else{
|
|
116
|
+
HostApp.alert('读卡异常,请检查读卡设备!')
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
ready(){
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
</script>
|
|
124
|
+
<style>
|
|
125
|
+
.app-botton {
|
|
126
|
+
position:fixed;
|
|
127
|
+
background: #87b2dd;
|
|
128
|
+
color: #FFF;
|
|
129
|
+
padding: 8px;
|
|
130
|
+
text-align: center;
|
|
131
|
+
font-size: 1.2em;
|
|
132
|
+
z-index: 10;
|
|
133
|
+
opacity:0.5;
|
|
134
|
+
bottom: 50px;
|
|
135
|
+
margin-top: -10px;
|
|
136
|
+
height: 40px;
|
|
137
|
+
}
|
|
138
|
+
</style>
|