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,216 +1,216 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!--<div class="app-botton" @click="back()">-->
|
|
3
|
-
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
4
|
-
<!--</div>-->
|
|
5
|
-
<div class="auto">
|
|
6
|
-
<div class="row app-row">
|
|
7
|
-
<div class="col-xs-4">
|
|
8
|
-
<img src="../assets/姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
9
|
-
<span class="text-left font">账号</span>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-xs-8 input-font">
|
|
12
|
-
<input type="text" class="search_input input-font" v-model="model.ename" readonly/>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="row app-row">
|
|
16
|
-
<div class="col-xs-4" style="margin-top: 8px">
|
|
17
|
-
<img src="../assets/原始密码.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
18
|
-
<span class="text-left font">原始密码</span>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-xs-8">
|
|
21
|
-
<input type="password" id="oldpassword" class="search_input input-font" v-model="model.oldpassword"
|
|
22
|
-
placeholder="请输入原始密码"/>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="row app-row">
|
|
26
|
-
<div class="col-xs-4" style="margin-top: 8px">
|
|
27
|
-
<img src="../assets/密码.png" style="width: 20px;margin-bottom: 5px">
|
|
28
|
-
<span class="text-left font">新密码</span>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-xs-8">
|
|
31
|
-
<input type="password" id="newpassword1" class="search_input input-font" v-model="model.password"
|
|
32
|
-
:placeholder="weakPassword?'需要包含大小写字母符号数字':'请输入新密码'"/>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="row app-row">
|
|
36
|
-
<div class="col-xs-4" style="margin-top: 8px">
|
|
37
|
-
<img src="../assets/密码.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
38
|
-
<span class="text-left font">确认密码</span>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="col-xs-8">
|
|
41
|
-
<input type="password" id="newpassword2" class="search_input input-font" v-model="model.newpassword"
|
|
42
|
-
placeholder="请重新输入新密码"/>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="row app-row">
|
|
46
|
-
<div class="col-xs-4" style="margin-top: 8px">
|
|
47
|
-
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showpass" @click="showoff()">
|
|
48
|
-
<img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="!showpass" @click="showon()">
|
|
49
|
-
<span class="text-left font">显示密码</span>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="row app-row text-center">
|
|
53
|
-
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="save()">提交</button>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</template>
|
|
57
|
-
<script>
|
|
58
|
-
import Vue from 'vue'
|
|
59
|
-
|
|
60
|
-
let asyncCheck = async function (self, url) {
|
|
61
|
-
try {
|
|
62
|
-
let that = self
|
|
63
|
-
let user = {
|
|
64
|
-
ename: that.model.ename,
|
|
65
|
-
newpassword: that.model.password,
|
|
66
|
-
affirmpassword: that.model.newpassword,
|
|
67
|
-
password: that.model.oldpassword
|
|
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
|
|
84
|
-
}
|
|
85
|
-
} else {
|
|
86
|
-
if(res.data){
|
|
87
|
-
that.$showMessage('修改密码成功!')
|
|
88
|
-
if(that.sourse == 'login'){
|
|
89
|
-
that.$emit('success',that.model.password)
|
|
90
|
-
return
|
|
91
|
-
}
|
|
92
|
-
that.$back()
|
|
93
|
-
}else {
|
|
94
|
-
that.$showMessage('修改密码失败,请重新输入!')
|
|
95
|
-
console.log(res.data)
|
|
96
|
-
return
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
} catch (error) {
|
|
100
|
-
if (error.status == 500) {
|
|
101
|
-
that.$showMessage('网络异常,请检查手机网络!')
|
|
102
|
-
} else {
|
|
103
|
-
throw error
|
|
104
|
-
}
|
|
105
|
-
}
|
|
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
|
-
|
|
129
|
-
},
|
|
130
|
-
methods: {
|
|
131
|
-
back() {
|
|
132
|
-
let _this = this
|
|
133
|
-
this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
|
|
134
|
-
if (res === 'confirm') {
|
|
135
|
-
_this.$back()
|
|
136
|
-
}
|
|
137
|
-
})
|
|
138
|
-
},
|
|
139
|
-
// showpass(){
|
|
140
|
-
// console.log('1')
|
|
141
|
-
// document.getElementById("oldpassword").type = "text"
|
|
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"
|
|
148
|
-
},
|
|
149
|
-
showoff() {
|
|
150
|
-
this.showpass = false
|
|
151
|
-
document.getElementById("oldpassword").type = "password"
|
|
152
|
-
document.getElementById("newpassword1").type = "password"
|
|
153
|
-
document.getElementById("newpassword2").type = "password"
|
|
154
|
-
},
|
|
155
|
-
save() {
|
|
156
|
-
// 先对新密码和确认密码是否一致
|
|
157
|
-
if (this.model.password != this.model.newpassword) {
|
|
158
|
-
this.$showMessage('两次输入密码不一致!')
|
|
159
|
-
return
|
|
160
|
-
}
|
|
161
|
-
if (this.weakPassword && this.model.password && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(this.model.password))) {
|
|
162
|
-
this.$showMessage("密码必须是8~16位数字与大小字母外加特殊字符的组合,并且不能出现类似'123','abc'等连贯数字或者字母")
|
|
163
|
-
return
|
|
164
|
-
}
|
|
165
|
-
// 检验原始密码是否符合 并修改密码
|
|
166
|
-
asyncCheck(this, this.$androidUtil.getProxyUrl())
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
</script>
|
|
171
|
-
<style>
|
|
172
|
-
.search_input {
|
|
173
|
-
border: 0;
|
|
174
|
-
outline: none;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.app-row {
|
|
178
|
-
background-color: white;
|
|
179
|
-
padding: 10px 10px 0 10px;
|
|
180
|
-
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.font {
|
|
184
|
-
font: 15px PingFang-SC-Medium;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.btn-font {
|
|
188
|
-
font: 600 16px PingFang-SC-Bold;
|
|
189
|
-
color: #499EDF;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.btn-color {
|
|
193
|
-
background-color: #FFFFFF;
|
|
194
|
-
border-radius: 10px;
|
|
195
|
-
border: 1px solid #499EDF;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.input-font {
|
|
199
|
-
font: 15px PingFang-SC-Medium;
|
|
200
|
-
color: #333333;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.app-botton {
|
|
204
|
-
position: fixed;
|
|
205
|
-
background: #87b2dd;
|
|
206
|
-
color: #FFF;
|
|
207
|
-
padding: 8px;
|
|
208
|
-
text-align: center;
|
|
209
|
-
font-size: 1.2em;
|
|
210
|
-
z-index: 10;
|
|
211
|
-
opacity: 0.5;
|
|
212
|
-
bottom: 50px;
|
|
213
|
-
margin-top: -10px;
|
|
214
|
-
height: 40px;
|
|
215
|
-
}
|
|
216
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<!--<div class="app-botton" @click="back()">-->
|
|
3
|
+
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
4
|
+
<!--</div>-->
|
|
5
|
+
<div class="auto">
|
|
6
|
+
<div class="row app-row">
|
|
7
|
+
<div class="col-xs-4">
|
|
8
|
+
<img src="../assets/姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
9
|
+
<span class="text-left font">账号</span>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-xs-8 input-font">
|
|
12
|
+
<input type="text" class="search_input input-font" v-model="model.ename" readonly/>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="row app-row">
|
|
16
|
+
<div class="col-xs-4" style="margin-top: 8px">
|
|
17
|
+
<img src="../assets/原始密码.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
18
|
+
<span class="text-left font">原始密码</span>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-xs-8">
|
|
21
|
+
<input type="password" id="oldpassword" class="search_input input-font" v-model="model.oldpassword"
|
|
22
|
+
placeholder="请输入原始密码"/>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row app-row">
|
|
26
|
+
<div class="col-xs-4" style="margin-top: 8px">
|
|
27
|
+
<img src="../assets/密码.png" style="width: 20px;margin-bottom: 5px">
|
|
28
|
+
<span class="text-left font">新密码</span>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-xs-8">
|
|
31
|
+
<input type="password" id="newpassword1" class="search_input input-font" v-model="model.password"
|
|
32
|
+
:placeholder="weakPassword?'需要包含大小写字母符号数字':'请输入新密码'"/>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="row app-row">
|
|
36
|
+
<div class="col-xs-4" style="margin-top: 8px">
|
|
37
|
+
<img src="../assets/密码.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
38
|
+
<span class="text-left font">确认密码</span>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="col-xs-8">
|
|
41
|
+
<input type="password" id="newpassword2" class="search_input input-font" v-model="model.newpassword"
|
|
42
|
+
placeholder="请重新输入新密码"/>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="row app-row">
|
|
46
|
+
<div class="col-xs-4" style="margin-top: 8px">
|
|
47
|
+
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showpass" @click="showoff()">
|
|
48
|
+
<img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="!showpass" @click="showon()">
|
|
49
|
+
<span class="text-left font">显示密码</span>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row app-row text-center">
|
|
53
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="save()">提交</button>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</template>
|
|
57
|
+
<script>
|
|
58
|
+
import Vue from 'vue'
|
|
59
|
+
|
|
60
|
+
let asyncCheck = async function (self, url) {
|
|
61
|
+
try {
|
|
62
|
+
let that = self
|
|
63
|
+
let user = {
|
|
64
|
+
ename: that.model.ename,
|
|
65
|
+
newpassword: that.model.password,
|
|
66
|
+
affirmpassword: that.model.newpassword,
|
|
67
|
+
password: that.model.oldpassword
|
|
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
|
|
84
|
+
}
|
|
85
|
+
} else {
|
|
86
|
+
if(res.data){
|
|
87
|
+
that.$showMessage('修改密码成功!')
|
|
88
|
+
if(that.sourse == 'login'){
|
|
89
|
+
that.$emit('success',that.model.password)
|
|
90
|
+
return
|
|
91
|
+
}
|
|
92
|
+
that.$back()
|
|
93
|
+
}else {
|
|
94
|
+
that.$showMessage('修改密码失败,请重新输入!')
|
|
95
|
+
console.log(res.data)
|
|
96
|
+
return
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
} catch (error) {
|
|
100
|
+
if (error.status == 500) {
|
|
101
|
+
that.$showMessage('网络异常,请检查手机网络!')
|
|
102
|
+
} else {
|
|
103
|
+
throw error
|
|
104
|
+
}
|
|
105
|
+
}
|
|
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
|
+
|
|
129
|
+
},
|
|
130
|
+
methods: {
|
|
131
|
+
back() {
|
|
132
|
+
let _this = this
|
|
133
|
+
this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
|
|
134
|
+
if (res === 'confirm') {
|
|
135
|
+
_this.$back()
|
|
136
|
+
}
|
|
137
|
+
})
|
|
138
|
+
},
|
|
139
|
+
// showpass(){
|
|
140
|
+
// console.log('1')
|
|
141
|
+
// document.getElementById("oldpassword").type = "text"
|
|
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"
|
|
148
|
+
},
|
|
149
|
+
showoff() {
|
|
150
|
+
this.showpass = false
|
|
151
|
+
document.getElementById("oldpassword").type = "password"
|
|
152
|
+
document.getElementById("newpassword1").type = "password"
|
|
153
|
+
document.getElementById("newpassword2").type = "password"
|
|
154
|
+
},
|
|
155
|
+
save() {
|
|
156
|
+
// 先对新密码和确认密码是否一致
|
|
157
|
+
if (this.model.password != this.model.newpassword) {
|
|
158
|
+
this.$showMessage('两次输入密码不一致!')
|
|
159
|
+
return
|
|
160
|
+
}
|
|
161
|
+
if (this.weakPassword && this.model.password && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(this.model.password))) {
|
|
162
|
+
this.$showMessage("密码必须是8~16位数字与大小字母外加特殊字符的组合,并且不能出现类似'123','abc'等连贯数字或者字母")
|
|
163
|
+
return
|
|
164
|
+
}
|
|
165
|
+
// 检验原始密码是否符合 并修改密码
|
|
166
|
+
asyncCheck(this, this.$androidUtil.getProxyUrl())
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
</script>
|
|
171
|
+
<style>
|
|
172
|
+
.search_input {
|
|
173
|
+
border: 0;
|
|
174
|
+
outline: none;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.app-row {
|
|
178
|
+
background-color: white;
|
|
179
|
+
padding: 10px 10px 0 10px;
|
|
180
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.font {
|
|
184
|
+
font: 15px PingFang-SC-Medium;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.btn-font {
|
|
188
|
+
font: 600 16px PingFang-SC-Bold;
|
|
189
|
+
color: #499EDF;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.btn-color {
|
|
193
|
+
background-color: #FFFFFF;
|
|
194
|
+
border-radius: 10px;
|
|
195
|
+
border: 1px solid #499EDF;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.input-font {
|
|
199
|
+
font: 15px PingFang-SC-Medium;
|
|
200
|
+
color: #333333;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.app-botton {
|
|
204
|
+
position: fixed;
|
|
205
|
+
background: #87b2dd;
|
|
206
|
+
color: #FFF;
|
|
207
|
+
padding: 8px;
|
|
208
|
+
text-align: center;
|
|
209
|
+
font-size: 1.2em;
|
|
210
|
+
z-index: 10;
|
|
211
|
+
opacity: 0.5;
|
|
212
|
+
bottom: 50px;
|
|
213
|
+
margin-top: -10px;
|
|
214
|
+
height: 40px;
|
|
215
|
+
}
|
|
216
|
+
</style>
|
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="no-close row android-repair-order">
|
|
3
|
-
<div :class="[fullpage ? 'menu-hide' : 'col-sm-3 col-xs-3']" >
|
|
4
|
-
<ul class="nav nav-tabs">
|
|
5
|
-
<li>
|
|
6
|
-
<p style="padding-left: 15px; color: white; font-weight: 550">
|
|
7
|
-
登录人:{{loginInfo.name}}
|
|
8
|
-
</p>
|
|
9
|
-
<!--({{loginInfo.id}})-->
|
|
10
|
-
</li>
|
|
11
|
-
<li v-for="tab in tabs" @click="tabSelect(tab.link)" :class="{active: tab.link === componentName}">
|
|
12
|
-
<a href="#" class="tab-befor-img">
|
|
13
|
-
<img :src="getImg(tab.icon)" style="height: 30px;width:30px;">
|
|
14
|
-
{{tab.name}}</a>
|
|
15
|
-
</li>
|
|
16
|
-
<li @click="mute()">
|
|
17
|
-
<a href="#" class="repair-mute-class" >
|
|
18
|
-
<img src="../assets/guanbishengyin.png" style="height: 30px;width:30px;border-width:0">关闭声音</a>
|
|
19
|
-
</li>
|
|
20
|
-
</ul>
|
|
21
|
-
</div>
|
|
22
|
-
<div :class="[fullpage ? 'col-sm-12 col-xs-12' : 'col-sm-9 col-xs-9']" style="overflow: auto;">
|
|
23
|
-
<!--<route v-ref:route></route>-->
|
|
24
|
-
<repair-first v-if="componentName === 'repair-first'"></repair-first>
|
|
25
|
-
<completed-repair v-if="componentName === 'completed-repair'"></completed-repair>
|
|
26
|
-
<up-load v-if="componentName === 'up-load'"></up-load>
|
|
27
|
-
<check-page v-if="componentName === 'check-page'"></check-page>
|
|
28
|
-
<readmeter-home v-if="componentName === 'readmeter-home'"></readmeter-home>
|
|
29
|
-
<repair-send v-if="componentName === 'repair-send'"></repair-send>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<script scoped>
|
|
35
|
-
import Vue from 'vue'
|
|
36
|
-
import * as Util from '../Util'
|
|
37
|
-
export default {
|
|
38
|
-
title: '底部导航',
|
|
39
|
-
data () {
|
|
40
|
-
return {
|
|
41
|
-
componentName: 'repair-first',
|
|
42
|
-
tabs: Util.f.functions,
|
|
43
|
-
text: '导航组件this',
|
|
44
|
-
fullpage: false,
|
|
45
|
-
loginInfo: {}
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
ready () {
|
|
49
|
-
this.loginInfo = Object.assign({}, this.loginInfo, Vue.user)
|
|
50
|
-
console.log(this.loginInfo, 'loginINfo')
|
|
51
|
-
// this.$refs.route.init('repair-first')
|
|
52
|
-
},
|
|
53
|
-
methods: {
|
|
54
|
-
// 选择tab
|
|
55
|
-
tabSelect (name) {
|
|
56
|
-
this.componentName = name
|
|
57
|
-
// this.$refs.route.init(name)
|
|
58
|
-
if (name !== 'text-chat-pane') {
|
|
59
|
-
this.notified('false')
|
|
60
|
-
} else {
|
|
61
|
-
this.notified('true')
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
notified (stopped) {
|
|
65
|
-
console.log('txtServiceStopped invoked$')
|
|
66
|
-
if (this.$androidUtil.isAndroid) {
|
|
67
|
-
HostApp.setPreference('txtServiceStopped', stopped)
|
|
68
|
-
HostApp.setPreference('msgCount', '0')
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
mute () {
|
|
72
|
-
if(navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')){
|
|
73
|
-
window.prompt("mute","")
|
|
74
|
-
}else{
|
|
75
|
-
HostApp.mute()
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
getImg (param) {
|
|
79
|
-
return require(`../assets/${param}.png`)
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
events: {
|
|
83
|
-
showFullPage () {
|
|
84
|
-
this.fullpage = true
|
|
85
|
-
},
|
|
86
|
-
hideFullPage () {
|
|
87
|
-
this.fullpage = false
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
</script>
|
|
92
|
-
<style lang="less">
|
|
93
|
-
.tab-befor-img {
|
|
94
|
-
margin: 3px 0;
|
|
95
|
-
content: '';
|
|
96
|
-
background-size: 30px;
|
|
97
|
-
display: inline-block;
|
|
98
|
-
margin-right: 8px;
|
|
99
|
-
height: 30px;
|
|
100
|
-
width: 100%;
|
|
101
|
-
vertical-align: -35%;
|
|
102
|
-
}
|
|
103
|
-
img[src=""],img:not([src]){
|
|
104
|
-
opacity: 0;
|
|
105
|
-
border:none;
|
|
106
|
-
visibility: hidden;
|
|
107
|
-
max-width: none;
|
|
108
|
-
}
|
|
109
|
-
/* .repair-mute-class {
|
|
110
|
-
&::before {
|
|
111
|
-
.tab-befor-img("../assets/guanbishengyin.png")
|
|
112
|
-
}
|
|
113
|
-
}*/
|
|
114
|
-
.menu-hide {
|
|
115
|
-
display: none;
|
|
116
|
-
}
|
|
117
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="no-close row android-repair-order">
|
|
3
|
+
<div :class="[fullpage ? 'menu-hide' : 'col-sm-3 col-xs-3']" >
|
|
4
|
+
<ul class="nav nav-tabs">
|
|
5
|
+
<li>
|
|
6
|
+
<p style="padding-left: 15px; color: white; font-weight: 550">
|
|
7
|
+
登录人:{{loginInfo.name}}
|
|
8
|
+
</p>
|
|
9
|
+
<!--({{loginInfo.id}})-->
|
|
10
|
+
</li>
|
|
11
|
+
<li v-for="tab in tabs" @click="tabSelect(tab.link)" :class="{active: tab.link === componentName}">
|
|
12
|
+
<a href="#" class="tab-befor-img">
|
|
13
|
+
<img :src="getImg(tab.icon)" style="height: 30px;width:30px;">
|
|
14
|
+
{{tab.name}}</a>
|
|
15
|
+
</li>
|
|
16
|
+
<li @click="mute()">
|
|
17
|
+
<a href="#" class="repair-mute-class" >
|
|
18
|
+
<img src="../assets/guanbishengyin.png" style="height: 30px;width:30px;border-width:0">关闭声音</a>
|
|
19
|
+
</li>
|
|
20
|
+
</ul>
|
|
21
|
+
</div>
|
|
22
|
+
<div :class="[fullpage ? 'col-sm-12 col-xs-12' : 'col-sm-9 col-xs-9']" style="overflow: auto;">
|
|
23
|
+
<!--<route v-ref:route></route>-->
|
|
24
|
+
<repair-first v-if="componentName === 'repair-first'"></repair-first>
|
|
25
|
+
<completed-repair v-if="componentName === 'completed-repair'"></completed-repair>
|
|
26
|
+
<up-load v-if="componentName === 'up-load'"></up-load>
|
|
27
|
+
<check-page v-if="componentName === 'check-page'"></check-page>
|
|
28
|
+
<readmeter-home v-if="componentName === 'readmeter-home'"></readmeter-home>
|
|
29
|
+
<repair-send v-if="componentName === 'repair-send'"></repair-send>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script scoped>
|
|
35
|
+
import Vue from 'vue'
|
|
36
|
+
import * as Util from '../Util'
|
|
37
|
+
export default {
|
|
38
|
+
title: '底部导航',
|
|
39
|
+
data () {
|
|
40
|
+
return {
|
|
41
|
+
componentName: 'repair-first',
|
|
42
|
+
tabs: Util.f.functions,
|
|
43
|
+
text: '导航组件this',
|
|
44
|
+
fullpage: false,
|
|
45
|
+
loginInfo: {}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
ready () {
|
|
49
|
+
this.loginInfo = Object.assign({}, this.loginInfo, Vue.user)
|
|
50
|
+
console.log(this.loginInfo, 'loginINfo')
|
|
51
|
+
// this.$refs.route.init('repair-first')
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
// 选择tab
|
|
55
|
+
tabSelect (name) {
|
|
56
|
+
this.componentName = name
|
|
57
|
+
// this.$refs.route.init(name)
|
|
58
|
+
if (name !== 'text-chat-pane') {
|
|
59
|
+
this.notified('false')
|
|
60
|
+
} else {
|
|
61
|
+
this.notified('true')
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
notified (stopped) {
|
|
65
|
+
console.log('txtServiceStopped invoked$')
|
|
66
|
+
if (this.$androidUtil.isAndroid) {
|
|
67
|
+
HostApp.setPreference('txtServiceStopped', stopped)
|
|
68
|
+
HostApp.setPreference('msgCount', '0')
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
mute () {
|
|
72
|
+
if(navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')){
|
|
73
|
+
window.prompt("mute","")
|
|
74
|
+
}else{
|
|
75
|
+
HostApp.mute()
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
getImg (param) {
|
|
79
|
+
return require(`../assets/${param}.png`)
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
events: {
|
|
83
|
+
showFullPage () {
|
|
84
|
+
this.fullpage = true
|
|
85
|
+
},
|
|
86
|
+
hideFullPage () {
|
|
87
|
+
this.fullpage = false
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
</script>
|
|
92
|
+
<style lang="less">
|
|
93
|
+
.tab-befor-img {
|
|
94
|
+
margin: 3px 0;
|
|
95
|
+
content: '';
|
|
96
|
+
background-size: 30px;
|
|
97
|
+
display: inline-block;
|
|
98
|
+
margin-right: 8px;
|
|
99
|
+
height: 30px;
|
|
100
|
+
width: 100%;
|
|
101
|
+
vertical-align: -35%;
|
|
102
|
+
}
|
|
103
|
+
img[src=""],img:not([src]){
|
|
104
|
+
opacity: 0;
|
|
105
|
+
border:none;
|
|
106
|
+
visibility: hidden;
|
|
107
|
+
max-width: none;
|
|
108
|
+
}
|
|
109
|
+
/* .repair-mute-class {
|
|
110
|
+
&::before {
|
|
111
|
+
.tab-befor-img("../assets/guanbishengyin.png")
|
|
112
|
+
}
|
|
113
|
+
}*/
|
|
114
|
+
.menu-hide {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
</style>
|