system-clients 3.3.5 → 3.3.6

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/src/system.js CHANGED
@@ -1,122 +1,122 @@
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,VerificationType = 'mix', show_daiBan = false, show_yiDi= false, BAinformation = null,showVersionTime=true} = {}) {
32
- console.log(val,filiale,showLogin)
33
- //验证码开关赋值
34
- if(val!=null){
35
- GetLoginInfoService.Verification=val
36
- }
37
- GetLoginInfoService.VerificationType = (VerificationType === null || VerificationType === '') ? 'mix' : VerificationType
38
- //构建时间开关赋值
39
- if(val!=null){
40
- GetLoginInfoService.versionTime=showVersionTime
41
- }
42
- //登录提示赋值
43
- GetLoginInfoService.depPrompt=showLogin
44
- //展示待办赋值
45
- GetLoginInfoService.showDaiBan=show_daiBan
46
- //展示异地登录
47
- GetLoginInfoService.showYiDi=show_yiDi
48
- // 备案信息复制
49
- GetLoginInfoService.BAinformation = BAinformation
50
- Vue.use(GetLoginInfoService)
51
- Vue.use(GetAppDataService)
52
- Vue.use(HeatGetLoginInfoService)
53
- Vue.use(HeatGetAppDataService)
54
-
55
- Vue.component('login', login)
56
- Vue.component('change-declare', changeDeclare)
57
- Vue.component('add-changemsg', addChangemsg)
58
- Vue.component('home-page', homePage)
59
- Vue.component('left-tree', leftTree)
60
- Vue.component('icon-tree', iconTree)
61
- Vue.component('modify-pw', modifyPw)
62
- Vue.component('load-data', LoadData)
63
- Vue.component('right-tree', RightTree)
64
- Vue.component('test-right-tree', TestRightTree)
65
- Vue.component('role-selector', RoleSelector)
66
- //资源选择
67
- Vue.component('res-select', ResSelect)
68
- Vue.component('res-select-group', ResSelectGroup)
69
- //资源选择测试
70
- Vue.component('test-res-select', TestResSelect)
71
-
72
- // 参数管理(新)
73
- Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
74
- // 参数管理
75
- Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
76
- // 参数管理
77
- Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
78
- //进度条插件
79
- Vue.component('progress-base', (resolve) => { require(['./components/common/ProgressBase'], resolve) })
80
-
81
- // 参数管理(旧)
82
- Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
83
- // 参数管理
84
- Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
85
- // 参数管理
86
- Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
87
-
88
- // 终端管理
89
- Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
90
- // pc端控制
91
- Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
92
- // phone端控制
93
- Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
94
- // pos端控制
95
- Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
96
- // pos管理
97
- Vue.component('pos-manage-both', (resolve) => { require(['./components/equipment/PosManageBoth'], resolve) })
98
- // pos参数管理
99
- Vue.component('pos-param-manage', (resolve) => { require(['./components/equipment/PosParamManage'], resolve) })
100
-
101
- // 材料字典
102
- Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
103
- Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
104
- // 图片查看器
105
- Vue.component('image-viewer', (resolve) => { require(['./components/server/ImageViewer'], resolve) })
106
- // 测试图片查看器
107
- Vue.component('image-viewer-test', (resolve) => { require(['./components/server/ImageVieweTest'], resolve) })
108
-
109
- //省市区、街道、小区、楼栋级联查询
110
- Vue.component('pcd-building-select', (resolve) => { require(['./components/server/PcdBuildingSelect'], resolve) })
111
-
112
-
113
- // 大屏
114
- Vue.component('login-page', (resolve) => { require(['./components/server/LoginPage'], resolve) })
115
- Vue.component('login-view', (resolve) => { require(['./components/server/LoginView'], resolve) })
116
- if (filiale) {
117
- let filialeComp = require(`./filiale/${filiale}/system`).specialComp
118
- for (let key in filialeComp) {
119
- Vue.component(key, filialeComp[key])
120
- }
121
- }
122
- }
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,VerificationType = 'mix', show_daiBan = false, show_yiDi= false, BAinformation = null,showVersionTime=true} = {}) {
32
+ console.log(val,filiale,showLogin)
33
+ //验证码开关赋值
34
+ if(val!=null){
35
+ GetLoginInfoService.Verification=val
36
+ }
37
+ GetLoginInfoService.VerificationType = (VerificationType === null || VerificationType === '') ? 'mix' : VerificationType
38
+ //构建时间开关赋值
39
+ if(val!=null){
40
+ GetLoginInfoService.versionTime=showVersionTime
41
+ }
42
+ //登录提示赋值
43
+ GetLoginInfoService.depPrompt=showLogin
44
+ //展示待办赋值
45
+ GetLoginInfoService.showDaiBan=show_daiBan
46
+ //展示异地登录
47
+ GetLoginInfoService.showYiDi=show_yiDi
48
+ // 备案信息复制
49
+ GetLoginInfoService.BAinformation = BAinformation
50
+ Vue.use(GetLoginInfoService)
51
+ Vue.use(GetAppDataService)
52
+ Vue.use(HeatGetLoginInfoService)
53
+ Vue.use(HeatGetAppDataService)
54
+
55
+ Vue.component('login', login)
56
+ Vue.component('change-declare', changeDeclare)
57
+ Vue.component('add-changemsg', addChangemsg)
58
+ Vue.component('home-page', homePage)
59
+ Vue.component('left-tree', leftTree)
60
+ Vue.component('icon-tree', iconTree)
61
+ Vue.component('modify-pw', modifyPw)
62
+ Vue.component('load-data', LoadData)
63
+ Vue.component('right-tree', RightTree)
64
+ Vue.component('test-right-tree', TestRightTree)
65
+ Vue.component('role-selector', RoleSelector)
66
+ //资源选择
67
+ Vue.component('res-select', ResSelect)
68
+ Vue.component('res-select-group', ResSelectGroup)
69
+ //资源选择测试
70
+ Vue.component('test-res-select', TestResSelect)
71
+
72
+ // 参数管理(新)
73
+ Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
74
+ // 参数管理
75
+ Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
76
+ // 参数管理
77
+ Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
78
+ //进度条插件
79
+ Vue.component('progress-base', (resolve) => { require(['./components/common/ProgressBase'], resolve) })
80
+
81
+ // 参数管理(旧)
82
+ Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
83
+ // 参数管理
84
+ Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
85
+ // 参数管理
86
+ Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
87
+
88
+ // 终端管理
89
+ Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
90
+ // pc端控制
91
+ Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
92
+ // phone端控制
93
+ Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
94
+ // pos端控制
95
+ Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
96
+ // pos管理
97
+ Vue.component('pos-manage-both', (resolve) => { require(['./components/equipment/PosManageBoth'], resolve) })
98
+ // pos参数管理
99
+ Vue.component('pos-param-manage', (resolve) => { require(['./components/equipment/PosParamManage'], resolve) })
100
+
101
+ // 材料字典
102
+ Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
103
+ Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
104
+ // 图片查看器
105
+ Vue.component('image-viewer', (resolve) => { require(['./components/server/ImageViewer'], resolve) })
106
+ // 测试图片查看器
107
+ Vue.component('image-viewer-test', (resolve) => { require(['./components/server/ImageVieweTest'], resolve) })
108
+
109
+ //省市区、街道、小区、楼栋级联查询
110
+ Vue.component('pcd-building-select', (resolve) => { require(['./components/server/PcdBuildingSelect'], resolve) })
111
+
112
+
113
+ // 大屏
114
+ Vue.component('login-page', (resolve) => { require(['./components/server/LoginPage'], resolve) })
115
+ Vue.component('login-view', (resolve) => { require(['./components/server/LoginView'], resolve) })
116
+ if (filiale) {
117
+ let filialeComp = require(`./filiale/${filiale}/system`).specialComp
118
+ for (let key in filialeComp) {
119
+ Vue.component(key, filialeComp[key])
120
+ }
121
+ }
122
+ }