n20-common-lib 2.6.21 → 2.6.22

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.6.21",
3
+ "version": "2.6.22",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -112,9 +112,9 @@ export default {
112
112
  break
113
113
  case '4':
114
114
  this.pwdRE = [
115
- /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?])[A-Za-z\d!#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]{8,}$/
115
+ /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!#$%^&*()_+\-=\[\]{};':"\\|,.。!?,¥……‘’;”“、【】<>\/?])[A-Za-z\d!#$%^&*()_+\-=\[\]{};':"\\|,.。!?,¥……‘’;”“【】、<>\/?]{8,}$/
116
116
  ]
117
- this.pwdReMsg = $lc(`密码需包含数字、大小写字母、除@符外的特殊符号`)
117
+ this.pwdReMsg = $lc(`密码需包含数字、大小写字母、除@外的特殊字符`)
118
118
  break
119
119
  }
120
120
  })
@@ -465,7 +465,14 @@ export default {
465
465
  },
466
466
  // 跳转打开人员页面
467
467
  goMdmUser() {
468
- linkPush(`/user-web/user/editUserInfo?uno=${JSON.parse(sessionStorage.getItem('userInfo')).uno}&oneself=true`)
468
+ axios
469
+ .get(`/bems/user/mdmWfPersonalMid/validateOne/${JSON.parse(sessionStorage.getItem('userInfo')).uno}`)
470
+ .then(({ code, msg }) => {
471
+ if (code !== 2200) {
472
+ return this.$message.error(msg)
473
+ }
474
+ linkPush(`/user-web/user/editUserInfo?uno=${JSON.parse(sessionStorage.getItem('userInfo')).uno}&oneself=true`)
475
+ })
469
476
  },
470
477
  setUserVisible(v) {
471
478
  if (v) {