system-clients 3.2.1-24 → 3.2.1-25

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.
@@ -1,55 +1,55 @@
1
- <template>
2
- <div class="loadingdata" :class="{'loaderror': show, 'loadsuccess': !show}">
3
- <!-- <h2 style="margin: 0" v-if="show">{{msg}}</h2> -->
4
- <h2 style="margin: 0" v-if="show">参数加载失败,请检查网络状态和服务状态...</h2>
5
- </div>
6
- </template>
7
-
8
- <script>
9
- export default {
10
- title: '加载参数',
11
- data () {
12
- return {
13
- msg: '',
14
- show: false
15
- }
16
- },
17
- props: {
18
- componentName: {}
19
- },
20
- async ready () {
21
- this.$nextTick(() => {
22
- window.addEventListener('message', messageEvent => {
23
- try {
24
- const data = messageEvent.data
25
- console.log('接收到数据', data)
26
- this.$login = Object.assign(this.$login, data.login)
27
- this.$appdata = Object.assign(this.$appdata, data.appdata)
28
- if (!data.page) {
29
- this.$showMessage('没有功能连接, 请配置!')
30
- return
31
- }
32
- this.$goto(data.page)
33
- } catch (e) {
34
- console.log('登陆异常', e)
35
- }
36
- })
37
- })
38
- }
39
- }
40
- </script>
41
- <style media="screen">
42
- .loadingdata {
43
- position: fixed;
44
- background: #fff;
45
- opacity: 0.6;
46
- top: 0;
47
- width: 100%;
48
- }
49
- .loaderror {
50
- opacity: 1;
51
- }
52
- .loadsuccess {
53
- display: none;
54
- }
55
- </style>
1
+ <template>
2
+ <div class="loadingdata" :class="{'loaderror': show, 'loadsuccess': !show}">
3
+ <!-- <h2 style="margin: 0" v-if="show">{{msg}}</h2> -->
4
+ <h2 style="margin: 0" v-if="show">参数加载失败,请检查网络状态和服务状态...</h2>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+ export default {
10
+ title: '加载参数',
11
+ data () {
12
+ return {
13
+ msg: '',
14
+ show: false
15
+ }
16
+ },
17
+ props: {
18
+ componentName: {}
19
+ },
20
+ async ready () {
21
+ this.$nextTick(() => {
22
+ window.addEventListener('message', messageEvent => {
23
+ try {
24
+ const data = messageEvent.data
25
+ console.log('接收到数据', data)
26
+ this.$login = Object.assign(this.$login, data.login)
27
+ this.$appdata = Object.assign(this.$appdata, data.appdata)
28
+ if (!data.page) {
29
+ this.$showMessage('没有功能连接, 请配置!')
30
+ return
31
+ }
32
+ this.$goto(data.page)
33
+ } catch (e) {
34
+ console.log('登陆异常', e)
35
+ }
36
+ })
37
+ })
38
+ }
39
+ }
40
+ </script>
41
+ <style media="screen">
42
+ .loadingdata {
43
+ position: fixed;
44
+ background: #fff;
45
+ opacity: 0.6;
46
+ top: 0;
47
+ width: 100%;
48
+ }
49
+ .loaderror {
50
+ opacity: 1;
51
+ }
52
+ .loadsuccess {
53
+ display: none;
54
+ }
55
+ </style>
@@ -81,8 +81,8 @@
81
81
  </div>
82
82
 
83
83
  <modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal >
84
- <header slot="modal-header" class="modal-header">
85
- <h4 class="modal-title">登录信息</h4>
84
+ <header slot="modal-header" style="height: 8vh" class="modal-header">
85
+ <!--<h4 class="modal-title">登录信息</h4>-->
86
86
  </header>
87
87
  <article slot="modal-body" class="modal-body">
88
88
  <form class="form-horizontal">
@@ -91,13 +91,13 @@
91
91
  <label class="col-sm-5 ">当前登录人:</label>
92
92
  <label style="font-weight:normal">{{$login.f.name}}</label>
93
93
  </div>
94
- <div class="col-sm-12 form-group" v-if="$login.f.number">
95
- <label class="col-sm-5 ">组&nbsp;织&nbsp;编&nbsp;码:</label>
96
- <label style="font-weight:normal">{{$login.f.number}}</label>
97
- <!-- <div class="col-sm-7">
98
- <span >{{$login.f.number}}</span>
99
- </div> -->
100
- </div>
94
+ <!--<div class="col-sm-12 form-group" v-if="$login.f.number">-->
95
+ <!--<label class="col-sm-5 ">组&nbsp;织&nbsp;编&nbsp;码:</label>-->
96
+ <!--<label style="font-weight:normal">{{$login.f.number}}</label>-->
97
+ <!-- <div class="col-sm-7">
98
+ <span >{{$login.f.number}}</span>
99
+ </div> -->
100
+ <!--</div>-->
101
101
  <div class="col-sm-12 form-group">
102
102
  <label class="col-sm-5">所在销售点:</label>
103
103
  <label style="font-weight:normal">{{$login.f.deps}}</label>
@@ -108,12 +108,11 @@
108
108
  </div>
109
109
  </form>
110
110
  </article>
111
- <footer slot="modal-footer" class="modal-footer">
111
+ <footer slot="modal-footer" style="height: 8vh;padding: 2vh" class="modal-footer">
112
112
  <button class="button_search" @click="depPromptConfirm">确认</button>
113
113
  <button class="button_clear" @click="depPromptCancel">取消</button>
114
114
  </footer>
115
115
  </modal>
116
-
117
116
  <!-- 修改密码组件 -->
118
117
  <modify-pw :show.sync="modifyPwShow" v-if="modifyPwShow"></modify-pw>
119
118
  </div>
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
+ }