system-clients 3.2.93 → 3.2.94-temp
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/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +2 -2
- package/src/components/Main.vue +42 -18
- package/src/components/equipment/EquipmentManage.vue +83 -83
- package/src/components/equipment/PcAdd.vue +115 -115
- package/src/components/equipment/PcList.vue +119 -119
- package/src/components/equipment/PcManage.vue +61 -61
- package/src/components/equipment/PhoneAdd.vue +118 -118
- package/src/components/equipment/PhoneList.vue +113 -113
- package/src/components/equipment/PhoneManage.vue +61 -61
- package/src/components/equipment/PosAdd.vue +10 -6
- package/src/components/equipment/PosList.vue +5 -3
- package/src/components/equipment/PosParamAdd.vue +1 -1
- package/src/components/equipment/PosParamList.vue +2 -2
- package/src/components/parammanage/ParamPage.vue +12 -12
- package/src/components/parammanage/SinglePage.vue +8 -8
- package/src/components/server/Login.vue +35 -17
- package/src/components/server/ModifyPw.vue +0 -1
- package/src/components/server/PcdBuildingSelect.vue +0 -2
- package/src/components/server/ResSelect.vue +166 -169
- package/src/components/server/ResSelectGroup.vue +211 -211
- package/src/components/server/RoleSelector.vue +2 -3
- package/src/filiale/baole/Login.vue +0 -2
- package/src/filiale/bayan/PosAdd.vue +369 -0
- package/src/filiale/bayan/PosList.vue +349 -0
- package/src/filiale/bayan/PosManage.vue +138 -0
- package/src/filiale/bayan/system.js +6 -0
- package/src/filiale/chengtou/Login.vue +0 -2
- package/src/filiale/dongguan/Login.vue +0 -2
- package/src/filiale/dongguan/Main.vue +0 -2
- package/src/filiale/furuike/Login.vue +0 -4
- package/src/filiale/furuike/Main.vue +0 -2
- package/src/filiale/gehua/Main.vue +0 -2
- package/src/filiale/konggang/Login.vue +0 -2
- package/src/filiale/qianneng/Login.vue +582 -584
- package/src/filiale/qianneng/Main.vue +2 -4
- package/src/filiale/qianneng/ModifyPw.vue +0 -1
- package/src/filiale/rizhao/Login.vue +0 -2
- package/src/filiale/rizhao/Main.vue +1 -1
- package/src/filiale/shiquan/Login.vue +0 -2
- package/src/filiale/tianyi/Login.vue +0 -2
- package/src/filiale/tongchuan/Login.vue +0 -2
- package/src/filiale/tongchuan/Main.vue +1 -3
- package/src/filiale/weinan/Main.vue +923 -924
- package/src/filiale/weinan/system.js +7 -7
- package/src/filiale/wenxi/Login.vue +0 -2
- package/src/filiale/wenxi/Main.vue +0 -2
- package/src/filiale/wuhai/Main.vue +0 -3
- package/src/filiale/yuchuan/Login.vue +0 -2
- package/src/filiale/yuchuan/Main.vue +0 -2
- package/src/filiale/zhoukou/Main.vue +0 -2
- package/src/plugins/GetLoginInfoService.js +75 -13
- package/src/stores/AppData.js +1 -1
@@ -174,7 +174,7 @@ let saveGen = function *(self) {
|
|
174
174
|
console.log('登录配置', self.config)
|
175
175
|
if (self.config.isMac) {
|
176
176
|
// 获取该登录人分公司下的mac配置
|
177
|
-
let getMacs = yield self.$resetpost('
|
177
|
+
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
178
178
|
resolveMsg: null,
|
179
179
|
rejectMsg: null
|
180
180
|
}).catch(() => {
|
@@ -239,7 +239,7 @@ let saveGen = function *(self) {
|
|
239
239
|
msg = ret.data
|
240
240
|
} else if (ret.status === 710) {
|
241
241
|
msg = ret.data
|
242
|
-
} else {
|
242
|
+
} else if (ret.status === 555) {
|
243
243
|
msg = ret.data
|
244
244
|
}
|
245
245
|
self.createCode()
|
@@ -257,6 +257,21 @@ export default {
|
|
257
257
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
258
258
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
259
259
|
this.vTime = this.format(new Date(window.versionTime));
|
260
|
+
try{
|
261
|
+
let http = new HttpResetClass()
|
262
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
263
|
+
{data:{
|
264
|
+
tablename: 't_changedeclare',
|
265
|
+
condition: ` f_type ='变更通知' `
|
266
|
+
}
|
267
|
+
}, {resolveMsg: null, rejectMsg: null})
|
268
|
+
if(res.data.length>0){
|
269
|
+
console.log("---------------获取通知",res.data[0].f_change_message)
|
270
|
+
this.notice=res.data[0].f_change_message
|
271
|
+
}
|
272
|
+
}catch(e){}
|
273
|
+
|
274
|
+
this.loginother();
|
260
275
|
$('#login-button').click(function (event) {
|
261
276
|
event.preventDefault()
|
262
277
|
$('form').fadeOut(500)
|
@@ -412,24 +427,27 @@ export default {
|
|
412
427
|
}else {
|
413
428
|
console.log("待办提醒全局关闭。")
|
414
429
|
}
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
415
434
|
},
|
416
435
|
|
417
436
|
async loginother(){
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
// }
|
437
|
+
if (this.config.distanceLogin) {
|
438
|
+
if (this.$login && this.$login.getUrlParames('name') ) {
|
439
|
+
let ename = this.$login.getUrlParames('name');
|
440
|
+
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
441
|
+
if(logininfo.data){
|
442
|
+
if(logininfo.data.ename && logininfo.data.password){
|
443
|
+
this.model.ename = logininfo.data.ename
|
444
|
+
this.model.password =logininfo.data.password
|
445
|
+
let gen = saveGen(this)
|
446
|
+
return co(gen)
|
447
|
+
}
|
448
|
+
}
|
449
|
+
}
|
450
|
+
}
|
433
451
|
},
|
434
452
|
theme(){
|
435
453
|
// var elementList = document.querySelectorAll('body');
|
@@ -62,7 +62,6 @@
|
|
62
62
|
// let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
|
63
63
|
// let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
|
64
64
|
// Util.f.password = self.deliver.newpassword
|
65
|
-
// todo v4
|
66
65
|
let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver }, {resolveMsg: null,rejectMsg: null})
|
67
66
|
self.$login.f.password = self.deliver.newpassword
|
68
67
|
if (res.data) {
|
@@ -155,7 +155,6 @@
|
|
155
155
|
async pcdChange(){
|
156
156
|
this.arrays.street=[{label:'全部',value:''}]
|
157
157
|
var condition = `f_filialeid = '${this.$login.f.orgid}' and f_street is not null group by f_street`
|
158
|
-
// todo v4
|
159
158
|
let street = await this.$resetpost('rs/sql/singleTable_OrderBy', {
|
160
159
|
data: {
|
161
160
|
items: 'f_street',
|
@@ -193,7 +192,6 @@
|
|
193
192
|
}else{
|
194
193
|
condition = `f_filialeid = '${this.$login.f.orgid}' and f_building is not null group by f_building`
|
195
194
|
}
|
196
|
-
// todo v4
|
197
195
|
let build = await this.$resetpost('rs/sql/singleTable_OrderBy', {
|
198
196
|
data: {
|
199
197
|
items: 'f_building',
|
@@ -1,169 +1,166 @@
|
|
1
|
-
<template>
|
2
|
-
<v-select :options='resoptions' placeholder='请选择'
|
3
|
-
:value.sync="selectres"
|
4
|
-
:multiple="isMul"
|
5
|
-
search="true"
|
6
|
-
:disabled="mustselect"
|
7
|
-
:close-on-select="!isMul"
|
8
|
-
@change="resChange"
|
9
|
-
>
|
10
|
-
</v-select>
|
11
|
-
</template>
|
12
|
-
<script>
|
13
|
-
import {HttpResetClass} from 'vue-client'
|
14
|
-
|
15
|
-
export default {
|
16
|
-
title: '资源选择',
|
17
|
-
props: {
|
18
|
-
|
19
|
-
//资源类型
|
20
|
-
restype:'',
|
21
|
-
//是否只查询营业厅
|
22
|
-
specialquery: {
|
23
|
-
type: Boolean,
|
24
|
-
default: false
|
25
|
-
},
|
26
|
-
//资源数据
|
27
|
-
resObj:{},
|
28
|
-
isMul: {
|
29
|
-
type: Boolean,
|
30
|
-
default: true
|
31
|
-
},
|
32
|
-
//资源初始化数据
|
33
|
-
initresid: {
|
34
|
-
type: Array,
|
35
|
-
default() { return [] },
|
36
|
-
},
|
37
|
-
//父层id
|
38
|
-
parentresid: {
|
39
|
-
type: Array,
|
40
|
-
default() { return [] },
|
41
|
-
},
|
42
|
-
mustselect: {
|
43
|
-
type: Boolean,
|
44
|
-
default: false
|
45
|
-
},
|
46
|
-
},
|
47
|
-
data () {
|
48
|
-
return {
|
49
|
-
//资源数据
|
50
|
-
resObj:{},
|
51
|
-
//资源数据列表
|
52
|
-
resoptions:[],
|
53
|
-
//选中资源数据
|
54
|
-
selectres: [],
|
55
|
-
}
|
56
|
-
},
|
57
|
-
ready () {
|
58
|
-
//获取资源列表
|
59
|
-
this.getResList()
|
60
|
-
},
|
61
|
-
methods:{
|
62
|
-
//树形结构变成list
|
63
|
-
findById(val) {
|
64
|
-
if(val){
|
65
|
-
if(this.checkidres(val)){
|
66
|
-
this.treetoList(val,'')
|
67
|
-
}else if(val.children.length>0){
|
68
|
-
for (let value of val.children) {
|
69
|
-
this.findById(value)
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
},
|
74
|
-
//树形结构变成list
|
75
|
-
treetoList(val,parentname) {
|
76
|
-
for (let value of val.children) {
|
77
|
-
this.ergodicList(value,parentname)
|
78
|
-
}
|
79
|
-
},
|
80
|
-
//找到跟节点
|
81
|
-
ergodicList (val,parentname) {
|
82
|
-
if(val.children.length > 0 ){
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
this.
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
this.
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
this.
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
},
|
168
|
-
}
|
169
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<v-select :options='resoptions' placeholder='请选择'
|
3
|
+
:value.sync="selectres"
|
4
|
+
:multiple="isMul"
|
5
|
+
search="true"
|
6
|
+
:disabled="mustselect"
|
7
|
+
:close-on-select="!isMul"
|
8
|
+
@change="resChange"
|
9
|
+
>
|
10
|
+
</v-select>
|
11
|
+
</template>
|
12
|
+
<script>
|
13
|
+
import {HttpResetClass} from 'vue-client'
|
14
|
+
|
15
|
+
export default {
|
16
|
+
title: '资源选择',
|
17
|
+
props: {
|
18
|
+
|
19
|
+
//资源类型
|
20
|
+
restype:'',
|
21
|
+
//是否只查询营业厅
|
22
|
+
specialquery: {
|
23
|
+
type: Boolean,
|
24
|
+
default: false
|
25
|
+
},
|
26
|
+
//资源数据
|
27
|
+
resObj:{},
|
28
|
+
isMul: {
|
29
|
+
type: Boolean,
|
30
|
+
default: true
|
31
|
+
},
|
32
|
+
//资源初始化数据
|
33
|
+
initresid: {
|
34
|
+
type: Array,
|
35
|
+
default() { return [] },
|
36
|
+
},
|
37
|
+
//父层id
|
38
|
+
parentresid: {
|
39
|
+
type: Array,
|
40
|
+
default() { return [] },
|
41
|
+
},
|
42
|
+
mustselect: {
|
43
|
+
type: Boolean,
|
44
|
+
default: false
|
45
|
+
},
|
46
|
+
},
|
47
|
+
data () {
|
48
|
+
return {
|
49
|
+
//资源数据
|
50
|
+
resObj:{},
|
51
|
+
//资源数据列表
|
52
|
+
resoptions:[],
|
53
|
+
//选中资源数据
|
54
|
+
selectres: [],
|
55
|
+
}
|
56
|
+
},
|
57
|
+
ready () {
|
58
|
+
//获取资源列表
|
59
|
+
this.getResList()
|
60
|
+
},
|
61
|
+
methods:{
|
62
|
+
//树形结构变成list
|
63
|
+
findById(val) {
|
64
|
+
if(val){
|
65
|
+
if(this.checkidres(val)){
|
66
|
+
this.treetoList(val,'')
|
67
|
+
}else if(val.children.length>0){
|
68
|
+
for (let value of val.children) {
|
69
|
+
this.findById(value)
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
},
|
74
|
+
//树形结构变成list
|
75
|
+
treetoList(val,parentname) {
|
76
|
+
for (let value of val.children) {
|
77
|
+
this.ergodicList(value,parentname)
|
78
|
+
}
|
79
|
+
},
|
80
|
+
//找到跟节点
|
81
|
+
ergodicList (val,parentname) {
|
82
|
+
if(val.children.length > 0 ){
|
83
|
+
parentname=parentname+val.name
|
84
|
+
this.treetoList(val,parentname)
|
85
|
+
}else {
|
86
|
+
//截取组织机构【组织机构】
|
87
|
+
if(this.restype=='organization'){
|
88
|
+
parentname=parentname.replace("组织机构","")
|
89
|
+
this.resoptions.push({label: val.name+' - '+parentname, value: val.id})
|
90
|
+
}else{
|
91
|
+
if (this.specialquery && this.restype == 'department') {
|
92
|
+
if (val.f_dep_type === '营业厅') {
|
93
|
+
this.resoptions.push({label: val.name, value: val.id})
|
94
|
+
}
|
95
|
+
}else {
|
96
|
+
this.resoptions.push({label: val.name, value: val.id})
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
},
|
101
|
+
//检查id是否存在
|
102
|
+
checkidres(val){
|
103
|
+
let flag=false
|
104
|
+
//如果没传值得话 不过滤
|
105
|
+
if(this.parentresid.length==0&&this.restype=='organization'){
|
106
|
+
flag=true
|
107
|
+
}
|
108
|
+
this.parentresid.forEach((item) => {
|
109
|
+
if(item==val.id){
|
110
|
+
flag=true
|
111
|
+
}
|
112
|
+
})
|
113
|
+
return flag;
|
114
|
+
},
|
115
|
+
//资源改变
|
116
|
+
resChange(val){
|
117
|
+
let orgnames=[]
|
118
|
+
Object.keys(this.resoptions).forEach((key) => {
|
119
|
+
if(this.selectres.includes(this.resoptions[key].value))
|
120
|
+
orgnames.push(this.resoptions[key].label)
|
121
|
+
})
|
122
|
+
console.log('资源改变。。', val, orgnames)
|
123
|
+
this.$dispatch('res-select', this.selectres, orgnames)
|
124
|
+
},
|
125
|
+
//获取资源数据
|
126
|
+
async getResList() {
|
127
|
+
|
128
|
+
let http = new HttpResetClass()
|
129
|
+
|
130
|
+
let req = await http.load('POST', '/rs/search', {data: {
|
131
|
+
source: `tool.getFullTree(this.getRights().where(row.getType()==$${this.restype}$))`,
|
132
|
+
userid: this.$login.f.id
|
133
|
+
}}, {resolveMsg: null, rejectMsg: '获取组织结构数据出错'})
|
134
|
+
this.resObj=req.data[0]
|
135
|
+
this.dealdata()
|
136
|
+
},
|
137
|
+
dealdata(){
|
138
|
+
this.resoptions=[]
|
139
|
+
this.findById(this.resObj);
|
140
|
+
//赋值资源数据
|
141
|
+
let arryselect=[]
|
142
|
+
this.resoptions.forEach((item) => {
|
143
|
+
if(this.initresid.length>0){
|
144
|
+
this.initresid.forEach((init) => {
|
145
|
+
if(item.value==init){
|
146
|
+
arryselect.push(item.value)
|
147
|
+
}
|
148
|
+
})
|
149
|
+
}
|
150
|
+
})
|
151
|
+
//赋值资源选中初始值
|
152
|
+
this.selectres=arryselect
|
153
|
+
}
|
154
|
+
},
|
155
|
+
watch: {
|
156
|
+
//监听初始化资源id
|
157
|
+
'initresid.length'(){
|
158
|
+
this.dealdata()
|
159
|
+
},
|
160
|
+
//监听初始化资源id
|
161
|
+
'parentresid'(){
|
162
|
+
this.dealdata()
|
163
|
+
}
|
164
|
+
},
|
165
|
+
}
|
166
|
+
</script>
|