system-clients 3.2.1-28 → 3.2.1-31

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.
@@ -149,7 +149,7 @@ let saveGen = function *(self) {
149
149
  }
150
150
  }
151
151
  //吴小平
152
- // yield self.$getConfig(self, 'Login')
152
+ yield self.$getConfig(self, 'Login')
153
153
  console.log('登录配置', self.config)
154
154
  if (self.config.isMac) {
155
155
  // 获取该登录人分公司下的mac配置
@@ -184,7 +184,7 @@ let saveGen = function *(self) {
184
184
  console.log(self.$login.depPrompt)
185
185
  // 弱口令验证
186
186
  //跳转过来的不进行验证
187
- if ((!self.otherLogin) && self.config.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(self.model.password))) {
187
+ if ((!self.otherLogin) && self.config.weakPassword && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
188
188
  self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
189
189
  self.modifyPwShow = true
190
190
  })
package/src/system.js CHANGED
@@ -1,109 +1,109 @@
1
- import Vue from 'vue'
2
- import GetLoginInfoService from './plugins/GetLoginInfoService'
3
- import GetAppDataService from './stores/AppData'
4
- // 热力
5
- import HeatGetLoginInfoService from './plugins/HeatGetLoginInfoService'
6
- import HeatGetAppDataService from './stores/HeatAppData'
7
- // 热力登陆控制
8
- Vue.$heatCompatibility = Vue.prototype.$heatCompatibility = false
9
-
10
- // /** **************************登录与主界面相关******************************/
11
-
12
- import login from './components/server/Login'
13
- import changeDeclare from './components/server/ChangeDeclare'
14
- import addChangemsg from './components/server/AddChangeMsg'
15
- import homePage from './components/Main'
16
- import leftTree from './components/server/LeftTree'
17
- import iconTree from './components/server/IconTree'
18
- import modifyPw from './components/server/ModifyPw'
19
- import LoadData from './components/server/LoadData'
20
- import RightTree from './components/server/RightTree'
21
- import TestRightTree from './components/server/TestRightTree'
22
- //资源选择
23
- import ResSelect from './components/server/ResSelect'
24
- import ResSelectGroup from './components/server/ResSelectGroup'
25
-
26
- //资源选择测试
27
- import TestResSelect from './components/server/TestResSelect'
28
- import RoleSelector from "./components/server/RoleSelector";
29
-
30
- // BAinformation备案信息展示(空不展示, 传入什么展示什么,可以传标签)
31
- export default function (val,filiale, {showLogin = false, show_daiBan = false, BAinformation = null} = {}) {
32
- console.log(val,filiale,showLogin)
33
- //验证码开关赋值
34
- if(val!=null){
35
- GetLoginInfoService.Verification=val
36
- }
37
- //登录提示赋值
38
- GetLoginInfoService.depPrompt=showLogin
39
- //展示待办赋值
40
- GetLoginInfoService.showDaiBan=show_daiBan
41
- // 备案信息复制
42
- GetLoginInfoService.BAinformation = BAinformation
43
- Vue.use(GetLoginInfoService)
44
- Vue.use(GetAppDataService)
45
- Vue.use(HeatGetLoginInfoService)
46
- Vue.use(HeatGetAppDataService)
47
-
48
- Vue.component('login', login)
49
- Vue.component('change-declare', changeDeclare)
50
- Vue.component('add-changemsg', addChangemsg)
51
- Vue.component('home-page', homePage)
52
- Vue.component('left-tree', leftTree)
53
- Vue.component('icon-tree', iconTree)
54
- Vue.component('modify-pw', modifyPw)
55
- Vue.component('load-data', LoadData)
56
- Vue.component('right-tree', RightTree)
57
- Vue.component('test-right-tree', TestRightTree)
58
- Vue.component('role-selector', RoleSelector)
59
- //资源选择
60
- Vue.component('res-select', ResSelect)
61
- Vue.component('res-select-group', ResSelectGroup)
62
- //资源选择测试
63
- Vue.component('test-res-select', TestResSelect)
64
-
65
- // 参数管理(新)
66
- Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
67
- // 参数管理
68
- Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
69
- // 参数管理
70
- Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
71
-
72
- // 参数管理(旧)
73
- Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
74
- // 参数管理
75
- Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
76
- // 参数管理
77
- Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
78
-
79
- // 终端管理
80
- Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
81
- // pc端控制
82
- Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
83
- // phone端控制
84
- Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
85
- // pos端控制
86
- Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
87
- // pos管理
88
- Vue.component('pos-manage-both', (resolve) => { require(['./components/equipment/PosManageBoth'], resolve) })
89
- // pos参数管理
90
- Vue.component('pos-param-manage', (resolve) => { require(['./components/equipment/PosParamManage'], resolve) })
91
-
92
- // 材料字典
93
- Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
94
- Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
95
- // 图片查看器
96
- Vue.component('image-viewer', (resolve) => { require(['./components/server/ImageViewer'], resolve) })
97
- // 测试图片查看器
98
- Vue.component('image-viewer-test', (resolve) => { require(['./components/server/ImageVieweTest'], resolve) })
99
-
100
- //省市区、街道、小区、楼栋级联查询
101
- Vue.component('pcd-building-select', (resolve) => { require(['./components/server/PcdBuildingSelect'], resolve) })
102
-
103
- if (filiale) {
104
- let filialeComp = require(`./filiale/${filiale}/system`).specialComp
105
- for (let key in filialeComp) {
106
- Vue.component(key, filialeComp[key])
107
- }
108
- }
109
- }
1
+ import Vue from 'vue'
2
+ import GetLoginInfoService from './plugins/GetLoginInfoService'
3
+ import GetAppDataService from './stores/AppData'
4
+ // 热力
5
+ import HeatGetLoginInfoService from './plugins/HeatGetLoginInfoService'
6
+ import HeatGetAppDataService from './stores/HeatAppData'
7
+ // 热力登陆控制
8
+ Vue.$heatCompatibility = Vue.prototype.$heatCompatibility = false
9
+
10
+ // /** **************************登录与主界面相关******************************/
11
+
12
+ import login from './components/server/Login'
13
+ import changeDeclare from './components/server/ChangeDeclare'
14
+ import addChangemsg from './components/server/AddChangeMsg'
15
+ import homePage from './components/Main'
16
+ import leftTree from './components/server/LeftTree'
17
+ import iconTree from './components/server/IconTree'
18
+ import modifyPw from './components/server/ModifyPw'
19
+ import LoadData from './components/server/LoadData'
20
+ import RightTree from './components/server/RightTree'
21
+ import TestRightTree from './components/server/TestRightTree'
22
+ //资源选择
23
+ import ResSelect from './components/server/ResSelect'
24
+ import ResSelectGroup from './components/server/ResSelectGroup'
25
+
26
+ //资源选择测试
27
+ import TestResSelect from './components/server/TestResSelect'
28
+ import RoleSelector from "./components/server/RoleSelector";
29
+
30
+ // BAinformation备案信息展示(空不展示, 传入什么展示什么,可以传标签)
31
+ export default function (val,filiale, {showLogin = false, show_daiBan = false, BAinformation = null} = {}) {
32
+ console.log(val,filiale,showLogin)
33
+ //验证码开关赋值
34
+ if(val!=null){
35
+ GetLoginInfoService.Verification=val
36
+ }
37
+ //登录提示赋值
38
+ GetLoginInfoService.depPrompt=showLogin
39
+ //展示待办赋值
40
+ GetLoginInfoService.showDaiBan=show_daiBan
41
+ // 备案信息复制
42
+ GetLoginInfoService.BAinformation = BAinformation
43
+ Vue.use(GetLoginInfoService)
44
+ Vue.use(GetAppDataService)
45
+ Vue.use(HeatGetLoginInfoService)
46
+ Vue.use(HeatGetAppDataService)
47
+
48
+ Vue.component('login', login)
49
+ Vue.component('change-declare', changeDeclare)
50
+ Vue.component('add-changemsg', addChangemsg)
51
+ Vue.component('home-page', homePage)
52
+ Vue.component('left-tree', leftTree)
53
+ Vue.component('icon-tree', iconTree)
54
+ Vue.component('modify-pw', modifyPw)
55
+ Vue.component('load-data', LoadData)
56
+ Vue.component('right-tree', RightTree)
57
+ Vue.component('test-right-tree', TestRightTree)
58
+ Vue.component('role-selector', RoleSelector)
59
+ //资源选择
60
+ Vue.component('res-select', ResSelect)
61
+ Vue.component('res-select-group', ResSelectGroup)
62
+ //资源选择测试
63
+ Vue.component('test-res-select', TestResSelect)
64
+
65
+ // 参数管理(新)
66
+ Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
67
+ // 参数管理
68
+ Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
69
+ // 参数管理
70
+ Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
71
+
72
+ // 参数管理(旧)
73
+ Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
74
+ // 参数管理
75
+ Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
76
+ // 参数管理
77
+ Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
78
+
79
+ // 终端管理
80
+ Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
81
+ // pc端控制
82
+ Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
83
+ // phone端控制
84
+ Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
85
+ // pos端控制
86
+ Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
87
+ // pos管理
88
+ Vue.component('pos-manage-both', (resolve) => { require(['./components/equipment/PosManageBoth'], resolve) })
89
+ // pos参数管理
90
+ Vue.component('pos-param-manage', (resolve) => { require(['./components/equipment/PosParamManage'], resolve) })
91
+
92
+ // 材料字典
93
+ Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
94
+ Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
95
+ // 图片查看器
96
+ Vue.component('image-viewer', (resolve) => { require(['./components/server/ImageViewer'], resolve) })
97
+ // 测试图片查看器
98
+ Vue.component('image-viewer-test', (resolve) => { require(['./components/server/ImageVieweTest'], resolve) })
99
+
100
+ //省市区、街道、小区、楼栋级联查询
101
+ Vue.component('pcd-building-select', (resolve) => { require(['./components/server/PcdBuildingSelect'], resolve) })
102
+
103
+ if (filiale) {
104
+ let filialeComp = require(`./filiale/${filiale}/system`).specialComp
105
+ for (let key in filialeComp) {
106
+ Vue.component(key, filialeComp[key])
107
+ }
108
+ }
109
+ }