system-phone 3.0.49 → 3.1.1
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 +716 -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 +79 -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,202 +1,202 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="container">
|
|
3
|
-
<div class="row" >
|
|
4
|
-
<div class="col-sm-12 col-xs-12" style="height: auto" >
|
|
5
|
-
<input class="form-control" type="text" v-model="model.selectVal" placeholder="点击搜索按钮筛选"/>
|
|
6
|
-
</div>
|
|
7
|
-
<!--用户的显示-->
|
|
8
|
-
<div class="col-sm-11 col-xs-11" v-show="!show">
|
|
9
|
-
<span v-for="dd in beginarray">
|
|
10
|
-
<a name="{{dd}}" v-if="zz(dd)">
|
|
11
|
-
<p class="bq">{{dd}}</p>
|
|
12
|
-
</a>
|
|
13
|
-
<a name="#" v-if="sz(dd)">
|
|
14
|
-
<p class="bq">#</p>
|
|
15
|
-
</a>
|
|
16
|
-
<ul class="list-unstyled" v-for="user in beginarrayss">
|
|
17
|
-
<tr>
|
|
18
|
-
<li v-if="user.PY===dd" @click.prevent="confirm(user)">
|
|
19
|
-
  
|
|
20
|
-
<img src="../image/touxiang.jpg">
|
|
21
|
-
<strong id="name">{{user.name}}</strong>
|
|
22
|
-
<hr>
|
|
23
|
-
</li>
|
|
24
|
-
</tr>
|
|
25
|
-
</ul>
|
|
26
|
-
</span>
|
|
27
|
-
</div>
|
|
28
|
-
<!--根据首字母查找-->
|
|
29
|
-
<div class="col-sm-1 col-xs-1" id="inlineZM" v-show="!show">
|
|
30
|
-
<span v-for="cc in beginarrays">
|
|
31
|
-
<a id="a" href="#{{cc}}" >{{cc}}</a><br>
|
|
32
|
-
</span>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="col-sm-11 col-xs-11" v-if="show">
|
|
35
|
-
<span v-for="dd in quchong()">
|
|
36
|
-
<a name="{{dd}}" v-if="zz(dd)">
|
|
37
|
-
<p class="bq">{{dd}}</p>
|
|
38
|
-
</a>
|
|
39
|
-
<a name="#" v-if="sz(dd)">
|
|
40
|
-
<p class="bq">#</p>
|
|
41
|
-
</a>
|
|
42
|
-
<ul class="list-unstyled" v-for="user in model.like">
|
|
43
|
-
<tr>
|
|
44
|
-
<li v-if="user.PY===dd" @click.prevent="confirm(user)">
|
|
45
|
-
  
|
|
46
|
-
<img src="../image/touxiang.jpg">
|
|
47
|
-
<strong id="name">{{user.name}}</strong>
|
|
48
|
-
<hr>
|
|
49
|
-
</li>
|
|
50
|
-
</tr>
|
|
51
|
-
</ul>
|
|
52
|
-
</span>
|
|
53
|
-
</div>
|
|
54
|
-
<!--根据首字母查找-->
|
|
55
|
-
<div class="col-sm-1 col-xs-1" id="inlineZM" v-if="show">
|
|
56
|
-
<span v-for="cc in model.db">
|
|
57
|
-
<a id="a" href="#{{cc}}" >{{cc}}</a><br>
|
|
58
|
-
</span>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</template>
|
|
64
|
-
<script type="module">
|
|
65
|
-
import Vue from 'vue'
|
|
66
|
-
import pinyin from '../plugins/vue-py'
|
|
67
|
-
|
|
68
|
-
export default {
|
|
69
|
-
title: '展示客户信息',
|
|
70
|
-
data () {
|
|
71
|
-
return {
|
|
72
|
-
show:false,
|
|
73
|
-
beginarray:'',
|
|
74
|
-
beginarrays:'',
|
|
75
|
-
beginarrayss:'',
|
|
76
|
-
model: {
|
|
77
|
-
pp: [],
|
|
78
|
-
db: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q',
|
|
79
|
-
'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '#'],
|
|
80
|
-
like: [],
|
|
81
|
-
data: [
|
|
82
|
-
{name: '张三', phone: '12321354213', userid: '11670', nickName: 'Z', img: '../assets/安检导航竖屏.png'},
|
|
83
|
-
{name: '李四', phone: '12341231114', userid: '11671', nickName: 'L', img: '../asss/安检导航竖屏1.png'},
|
|
84
|
-
{name: '王五', phone: '12345512345', userid: '11672', nickName: 'W', img: '../assets/安检导航竖屏2.png'}],
|
|
85
|
-
selectVal: ''//关键字
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
methods: {
|
|
90
|
-
sz (dd) {
|
|
91
|
-
let m = /[0-9]/.test(dd)
|
|
92
|
-
if (m) {
|
|
93
|
-
return true
|
|
94
|
-
} else {
|
|
95
|
-
return false
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
zz (dd) {
|
|
99
|
-
let m = /[a-zA-Z]/.test(dd)
|
|
100
|
-
if (m) {
|
|
101
|
-
return true
|
|
102
|
-
} else {
|
|
103
|
-
return false
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
confirm (user) {
|
|
107
|
-
let phone = 1122334455
|
|
108
|
-
this.$goto('phone-user-detil', {row: user, repair: phone})
|
|
109
|
-
},
|
|
110
|
-
search: function () {//搜索
|
|
111
|
-
this.model.like = []
|
|
112
|
-
let likename = this.model.selectVal
|
|
113
|
-
let name = this.model.data
|
|
114
|
-
if (likename){
|
|
115
|
-
for (let i = 0; i < name.length; i++) {
|
|
116
|
-
if (name[i].name.indexOf(likename) >= 0) {
|
|
117
|
-
this.model.like.push(name[i])
|
|
118
|
-
console.log(this.model.like)
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}else{
|
|
122
|
-
this.model.like = name
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
quchong () {
|
|
126
|
-
return Array.from(new Set(this.model.pp)).sort()
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
ready () {
|
|
130
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, {
|
|
131
|
-
data: {
|
|
132
|
-
source: 'this.getParentByType($organization$).getSpecialResByType($user$)',
|
|
133
|
-
userid: Vue.user.id
|
|
134
|
-
}
|
|
135
|
-
}).then((res) => {
|
|
136
|
-
console.log(res.data)
|
|
137
|
-
this.model.data = res.data
|
|
138
|
-
this.model.like = res.data
|
|
139
|
-
for (let i = 0; i < this.model.like.length; i++) {
|
|
140
|
-
this.model.like[i].PY = pinyin.chineseToPinYin(this.model.like[i].name).charAt(0).toUpperCase()
|
|
141
|
-
this.model.pp.push(this.model.like[i].PY)
|
|
142
|
-
}
|
|
143
|
-
this.beginarray=Object.assign([],this.quchong())
|
|
144
|
-
console.log(this.beginarray)
|
|
145
|
-
|
|
146
|
-
this.beginarrays=Object.assign([],this.model.db)
|
|
147
|
-
this.beginarrayss=Object.assign([],this.model.like)
|
|
148
|
-
console.log(this.beginarrays)
|
|
149
|
-
})
|
|
150
|
-
},
|
|
151
|
-
watch: {
|
|
152
|
-
'model.selectVal'(val){
|
|
153
|
-
console.log("999999999")
|
|
154
|
-
console.log((val))
|
|
155
|
-
if (val){
|
|
156
|
-
this.search()
|
|
157
|
-
this.show=true
|
|
158
|
-
console.log("22222")
|
|
159
|
-
|
|
160
|
-
}else {
|
|
161
|
-
this.show=false
|
|
162
|
-
console.log("33333")
|
|
163
|
-
console.log(this.beginarray)
|
|
164
|
-
console.log(this.quchong())
|
|
165
|
-
console.log(this.beginarrays)
|
|
166
|
-
console.log(this.model.db)
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
</script>
|
|
173
|
-
<style scoped>
|
|
174
|
-
img {
|
|
175
|
-
height: 15px;
|
|
176
|
-
weight: 22%;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
#inlineZM {
|
|
180
|
-
text-align: center;
|
|
181
|
-
position: fixed;
|
|
182
|
-
right: 2%;
|
|
183
|
-
top: 7%;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
ul {
|
|
187
|
-
color: #5bc0de;
|
|
188
|
-
left: 1%;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
li {
|
|
192
|
-
list-style-type: none;
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.bq {
|
|
197
|
-
background-color: #dde2e5;
|
|
198
|
-
}
|
|
199
|
-
</style>
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="container">
|
|
3
|
+
<div class="row" >
|
|
4
|
+
<div class="col-sm-12 col-xs-12" style="height: auto" >
|
|
5
|
+
<input class="form-control" type="text" v-model="model.selectVal" placeholder="点击搜索按钮筛选"/>
|
|
6
|
+
</div>
|
|
7
|
+
<!--用户的显示-->
|
|
8
|
+
<div class="col-sm-11 col-xs-11" v-show="!show">
|
|
9
|
+
<span v-for="dd in beginarray">
|
|
10
|
+
<a name="{{dd}}" v-if="zz(dd)">
|
|
11
|
+
<p class="bq">{{dd}}</p>
|
|
12
|
+
</a>
|
|
13
|
+
<a name="#" v-if="sz(dd)">
|
|
14
|
+
<p class="bq">#</p>
|
|
15
|
+
</a>
|
|
16
|
+
<ul class="list-unstyled" v-for="user in beginarrayss">
|
|
17
|
+
<tr>
|
|
18
|
+
<li v-if="user.PY===dd" @click.prevent="confirm(user)">
|
|
19
|
+
  
|
|
20
|
+
<img src="../image/touxiang.jpg">
|
|
21
|
+
<strong id="name">{{user.name}}</strong>
|
|
22
|
+
<hr>
|
|
23
|
+
</li>
|
|
24
|
+
</tr>
|
|
25
|
+
</ul>
|
|
26
|
+
</span>
|
|
27
|
+
</div>
|
|
28
|
+
<!--根据首字母查找-->
|
|
29
|
+
<div class="col-sm-1 col-xs-1" id="inlineZM" v-show="!show">
|
|
30
|
+
<span v-for="cc in beginarrays">
|
|
31
|
+
<a id="a" href="#{{cc}}" >{{cc}}</a><br>
|
|
32
|
+
</span>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-11 col-xs-11" v-if="show">
|
|
35
|
+
<span v-for="dd in quchong()">
|
|
36
|
+
<a name="{{dd}}" v-if="zz(dd)">
|
|
37
|
+
<p class="bq">{{dd}}</p>
|
|
38
|
+
</a>
|
|
39
|
+
<a name="#" v-if="sz(dd)">
|
|
40
|
+
<p class="bq">#</p>
|
|
41
|
+
</a>
|
|
42
|
+
<ul class="list-unstyled" v-for="user in model.like">
|
|
43
|
+
<tr>
|
|
44
|
+
<li v-if="user.PY===dd" @click.prevent="confirm(user)">
|
|
45
|
+
  
|
|
46
|
+
<img src="../image/touxiang.jpg">
|
|
47
|
+
<strong id="name">{{user.name}}</strong>
|
|
48
|
+
<hr>
|
|
49
|
+
</li>
|
|
50
|
+
</tr>
|
|
51
|
+
</ul>
|
|
52
|
+
</span>
|
|
53
|
+
</div>
|
|
54
|
+
<!--根据首字母查找-->
|
|
55
|
+
<div class="col-sm-1 col-xs-1" id="inlineZM" v-if="show">
|
|
56
|
+
<span v-for="cc in model.db">
|
|
57
|
+
<a id="a" href="#{{cc}}" >{{cc}}</a><br>
|
|
58
|
+
</span>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</template>
|
|
64
|
+
<script type="module">
|
|
65
|
+
import Vue from 'vue'
|
|
66
|
+
import pinyin from '../plugins/vue-py'
|
|
67
|
+
|
|
68
|
+
export default {
|
|
69
|
+
title: '展示客户信息',
|
|
70
|
+
data () {
|
|
71
|
+
return {
|
|
72
|
+
show:false,
|
|
73
|
+
beginarray:'',
|
|
74
|
+
beginarrays:'',
|
|
75
|
+
beginarrayss:'',
|
|
76
|
+
model: {
|
|
77
|
+
pp: [],
|
|
78
|
+
db: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q',
|
|
79
|
+
'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '#'],
|
|
80
|
+
like: [],
|
|
81
|
+
data: [
|
|
82
|
+
{name: '张三', phone: '12321354213', userid: '11670', nickName: 'Z', img: '../assets/安检导航竖屏.png'},
|
|
83
|
+
{name: '李四', phone: '12341231114', userid: '11671', nickName: 'L', img: '../asss/安检导航竖屏1.png'},
|
|
84
|
+
{name: '王五', phone: '12345512345', userid: '11672', nickName: 'W', img: '../assets/安检导航竖屏2.png'}],
|
|
85
|
+
selectVal: ''//关键字
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
methods: {
|
|
90
|
+
sz (dd) {
|
|
91
|
+
let m = /[0-9]/.test(dd)
|
|
92
|
+
if (m) {
|
|
93
|
+
return true
|
|
94
|
+
} else {
|
|
95
|
+
return false
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
zz (dd) {
|
|
99
|
+
let m = /[a-zA-Z]/.test(dd)
|
|
100
|
+
if (m) {
|
|
101
|
+
return true
|
|
102
|
+
} else {
|
|
103
|
+
return false
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
confirm (user) {
|
|
107
|
+
let phone = 1122334455
|
|
108
|
+
this.$goto('phone-user-detil', {row: user, repair: phone})
|
|
109
|
+
},
|
|
110
|
+
search: function () {//搜索
|
|
111
|
+
this.model.like = []
|
|
112
|
+
let likename = this.model.selectVal
|
|
113
|
+
let name = this.model.data
|
|
114
|
+
if (likename){
|
|
115
|
+
for (let i = 0; i < name.length; i++) {
|
|
116
|
+
if (name[i].name.indexOf(likename) >= 0) {
|
|
117
|
+
this.model.like.push(name[i])
|
|
118
|
+
console.log(this.model.like)
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}else{
|
|
122
|
+
this.model.like = name
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
quchong () {
|
|
126
|
+
return Array.from(new Set(this.model.pp)).sort()
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
ready () {
|
|
130
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, {
|
|
131
|
+
data: {
|
|
132
|
+
source: 'this.getParentByType($organization$).getSpecialResByType($user$)',
|
|
133
|
+
userid: Vue.user.id
|
|
134
|
+
}
|
|
135
|
+
}).then((res) => {
|
|
136
|
+
console.log(res.data)
|
|
137
|
+
this.model.data = res.data
|
|
138
|
+
this.model.like = res.data
|
|
139
|
+
for (let i = 0; i < this.model.like.length; i++) {
|
|
140
|
+
this.model.like[i].PY = pinyin.chineseToPinYin(this.model.like[i].name).charAt(0).toUpperCase()
|
|
141
|
+
this.model.pp.push(this.model.like[i].PY)
|
|
142
|
+
}
|
|
143
|
+
this.beginarray=Object.assign([],this.quchong())
|
|
144
|
+
console.log(this.beginarray)
|
|
145
|
+
|
|
146
|
+
this.beginarrays=Object.assign([],this.model.db)
|
|
147
|
+
this.beginarrayss=Object.assign([],this.model.like)
|
|
148
|
+
console.log(this.beginarrays)
|
|
149
|
+
})
|
|
150
|
+
},
|
|
151
|
+
watch: {
|
|
152
|
+
'model.selectVal'(val){
|
|
153
|
+
console.log("999999999")
|
|
154
|
+
console.log((val))
|
|
155
|
+
if (val){
|
|
156
|
+
this.search()
|
|
157
|
+
this.show=true
|
|
158
|
+
console.log("22222")
|
|
159
|
+
|
|
160
|
+
}else {
|
|
161
|
+
this.show=false
|
|
162
|
+
console.log("33333")
|
|
163
|
+
console.log(this.beginarray)
|
|
164
|
+
console.log(this.quchong())
|
|
165
|
+
console.log(this.beginarrays)
|
|
166
|
+
console.log(this.model.db)
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
</script>
|
|
173
|
+
<style scoped>
|
|
174
|
+
img {
|
|
175
|
+
height: 15px;
|
|
176
|
+
weight: 22%;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
#inlineZM {
|
|
180
|
+
text-align: center;
|
|
181
|
+
position: fixed;
|
|
182
|
+
right: 2%;
|
|
183
|
+
top: 7%;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
ul {
|
|
187
|
+
color: #5bc0de;
|
|
188
|
+
left: 1%;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
li {
|
|
192
|
+
list-style-type: none;
|
|
193
|
+
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.bq {
|
|
197
|
+
background-color: #dde2e5;
|
|
198
|
+
}
|
|
199
|
+
</style>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
@@ -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>
|