system-clients 3.2.72-yc-1 → 3.2.72-yc-3
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 +1 -1
- package/src/components/Main.vue +923 -923
- package/src/components/equipment/EquipmentManage.vue +65 -65
- package/src/components/equipment/PcAdd.vue +105 -105
- package/src/components/equipment/PcList.vue +119 -119
- package/src/components/equipment/PcManage.vue +60 -60
- package/src/components/equipment/PhoneAdd.vue +107 -107
- package/src/components/equipment/PhoneList.vue +112 -112
- package/src/components/equipment/PhoneManage.vue +60 -60
- package/src/components/equipment/PosAdd.vue +323 -323
- package/src/components/equipment/PosList.vue +294 -294
- package/src/components/equipment/PosParamAdd.vue +236 -236
- package/src/components/equipment/PosParamList.vue +121 -121
- package/src/components/parammanage/ParamPage.vue +337 -337
- package/src/components/parammanage/SinglePage.vue +235 -235
- package/src/components/server/LoadData.vue +58 -58
- package/src/components/server/Login.vue +566 -566
- package/src/components/server/ModifyPw.vue +125 -125
- package/src/components/server/PcdBuildingSelect.vue +241 -241
- package/src/components/server/ResSelect.vue +155 -155
- package/src/components/server/ResSelectGroup.vue +198 -198
- package/src/components/server/RightTree.vue +348 -348
- package/src/components/server/RoleSelector.vue +88 -88
- package/src/filiale/baole/Login.vue +568 -568
- package/src/filiale/chengtou/Login.vue +537 -537
- package/src/filiale/dongguan/Login.vue +900 -900
- package/src/filiale/dongguan/Main.vue +715 -715
- package/src/filiale/furuike/Login.vue +583 -583
- package/src/filiale/furuike/Main.vue +827 -827
- package/src/filiale/gehua/Main.vue +807 -807
- package/src/filiale/konggang/Login.vue +470 -470
- package/src/filiale/konggang/system.js +7 -7
- package/src/filiale/qianneng/Login.vue +566 -566
- package/src/filiale/qianneng/Main.vue +816 -816
- package/src/filiale/qianneng/ModifyPw.vue +107 -107
- package/src/filiale/rizhao/Login.vue +791 -791
- package/src/filiale/rizhao/Main.vue +611 -611
- package/src/filiale/shiquan/Login.vue +564 -564
- package/src/filiale/tianyi/Login.vue +571 -571
- package/src/filiale/tongchuan/Login.vue +561 -561
- package/src/filiale/tongchuan/system.js +7 -7
- package/src/filiale/wenxi/Login.vue +535 -535
- package/src/filiale/wenxi/Main.vue +785 -785
- package/src/filiale/wuhai/Main.vue +807 -807
- package/src/filiale/yuchuan/Login.vue +889 -889
- package/src/filiale/yuchuan/Main.vue +864 -864
- package/src/filiale/zhoukou/Main.vue +807 -807
- package/src/plugins/GetLoginInfoService.js +2 -0
- package/src/plugins/validation.js +15 -15
- package/src/stores/AppData.js +38 -38
- package/src/styles/less/aofeng/standard.less +2507 -2507
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -686
@@ -25,8 +25,10 @@ let loginGen = async function (name, password, cue) {
|
|
25
25
|
|
26
26
|
// 兼容旧版ldao,旧版不返回code
|
27
27
|
if ((JSON.stringify(resource.data).startsWith("{") || JSON.stringify(resource.data).startsWith("[")) && resource.data.code && resource.data.msg) {
|
28
|
+
resource.data.data.orgstr="榆林."+ resource.data.data.orgs
|
28
29
|
Vue.$login.f = resource.data.data
|
29
30
|
} else {
|
31
|
+
resource.data.orgstr="榆林."+ resource.data.orgs
|
30
32
|
Vue.$login.f = resource.data
|
31
33
|
}
|
32
34
|
// 把登录用户添加到cookie里
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import Validator from 'vue-validator'
|
3
|
-
Vue.use(Validator)
|
4
|
-
//密码强度验证器(必须为为大小写字母、阿拉伯数字、字符)
|
5
|
-
Vue.validator('strongpassword', function (val) {
|
6
|
-
return /^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
|
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 /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(.)(\1)+)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(val)
|
15
|
-
});
|
1
|
+
import Vue from 'vue'
|
2
|
+
import Validator from 'vue-validator'
|
3
|
+
Vue.use(Validator)
|
4
|
+
//密码强度验证器(必须为为大小写字母、阿拉伯数字、字符)
|
5
|
+
Vue.validator('strongpassword', function (val) {
|
6
|
+
return /^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
|
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 /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(.)(\1)+)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(val)
|
15
|
+
});
|
package/src/stores/AppData.js
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
|
3
|
-
let GetAppDataService = {
|
4
|
-
install(Vue, options) {
|
5
|
-
// 给vue增添对话框显示方法
|
6
|
-
|
7
|
-
Vue.$appdata = Vue.prototype.$appdata = GetAppDataService
|
8
|
-
},
|
9
|
-
|
10
|
-
// 开启卡监听
|
11
|
-
load () {
|
12
|
-
return Vue.resetpost('rs/logic/getInitData', {data: {f_filialeids: Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
13
|
-
res.data.singleValues.forEach((item) => {
|
14
|
-
this.singleValues[item.name] = item.value
|
15
|
-
})
|
16
|
-
res.data.params.forEach((item) => {
|
17
|
-
let value = []
|
18
|
-
item.f_paramvalues.forEach((item, index) => {
|
19
|
-
value[index] = {}
|
20
|
-
value[index].label = item.name
|
21
|
-
value[index].value = item.name
|
22
|
-
})
|
23
|
-
this.params[item.name] = value
|
24
|
-
})
|
25
|
-
})
|
26
|
-
},
|
27
|
-
|
28
|
-
params: {},
|
29
|
-
singleValues: {},
|
30
|
-
|
31
|
-
getParam(key) {
|
32
|
-
return this.params[key] || []
|
33
|
-
},
|
34
|
-
getSingleValue(key) {
|
35
|
-
return this.singleValues[key]
|
36
|
-
}
|
37
|
-
}
|
38
|
-
export default GetAppDataService
|
1
|
+
import Vue from 'vue'
|
2
|
+
|
3
|
+
let GetAppDataService = {
|
4
|
+
install(Vue, options) {
|
5
|
+
// 给vue增添对话框显示方法
|
6
|
+
|
7
|
+
Vue.$appdata = Vue.prototype.$appdata = GetAppDataService
|
8
|
+
},
|
9
|
+
|
10
|
+
// 开启卡监听
|
11
|
+
load () {
|
12
|
+
return Vue.resetpost('rs/logic/getInitData', {data: {f_filialeids: Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
13
|
+
res.data.singleValues.forEach((item) => {
|
14
|
+
this.singleValues[item.name] = item.value
|
15
|
+
})
|
16
|
+
res.data.params.forEach((item) => {
|
17
|
+
let value = []
|
18
|
+
item.f_paramvalues.forEach((item, index) => {
|
19
|
+
value[index] = {}
|
20
|
+
value[index].label = item.name
|
21
|
+
value[index].value = item.name
|
22
|
+
})
|
23
|
+
this.params[item.name] = value
|
24
|
+
})
|
25
|
+
})
|
26
|
+
},
|
27
|
+
|
28
|
+
params: {},
|
29
|
+
singleValues: {},
|
30
|
+
|
31
|
+
getParam(key) {
|
32
|
+
return this.params[key] || []
|
33
|
+
},
|
34
|
+
getSingleValue(key) {
|
35
|
+
return this.singleValues[key]
|
36
|
+
}
|
37
|
+
}
|
38
|
+
export default GetAppDataService
|