Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
d2b912fa
Commit
d2b912fa
authored
Dec 15, 2019
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
d83af709
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
215 deletions
+35
-215
laowubao/app/base/api/impl/operator/laoActionApi.js
+31
-212
laowubao/app/base/api/impl/operator/xbgApi.js
+4
-3
No files found.
laowubao/app/base/api/impl/operator/laoActionApi.js
View file @
d2b912fa
...
@@ -24,7 +24,7 @@ class LaoActionApi extends APIBase {
...
@@ -24,7 +24,7 @@ class LaoActionApi extends APIBase {
yd
:
{
yd
:
{
signCompanyIds
:
[
10173
],
signCompanyIds
:
[
10173
],
payCompanyIds
:
[
'1152185172836229121'
,
'1152186076306087937'
,
'1165922409285480450'
,
'1169516233595670529'
,
'1174219506669584386'
,
'1197064800073707522'
,
'1199605424102690818'
],
payCompanyIds
:
[
'1152185172836229121'
,
'1152186076306087937'
,
'1165922409285480450'
,
'1169516233595670529'
,
'1174219506669584386'
,
'1197064800073707522'
,
'1199605424102690818'
],
compan
t
Info
:
{
compan
y
Info
:
{
companyName
:
"上海韵达货运有限公司"
,
companyName
:
"上海韵达货运有限公司"
,
taxType
:
"一般纳税人"
,
taxType
:
"一般纳税人"
,
contactName
:
"陈梁"
,
contactName
:
"陈梁"
,
...
@@ -41,7 +41,7 @@ class LaoActionApi extends APIBase {
...
@@ -41,7 +41,7 @@ class LaoActionApi extends APIBase {
tfb
:
{
tfb
:
{
signCompanyIds
:
[
11410
],
signCompanyIds
:
[
11410
],
payCompanyIds
:
[
'1187270470698082306'
,
'1187272600083308546'
,
'1187274198010056705'
,
'1202100969987661826'
],
payCompanyIds
:
[
'1187270470698082306'
,
'1187272600083308546'
,
'1187274198010056705'
,
'1202100969987661826'
],
compan
t
Info
:
{
compan
y
Info
:
{
companyName
:
"杭州淘粉吧网络技术股份有限公司"
,
companyName
:
"杭州淘粉吧网络技术股份有限公司"
,
taxType
:
"一般纳税人"
,
taxType
:
"一般纳税人"
,
contactName
:
"王萍"
,
contactName
:
"王萍"
,
...
@@ -58,6 +58,7 @@ class LaoActionApi extends APIBase {
...
@@ -58,6 +58,7 @@ class LaoActionApi extends APIBase {
}
}
this
.
userConfig
=
{
this
.
userConfig
=
{
26
:
this
.
companyConfig
.
yd
,
29
:
this
.
companyConfig
.
yd
,
29
:
this
.
companyConfig
.
yd
,
30
:
this
.
companyConfig
.
tfb
30
:
this
.
companyConfig
.
tfb
}
}
...
@@ -518,7 +519,7 @@ class LaoActionApi extends APIBase {
...
@@ -518,7 +519,7 @@ class LaoActionApi extends APIBase {
}
}
async
notifyInterview
(
obj
)
{
async
notifyInterview
(
obj
)
{
if
(
!
obj
.
userId
)
{
if
(
!
obj
.
userId
)
{
return
system
.
getResult
(
null
,
"用户id不存在"
);
return
system
.
getResult
(
null
,
"用户id不存在"
);
}
}
...
@@ -674,188 +675,6 @@ class LaoActionApi extends APIBase {
...
@@ -674,188 +675,6 @@ class LaoActionApi extends APIBase {
}
}
}
}
<<<<<<<
HEAD
async
ParamRecruitExcel
(
obj
){
if
(
!
obj
.
userId
||
!
obj
.
ossUrl
){
return
system
.
getResult
(
null
,
"参数不能为空"
);
}
var
userId
=
obj
.
userId
;
var
ossurl
=
obj
.
ossUrl
;
var
dataList
=
[];
var
filePath
=
"/tmp/recruit_info_"
+
userId
+
".xlsx"
;
try
{
await
this
.
restClient
.
execDownload
(
"'"
+
ossurl
+
"'"
,
filePath
);
var
sheets
=
xlsx
.
parse
(
filePath
);
var
rows
=
sheets
[
0
].
data
;
for
(
var
i
=
5
;
i
<
rows
.
length
;
i
++
)
{
var
cells
=
rows
[
i
];
if
(
cells
[
0
]){
var
data
=
{};
data
.
recruit_name
=
""
+
cells
[
1
];
data
.
recruit_type
=
""
+
cells
[
2
];
data
.
recruit_count
=
""
+
cells
[
3
];
data
.
pay_name
=
""
+
cells
[
4
];
if
(
data
.
pay_name
==
"月薪"
){
data
.
pay_type
=
1
;
}
else
if
(
data
.
pay_name
==
"日薪"
){
data
.
pay_type
=
2
;
}
else
if
(
data
.
pay_name
==
"时薪"
){
data
.
pay_type
=
3
;
}
else
{
data
.
pay_type
=
null
;
}
data
.
pay_unit
=
null
;
//少一个薪资单价
var
temp
=
""
+
cells
[
5
];
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"面议"
&&
temp
!=
"undefined"
){
data
.
basic_salary
=
Number
(
temp
)
*
100
;
}
else
{
data
.
basic_salary
=
null
;
}
temp
=
""
+
cells
[
6
];
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"面议"
&&
temp
!=
"undefined"
){
data
.
compre_salary
=
Number
(
temp
)
*
100
;
}
else
{
data
.
compre_salary
=
null
;
}
temp
=
""
+
cells
[
7
];
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"undefined"
){
data
.
work_duration
=
Number
(
temp
);
}
else
{
data
.
work_duration
=
null
;
}
temp
=
""
+
cells
[
8
];
if
(
temp
==
"面议"
){
data
.
rfee_type
=
0
;
}
else
if
(
temp
==
"月返"
){
data
.
rfee_type
=
1
;
}
else
if
(
temp
==
"日返"
){
data
.
rfee_type
=
2
;
}
else
if
(
temp
==
"时返"
){
data
.
rfee_type
=
3
;
}
else
if
(
temp
==
"一次返"
){
data
.
rfee_type
=
4
;
}
else
{
data
.
rfee_type
=
null
;
}
temp
=
""
+
cells
[
9
];
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"undefined"
){
var
arr
=
temp
.
split
(
"/"
);
if
(
arr
.
length
==
2
){
data
.
rfee_duration
=
arr
[
0
];
data
.
rfee_time
=
arr
[
1
];
}
else
{
data
.
rfee_duration
=
null
;
data
.
rfee_time
=
null
;
}
}
else
{
data
.
rfee_duration
=
null
;
data
.
rfee_time
=
null
;
}
temp
=
""
+
cells
[
10
];
if
(
temp
&&
temp
!=
"undefined"
){
data
.
age_range
=
temp
;
}
else
{
data
.
age_range
=
null
;
}
temp
=
""
+
cells
[
11
];
if
(
temp
&&
temp
!=
"undefined"
){
data
.
work_address
=
temp
;
}
else
{
data
.
work_address
=
null
;
}
data
.
publish_date
=
(
new
Date
()).
Format
(
"yyyy-MM-dd"
);
temp
=
""
+
cells
[
12
];
if
(
temp
&&
temp
!=
"undefined"
){
if
(
temp
==
"长期"
){
data
.
end_date
=
"1970-01-01"
;
}
else
{
data
.
end_date
=
temp
;
}
}
else
{
data
.
end_date
=
null
;
}
temp
=
""
+
cells
[
14
];
if
(
temp
&&
temp
!=
"undefined"
){
data
.
pic_path
=
temp
;
}
else
{
data
.
pic_path
=
null
;
}
console
.
log
(
"###############"
+
data
.
pic_path
+
"#############"
);
temp
=
""
+
cells
[
15
];
if
(
temp
&&
temp
!=
"undefined"
){
data
.
recrui_require
=
temp
;
}
else
{
data
.
recrui_require
=
null
;
}
temp
=
""
+
cells
[
16
];
if
(
temp
&&
temp
!=
"undefined"
){
data
.
phone_no
=
temp
;
}
else
{
data
.
phone_no
=
null
;
//data.user_id = null;
}
temp
=
""
+
cells
[
14
];
if
(
temp
&&
temp
!=
"undefined"
){
var
parm
=
{
user_name
:
temp
,
find_type
:
0
,
real_status
:
"企业已认证"
}
var
user_info
=
await
this
.
usersSve
.
findUserInfo
(
parm
);
if
(
user_info
.
status
==
-
1
)
{
data
.
user_id
=
null
;
}
else
{
if
(
user_info
.
count
>
0
){
data
.
user_id
=
user_info
.
rows
[
0
].
id
;
}
else
{
data
.
user_id
=
null
;
}
}
}
else
{
data
.
user_id
=
null
;
}
data
.
counter_mark
=
null
;
data
.
cur_type
=
1
;
data
.
cur_status
=
"展示中"
;
dataList
.
push
(
data
)
}
=======
async
ParamRecruitExcel
(
obj
)
{
async
ParamRecruitExcel
(
obj
)
{
if
(
!
obj
.
userId
||
!
obj
.
ossUrl
)
{
if
(
!
obj
.
userId
||
!
obj
.
ossUrl
)
{
return
system
.
getResult
(
null
,
"参数不能为空"
);
return
system
.
getResult
(
null
,
"参数不能为空"
);
...
@@ -887,19 +706,19 @@ class LaoActionApi extends APIBase {
...
@@ -887,19 +706,19 @@ class LaoActionApi extends APIBase {
}
}
data
.
pay_unit
=
null
;
//少一个薪资单价
data
.
pay_unit
=
null
;
//少一个薪资单价
var
temp
=
""
+
cells
[
5
];
var
temp
=
""
+
cells
[
5
];
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"面议"
)
{
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"面议"
&&
temp
!=
"undefined"
)
{
data
.
basic_salary
=
Number
(
temp
)
*
100
;
data
.
basic_salary
=
Number
(
temp
)
*
100
;
}
else
{
}
else
{
data
.
basic_salary
=
null
;
data
.
basic_salary
=
null
;
}
}
temp
=
""
+
cells
[
6
];
temp
=
""
+
cells
[
6
];
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"面议"
)
{
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"面议"
&&
temp
!=
"undefined"
)
{
data
.
compre_salary
=
Number
(
temp
)
*
100
;
data
.
compre_salary
=
Number
(
temp
)
*
100
;
}
else
{
}
else
{
data
.
compre_salary
=
null
;
data
.
compre_salary
=
null
;
}
}
temp
=
""
+
cells
[
7
];
temp
=
""
+
cells
[
7
];
if
(
temp
&&
temp
!=
"—"
)
{
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"undefined"
)
{
data
.
work_duration
=
Number
(
temp
);
data
.
work_duration
=
Number
(
temp
);
}
else
{
}
else
{
data
.
work_duration
=
null
;
data
.
work_duration
=
null
;
...
@@ -919,7 +738,7 @@ class LaoActionApi extends APIBase {
...
@@ -919,7 +738,7 @@ class LaoActionApi extends APIBase {
data
.
rfee_type
=
null
;
data
.
rfee_type
=
null
;
}
}
temp
=
""
+
cells
[
9
];
temp
=
""
+
cells
[
9
];
if
(
temp
&&
temp
!=
"—"
)
{
if
(
temp
&&
temp
!=
"—"
&&
temp
!=
"undefined"
)
{
var
arr
=
temp
.
split
(
"/"
);
var
arr
=
temp
.
split
(
"/"
);
if
(
arr
.
length
==
2
)
{
if
(
arr
.
length
==
2
)
{
data
.
rfee_duration
=
arr
[
0
];
data
.
rfee_duration
=
arr
[
0
];
...
@@ -934,14 +753,14 @@ class LaoActionApi extends APIBase {
...
@@ -934,14 +753,14 @@ class LaoActionApi extends APIBase {
}
}
temp
=
""
+
cells
[
10
];
temp
=
""
+
cells
[
10
];
if
(
temp
)
{
if
(
temp
&&
temp
!=
"undefined"
)
{
data
.
age_range
=
temp
;
data
.
age_range
=
temp
;
}
else
{
}
else
{
data
.
age_range
=
null
;
data
.
age_range
=
null
;
}
}
temp
=
""
+
cells
[
11
];
temp
=
""
+
cells
[
11
];
if
(
temp
)
{
if
(
temp
&&
temp
!=
"undefined"
)
{
data
.
work_address
=
temp
;
data
.
work_address
=
temp
;
}
else
{
}
else
{
data
.
work_address
=
null
;
data
.
work_address
=
null
;
...
@@ -949,28 +768,31 @@ class LaoActionApi extends APIBase {
...
@@ -949,28 +768,31 @@ class LaoActionApi extends APIBase {
data
.
publish_date
=
(
new
Date
()).
Format
(
"yyyy-MM-dd"
);
data
.
publish_date
=
(
new
Date
()).
Format
(
"yyyy-MM-dd"
);
temp
=
""
+
cells
[
12
];
temp
=
""
+
cells
[
12
];
if
(
temp
)
{
if
(
temp
&&
temp
!=
"undefined"
)
{
if
(
temp
==
"长期"
)
{
if
(
temp
==
"长期"
)
{
data
.
end_date
=
"1970-01-01"
;
data
.
end_date
=
"1970-01-01"
;
}
else
{
}
else
{
data
.
end_date
=
temp
;
data
.
end_date
=
temp
;
>>>>>>>
aaa393d880fbd1c02cf33d739ab56187e35bce65
}
}
}
else
{
}
else
{
data
.
end_date
=
null
;
data
.
end_date
=
null
;
}
}
temp
=
""
+
cells
[
14
];
if
(
temp
&&
temp
!=
"undefined"
)
{
data
.
pic_path
=
temp
;
}
else
{
data
.
pic_path
=
null
;
data
.
pic_path
=
null
;
}
temp
=
""
+
cells
[
1
4
];
temp
=
""
+
cells
[
1
5
];
if
(
temp
)
{
if
(
temp
&&
temp
!=
"undefined"
)
{
data
.
recrui_require
=
temp
;
data
.
recrui_require
=
temp
;
}
else
{
}
else
{
data
.
recrui_require
=
null
;
data
.
recrui_require
=
null
;
}
}
temp
=
""
+
cells
[
1
5
];
temp
=
""
+
cells
[
1
6
];
if
(
temp
)
{
if
(
temp
&&
temp
!=
"undefined"
)
{
data
.
phone_no
=
temp
;
data
.
phone_no
=
temp
;
}
else
{
}
else
{
...
@@ -979,7 +801,7 @@ class LaoActionApi extends APIBase {
...
@@ -979,7 +801,7 @@ class LaoActionApi extends APIBase {
}
}
temp
=
""
+
cells
[
14
];
temp
=
""
+
cells
[
14
];
if
(
temp
)
{
if
(
temp
&&
temp
!=
"undefined"
)
{
var
parm
=
{
var
parm
=
{
user_name
:
temp
,
user_name
:
temp
,
find_type
:
0
,
find_type
:
0
,
...
@@ -995,16 +817,12 @@ class LaoActionApi extends APIBase {
...
@@ -995,16 +817,12 @@ class LaoActionApi extends APIBase {
}
else
{
}
else
{
data
.
user_id
=
null
;
data
.
user_id
=
null
;
}
}
}
}
}
else
{
}
else
{
data
.
user_id
=
null
;
data
.
user_id
=
null
;
}
}
data
.
counter_mark
=
null
;
data
.
counter_mark
=
null
;
data
.
cur_type
=
1
;
data
.
cur_type
=
1
;
data
.
cur_status
=
"展示中"
;
data
.
cur_status
=
"展示中"
;
dataList
.
push
(
data
)
dataList
.
push
(
data
)
...
@@ -1022,11 +840,12 @@ class LaoActionApi extends APIBase {
...
@@ -1022,11 +840,12 @@ class LaoActionApi extends APIBase {
console
.
log
(
e
);
console
.
log
(
e
);
return
system
.
getResult
(
null
,
"接口异常"
);
return
system
.
getResult
(
null
,
"接口异常"
);
}
}
}
}
// 工作量确认单
// 工作量确认单
async
paramXlsx
(
obj
)
{
async
paramXlsx
(
obj
)
{
if
(
!
obj
.
userId
)
{
if
(
!
obj
.
userId
)
{
return
system
.
getResult
(
null
,
"用户未登录"
);
return
system
.
getResult
(
null
,
"用户未登录"
);
}
}
try
{
try
{
...
@@ -1043,7 +862,7 @@ class LaoActionApi extends APIBase {
...
@@ -1043,7 +862,7 @@ class LaoActionApi extends APIBase {
// 列表
// 列表
async
workLoadPage
(
obj
)
{
async
workLoadPage
(
obj
)
{
if
(
!
obj
.
userId
)
{
if
(
!
obj
.
userId
)
{
return
system
.
getResult
(
null
,
"用户未登录"
);
return
system
.
getResult
(
null
,
"用户未登录"
);
}
}
...
@@ -1058,7 +877,7 @@ class LaoActionApi extends APIBase {
...
@@ -1058,7 +877,7 @@ class LaoActionApi extends APIBase {
}
}
async
workLoadHistoryInfo
(
obj
)
{
async
workLoadHistoryInfo
(
obj
)
{
if
(
!
obj
.
userId
)
{
if
(
!
obj
.
userId
)
{
return
system
.
getResult
(
null
,
"用户未登录"
);
return
system
.
getResult
(
null
,
"用户未登录"
);
}
}
...
@@ -1073,7 +892,7 @@ class LaoActionApi extends APIBase {
...
@@ -1073,7 +892,7 @@ class LaoActionApi extends APIBase {
// 确认/全部
// 确认/全部
async
workloadConfirm
(
obj
)
{
async
workloadConfirm
(
obj
)
{
if
(
!
obj
.
userId
)
{
if
(
!
obj
.
userId
)
{
return
system
.
getResult
(
null
,
"用户未登录"
);
return
system
.
getResult
(
null
,
"用户未登录"
);
}
}
...
@@ -1087,7 +906,7 @@ class LaoActionApi extends APIBase {
...
@@ -1087,7 +906,7 @@ class LaoActionApi extends APIBase {
}
}
async
workloadTotal
(
obj
)
{
async
workloadTotal
(
obj
)
{
if
(
!
obj
.
userId
)
{
if
(
!
obj
.
userId
)
{
return
system
.
getResult
(
null
,
"用户未登录"
);
return
system
.
getResult
(
null
,
"用户未登录"
);
}
}
...
@@ -1095,7 +914,7 @@ class LaoActionApi extends APIBase {
...
@@ -1095,7 +914,7 @@ class LaoActionApi extends APIBase {
obj
.
pageSize
=
1
;
obj
.
pageSize
=
1
;
obj
.
status
=
1
;
obj
.
status
=
1
;
var
rs
=
await
this
.
workloadSve
.
pageByCondition
(
obj
);
var
rs
=
await
this
.
workloadSve
.
pageByCondition
(
obj
);
if
(
!
rs
||
!
rs
.
count
)
{
if
(
!
rs
||
!
rs
.
count
)
{
return
system
.
getResultSuccess
(
0
);
return
system
.
getResultSuccess
(
0
);
}
}
return
system
.
getResultSuccess
(
rs
.
count
);
return
system
.
getResultSuccess
(
rs
.
count
);
...
@@ -1108,7 +927,7 @@ class LaoActionApi extends APIBase {
...
@@ -1108,7 +927,7 @@ class LaoActionApi extends APIBase {
// 确认列表
// 确认列表
async
workloadHistory
(
obj
)
{
async
workloadHistory
(
obj
)
{
if
(
!
obj
.
userId
)
{
if
(
!
obj
.
userId
)
{
return
system
.
getResult
(
null
,
"用户未登录"
);
return
system
.
getResult
(
null
,
"用户未登录"
);
}
}
...
@@ -1126,7 +945,7 @@ class LaoActionApi extends APIBase {
...
@@ -1126,7 +945,7 @@ class LaoActionApi extends APIBase {
async
companyInfo
(
qobj
)
{
async
companyInfo
(
qobj
)
{
try
{
try
{
let
config
=
this
.
userConfig
[
qobj
.
userId
];
let
config
=
this
.
userConfig
[
qobj
.
userId
];
if
(
!
config
)
{
if
(
!
config
)
{
return
system
.
getResultSuccess
({});
return
system
.
getResultSuccess
({});
}
}
return
system
.
getResultSuccess
(
config
.
companyInfo
);
return
system
.
getResultSuccess
(
config
.
companyInfo
);
...
@@ -1202,7 +1021,7 @@ class LaoActionApi extends APIBase {
...
@@ -1202,7 +1021,7 @@ class LaoActionApi extends APIBase {
module
.
exports
=
LaoActionApi
;
module
.
exports
=
LaoActionApi
;
var
tesk
=
new
LaoActionApi
();
//
var tesk = new LaoActionApi();
// var parm = {
// var parm = {
// userId:4,
// userId:4,
// ossUrl:"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_wxapplet_1576396810278.xlsx"
// ossUrl:"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_wxapplet_1576396810278.xlsx"
...
...
laowubao/app/base/api/impl/operator/xbgApi.js
View file @
d2b912fa
...
@@ -14,7 +14,7 @@ class XbgApi extends apiBase {
...
@@ -14,7 +14,7 @@ class XbgApi extends apiBase {
yd
:
{
yd
:
{
signCompanyIds
:
[
10173
],
signCompanyIds
:
[
10173
],
payCompanyIds
:
[
'1152185172836229121'
,
'1152186076306087937'
,
'1165922409285480450'
,
'1169516233595670529'
,
'1174219506669584386'
,
'1197064800073707522'
,
'1199605424102690818'
],
payCompanyIds
:
[
'1152185172836229121'
,
'1152186076306087937'
,
'1165922409285480450'
,
'1169516233595670529'
,
'1174219506669584386'
,
'1197064800073707522'
,
'1199605424102690818'
],
compan
t
Info
:
{
compan
y
Info
:
{
companyName
:
"上海韵达货运有限公司"
,
companyName
:
"上海韵达货运有限公司"
,
taxType
:
"一般纳税人"
,
taxType
:
"一般纳税人"
,
contactName
:
"陈梁"
,
contactName
:
"陈梁"
,
...
@@ -31,7 +31,7 @@ class XbgApi extends apiBase {
...
@@ -31,7 +31,7 @@ class XbgApi extends apiBase {
tfb
:
{
tfb
:
{
signCompanyIds
:
[
11410
],
signCompanyIds
:
[
11410
],
payCompanyIds
:
[
'1187270470698082306'
,
'1187272600083308546'
,
'1187274198010056705'
,
'1202100969987661826'
],
payCompanyIds
:
[
'1187270470698082306'
,
'1187272600083308546'
,
'1187274198010056705'
,
'1202100969987661826'
],
compan
t
Info
:
{
compan
y
Info
:
{
companyName
:
"杭州淘粉吧网络技术股份有限公司"
,
companyName
:
"杭州淘粉吧网络技术股份有限公司"
,
taxType
:
"一般纳税人"
,
taxType
:
"一般纳税人"
,
contactName
:
"王萍"
,
contactName
:
"王萍"
,
...
@@ -48,6 +48,7 @@ class XbgApi extends apiBase {
...
@@ -48,6 +48,7 @@ class XbgApi extends apiBase {
}
}
this
.
userConfig
=
{
this
.
userConfig
=
{
26
:
this
.
companyConfig
.
yd
,
29
:
this
.
companyConfig
.
yd
,
29
:
this
.
companyConfig
.
yd
,
30
:
this
.
companyConfig
.
tfb
30
:
this
.
companyConfig
.
tfb
}
}
...
@@ -60,7 +61,7 @@ class XbgApi extends apiBase {
...
@@ -60,7 +61,7 @@ class XbgApi extends apiBase {
}
}
async
setCompanyIds
(
qobj
)
{
async
setCompanyIds
(
qobj
)
{
var
config
=
this
.
this
.
userConfig
[
qobj
.
userId
];
var
config
=
this
.
userConfig
[
qobj
.
userId
];
if
(
!
config
)
{
if
(
!
config
)
{
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment