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
package/src/components/Util.js
CHANGED
|
@@ -77,6 +77,21 @@ export function parse3339String (strDate) {
|
|
|
77
77
|
)
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
// 判断密码最后修改时间是否超过两个半月(2个月零15天)
|
|
81
|
+
export function isPasswordModificationExpired (lastModificationTime) {
|
|
82
|
+
if (!lastModificationTime) {
|
|
83
|
+
return true
|
|
84
|
+
}
|
|
85
|
+
const lastMod = parse3339String(lastModificationTime)
|
|
86
|
+
if (isNaN(lastMod.getTime())) {
|
|
87
|
+
return true
|
|
88
|
+
}
|
|
89
|
+
const expireDate = new Date(lastMod)
|
|
90
|
+
expireDate.setMonth(expireDate.getMonth() + 2)
|
|
91
|
+
expireDate.setDate(expireDate.getDate() + 15)
|
|
92
|
+
return new Date() > expireDate
|
|
93
|
+
}
|
|
94
|
+
|
|
80
95
|
export function format3339TimeString (dt) {
|
|
81
96
|
let month = dt.getMonth() + 1
|
|
82
97
|
let date = dt.getDate()
|