system-phone 3.0.28 → 3.0.30
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/checksums/checksums.lock +0 -0
- package/.gradle/checksums/md5-checksums.bin +0 -0
- package/.gradle/checksums/sha1-checksums.bin +0 -0
- package/.idea/compiler.xml +6 -0
- package/.idea/encodings.xml +6 -0
- package/.idea/gradle.xml +17 -0
- package/.idea/misc.xml +11 -0
- package/package.json +1 -1
- package/src/assets//345/234/250/347/272/277/345/244/215/346/243/200.png +0 -0
- package/src/assets//{345/201/234/346/260/224/345/205/254/345/221/212.png → 346/212/204/350/241/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.png +0 -0
- package/src/components/AttendManage.vue +104 -153
- package/src/components/LoginApp.vue +559 -655
- package/src/components/LoginAppNew.vue +587 -587
- package/src/components/ModifyPassWord.vue +120 -144
- package/src/components/NavBottomVVV.vue +183 -185
- package/src/components/OnlineManage.vue +58 -222
- package/src/components/RightTree.vue +1 -4
- package/src/components/ToolsPage.vue +162 -176
- package/src/components/userinfo/paymentQuery.vue +189 -189
- package/src/components/userinfo/queryFile.vue +190 -190
- package/src/systemphonegrid.js +186 -194
- package/src/assets/R-C.png +0 -0
- package/src/assets/yinliang.png +0 -0
- package/src/assets//345/267/245/345/215/225/350/257/246/346/203/205.png +0 -0
- package/src/assets//347/253/231/347/202/271/346/264/276/345/217/221.png +0 -0
- package/src/components/PhoneAllInfo.vue +0 -68
- package/src/components/PhoneMeterInfo.vue +0 -132
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<!--<div class="app-botton" @click="back()">-->
|
|
3
|
-
|
|
3
|
+
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
4
4
|
<!--</div>-->
|
|
5
5
|
<div class="auto">
|
|
6
6
|
<div class="row app-row">
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<span class="text-left font">账号</span>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="col-xs-8 input-font">
|
|
12
|
-
<input type="text" class="search_input input-font" v-model="model.ename"
|
|
12
|
+
<input type="text" class="search_input input-font" v-model="model.ename" readonly/>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="row app-row">
|
|
@@ -18,18 +18,16 @@
|
|
|
18
18
|
<span class="text-left font">原始密码</span>
|
|
19
19
|
</div>
|
|
20
20
|
<div class="col-xs-8">
|
|
21
|
-
<input type="password" id="oldpassword" class="search_input input-font" v-model="model.oldpassword"
|
|
22
|
-
placeholder="请输入原始密码"/>
|
|
21
|
+
<input type="password" id="oldpassword" class="search_input input-font" v-model="model.oldpassword" placeholder="请输入原始密码"/>
|
|
23
22
|
</div>
|
|
24
23
|
</div>
|
|
25
24
|
<div class="row app-row">
|
|
26
25
|
<div class="col-xs-4" style="margin-top: 8px">
|
|
27
|
-
<img src="../assets/密码.png" style="width: 20px;margin-bottom: 5px">
|
|
26
|
+
<img src="../assets/密码.png" style="width: 20px;margin-bottom: 5px" >
|
|
28
27
|
<span class="text-left font">新密码</span>
|
|
29
28
|
</div>
|
|
30
29
|
<div class="col-xs-8">
|
|
31
|
-
<input type="password" id="newpassword1" class="search_input input-font" v-model="model.password"
|
|
32
|
-
:placeholder="weakPassword?'需要包含大小写字母符号数字':'请输入新密码'"/>
|
|
30
|
+
<input type="password" id="newpassword1" class="search_input input-font" v-model="model.password" :placeholder="weakPassword?'需要包含大小写字母符号数字':'请输入新密码'"/>
|
|
33
31
|
</div>
|
|
34
32
|
</div>
|
|
35
33
|
<div class="row app-row">
|
|
@@ -38,13 +36,12 @@
|
|
|
38
36
|
<span class="text-left font">确认密码</span>
|
|
39
37
|
</div>
|
|
40
38
|
<div class="col-xs-8">
|
|
41
|
-
<input type="password" id="newpassword2" class="search_input input-font" v-model="model.newpassword"
|
|
42
|
-
placeholder="请重新输入新密码"/>
|
|
39
|
+
<input type="password" id="newpassword2" class="search_input input-font" v-model="model.newpassword" placeholder="请重新输入新密码"/>
|
|
43
40
|
</div>
|
|
44
41
|
</div>
|
|
45
42
|
<div class="row app-row">
|
|
46
43
|
<div class="col-xs-4" style="margin-top: 8px">
|
|
47
|
-
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showpass"
|
|
44
|
+
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showpass"@click="showoff()">
|
|
48
45
|
<img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="!showpass" @click="showon()">
|
|
49
46
|
<span class="text-left font">显示密码</span>
|
|
50
47
|
</div>
|
|
@@ -55,34 +52,20 @@
|
|
|
55
52
|
</div>
|
|
56
53
|
</template>
|
|
57
54
|
<script>
|
|
58
|
-
import Vue from 'vue'
|
|
55
|
+
import Vue from 'vue'
|
|
59
56
|
|
|
60
|
-
let asyncCheck = async function
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
let res = await Vue.resetpost(`${url}/rs/user/modifypwd`, {data: user}, {resolveMsg: null, rejectMsg: null})
|
|
70
|
-
console.log("手机端验证登陆原始密码")
|
|
71
|
-
console.log(res.data)
|
|
72
|
-
if ((JSON.stringify(res.data).startsWith("{") || JSON.stringify(res.data).startsWith("[")) && res.data.code && res.data.msg) {
|
|
73
|
-
if (res.data.code === 200) {
|
|
74
|
-
that.$showMessage('修改密码成功!')
|
|
75
|
-
if (that.sourse == 'login') {
|
|
76
|
-
that.$emit('success', that.model.password)
|
|
77
|
-
return
|
|
78
|
-
}
|
|
79
|
-
that.$back()
|
|
80
|
-
} else {
|
|
81
|
-
that.$showMessage('修改密码失败,请重新输入!' + res.data.msg)
|
|
82
|
-
console.log(res.data)
|
|
83
|
-
return
|
|
57
|
+
let asyncCheck = async function(self,url) {
|
|
58
|
+
try {
|
|
59
|
+
let that = self
|
|
60
|
+
let user = {
|
|
61
|
+
ename: that.model.ename,
|
|
62
|
+
newpassword:that.model.password,
|
|
63
|
+
affirmpassword:that.model.newpassword,
|
|
64
|
+
password : that.model.oldpassword
|
|
84
65
|
}
|
|
85
|
-
|
|
66
|
+
let res = await Vue.resetpost(`${url}/rs/user/modifypwd`,{data: user },{resolveMsg: null, rejectMsg: null})
|
|
67
|
+
console.log("手机端验证登陆原始密码")
|
|
68
|
+
console.log(res.data)
|
|
86
69
|
if(res.data){
|
|
87
70
|
that.$showMessage('修改密码成功!')
|
|
88
71
|
if(that.sourse == 'login'){
|
|
@@ -95,122 +78,115 @@ let asyncCheck = async function (self, url) {
|
|
|
95
78
|
console.log(res.data)
|
|
96
79
|
return
|
|
97
80
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
81
|
+
} catch (error) {
|
|
82
|
+
if (error.status == 500) {
|
|
83
|
+
that.$showMessage('网络异常,请检查手机网络!')
|
|
84
|
+
}else{
|
|
85
|
+
throw error
|
|
86
|
+
}
|
|
104
87
|
}
|
|
105
88
|
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export default {
|
|
109
|
-
title: '修改密码',
|
|
110
|
-
data() {
|
|
111
|
-
return {
|
|
112
|
-
model: {
|
|
113
|
-
user: Vue.user.name,
|
|
114
|
-
userid: Vue.user.id,
|
|
115
|
-
ename: Vue.user.ename,
|
|
116
|
-
oldpassword: '',
|
|
117
|
-
password: '',
|
|
118
|
-
newpassword: ''
|
|
119
|
-
},
|
|
120
|
-
showpass: false
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
props: {
|
|
124
|
-
sourse: '',
|
|
125
|
-
weakPassword: false
|
|
126
|
-
},
|
|
127
|
-
ready() {
|
|
128
89
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
90
|
+
export default {
|
|
91
|
+
title: '修改密码',
|
|
92
|
+
data () {
|
|
93
|
+
return {
|
|
94
|
+
model: {
|
|
95
|
+
user: Vue.user.name,
|
|
96
|
+
userid: Vue.user.id,
|
|
97
|
+
ename: Vue.user.ename,
|
|
98
|
+
oldpassword: '',
|
|
99
|
+
password: '',
|
|
100
|
+
newpassword:''
|
|
101
|
+
},
|
|
102
|
+
showpass:false
|
|
103
|
+
}
|
|
138
104
|
},
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
// },
|
|
143
|
-
showon() {
|
|
144
|
-
this.showpass = true
|
|
145
|
-
document.getElementById("oldpassword").type = "text"
|
|
146
|
-
document.getElementById("newpassword1").type = "text"
|
|
147
|
-
document.getElementById("newpassword2").type = "text"
|
|
105
|
+
props: {
|
|
106
|
+
sourse:'',
|
|
107
|
+
weakPassword:false
|
|
148
108
|
},
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
document.getElementById("oldpassword").type = "password"
|
|
152
|
-
document.getElementById("newpassword1").type = "password"
|
|
153
|
-
document.getElementById("newpassword2").type = "password"
|
|
109
|
+
ready () {
|
|
110
|
+
|
|
154
111
|
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
this.$showMessage('
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
//
|
|
166
|
-
|
|
112
|
+
methods: {
|
|
113
|
+
back () {
|
|
114
|
+
let _this = this
|
|
115
|
+
this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
|
|
116
|
+
if (res === 'confirm') {
|
|
117
|
+
_this.$back()
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
},
|
|
121
|
+
// showpass(){
|
|
122
|
+
// console.log('1')
|
|
123
|
+
// document.getElementById("oldpassword").type = "text"
|
|
124
|
+
// },
|
|
125
|
+
showon(){
|
|
126
|
+
this.showpass = true
|
|
127
|
+
document.getElementById("oldpassword").type = "text"
|
|
128
|
+
document.getElementById("newpassword1").type = "text"
|
|
129
|
+
document.getElementById("newpassword2").type = "text"
|
|
130
|
+
},
|
|
131
|
+
showoff(){
|
|
132
|
+
this.showpass = false
|
|
133
|
+
document.getElementById("oldpassword").type = "password"
|
|
134
|
+
document.getElementById("newpassword1").type = "password"
|
|
135
|
+
document.getElementById("newpassword2").type = "password"
|
|
136
|
+
},
|
|
137
|
+
save() {
|
|
138
|
+
// 先对新密码和确认密码是否一致
|
|
139
|
+
if (this.model.password != this.model.newpassword) {
|
|
140
|
+
this.$showMessage('两次输入密码不一致!')
|
|
141
|
+
return
|
|
142
|
+
}
|
|
143
|
+
if(this.weakPassword && this.model.password && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(this.model.password))){
|
|
144
|
+
this.$showMessage('新密码必须包含大小写字母、数字、符号!')
|
|
145
|
+
return
|
|
146
|
+
}
|
|
147
|
+
// 检验原始密码是否符合 并修改密码
|
|
148
|
+
asyncCheck(this, this.$androidUtil.getProxyUrl())
|
|
149
|
+
}
|
|
167
150
|
}
|
|
168
151
|
}
|
|
169
|
-
}
|
|
170
152
|
</script>
|
|
171
153
|
<style>
|
|
172
|
-
.search_input {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
font
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
z-index: 10;
|
|
211
|
-
opacity: 0.5;
|
|
212
|
-
bottom: 50px;
|
|
213
|
-
margin-top: -10px;
|
|
214
|
-
height: 40px;
|
|
215
|
-
}
|
|
154
|
+
.search_input {
|
|
155
|
+
border: 0;
|
|
156
|
+
outline: none;
|
|
157
|
+
}
|
|
158
|
+
.app-row {
|
|
159
|
+
background-color: white;
|
|
160
|
+
padding: 10px 10px 0 10px;
|
|
161
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
162
|
+
}
|
|
163
|
+
.font{
|
|
164
|
+
font: 15px PingFang-SC-Medium;
|
|
165
|
+
}
|
|
166
|
+
.btn-font{
|
|
167
|
+
font:600 16px PingFang-SC-Bold;
|
|
168
|
+
color: #499EDF;
|
|
169
|
+
}
|
|
170
|
+
.btn-color{
|
|
171
|
+
background-color: #FFFFFF;
|
|
172
|
+
border-radius: 10px ;
|
|
173
|
+
border: 1px solid #499EDF;
|
|
174
|
+
}
|
|
175
|
+
.input-font{
|
|
176
|
+
font: 15px PingFang-SC-Medium;
|
|
177
|
+
color: #333333;
|
|
178
|
+
}
|
|
179
|
+
.app-botton {
|
|
180
|
+
position:fixed;
|
|
181
|
+
background: #87b2dd;
|
|
182
|
+
color: #FFF;
|
|
183
|
+
padding: 8px;
|
|
184
|
+
text-align: center;
|
|
185
|
+
font-size: 1.2em;
|
|
186
|
+
z-index: 10;
|
|
187
|
+
opacity:0.5;
|
|
188
|
+
bottom: 50px;
|
|
189
|
+
margin-top: -10px;
|
|
190
|
+
height: 40px;
|
|
191
|
+
}
|
|
216
192
|
</style>
|