system-clients 3.2.6-1 → 3.2.6-rongcheng
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/.eslintrc.js +16 -16
- package/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/SystemClient.iml +11 -8
- package/build/webpack.base.conf.js +11 -21
- package/package.json +4 -6
- package/src/components/Main.vue +476 -626
- package/src/components/equipment/EquipmentManage.vue +1 -1
- package/src/components/equipment/PcAdd.vue +5 -5
- package/src/components/equipment/PcList.vue +5 -5
- package/src/components/equipment/PhoneAdd.vue +13 -26
- package/src/components/equipment/PhoneList.vue +21 -31
- package/src/components/equipment/PosAdd.vue +45 -231
- package/src/components/equipment/PosList.vue +68 -198
- package/src/components/equipment/PosManage.vue +9 -80
- package/src/components/parammanage/ParamManage.vue +2 -2
- package/src/components/parammanage/ParamPage.vue +8 -30
- package/src/components/parammanage/SinglePage.vue +4 -4
- package/src/components/server/LoadData.vue +2 -21
- package/src/components/server/Login.vue +520 -784
- package/src/components/server/ModifyPw.vue +7 -12
- package/src/components/server/ResSelect.vue +0 -5
- package/src/components/server/ResSelectGroup.vue +198 -198
- package/src/components/server/RightTree.vue +204 -289
- package/src/plugins/GetLoginInfoService.js +70 -76
- package/src/plugins/validation.js +1 -9
- package/src/system.js +1 -34
- package/.npmignore +0 -10
- package/build/.npmignore +0 -1
- package/package-lock.json +0 -23125
- package/src/.npmignore +0 -1
- package/src/components/TabButton.vue +0 -201
- package/src/components/Tabs.vue +0 -67
- package/src/components/addressManage/AddressCascadingMenu.vue +0 -145
- package/src/components/equipment/PosManageBoth.vue +0 -125
- package/src/components/equipment/PosParamAdd.vue +0 -236
- package/src/components/equipment/PosParamList.vue +0 -121
- package/src/components/equipment/PosParamManage.vue +0 -51
- package/src/components/server/ImageVieweTest.vue +0 -56
- package/src/components/server/ImageViewer.vue +0 -350
- package/src/components/server/PcdBuildingSelect.vue +0 -241
- package/src/filiale/dongguan/Login.vue +0 -889
- package/src/filiale/dongguan/Main.vue +0 -715
- package/src/filiale/dongguan/system.js +0 -6
- package/src/filiale/konggang/Login.vue +0 -840
- package/src/filiale/konggang/system.js +0 -7
- package/src/filiale/qianneng/ModifyPw.vue +0 -107
- package/src/filiale/qianneng/system.js +0 -7
- package/src/filiale/rizhao/LeftTree.vue +0 -111
- package/src/filiale/rizhao/Login.vue +0 -791
- package/src/filiale/rizhao/Main.vue +0 -606
- package/src/filiale/rizhao/system.js +0 -14
- package/src/filiale/yuchuan/Login.vue +0 -889
- package/src/filiale/yuchuan/Main.vue +0 -773
- package/src/filiale/yuchuan/system.js +0 -10
- package/src/plugins/EncryptUtil.js +0 -53
- package/src/plugins/HeatGetLoginInfoService.js +0 -491
- package/src/stores/HeatAppData.js +0 -38
- package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
- package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
- package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/styles/fonts/pingfang-bold.ttf +0 -0
- package/src/styles/fonts/pingfang-medium.ttf +0 -0
- package/src/styles/fonts/pingfang-regular.ttf +0 -0
- package/src/styles/fonts/trendstrends.ttf +0 -0
- package/src/styles/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/styles/less/.csscomb.json +0 -304
- package/src/styles/less/.csslintrc +0 -19
- package/src/styles/less/alerts.less +0 -73
- package/src/styles/less/aofeng/animate.min.css +0 -11
- package/src/styles/less/aofeng/expandcss.less +0 -569
- package/src/styles/less/aofeng/standard.less +0 -2507
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
- package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
- package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
- package/src/styles/less/aofeng/themeOne.less +0 -17
- package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
- package/src/styles/less/aofeng/themeTwo.less +0 -3
- package/src/styles/less/badges.less +0 -66
- package/src/styles/less/bootstrap.less +0 -66
- package/src/styles/less/breadcrumbs.less +0 -26
- package/src/styles/less/button-groups.less +0 -247
- package/src/styles/less/buttons.less +0 -172
- package/src/styles/less/carousel.less +0 -269
- package/src/styles/less/close.less +0 -34
- package/src/styles/less/code.less +0 -69
- package/src/styles/less/component-animations.less +0 -33
- package/src/styles/less/dropdowns.less +0 -216
- package/src/styles/less/fonts-list.less +0 -25
- package/src/styles/less/forms.less +0 -626
- package/src/styles/less/glyphicons.less +0 -305
- package/src/styles/less/grid.less +0 -84
- package/src/styles/less/input-groups.less +0 -167
- package/src/styles/less/jumbotron.less +0 -52
- package/src/styles/less/labels.less +0 -64
- package/src/styles/less/list-group.less +0 -141
- package/src/styles/less/manageStyle/manageChile.less +0 -180
- package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
- package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
- package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
- package/src/styles/less/manageStyle/manageStyle.less +0 -1102
- package/src/styles/less/manageStyle/safeStyle.less +0 -498
- package/src/styles/less/media.less +0 -66
- package/src/styles/less/mixins/alerts.less +0 -14
- package/src/styles/less/mixins/background-variant.less +0 -9
- package/src/styles/less/mixins/border-radius.less +0 -18
- package/src/styles/less/mixins/buttons.less +0 -69
- package/src/styles/less/mixins/center-block.less +0 -7
- package/src/styles/less/mixins/clearfix.less +0 -22
- package/src/styles/less/mixins/forms.less +0 -90
- package/src/styles/less/mixins/gradients.less +0 -59
- package/src/styles/less/mixins/grid-framework.less +0 -92
- package/src/styles/less/mixins/grid.less +0 -122
- package/src/styles/less/mixins/hide-text.less +0 -21
- package/src/styles/less/mixins/image.less +0 -33
- package/src/styles/less/mixins/labels.less +0 -12
- package/src/styles/less/mixins/list-group.less +0 -30
- package/src/styles/less/mixins/nav-divider.less +0 -10
- package/src/styles/less/mixins/nav-vertical-align.less +0 -9
- package/src/styles/less/mixins/opacity.less +0 -8
- package/src/styles/less/mixins/pagination.less +0 -24
- package/src/styles/less/mixins/panels.less +0 -24
- package/src/styles/less/mixins/progress-bar.less +0 -10
- package/src/styles/less/mixins/reset-filter.less +0 -8
- package/src/styles/less/mixins/reset-text.less +0 -18
- package/src/styles/less/mixins/resize.less +0 -6
- package/src/styles/less/mixins/responsive-visibility.less +0 -15
- package/src/styles/less/mixins/size.less +0 -10
- package/src/styles/less/mixins/tab-focus.less +0 -9
- package/src/styles/less/mixins/table-row.less +0 -44
- package/src/styles/less/mixins/text-emphasis.less +0 -9
- package/src/styles/less/mixins/text-overflow.less +0 -8
- package/src/styles/less/mixins/vendor-prefixes.less +0 -227
- package/src/styles/less/mixins.less +0 -40
- package/src/styles/less/modals.less +0 -151
- package/src/styles/less/navbar.less +0 -660
- package/src/styles/less/navs.less +0 -285
- package/src/styles/less/normalize.less +0 -424
- package/src/styles/less/pager.less +0 -76
- package/src/styles/less/pagination.less +0 -89
- package/src/styles/less/panels.less +0 -275
- package/src/styles/less/popovers.less +0 -131
- package/src/styles/less/print.less +0 -101
- package/src/styles/less/progress-bars.less +0 -87
- package/src/styles/less/responsive-embed.less +0 -35
- package/src/styles/less/responsive-utilities.less +0 -194
- package/src/styles/less/scaffolding.less +0 -161
- package/src/styles/less/stand.less +0 -207
- package/src/styles/less/tables.less +0 -312
- package/src/styles/less/theme.less +0 -291
- package/src/styles/less/thumbnails.less +0 -36
- package/src/styles/less/tooltip.less +0 -102
- package/src/styles/less/type.less +0 -316
- package/src/styles/less/utilities.less +0 -55
- package/src/styles/less/variables.less +0 -899
- package/src/styles/less/wells.less +0 -29
- package/src/util/Daiban.json +0 -12
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/static/logo.png +0 -0
- package/static/newStyle/about-us.png +0 -0
- package/static/rizhao.png +0 -0
- package/yarn-error.log +0 -6896
@@ -1,14 +1,19 @@
|
|
1
1
|
import Vue from 'vue'
|
2
|
+
import JSEncrypt from 'jsencrypt'
|
2
3
|
import {HttpResetClass} from 'vue-client'
|
3
|
-
|
4
|
-
let loginGen = async function (name, password
|
4
|
+
|
5
|
+
let loginGen = async function (name, password) {
|
5
6
|
let data = {name: name, password: password}
|
6
|
-
|
7
|
-
let
|
7
|
+
// rsa加密
|
8
|
+
let encrypt = new JSEncrypt();
|
9
|
+
encrypt.setPublicKey('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB');
|
10
|
+
console.log(data)
|
11
|
+
|
12
|
+
let getLogin = await Vue.resetpost('/rs/logic/getLogin', data, {resolveMsg: null, rejectMsg: null}, 'RSA')
|
8
13
|
if (getLogin.data.states === '登录成功') {
|
9
14
|
// 调用远程登录服务,获取所有有权访问的功能
|
10
15
|
data = {username: name, password: password}
|
11
|
-
data =
|
16
|
+
data = encrypt.encrypt(JSON.stringify(data))
|
12
17
|
let resource = await Vue.resetpost(`/rs/user/userLogin/客服系统`, data, {
|
13
18
|
resolveMsg: null,
|
14
19
|
rejectMsg: null
|
@@ -93,20 +98,20 @@ let loginGen = async function (name, password, cue) {
|
|
93
98
|
console.log('安装人模块',error)
|
94
99
|
}
|
95
100
|
// 获取换表员
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
101
|
+
try {
|
102
|
+
let getChangeMeterman = await Vue.resetpost('/rs/search', {
|
103
|
+
source: 'this.getParentByType($organization$).getChildByName($换表员$).getUsers()',
|
104
|
+
userid: Vue.$login.f.id
|
105
|
+
}, {resolveMsg: null, rejectMsg: null})
|
106
|
+
let changemeterman = []
|
107
|
+
for (let i = 0; i < getChangeMeterman.data.length; i++) {
|
108
|
+
changemeterman.push(getChangeMeterman.data[i])
|
109
|
+
}
|
110
|
+
Vue.$login.f.f_changemeterman = changemeterman
|
111
|
+
}catch (error) {
|
112
|
+
Vue.$login.f.f_changemeterman = []
|
113
|
+
console.log('换表员模块',error)
|
114
|
+
}
|
110
115
|
// 获取资源服务权限
|
111
116
|
try {
|
112
117
|
let getLic = await Vue.resetpost('/rs/search', {data: {
|
@@ -122,37 +127,37 @@ let loginGen = async function (name, password, cue) {
|
|
122
127
|
Vue.$login.f.f_gasman = []
|
123
128
|
console.log('资源服务权限',error)
|
124
129
|
}
|
125
|
-
//
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
//
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
130
|
+
// 票据使用人
|
131
|
+
try {
|
132
|
+
let getPaperUseman = await Vue.resetpost('/rs/search', {
|
133
|
+
source: 'this.getParentByType($organization$).getChildByName($票据使用人$).getUsers()',
|
134
|
+
userid: Vue.$login.f.id
|
135
|
+
}, {resolveMsg: null, rejectMsg: null})
|
136
|
+
let perperuseman = []
|
137
|
+
for (let i = 0; i < getPaperUseman.data.length; i++) {
|
138
|
+
perperuseman.push(getPaperUseman.data[i])
|
139
|
+
}
|
140
|
+
Vue.$login.f.f_paperUseman = perperuseman
|
141
|
+
}catch (error) {
|
142
|
+
Vue.$login.f.f_paperUseman = []
|
143
|
+
console.log('票据使用人模块',error)
|
144
|
+
|
145
|
+
}
|
146
|
+
// 票据分配人
|
147
|
+
try {
|
148
|
+
let getPaperAllotman = await Vue.resetpost('/rs/search', {
|
149
|
+
source: 'this.getParentByType($organization$).getChildByName($票据分配人$).getUsers()',
|
150
|
+
userid: Vue.$login.f.id
|
151
|
+
}, {resolveMsg: null, rejectMsg: null})
|
152
|
+
let paperallotman = []
|
153
|
+
for (let i = 0; i < getPaperAllotman.data.length; i++) {
|
154
|
+
paperallotman.push(getPaperAllotman.data[i])
|
155
|
+
}
|
156
|
+
Vue.$login.f.f_paperAllotman = paperallotman
|
157
|
+
}catch (error) {
|
158
|
+
Vue.$login.f.f_paperAllotman = []
|
159
|
+
console.log('票据分配人模块',error)
|
160
|
+
}
|
156
161
|
// TODO 处理界面细节
|
157
162
|
try {
|
158
163
|
let viewDetails = await Vue.resetpost('rs/search', {
|
@@ -171,25 +176,20 @@ let loginGen = async function (name, password, cue) {
|
|
171
176
|
await proc(Vue.$login.f)
|
172
177
|
}
|
173
178
|
// 定时发送心跳
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
179
|
+
setInterval(()=> {
|
180
|
+
let http = new HttpResetClass()
|
181
|
+
http.load('POST', `rs/user/access/${Vue.$login.f.id}`, {}, {resolveMsg: null, rejectMsg: null}).then((req) => {
|
182
|
+
if(req.data.status==710){
|
183
|
+
Vue.prototype.$connectNumber = 0 //重连剩余次数
|
184
|
+
Vue.prototype.$socket.close() // 关闭websocket连接
|
185
|
+
Vue.showMessage(req.data.msg+",您将被强制退出系统", ['confirm']).then((res) => {
|
186
|
+
if (res === 'confirm') {
|
181
187
|
location.reload()
|
182
|
-
}
|
183
|
-
}
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
}
|
188
|
-
})
|
189
|
-
}
|
190
|
-
})
|
191
|
-
}, 2 * 60 * 1000)
|
192
|
-
}
|
188
|
+
}
|
189
|
+
})
|
190
|
+
}
|
191
|
+
})
|
192
|
+
}, 2 * 60 * 1000)
|
193
193
|
}
|
194
194
|
|
195
195
|
} else {
|
@@ -204,8 +204,6 @@ let GetLoginInfoService = {
|
|
204
204
|
afterLogin: [],
|
205
205
|
//验证码开关
|
206
206
|
Verification: true,
|
207
|
-
//登录信息展示开关
|
208
|
-
depPrompt: true,
|
209
207
|
install (Vue, options) {
|
210
208
|
// 给vue增添对话框显示方法
|
211
209
|
Vue.$login = Vue.prototype.$login = GetLoginInfoService
|
@@ -219,13 +217,9 @@ let GetLoginInfoService = {
|
|
219
217
|
* 登录
|
220
218
|
* @param name
|
221
219
|
* @param password
|
222
|
-
* @param cue true/false 是/否显示异地登录
|
223
220
|
*/
|
224
|
-
login (name, password
|
225
|
-
|
226
|
-
cue = true
|
227
|
-
}
|
228
|
-
return loginGen(name, password, cue)
|
221
|
+
login (name, password) {
|
222
|
+
return loginGen(name, password)
|
229
223
|
},
|
230
224
|
|
231
225
|
convertToIn (val) {
|
@@ -3,13 +3,5 @@ import Validator from 'vue-validator'
|
|
3
3
|
Vue.use(Validator)
|
4
4
|
//密码强度验证器(必须为为大小写字母、阿拉伯数字、字符)
|
5
5
|
Vue.validator('strongpassword', function (val) {
|
6
|
-
return /^(?:(?=.*[
|
7
|
-
});
|
8
|
-
Vue.validator('chinesePassword', function (val) {
|
9
|
-
var testBealoon=/.*?[\u4E00-\u9FFF]+.*$/.test(val)
|
10
|
-
return !(/.*?[\u4E00-\u9FFF]+.*$/.test(val))
|
11
|
-
});
|
12
|
-
// 潜能要求8~16位数字字母组合;
|
13
|
-
Vue.validator('numbersAndLetter8to16', function (val) {
|
14
|
-
return /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(val)
|
6
|
+
return /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
|
15
7
|
});
|
package/src/system.js
CHANGED
@@ -1,11 +1,6 @@
|
|
1
1
|
import Vue from 'vue'
|
2
2
|
import GetLoginInfoService from './plugins/GetLoginInfoService'
|
3
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
4
|
|
10
5
|
// /** **************************登录与主界面相关******************************/
|
11
6
|
|
@@ -26,24 +21,13 @@ import ResSelectGroup from './components/server/ResSelectGroup'
|
|
26
21
|
//资源选择测试
|
27
22
|
import TestResSelect from './components/server/TestResSelect'
|
28
23
|
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)
|
24
|
+
export default function (val) {
|
33
25
|
//验证码开关赋值
|
34
26
|
if(val!=null){
|
35
27
|
GetLoginInfoService.Verification=val
|
36
28
|
}
|
37
|
-
//登录提示赋值
|
38
|
-
GetLoginInfoService.depPrompt=showLogin
|
39
|
-
//展示待办赋值
|
40
|
-
GetLoginInfoService.showDaiBan=show_daiBan
|
41
|
-
// 备案信息复制
|
42
|
-
GetLoginInfoService.BAinformation = BAinformation
|
43
29
|
Vue.use(GetLoginInfoService)
|
44
30
|
Vue.use(GetAppDataService)
|
45
|
-
Vue.use(HeatGetLoginInfoService)
|
46
|
-
Vue.use(HeatGetAppDataService)
|
47
31
|
|
48
32
|
Vue.component('login', login)
|
49
33
|
Vue.component('change-declare', changeDeclare)
|
@@ -84,26 +68,9 @@ export default function (val,filiale, {showLogin = false, show_daiBan = false, B
|
|
84
68
|
Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
|
85
69
|
// pos端控制
|
86
70
|
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
71
|
|
92
72
|
// 材料字典
|
93
73
|
Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
|
94
74
|
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
75
|
|
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
76
|
}
|
package/.npmignore
DELETED
package/build/.npmignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/dev-server.js
|