system-clients 3.2.61 → 3.2.62

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": "system-clients",
3
- "version": "3.2.61",
3
+ "version": "3.2.62",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/App.vue CHANGED
@@ -1,24 +1,24 @@
1
- <template>
2
- <app-base class="bg">
3
- <div class='flex'>
4
- <article>
5
- <!--<route :comp="{name: 'check-model'}"></route>-->
6
- <!--<route :comp="{name: 'vender-management'}"></route>-->
7
- <route :comp="{name: 'login'}"></route>
8
- <!-- <route :comp="{name: 'load-data'}"></route> -->
9
- <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
- <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
- </article>
12
- </div>
13
- </app-base>
14
- </template>
15
-
16
- <script>
17
- // import cardListen from './plugins/CardListen'
18
-
19
- export default {
20
- // ready () {
21
- // cardListen.startListen()
22
- // }
23
- }
24
- </script>
1
+ <template>
2
+ <app-base class="bg">
3
+ <div class='flex'>
4
+ <article>
5
+ <!--<route :comp="{name: 'check-model'}"></route>-->
6
+ <!--<route :comp="{name: 'vender-management'}"></route>-->
7
+ <route :comp="{name: 'login'}"></route>
8
+ <!-- <route :comp="{name: 'load-data'}"></route> -->
9
+ <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
+ <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
+ </article>
12
+ </div>
13
+ </app-base>
14
+ </template>
15
+
16
+ <script>
17
+ // import cardListen from './plugins/CardListen'
18
+
19
+ export default {
20
+ // ready () {
21
+ // cardListen.startListen()
22
+ // }
23
+ }
24
+ </script>
@@ -8,7 +8,7 @@
8
8
  <img
9
9
  src="../../assets/clear-cookie.png" style="height: 25px; width: 95px;margin-bottom: 3px;">
10
10
  </button>
11
- <span>构建时间:{{ vTime }}</span>
11
+ <span v-if="$login.versionTime">>构建时间:{{ vTime }}</span>
12
12
  <div v-if="titleShow">
13
13
  <img src="../../../static/newStyle/login-info.png"/>
14
14
  <span @click="showus=true">关于我们</span>
@@ -1,125 +1,125 @@
1
- <template>
2
- <div>
3
- <validator name="v">
4
- <modal :show.sync="show" v-ref:modal backdrop="false">
5
- <header slot="modal-header" class="modal-header">
6
- <button type="button" class="close" @click="rest"><span>&times;</span></button>
7
- <h4 class="modal-title">修改密码</h4>
8
- </header>
9
- <article slot="modal-body" class="modal-body modifystyle auto form-horizontal">
10
- <div class="has-feedback form-group"
11
- :class="{'has-warning':$v.password.required,'has-error': $v.password.required,
12
- 'has-success':!$v.password.required}">
13
- <label for="password" class="col-sm-4 col-sm-offset-1 control-label">原始密码:&nbsp;&nbsp;</label>
14
- <div class="col-sm-4">
15
- <input type="password" v-model="deliver.password" class="form-control" id="password" v-validate:password="{ required: true}">
16
- <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.password.required"></span>
17
- <span v-if="$v.password.required">不能为空</span>
18
- </div>
19
- </div>
20
- <div class="has-feedback form-group"
21
- :class="{'has-warning':$v.newpassword.required,'has-error':($v.newpassword.numbersAndLetter8to16 || $v.newpassword.minlength)&& !$v.newpassword.required && !$v.newpassword.chinesePassword,
22
- 'has-success': !$v.newpassword.required && !$v.newpassword.numbersAndLetter8to16&&!$v.newpassword.minlength && !$v.newpassword.chinesePassword}">
23
- <label for="newpassword" class="col-sm-4 col-sm-offset-1 control-label">新的密码:&nbsp;&nbsp;</label>
24
- <div class="col-sm-4">
25
- <input type="password" v-model="deliver.newpassword" class="form-control" id="newpassword" v-validate:newpassword='{required:true, numbersAndLetter8to16: true, minlength: 6,chinesePassword: true}'>
26
- <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required && !$v.newpassword.minlength && !($v.newpassword.numbersAndLetter8to16 && !($v.newpassword.required)) && !($v.newpassword.chinesePassword) "></span>
27
- <span v-if="$v.newpassword.required">不能为空</span>
28
- <span v-if="($v.newpassword.numbersAndLetter8to16||$v.newpassword.minlength) && !($v.newpassword.required&&$v.newpassword.minlength)">密码必须是8~16位数字与字母组合</span>
29
- <span v-if="$v.newpassword.chinesePassword">密码不能包含中文</span>
30
- </div>
31
- </div>
32
- <div class="has-feedback form-group"
33
- :class="{'has-warning':$v.affirmpassword.required,'has-error':$v.affirmpassword.equalValid && !($v.affirmpassword.required),
34
- 'has-success': !$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))}">
35
- <label for="affirmpassword" class="col-sm-4 col-sm-offset-1 control-label">确认密码:&nbsp;&nbsp;</label>
36
- <div class="col-sm-4">
37
- <input type="password" v-model="deliver.affirmpassword" class="form-control" id="affirmpassword" v-validate:affirmpassword="{ required: true, equalValid: deliver.newpassword }">
38
- <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))"></span>
39
- <span v-if="$v.affirmpassword.required">不能为空</span>
40
- <span v-if="$v.affirmpassword.equalValid && !($v.affirmpassword.required)">两次密码不一致 !!</span>
41
- </div>
42
- </div>
43
- </article>
44
-
45
- <footer slot="modal-footer" class="modal-footer">
46
- <button type="button" class="btn btn-success" @click='confirm' :disabled="!$v.valid">确认</button>
47
- <button type="button" class="btn btn-default" @click='rest'>取消</button>
48
- </footer>
49
- </modal>
50
- </validator>
51
- </div>
52
-
53
-
54
- </template>
55
- <script>
56
- import co from 'co'
57
- import validator from '../../plugins/validation';
58
-
59
- let saveGen = function * (self) {
60
- self.deliver.ename = self.functions.ename
61
- // let res = yield self.$post('rs/user/entity', {data: self.deliver})
62
- // let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
63
- // let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
64
- // Util.f.password = self.deliver.newpassword
65
- let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver }, {resolveMsg: null,rejectMsg: null})
66
- self.$login.f.password = self.deliver.newpassword
67
- if (res.data) {
68
- console.log("修改密码返回:" , res.data)
69
- // 兼容旧版ldao,旧版不返回code
70
- if (res.data.code === 200) {
71
- self.deliver.password = ''
72
- self.deliver.newpassword = ''
73
- self.deliver.affirmpassword = ''
74
- self.show = false
75
- self.$showAlert("修改密码成功", 'success', 2000)
76
- } else {
77
- // 兼容旧版ldao,旧版不返回code
78
- self.deliver.password = ''
79
- self.deliver.newpassword = ''
80
- self.deliver.affirmpassword = ''
81
- self.show = false
82
- self.$showAlert("修改密码成功", 'success', 2000)
83
- }
84
- } else {
85
- if (res.data.code) {
86
- self.$showAlert("修改密码失败,原因:" + res.data.msg, 'warning', 2000)
87
- } else {
88
- self.$showMessage(res.data)
89
- }
90
- }
91
- }
92
- export default {
93
- title: '系统管理-密码修改',
94
- data () {
95
- return {
96
- deliver: {
97
- password: '',
98
- newpassword: '',
99
- affirmpassword: ''
100
- },
101
- functions: this.$login.f
102
- }
103
- },
104
- props: ['show'],
105
- methods: {
106
- confirm () {
107
- let gen = saveGen(this)
108
- co(gen)
109
- },
110
- rest () {
111
- this.show = false
112
- this.deliver = {password: '', newpassword: '', affirmpassword: ''}
113
- }
114
- }
115
- }
116
- </script>
117
- <style>
118
- /*修改密码body界面样式*/
119
- .modifystyle {
120
- background: #FCFEEE;
121
- }
122
- .modifystyle span{
123
- color: red;
124
- }
125
- </style>
1
+ <template>
2
+ <div>
3
+ <validator name="v">
4
+ <modal :show.sync="show" v-ref:modal backdrop="false">
5
+ <header slot="modal-header" class="modal-header">
6
+ <button type="button" class="close" @click="rest"><span>&times;</span></button>
7
+ <h4 class="modal-title">修改密码</h4>
8
+ </header>
9
+ <article slot="modal-body" class="modal-body modifystyle auto form-horizontal">
10
+ <div class="has-feedback form-group"
11
+ :class="{'has-warning':$v.password.required,'has-error': $v.password.required,
12
+ 'has-success':!$v.password.required}">
13
+ <label for="password" class="col-sm-4 col-sm-offset-1 control-label">原始密码:&nbsp;&nbsp;</label>
14
+ <div class="col-sm-4">
15
+ <input type="password" v-model="deliver.password" class="form-control" id="password" v-validate:password="{ required: true}">
16
+ <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.password.required"></span>
17
+ <span v-if="$v.password.required">不能为空</span>
18
+ </div>
19
+ </div>
20
+ <div class="has-feedback form-group"
21
+ :class="{'has-warning':$v.newpassword.required,'has-error':($v.newpassword.numbersAndLetter8to16 || $v.newpassword.minlength)&& !$v.newpassword.required && !$v.newpassword.chinesePassword,
22
+ 'has-success': !$v.newpassword.required && !$v.newpassword.numbersAndLetter8to16&&!$v.newpassword.minlength && !$v.newpassword.chinesePassword}">
23
+ <label for="newpassword" class="col-sm-4 col-sm-offset-1 control-label">新的密码:&nbsp;&nbsp;</label>
24
+ <div class="col-sm-4">
25
+ <input type="password" v-model="deliver.newpassword" class="form-control" id="newpassword" v-validate:newpassword='{required:true, numbersAndLetter8to16: true, minlength: 6,chinesePassword: true}'>
26
+ <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required && !$v.newpassword.minlength && !($v.newpassword.numbersAndLetter8to16 && !($v.newpassword.required)) && !($v.newpassword.chinesePassword) "></span>
27
+ <span v-if="$v.newpassword.required">不能为空</span>
28
+ <span v-if="($v.newpassword.numbersAndLetter8to16||$v.newpassword.minlength) && !($v.newpassword.required&&$v.newpassword.minlength)">密码必须是8~16位数字与字母组合</span>
29
+ <span v-if="$v.newpassword.chinesePassword">密码不能包含中文</span>
30
+ </div>
31
+ </div>
32
+ <div class="has-feedback form-group"
33
+ :class="{'has-warning':$v.affirmpassword.required,'has-error':$v.affirmpassword.equalValid && !($v.affirmpassword.required),
34
+ 'has-success': !$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))}">
35
+ <label for="affirmpassword" class="col-sm-4 col-sm-offset-1 control-label">确认密码:&nbsp;&nbsp;</label>
36
+ <div class="col-sm-4">
37
+ <input type="password" v-model="deliver.affirmpassword" class="form-control" id="affirmpassword" v-validate:affirmpassword="{ required: true, equalValid: deliver.newpassword }">
38
+ <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))"></span>
39
+ <span v-if="$v.affirmpassword.required">不能为空</span>
40
+ <span v-if="$v.affirmpassword.equalValid && !($v.affirmpassword.required)">两次密码不一致 !!</span>
41
+ </div>
42
+ </div>
43
+ </article>
44
+
45
+ <footer slot="modal-footer" class="modal-footer">
46
+ <button type="button" class="btn btn-success" @click='confirm' :disabled="!$v.valid">确认</button>
47
+ <button type="button" class="btn btn-default" @click='rest'>取消</button>
48
+ </footer>
49
+ </modal>
50
+ </validator>
51
+ </div>
52
+
53
+
54
+ </template>
55
+ <script>
56
+ import co from 'co'
57
+ import validator from '../../plugins/validation';
58
+
59
+ let saveGen = function * (self) {
60
+ self.deliver.ename = self.functions.ename
61
+ // let res = yield self.$post('rs/user/entity', {data: self.deliver})
62
+ // let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
63
+ // let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
64
+ // Util.f.password = self.deliver.newpassword
65
+ let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver }, {resolveMsg: null,rejectMsg: null})
66
+ self.$login.f.password = self.deliver.newpassword
67
+ if (res.data) {
68
+ console.log("修改密码返回:" , res.data)
69
+ // 兼容旧版ldao,旧版不返回code
70
+ if (res.data.code === 200) {
71
+ self.deliver.password = ''
72
+ self.deliver.newpassword = ''
73
+ self.deliver.affirmpassword = ''
74
+ self.show = false
75
+ self.$showAlert("修改密码成功", 'success', 2000)
76
+ } else {
77
+ // 兼容旧版ldao,旧版不返回code
78
+ self.deliver.password = ''
79
+ self.deliver.newpassword = ''
80
+ self.deliver.affirmpassword = ''
81
+ self.show = false
82
+ self.$showAlert("修改密码成功", 'success', 2000)
83
+ }
84
+ } else {
85
+ if (res.data.code) {
86
+ self.$showAlert("修改密码失败,原因:" + res.data.msg, 'warning', 2000)
87
+ } else {
88
+ self.$showMessage(res.data)
89
+ }
90
+ }
91
+ }
92
+ export default {
93
+ title: '系统管理-密码修改',
94
+ data () {
95
+ return {
96
+ deliver: {
97
+ password: '',
98
+ newpassword: '',
99
+ affirmpassword: ''
100
+ },
101
+ functions: this.$login.f
102
+ }
103
+ },
104
+ props: ['show'],
105
+ methods: {
106
+ confirm () {
107
+ let gen = saveGen(this)
108
+ co(gen)
109
+ },
110
+ rest () {
111
+ this.show = false
112
+ this.deliver = {password: '', newpassword: '', affirmpassword: ''}
113
+ }
114
+ }
115
+ }
116
+ </script>
117
+ <style>
118
+ /*修改密码body界面样式*/
119
+ .modifystyle {
120
+ background: #FCFEEE;
121
+ }
122
+ .modifystyle span{
123
+ color: red;
124
+ }
125
+ </style>
@@ -216,6 +216,8 @@ let GetLoginInfoService = {
216
216
  afterLogin: [],
217
217
  //验证码开关
218
218
  Verification: true,
219
+ //构建时间开关
220
+ versionTime: true,
219
221
  //登录信息展示开关
220
222
  depPrompt: true,
221
223
  install(Vue, options) {
package/src/system.js CHANGED
@@ -1,117 +1,121 @@
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, show_yiDi= 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.showYiDi=show_yiDi
43
- // 备案信息复制
44
- GetLoginInfoService.BAinformation = BAinformation
45
- Vue.use(GetLoginInfoService)
46
- Vue.use(GetAppDataService)
47
- Vue.use(HeatGetLoginInfoService)
48
- Vue.use(HeatGetAppDataService)
49
-
50
- Vue.component('login', login)
51
- Vue.component('change-declare', changeDeclare)
52
- Vue.component('add-changemsg', addChangemsg)
53
- Vue.component('home-page', homePage)
54
- Vue.component('left-tree', leftTree)
55
- Vue.component('icon-tree', iconTree)
56
- Vue.component('modify-pw', modifyPw)
57
- Vue.component('load-data', LoadData)
58
- Vue.component('right-tree', RightTree)
59
- Vue.component('test-right-tree', TestRightTree)
60
- Vue.component('role-selector', RoleSelector)
61
- //资源选择
62
- Vue.component('res-select', ResSelect)
63
- Vue.component('res-select-group', ResSelectGroup)
64
- //资源选择测试
65
- Vue.component('test-res-select', TestResSelect)
66
-
67
- // 参数管理(新)
68
- Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
69
- // 参数管理
70
- Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
71
- // 参数管理
72
- Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
73
- //进度条插件
74
- Vue.component('progress-base', (resolve) => { require(['./components/common/ProgressBase'], resolve) })
75
-
76
- // 参数管理()
77
- Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
78
- // 参数管理
79
- Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
80
- // 参数管理
81
- Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
82
-
83
- // 终端管理
84
- Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
85
- // pc端控制
86
- Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
87
- // phone端控制
88
- Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
89
- // pos端控制
90
- Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
91
- // pos管理
92
- Vue.component('pos-manage-both', (resolve) => { require(['./components/equipment/PosManageBoth'], resolve) })
93
- // pos参数管理
94
- Vue.component('pos-param-manage', (resolve) => { require(['./components/equipment/PosParamManage'], resolve) })
95
-
96
- // 材料字典
97
- Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
98
- Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
99
- // 图片查看器
100
- Vue.component('image-viewer', (resolve) => { require(['./components/server/ImageViewer'], resolve) })
101
- // 测试图片查看器
102
- Vue.component('image-viewer-test', (resolve) => { require(['./components/server/ImageVieweTest'], resolve) })
103
-
104
- //省市区、街道、小区、楼栋级联查询
105
- Vue.component('pcd-building-select', (resolve) => { require(['./components/server/PcdBuildingSelect'], resolve) })
106
-
107
-
108
- // 大屏
109
- Vue.component('login-page', (resolve) => { require(['./components/server/LoginPage'], resolve) })
110
- Vue.component('login-view', (resolve) => { require(['./components/server/LoginView'], resolve) })
111
- if (filiale) {
112
- let filialeComp = require(`./filiale/${filiale}/system`).specialComp
113
- for (let key in filialeComp) {
114
- Vue.component(key, filialeComp[key])
115
- }
116
- }
117
- }
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, show_yiDi= false, BAinformation = null,showVersionTime=true} = {}) {
32
+ console.log(val,filiale,showLogin)
33
+ //验证码开关赋值
34
+ if(val!=null){
35
+ GetLoginInfoService.Verification=val
36
+ }
37
+ //构建时间开关赋值
38
+ if(val!=null){
39
+ GetLoginInfoService.versionTime=showVersionTime
40
+ }
41
+ //登录提示赋值
42
+ GetLoginInfoService.depPrompt=showLogin
43
+ //展示待办赋值
44
+ GetLoginInfoService.showDaiBan=show_daiBan
45
+ //展示异地登录
46
+ GetLoginInfoService.showYiDi=show_yiDi
47
+ // 备案信息复制
48
+ GetLoginInfoService.BAinformation = BAinformation
49
+ Vue.use(GetLoginInfoService)
50
+ Vue.use(GetAppDataService)
51
+ Vue.use(HeatGetLoginInfoService)
52
+ Vue.use(HeatGetAppDataService)
53
+
54
+ Vue.component('login', login)
55
+ Vue.component('change-declare', changeDeclare)
56
+ Vue.component('add-changemsg', addChangemsg)
57
+ Vue.component('home-page', homePage)
58
+ Vue.component('left-tree', leftTree)
59
+ Vue.component('icon-tree', iconTree)
60
+ Vue.component('modify-pw', modifyPw)
61
+ Vue.component('load-data', LoadData)
62
+ Vue.component('right-tree', RightTree)
63
+ Vue.component('test-right-tree', TestRightTree)
64
+ Vue.component('role-selector', RoleSelector)
65
+ //资源选择
66
+ Vue.component('res-select', ResSelect)
67
+ Vue.component('res-select-group', ResSelectGroup)
68
+ //资源选择测试
69
+ Vue.component('test-res-select', TestResSelect)
70
+
71
+ // 参数管理(新)
72
+ Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
73
+ // 参数管理
74
+ Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
75
+ // 参数管理
76
+ Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
77
+ //进度条插件
78
+ Vue.component('progress-base', (resolve) => { require(['./components/common/ProgressBase'], resolve) })
79
+
80
+ // 参数管理(旧)
81
+ Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
82
+ // 参数管理
83
+ Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
84
+ // 参数管理
85
+ Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
86
+
87
+ // 终端管理
88
+ Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
89
+ // pc端控制
90
+ Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
91
+ // phone端控制
92
+ Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
93
+ // pos端控制
94
+ Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
95
+ // pos管理
96
+ Vue.component('pos-manage-both', (resolve) => { require(['./components/equipment/PosManageBoth'], resolve) })
97
+ // pos参数管理
98
+ Vue.component('pos-param-manage', (resolve) => { require(['./components/equipment/PosParamManage'], resolve) })
99
+
100
+ // 材料字典
101
+ Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
102
+ Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
103
+ // 图片查看器
104
+ Vue.component('image-viewer', (resolve) => { require(['./components/server/ImageViewer'], resolve) })
105
+ // 测试图片查看器
106
+ Vue.component('image-viewer-test', (resolve) => { require(['./components/server/ImageVieweTest'], resolve) })
107
+
108
+ //省市区、街道、小区、楼栋级联查询
109
+ Vue.component('pcd-building-select', (resolve) => { require(['./components/server/PcdBuildingSelect'], resolve) })
110
+
111
+
112
+ // 大屏
113
+ Vue.component('login-page', (resolve) => { require(['./components/server/LoginPage'], resolve) })
114
+ Vue.component('login-view', (resolve) => { require(['./components/server/LoginView'], resolve) })
115
+ if (filiale) {
116
+ let filialeComp = require(`./filiale/${filiale}/system`).specialComp
117
+ for (let key in filialeComp) {
118
+ Vue.component(key, filialeComp[key])
119
+ }
120
+ }
121
+ }
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Mon Apr 17 09:54:17 CST 2023
2
- gradle.version=8.0
Binary file
File without changes
Binary file
@@ -1,6 +0,0 @@
1
- distributionBase=GRADLE_USER_HOME
2
- distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4
- networkTimeout=10000
5
- zipStoreBase=GRADLE_USER_HOME
6
- zipStorePath=wrapper/dists
package/gradlew DELETED
@@ -1,244 +0,0 @@
1
- #!/bin/sh
2
-
3
- #
4
- # Copyright © 2015-2021 the original authors.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # https://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- ##############################################################################
20
- #
21
- # Gradle start up script for POSIX generated by Gradle.
22
- #
23
- # Important for running:
24
- #
25
- # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
26
- # noncompliant, but you have some other compliant shell such as ksh or
27
- # bash, then to run this script, type that shell name before the whole
28
- # command line, like:
29
- #
30
- # ksh Gradle
31
- #
32
- # Busybox and similar reduced shells will NOT work, because this script
33
- # requires all of these POSIX shell features:
34
- # * functions;
35
- # * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36
- # «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37
- # * compound commands having a testable exit status, especially «case»;
38
- # * various built-in commands including «command», «set», and «ulimit».
39
- #
40
- # Important for patching:
41
- #
42
- # (2) This script targets any POSIX shell, so it avoids extensions provided
43
- # by Bash, Ksh, etc; in particular arrays are avoided.
44
- #
45
- # The "traditional" practice of packing multiple parameters into a
46
- # space-separated string is a well documented source of bugs and security
47
- # problems, so this is (mostly) avoided, by progressively accumulating
48
- # options in "$@", and eventually passing that to Java.
49
- #
50
- # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
51
- # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
52
- # see the in-line comments for details.
53
- #
54
- # There are tweaks for specific operating systems such as AIX, CygWin,
55
- # Darwin, MinGW, and NonStop.
56
- #
57
- # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
- # within the Gradle project.
60
- #
61
- # You can find Gradle at https://github.com/gradle/gradle/.
62
- #
63
- ##############################################################################
64
-
65
- # Attempt to set APP_HOME
66
-
67
- # Resolve links: $0 may be a link
68
- app_path=$0
69
-
70
- # Need this for daisy-chained symlinks.
71
- while
72
- APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
73
- [ -h "$app_path" ]
74
- do
75
- ls=$( ls -ld "$app_path" )
76
- link=${ls#*' -> '}
77
- case $link in #(
78
- /*) app_path=$link ;; #(
79
- *) app_path=$APP_HOME$link ;;
80
- esac
81
- done
82
-
83
- # This is normally unused
84
- # shellcheck disable=SC2034
85
- APP_BASE_NAME=${0##*/}
86
- APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
87
-
88
- # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89
- DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
90
-
91
- # Use the maximum available, or set MAX_FD != -1 to use that value.
92
- MAX_FD=maximum
93
-
94
- warn () {
95
- echo "$*"
96
- } >&2
97
-
98
- die () {
99
- echo
100
- echo "$*"
101
- echo
102
- exit 1
103
- } >&2
104
-
105
- # OS specific support (must be 'true' or 'false').
106
- cygwin=false
107
- msys=false
108
- darwin=false
109
- nonstop=false
110
- case "$( uname )" in #(
111
- CYGWIN* ) cygwin=true ;; #(
112
- Darwin* ) darwin=true ;; #(
113
- MSYS* | MINGW* ) msys=true ;; #(
114
- NONSTOP* ) nonstop=true ;;
115
- esac
116
-
117
- CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
118
-
119
-
120
- # Determine the Java command to use to start the JVM.
121
- if [ -n "$JAVA_HOME" ] ; then
122
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
123
- # IBM's JDK on AIX uses strange locations for the executables
124
- JAVACMD=$JAVA_HOME/jre/sh/java
125
- else
126
- JAVACMD=$JAVA_HOME/bin/java
127
- fi
128
- if [ ! -x "$JAVACMD" ] ; then
129
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
130
-
131
- Please set the JAVA_HOME variable in your environment to match the
132
- location of your Java installation."
133
- fi
134
- else
135
- JAVACMD=java
136
- which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137
-
138
- Please set the JAVA_HOME variable in your environment to match the
139
- location of your Java installation."
140
- fi
141
-
142
- # Increase the maximum file descriptors if we can.
143
- if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144
- case $MAX_FD in #(
145
- max*)
146
- # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147
- # shellcheck disable=SC3045
148
- MAX_FD=$( ulimit -H -n ) ||
149
- warn "Could not query maximum file descriptor limit"
150
- esac
151
- case $MAX_FD in #(
152
- '' | soft) :;; #(
153
- *)
154
- # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155
- # shellcheck disable=SC3045
156
- ulimit -n "$MAX_FD" ||
157
- warn "Could not set maximum file descriptor limit to $MAX_FD"
158
- esac
159
- fi
160
-
161
- # Collect all arguments for the java command, stacking in reverse order:
162
- # * args from the command line
163
- # * the main class name
164
- # * -classpath
165
- # * -D...appname settings
166
- # * --module-path (only if needed)
167
- # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
168
-
169
- # For Cygwin or MSYS, switch paths to Windows format before running java
170
- if "$cygwin" || "$msys" ; then
171
- APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
172
- CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
173
-
174
- JAVACMD=$( cygpath --unix "$JAVACMD" )
175
-
176
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
177
- for arg do
178
- if
179
- case $arg in #(
180
- -*) false ;; # don't mess with options #(
181
- /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
182
- [ -e "$t" ] ;; #(
183
- *) false ;;
184
- esac
185
- then
186
- arg=$( cygpath --path --ignore --mixed "$arg" )
187
- fi
188
- # Roll the args list around exactly as many times as the number of
189
- # args, so each arg winds up back in the position where it started, but
190
- # possibly modified.
191
- #
192
- # NB: a `for` loop captures its iteration list before it begins, so
193
- # changing the positional parameters here affects neither the number of
194
- # iterations, nor the values presented in `arg`.
195
- shift # remove old arg
196
- set -- "$@" "$arg" # push replacement arg
197
- done
198
- fi
199
-
200
- # Collect all arguments for the java command;
201
- # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
202
- # shell script including quotes and variable substitutions, so put them in
203
- # double quotes to make sure that they get re-expanded; and
204
- # * put everything else in single quotes, so that it's not re-expanded.
205
-
206
- set -- \
207
- "-Dorg.gradle.appname=$APP_BASE_NAME" \
208
- -classpath "$CLASSPATH" \
209
- org.gradle.wrapper.GradleWrapperMain \
210
- "$@"
211
-
212
- # Stop when "xargs" is not available.
213
- if ! command -v xargs >/dev/null 2>&1
214
- then
215
- die "xargs is not available"
216
- fi
217
-
218
- # Use "xargs" to parse quoted args.
219
- #
220
- # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
221
- #
222
- # In Bash we could simply go:
223
- #
224
- # readarray ARGS < <( xargs -n1 <<<"$var" ) &&
225
- # set -- "${ARGS[@]}" "$@"
226
- #
227
- # but POSIX shell has neither arrays nor command substitution, so instead we
228
- # post-process each arg (as a line of input to sed) to backslash-escape any
229
- # character that might be a shell metacharacter, then use eval to reverse
230
- # that process (while maintaining the separation between arguments), and wrap
231
- # the whole thing up as a single "set" statement.
232
- #
233
- # This will of course break if any of these variables contains a newline or
234
- # an unmatched quote.
235
- #
236
-
237
- eval "set -- $(
238
- printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
239
- xargs -n1 |
240
- sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
241
- tr '\n' ' '
242
- )" '"$@"'
243
-
244
- exec "$JAVACMD" "$@"
package/gradlew.bat DELETED
@@ -1,92 +0,0 @@
1
- @rem
2
- @rem Copyright 2015 the original author or authors.
3
- @rem
4
- @rem Licensed under the Apache License, Version 2.0 (the "License");
5
- @rem you may not use this file except in compliance with the License.
6
- @rem You may obtain a copy of the License at
7
- @rem
8
- @rem https://www.apache.org/licenses/LICENSE-2.0
9
- @rem
10
- @rem Unless required by applicable law or agreed to in writing, software
11
- @rem distributed under the License is distributed on an "AS IS" BASIS,
12
- @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- @rem See the License for the specific language governing permissions and
14
- @rem limitations under the License.
15
- @rem
16
-
17
- @if "%DEBUG%"=="" @echo off
18
- @rem ##########################################################################
19
- @rem
20
- @rem Gradle startup script for Windows
21
- @rem
22
- @rem ##########################################################################
23
-
24
- @rem Set local scope for the variables with windows NT shell
25
- if "%OS%"=="Windows_NT" setlocal
26
-
27
- set DIRNAME=%~dp0
28
- if "%DIRNAME%"=="" set DIRNAME=.
29
- @rem This is normally unused
30
- set APP_BASE_NAME=%~n0
31
- set APP_HOME=%DIRNAME%
32
-
33
- @rem Resolve any "." and ".." in APP_HOME to make it shorter.
34
- for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35
-
36
- @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37
- set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
38
-
39
- @rem Find java.exe
40
- if defined JAVA_HOME goto findJavaFromJavaHome
41
-
42
- set JAVA_EXE=java.exe
43
- %JAVA_EXE% -version >NUL 2>&1
44
- if %ERRORLEVEL% equ 0 goto execute
45
-
46
- echo.
47
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48
- echo.
49
- echo Please set the JAVA_HOME variable in your environment to match the
50
- echo location of your Java installation.
51
-
52
- goto fail
53
-
54
- :findJavaFromJavaHome
55
- set JAVA_HOME=%JAVA_HOME:"=%
56
- set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
-
58
- if exist "%JAVA_EXE%" goto execute
59
-
60
- echo.
61
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62
- echo.
63
- echo Please set the JAVA_HOME variable in your environment to match the
64
- echo location of your Java installation.
65
-
66
- goto fail
67
-
68
- :execute
69
- @rem Setup the command line
70
-
71
- set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
72
-
73
-
74
- @rem Execute Gradle
75
- "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76
-
77
- :end
78
- @rem End local scope for the variables with windows NT shell
79
- if %ERRORLEVEL% equ 0 goto mainEnd
80
-
81
- :fail
82
- rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
- rem the _cmd.exe /c_ return code!
84
- set EXIT_CODE=%ERRORLEVEL%
85
- if %EXIT_CODE% equ 0 set EXIT_CODE=1
86
- if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87
- exit /b %EXIT_CODE%
88
-
89
- :mainEnd
90
- if "%OS%"=="Windows_NT" endlocal
91
-
92
- :omega