system-clients 3.3.3-old → 3.3.3-v3
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/package.info +1 -0
- package/package.json +105 -105
- package/src/components/Main.vue +923 -927
- package/src/components/Util.js +15 -0
- package/src/components/server/Login.vue +558 -589
- package/src/filiale/baole/Login.vue +22 -18
- package/src/filiale/chengtou/Login.vue +22 -18
- package/src/filiale/dongguan/Login.vue +22 -18
- package/src/filiale/dongguan/Main.vue +1 -1
- package/src/filiale/furuike/Login.vue +22 -18
- package/src/filiale/furuike/Main.vue +1 -1
- package/src/filiale/gehua/Main.vue +1 -1
- package/src/filiale/konggang/Login.vue +22 -18
- package/src/filiale/qianneng/Login.vue +22 -18
- package/src/filiale/qianneng/Main.vue +1 -1
- package/src/filiale/rizhao/Login.vue +22 -18
- package/src/filiale/rizhao/Main.vue +1 -1
- package/src/filiale/shiquan/Login.vue +22 -18
- package/src/filiale/tianyi/Login.vue +22 -18
- package/src/filiale/tongchuan/Login.vue +22 -18
- package/src/filiale/tongchuan/Main.vue +1 -1
- package/src/filiale/weinan/Main.vue +1 -1
- package/src/filiale/wenxi/Login.vue +22 -18
- package/src/filiale/wenxi/Main.vue +1 -1
- package/src/filiale/wuhai/Main.vue +1 -1
- package/src/filiale/yuchuan/Login.vue +22 -18
- package/src/filiale/yuchuan/Main.vue +1 -1
- package/src/filiale/zhoukou/Main.vue +1 -1
- package/src/plugins/EncryptUtil.js +1 -1
- package/src/plugins/GetLoginInfoService.js +10 -3
- package/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build.gradle +0 -6
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
import $ from 'jquery'
|
|
146
146
|
import Vue from 'vue'
|
|
147
147
|
import {HttpResetClass} from 'vue-client'
|
|
148
|
+
import {isPasswordModificationExpired} from '../../components/Util'
|
|
148
149
|
|
|
149
150
|
let daibanJson = require('../../util/Daiban.json')
|
|
150
151
|
|
|
@@ -203,12 +204,15 @@
|
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
console.log(self.$login.depPrompt)
|
|
206
|
-
//
|
|
207
|
-
|
|
208
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
207
|
+
// 弱口令验证(默认开启,跳转过来的不进行验证)
|
|
208
|
+
if ((!self.otherLogin) && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
209
209
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
|
210
210
|
self.modifyPwShow = true
|
|
211
211
|
})
|
|
212
|
+
} else if ((!self.otherLogin) && isPasswordModificationExpired(self.$login.f.f_last_modification_time)) {
|
|
213
|
+
self.$showMessage('登录系统: 您的密码已超过两个半月未修改,请修改密码后重新登录!!!', ['confirm']).then((res) => {
|
|
214
|
+
self.modifyPwShow = true
|
|
215
|
+
})
|
|
212
216
|
} else if ((!self.otherLogin) && self.$login.depPrompt) {
|
|
213
217
|
self.depPromptShow = true
|
|
214
218
|
if (self.$login.showDaiBan && self.$login.r.includes('展示预约信息')){
|
|
@@ -229,6 +233,8 @@
|
|
|
229
233
|
}
|
|
230
234
|
} catch (ret) {
|
|
231
235
|
console.error('登录失败', ret)
|
|
236
|
+
self.$login.s = null
|
|
237
|
+
self.$login['v3-session-key'] = null
|
|
232
238
|
let msg
|
|
233
239
|
if (ret instanceof Error) {
|
|
234
240
|
msg = ret
|
|
@@ -257,19 +263,19 @@
|
|
|
257
263
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
258
264
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
259
265
|
this.vTime = this.format(new Date(window.versionTime));
|
|
260
|
-
try{
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}catch(e){}
|
|
266
|
+
// try{
|
|
267
|
+
// let http = new HttpResetClass()
|
|
268
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
269
|
+
// {data:{
|
|
270
|
+
// tablename: 't_changedeclare',
|
|
271
|
+
// condition: ` f_type ='变更通知' `
|
|
272
|
+
// }
|
|
273
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
274
|
+
// if(res.data.length>0){
|
|
275
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
276
|
+
// this.notice=res.data[0].f_change_message
|
|
277
|
+
// }
|
|
278
|
+
// }catch(e){}
|
|
273
279
|
|
|
274
280
|
this.loginother();
|
|
275
281
|
$('#login-button').click(function (event) {
|
|
@@ -278,10 +284,8 @@
|
|
|
278
284
|
})
|
|
279
285
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
280
286
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
281
|
-
console.log(subUrl)
|
|
282
287
|
this.model.ename = window.atob(subUrl[0])
|
|
283
288
|
this.model.password = window.atob(subUrl[1])
|
|
284
|
-
console.log('this.model.ename',this.model.ename)
|
|
285
289
|
this.otherLogin = true
|
|
286
290
|
this.confirm()
|
|
287
291
|
}else{
|
|
@@ -148,6 +148,7 @@ import co from 'co'
|
|
|
148
148
|
import $ from 'jquery'
|
|
149
149
|
import Vue from 'vue'
|
|
150
150
|
import {HttpResetClass} from 'vue-client'
|
|
151
|
+
import {isPasswordModificationExpired} from '../../components/Util'
|
|
151
152
|
|
|
152
153
|
let daibanJson = require('../../util/Daiban.json')
|
|
153
154
|
|
|
@@ -207,12 +208,15 @@ let saveGen = function *(self) {
|
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
console.log(self.$login.depPrompt)
|
|
210
|
-
//
|
|
211
|
-
|
|
212
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
211
|
+
// 弱口令验证(默认开启,跳转过来的不进行验证)
|
|
212
|
+
if ((!self.otherLogin) && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
213
213
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
|
214
214
|
self.modifyPwShow = true
|
|
215
215
|
})
|
|
216
|
+
} else if ((!self.otherLogin) && isPasswordModificationExpired(self.$login.f.f_last_modification_time)) {
|
|
217
|
+
self.$showMessage('登录系统: 您的密码已超过两个半月未修改,请修改密码后重新登录!!!', ['confirm']).then((res) => {
|
|
218
|
+
self.modifyPwShow = true
|
|
219
|
+
})
|
|
216
220
|
} else if ((!self.otherLogin) && self.$login.depPrompt) {
|
|
217
221
|
self.depPromptShow = true
|
|
218
222
|
if (self.$login.showDaiBan && self.$login.r.includes('展示预约信息')){
|
|
@@ -238,6 +242,8 @@ let saveGen = function *(self) {
|
|
|
238
242
|
|
|
239
243
|
} catch (ret) {
|
|
240
244
|
console.error('登录失败', ret)
|
|
245
|
+
self.$login.s = null
|
|
246
|
+
self.$login['v3-session-key'] = null
|
|
241
247
|
let msg
|
|
242
248
|
if (ret instanceof Error) {
|
|
243
249
|
msg = ret
|
|
@@ -264,19 +270,19 @@ export default {
|
|
|
264
270
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
265
271
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
266
272
|
this.vTime = this.format(new Date(window.versionTime));
|
|
267
|
-
try{
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}catch(e){}
|
|
273
|
+
// try{
|
|
274
|
+
// let http = new HttpResetClass()
|
|
275
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
276
|
+
// {data:{
|
|
277
|
+
// tablename: 't_changedeclare',
|
|
278
|
+
// condition: ` f_type ='变更通知' `
|
|
279
|
+
// }
|
|
280
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
281
|
+
// if(res.data.length>0){
|
|
282
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
283
|
+
// this.notice=res.data[0].f_change_message
|
|
284
|
+
// }
|
|
285
|
+
// }catch(e){}
|
|
280
286
|
|
|
281
287
|
this.loginother();
|
|
282
288
|
$('#login-button').click(function (event) {
|
|
@@ -285,10 +291,8 @@ export default {
|
|
|
285
291
|
})
|
|
286
292
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
287
293
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
288
|
-
console.log(subUrl)
|
|
289
294
|
this.model.ename = window.atob(subUrl[0])
|
|
290
295
|
this.model.password = window.atob(subUrl[1])
|
|
291
|
-
console.log('this.model.ename',this.model.ename)
|
|
292
296
|
this.otherLogin = true
|
|
293
297
|
this.confirm()
|
|
294
298
|
}else{
|
|
@@ -141,6 +141,7 @@ import co from 'co'
|
|
|
141
141
|
import $ from 'jquery'
|
|
142
142
|
import Vue from 'vue'
|
|
143
143
|
import {HttpResetClass} from 'vue-client'
|
|
144
|
+
import {isPasswordModificationExpired} from '../../components/Util'
|
|
144
145
|
|
|
145
146
|
let daibanJson = require('../../util/Daiban.json')
|
|
146
147
|
|
|
@@ -200,12 +201,15 @@ let saveGen = function *(self) {
|
|
|
200
201
|
}
|
|
201
202
|
}
|
|
202
203
|
console.log(self.$login.depPrompt)
|
|
203
|
-
//
|
|
204
|
-
|
|
205
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
204
|
+
// 弱口令验证(默认开启,跳转过来的不进行验证)
|
|
205
|
+
if ((!self.otherLogin) && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
206
206
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
|
207
207
|
self.modifyPwShow = true
|
|
208
208
|
})
|
|
209
|
+
} else if ((!self.otherLogin) && isPasswordModificationExpired(self.$login.f.f_last_modification_time)) {
|
|
210
|
+
self.$showMessage('登录系统: 您的密码已超过两个半月未修改,请修改密码后重新登录!!!', ['confirm']).then((res) => {
|
|
211
|
+
self.modifyPwShow = true
|
|
212
|
+
})
|
|
209
213
|
} else if ((!self.otherLogin) && self.$login.depPrompt) {
|
|
210
214
|
self.depPromptShow = true
|
|
211
215
|
if (self.$login.showDaiBan && self.$login.r.includes('展示预约信息')){
|
|
@@ -231,6 +235,8 @@ let saveGen = function *(self) {
|
|
|
231
235
|
|
|
232
236
|
} catch (ret) {
|
|
233
237
|
console.error('登录失败', ret)
|
|
238
|
+
self.$login.s = null
|
|
239
|
+
self.$login['v3-session-key'] = null
|
|
234
240
|
let msg
|
|
235
241
|
if (ret instanceof Error) {
|
|
236
242
|
msg = ret
|
|
@@ -255,19 +261,19 @@ export default {
|
|
|
255
261
|
title: '登录',
|
|
256
262
|
async ready () {
|
|
257
263
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
258
|
-
try{
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}catch(e){}
|
|
264
|
+
// try{
|
|
265
|
+
// let http = new HttpResetClass()
|
|
266
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
267
|
+
// {data:{
|
|
268
|
+
// tablename: 't_changedeclare',
|
|
269
|
+
// condition: ` f_type ='变更通知' `
|
|
270
|
+
// }
|
|
271
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
272
|
+
// if(res.data.length>0){
|
|
273
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
274
|
+
// this.notice=res.data[0].f_change_message
|
|
275
|
+
// }
|
|
276
|
+
// }catch(e){}
|
|
271
277
|
|
|
272
278
|
this.loginother();
|
|
273
279
|
$('#login-button').click(function (event) {
|
|
@@ -276,10 +282,8 @@ export default {
|
|
|
276
282
|
})
|
|
277
283
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
278
284
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
279
|
-
console.log(subUrl)
|
|
280
285
|
this.model.ename = window.atob(subUrl[0])
|
|
281
286
|
this.model.password = window.atob(subUrl[1])
|
|
282
|
-
console.log('this.model.ename',this.model.ename)
|
|
283
287
|
this.otherLogin = true
|
|
284
288
|
this.confirm()
|
|
285
289
|
}else{
|
|
@@ -617,7 +617,7 @@ let createWaterMark = function (userName) {
|
|
|
617
617
|
}
|
|
618
618
|
},
|
|
619
619
|
openUrl() {
|
|
620
|
-
var url = `
|
|
620
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
621
621
|
window.open(url, '_blank')
|
|
622
622
|
},
|
|
623
623
|
hindsetting() {
|
|
@@ -521,7 +521,7 @@ export default {
|
|
|
521
521
|
}
|
|
522
522
|
},
|
|
523
523
|
openUrl() {
|
|
524
|
-
var url = `
|
|
524
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
525
525
|
window.open(url, '_blank')
|
|
526
526
|
},
|
|
527
527
|
hindsetting() {
|
|
@@ -141,6 +141,7 @@ import co from 'co'
|
|
|
141
141
|
import $ from 'jquery'
|
|
142
142
|
import Vue from 'vue'
|
|
143
143
|
import {HttpResetClass} from 'vue-client'
|
|
144
|
+
import {isPasswordModificationExpired} from '../../components/Util'
|
|
144
145
|
|
|
145
146
|
let daibanJson = require('../../util/Daiban.json')
|
|
146
147
|
|
|
@@ -200,12 +201,15 @@ let saveGen = function *(self) {
|
|
|
200
201
|
}
|
|
201
202
|
}
|
|
202
203
|
console.log(self.$login.depPrompt)
|
|
203
|
-
//
|
|
204
|
-
|
|
205
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
204
|
+
// 弱口令验证(默认开启,跳转过来的不进行验证)
|
|
205
|
+
if ((!self.otherLogin) && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
206
206
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
|
207
207
|
self.modifyPwShow = true
|
|
208
208
|
})
|
|
209
|
+
} else if ((!self.otherLogin) && isPasswordModificationExpired(self.$login.f.f_last_modification_time)) {
|
|
210
|
+
self.$showMessage('登录系统: 您的密码已超过两个半月未修改,请修改密码后重新登录!!!', ['confirm']).then((res) => {
|
|
211
|
+
self.modifyPwShow = true
|
|
212
|
+
})
|
|
209
213
|
} else if ((!self.otherLogin) && self.$login.depPrompt) {
|
|
210
214
|
self.depPromptShow = true
|
|
211
215
|
if (self.$login.showDaiBan && self.$login.r.includes('展示预约信息')){
|
|
@@ -231,6 +235,8 @@ let saveGen = function *(self) {
|
|
|
231
235
|
|
|
232
236
|
} catch (ret) {
|
|
233
237
|
console.error('登录失败', ret)
|
|
238
|
+
self.$login.s = null
|
|
239
|
+
self.$login['v3-session-key'] = null
|
|
234
240
|
let msg
|
|
235
241
|
if (ret instanceof Error) {
|
|
236
242
|
msg = ret
|
|
@@ -257,19 +263,19 @@ export default {
|
|
|
257
263
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
258
264
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
259
265
|
this.vTime = this.format(new Date(window.versionTime));
|
|
260
|
-
try{
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}catch(e){}
|
|
266
|
+
// try{
|
|
267
|
+
// let http = new HttpResetClass()
|
|
268
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
269
|
+
// {data:{
|
|
270
|
+
// tablename: 't_changedeclare',
|
|
271
|
+
// condition: ` f_type ='变更通知' `
|
|
272
|
+
// }
|
|
273
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
274
|
+
// if(res.data.length>0){
|
|
275
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
276
|
+
// this.notice=res.data[0].f_change_message
|
|
277
|
+
// }
|
|
278
|
+
// }catch(e){}
|
|
273
279
|
|
|
274
280
|
this.loginother();
|
|
275
281
|
$('#login-button').click(function (event) {
|
|
@@ -278,10 +284,8 @@ export default {
|
|
|
278
284
|
})
|
|
279
285
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
280
286
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
281
|
-
console.log(subUrl)
|
|
282
287
|
this.model.ename = window.atob(subUrl[0])
|
|
283
288
|
this.model.password = window.atob(subUrl[1])
|
|
284
|
-
console.log('this.model.ename',this.model.ename)
|
|
285
289
|
this.otherLogin = true
|
|
286
290
|
this.confirm()
|
|
287
291
|
}else{
|
|
@@ -383,7 +383,7 @@ export default {
|
|
|
383
383
|
}
|
|
384
384
|
},
|
|
385
385
|
openUrl() {
|
|
386
|
-
var url = `
|
|
386
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
387
387
|
window.open(url, '_blank')
|
|
388
388
|
},
|
|
389
389
|
hindsetting() {
|
|
@@ -388,7 +388,7 @@ export default {
|
|
|
388
388
|
}
|
|
389
389
|
},
|
|
390
390
|
openUrl() {
|
|
391
|
-
var url = `
|
|
391
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
392
392
|
window.open(url, '_blank')
|
|
393
393
|
},
|
|
394
394
|
hindsetting() {
|
|
@@ -140,6 +140,7 @@ import co from 'co'
|
|
|
140
140
|
import $ from 'jquery'
|
|
141
141
|
import Vue from 'vue'
|
|
142
142
|
import {HttpResetClass} from 'vue-client'
|
|
143
|
+
import {isPasswordModificationExpired} from '../../components/Util'
|
|
143
144
|
|
|
144
145
|
let daibanJson = require('../../util/Daiban.json')
|
|
145
146
|
|
|
@@ -199,12 +200,15 @@ let saveGen = function *(self) {
|
|
|
199
200
|
}
|
|
200
201
|
}
|
|
201
202
|
console.log(self.$login.depPrompt)
|
|
202
|
-
//
|
|
203
|
-
|
|
204
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
203
|
+
// 弱口令验证(默认开启,跳转过来的不进行验证)
|
|
204
|
+
if ((!self.otherLogin) && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
|
205
205
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
|
206
206
|
self.modifyPwShow = true
|
|
207
207
|
})
|
|
208
|
+
} else if ((!self.otherLogin) && isPasswordModificationExpired(self.$login.f.f_last_modification_time)) {
|
|
209
|
+
self.$showMessage('登录系统: 您的密码已超过两个半月未修改,请修改密码后重新登录!!!', ['confirm']).then((res) => {
|
|
210
|
+
self.modifyPwShow = true
|
|
211
|
+
})
|
|
208
212
|
} else if ((!self.otherLogin) && self.$login.depPrompt) {
|
|
209
213
|
self.depPromptShow = true
|
|
210
214
|
if (self.$login.showDaiBan && self.$login.r.includes('展示预约信息')){
|
|
@@ -230,6 +234,8 @@ let saveGen = function *(self) {
|
|
|
230
234
|
|
|
231
235
|
} catch (ret) {
|
|
232
236
|
console.error('登录失败', ret)
|
|
237
|
+
self.$login.s = null
|
|
238
|
+
self.$login['v3-session-key'] = null
|
|
233
239
|
let msg
|
|
234
240
|
if (ret instanceof Error) {
|
|
235
241
|
msg = ret
|
|
@@ -254,19 +260,19 @@ export default {
|
|
|
254
260
|
title: '登录',
|
|
255
261
|
async ready () {
|
|
256
262
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
257
|
-
try{
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
}catch(e){}
|
|
263
|
+
// try{
|
|
264
|
+
// let http = new HttpResetClass()
|
|
265
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
266
|
+
// {data:{
|
|
267
|
+
// tablename: 't_changedeclare',
|
|
268
|
+
// condition: ` f_type ='变更通知' `
|
|
269
|
+
// }
|
|
270
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
271
|
+
// if(res.data.length>0){
|
|
272
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
273
|
+
// this.notice=res.data[0].f_change_message
|
|
274
|
+
// }
|
|
275
|
+
// }catch(e){}
|
|
270
276
|
|
|
271
277
|
this.loginother();
|
|
272
278
|
$('#login-button').click(function (event) {
|
|
@@ -275,10 +281,8 @@ export default {
|
|
|
275
281
|
})
|
|
276
282
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
277
283
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
278
|
-
console.log(subUrl)
|
|
279
284
|
this.model.ename = window.atob(subUrl[0])
|
|
280
285
|
this.model.password = window.atob(subUrl[1])
|
|
281
|
-
console.log('this.model.ename',this.model.ename)
|
|
282
286
|
this.otherLogin = true
|
|
283
287
|
this.confirm()
|
|
284
288
|
}else{
|
|
@@ -462,7 +462,7 @@ export default {
|
|
|
462
462
|
}
|
|
463
463
|
},
|
|
464
464
|
openUrl() {
|
|
465
|
-
var url = `
|
|
465
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
466
466
|
window.open(url, '_blank')
|
|
467
467
|
},
|
|
468
468
|
hindsetting() {
|
|
@@ -363,7 +363,7 @@ export default {
|
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
openUrl() {
|
|
366
|
-
var url = `
|
|
366
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
367
367
|
window.open(url, '_blank')
|
|
368
368
|
},
|
|
369
369
|
hindsetting() {
|
|
@@ -48,6 +48,6 @@ export default {
|
|
|
48
48
|
let encrypt = new RsaEncryptJS();
|
|
49
49
|
encrypt.setPrivateKey('MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKo++i9J9dzAFtbxwowKDCo2mxi7MXxE8A8VvssaydWjjgmEz/HHMPLOhi1182a1si4pWL0/MizKnquD7T2Bu4jpQbAFnkNYEMEyq/kw904Xl0JCQHYFuvnI99RE8Q3KlTP6kEUGDjV34EL6vBGJcQvArLtj1xoP8y0nIfJ2Pw5TAgMBAAECgYAGGB8IllMwxceLhjf6n1l0IWRH7FuHIUieoZ6k0p6rASHSgWiYNRMxfecbtX8zDAoG0QAWNi7rn40ygpR5gS1fWDAKhmnhKgQIT6wW0VmD4hraaeyP78iy8BLhlvblri2nCPIhDH5+l96v7D47ZZi3ZSOzcj89s1eS/k7/N4peEQJBAPEtGGJY+lBoCxQMhGyzuzDmgcS1Un1ZE2pt+XNCVl2b+T8fxWJH3tRRR8wOY5uvtPiK1HM/IjT0T5qwQeH8Yk0CQQC0tcv3d/bDb7bOe9QzUFDQkUSpTdPWAgMX2OVPxjdq3Sls9oA5+fGNYEy0OgyqTjde0b4iRzlD1O0OhLqPSUMfAkEAh5FIvqezdRU2/PsYSR4yoAdCdLdT+h/jGRVefhqQ/6eYUJJkWp15tTFHQX3pIe9/s6IeT/XyHYAjaxmevxAmlQJBAKSdhvQjf9KAjZKDEsa7vyJ/coCXuQUWSCMNHbcR5aGfXgE4e45UtUoIE1eKGcd6AM6LWhx3rR6xdFDpb9je8BkCQB0SpevGfOQkMk5i8xkEt9eeYP0fi8nv6eOUcK96EXbzs4jV2SAoQJ9oJegPtPROHbhIvVUmNQTbuP10Yjg59+8=');
|
|
50
50
|
let resdata = encrypt.decrypt(word);
|
|
51
|
-
return
|
|
51
|
+
return resdata.toString();
|
|
52
52
|
},
|
|
53
53
|
}
|
|
@@ -10,6 +10,9 @@ let loginGen = async function (name, password, cue) {
|
|
|
10
10
|
//获取jwt
|
|
11
11
|
Vue.$login.jwt = getLogin.data.jwt
|
|
12
12
|
Vue.$login.jwtNew = getLogin.data.jwtNew
|
|
13
|
+
if (getLogin.data.s) {
|
|
14
|
+
Vue.$login['v3-session-key'] = cryptJS.RSADecrypt(getLogin.data.s)
|
|
15
|
+
}
|
|
13
16
|
// 调用远程登录服务,获取所有有权访问的功能
|
|
14
17
|
data = {username: name, password: password}
|
|
15
18
|
data = cryptJS.RSAEncrypt(JSON.stringify(data))
|
|
@@ -36,7 +39,7 @@ let loginGen = async function (name, password, cue) {
|
|
|
36
39
|
let hasRight = await Vue.resetpost(`/rs/search`, {
|
|
37
40
|
source: "tool.getFullTree(this.getRights().where(row.getType() == $function$))",
|
|
38
41
|
userid: Vue.$login.f.id
|
|
39
|
-
}, {
|
|
42
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
40
43
|
console.log('有权限功能返回数据', JSON.stringify(hasRight.data))
|
|
41
44
|
//准备替换功能树
|
|
42
45
|
var fun = []
|
|
@@ -219,7 +222,7 @@ let GetLoginInfoService = {
|
|
|
219
222
|
//构建时间开关
|
|
220
223
|
versionTime: true,
|
|
221
224
|
//
|
|
222
|
-
SinglePageToken
|
|
225
|
+
SinglePageToken: {},
|
|
223
226
|
//登录信息展示开关
|
|
224
227
|
depPrompt: true,
|
|
225
228
|
install(Vue, options) {
|
|
@@ -239,7 +242,11 @@ let GetLoginInfoService = {
|
|
|
239
242
|
if (cue === undefined || cue === null || cue === '') {
|
|
240
243
|
cue = true
|
|
241
244
|
}
|
|
242
|
-
Vue.$login.SinglePageToken = cryptJS.AESEncrypt(JSON.stringify({
|
|
245
|
+
Vue.$login.SinglePageToken = cryptJS.AESEncrypt(JSON.stringify({
|
|
246
|
+
name,
|
|
247
|
+
password,
|
|
248
|
+
now: Date.now()
|
|
249
|
+
}), "3KMKqvgwR8ULbR8Z")
|
|
243
250
|
return loginGen(name, password, cue)
|
|
244
251
|
},
|
|
245
252
|
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|