system-clients 3.2.95-ruihua → 3.2.95-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 +105 -105
- package/src/components/Main.vue +42 -18
- package/src/components/equipment/PcAdd.vue +1 -1
- package/src/components/equipment/PcList.vue +3 -3
- package/src/components/equipment/PhoneAdd.vue +1 -1
- package/src/components/equipment/PhoneList.vue +2 -2
- 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 +175 -169
- package/src/components/server/ResSelectGroup.vue +1 -1
- 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 +23 -36
- package/src/filiale/gehua/Main.vue +0 -2
- package/src/filiale/konggang/Login.vue +0 -2
- package/src/filiale/qianneng/Login.vue +0 -2
- 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 +1 -2
- 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 +1 -3
- 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
- package/src/filiale/ruihua/Login.vue +0 -549
- package/src/filiale/ruihua/system.js +0 -5
@@ -30,11 +30,11 @@
|
|
30
30
|
<data-grid :model="model" v-ref:grid >
|
31
31
|
<template partial='head'>
|
32
32
|
<tr>
|
33
|
-
<th
|
34
|
-
<th
|
35
|
-
<th
|
36
|
-
<th
|
37
|
-
<th
|
33
|
+
<th>序号</th>
|
34
|
+
<th>名称</th>
|
35
|
+
<th>参数值</th>
|
36
|
+
<th>所属</th>
|
37
|
+
<th>操作</th>
|
38
38
|
</tr>
|
39
39
|
</template>
|
40
40
|
<template partial='body'>
|
@@ -149,7 +149,7 @@
|
|
149
149
|
async queryParam (condition) {
|
150
150
|
this.model.rows = []
|
151
151
|
let http = new HttpResetClass()
|
152
|
-
let res = await http.load('POST', '
|
152
|
+
let res = await http.load('POST', 'rs/sql/system_getSingle', {data: condition}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
|
153
153
|
this.model.rows = res.data
|
154
154
|
},
|
155
155
|
|
@@ -183,7 +183,7 @@
|
|
183
183
|
deleteItem (row) {
|
184
184
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
185
185
|
if (res === 'confirm') {
|
186
|
-
this.$resetpost('
|
186
|
+
this.$resetpost('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
|
187
187
|
this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
|
188
188
|
})
|
189
189
|
}
|
@@ -201,7 +201,7 @@
|
|
201
201
|
this.show = true
|
202
202
|
},
|
203
203
|
confirm () {
|
204
|
-
this.$resetpost('
|
204
|
+
this.$resetpost('rs/logic/system_saveSingle', this.selectItem).then((res) => {
|
205
205
|
// 如果没有id,需要在数组中添加
|
206
206
|
this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
|
207
207
|
this.show = false
|
@@ -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,175 @@
|
|
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
|
-
|
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
|
+
initresid: {
|
165
|
+
handler(newVal, oldVal) {
|
166
|
+
// 避免重复触发
|
167
|
+
if (JSON.stringify(newVal) === JSON.stringify(oldVal)) {
|
168
|
+
return;
|
169
|
+
}
|
170
|
+
this.dealdata();
|
171
|
+
},
|
172
|
+
}
|
173
|
+
},
|
174
|
+
}
|
175
|
+
</script>
|
@@ -167,7 +167,7 @@ export default {
|
|
167
167
|
for (let row of this.$refs.department.resoptions) {
|
168
168
|
depids.push(row.value)
|
169
169
|
}
|
170
|
-
let depid = depids.length ? plugin.convertToIn(depids) :
|
170
|
+
let depid = depids.length ? plugin.convertToIn(depids) : ('')
|
171
171
|
condition += " and f_depid in " + depid;
|
172
172
|
}
|
173
173
|
}
|
@@ -51,7 +51,6 @@
|
|
51
51
|
}
|
52
52
|
},
|
53
53
|
ready() {
|
54
|
-
// todo v4
|
55
54
|
this.$resetpost('/rs/search', {data: {source: this.source, userid: this.$login.f.id}}, {resolveMsg: null, rejectMsg: null})
|
56
55
|
.then(res => {
|
57
56
|
console.log('res-->' + JSON.stringify(res))
|
@@ -66,7 +65,7 @@
|
|
66
65
|
this.$dispatch('re-res',obj)
|
67
66
|
},
|
68
67
|
filterUser(resids) {
|
69
|
-
// 处理第一次进入页面值异常问题
|
68
|
+
// 处理第一次进入页面值异常问题
|
70
69
|
if(resids.length > 0 && typeof resids[0] == "object"){
|
71
70
|
resids = resids[0]
|
72
71
|
}
|
@@ -87,4 +86,4 @@
|
|
87
86
|
|
88
87
|
<style scoped>
|
89
88
|
|
90
|
-
</style>
|
89
|
+
</style>
|
@@ -175,7 +175,6 @@ let saveGen = function *(self) {
|
|
175
175
|
console.log('登录配置', self.config)
|
176
176
|
if (self.config.isMac) {
|
177
177
|
// 获取该登录人分公司下的mac配置
|
178
|
-
// todo v4
|
179
178
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
180
179
|
resolveMsg: null,
|
181
180
|
rejectMsg: null
|
@@ -440,7 +439,6 @@ export default {
|
|
440
439
|
if (this.config.distanceLogin) {
|
441
440
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
442
441
|
let ename = this.$login.getUrlParames('name');
|
443
|
-
// todo v4
|
444
442
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
445
443
|
if(logininfo.data){
|
446
444
|
if(logininfo.data.ename && logininfo.data.password){
|