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
9702e09c
Commit
9702e09c
authored
Dec 15, 2019
by
高宇强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gyq
parent
bc382b69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
17 deletions
+23
-17
laowubao/app/base/api/impl/operator/laoActionApi.js
+23
-17
No files found.
laowubao/app/base/api/impl/operator/laoActionApi.js
View file @
9702e09c
...
@@ -648,21 +648,21 @@ class LaoActionApi extends APIBase {
...
@@ -648,21 +648,21 @@ 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
{
...
@@ -688,7 +688,7 @@ class LaoActionApi extends APIBase {
...
@@ -688,7 +688,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
];
...
@@ -705,7 +705,7 @@ class LaoActionApi extends APIBase {
...
@@ -705,7 +705,7 @@ 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
{
...
@@ -713,7 +713,7 @@ class LaoActionApi extends APIBase {
...
@@ -713,7 +713,7 @@ class LaoActionApi extends APIBase {
}
}
temp
=
""
+
cells
[
11
];
temp
=
""
+
cells
[
11
];
if
(
temp
){
if
(
temp
&&
temp
!=
"undefined"
){
data
.
work_address
=
temp
;
data
.
work_address
=
temp
;
}
}
else
{
else
{
...
@@ -722,7 +722,7 @@ class LaoActionApi extends APIBase {
...
@@ -722,7 +722,7 @@ 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"
;
}
}
...
@@ -733,19 +733,25 @@ class LaoActionApi extends APIBase {
...
@@ -733,19 +733,25 @@ class LaoActionApi extends APIBase {
else
{
else
{
data
.
end_date
=
null
;
data
.
end_date
=
null
;
}
}
temp
=
""
+
cells
[
14
];
data
.
pic_path
=
null
;
if
(
temp
&&
temp
!=
"undefined"
){
data
.
pic_path
=
temp
;
temp
=
""
+
cells
[
14
];
}
if
(
temp
){
else
{
data
.
pic_path
=
null
;
}
console
.
log
(
"###############"
+
data
.
pic_path
+
"#############"
);
temp
=
""
+
cells
[
15
];
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
;
}
}
...
@@ -755,7 +761,7 @@ class LaoActionApi extends APIBase {
...
@@ -755,7 +761,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
,
...
@@ -868,10 +874,10 @@ class LaoActionApi extends APIBase {
...
@@ -868,10 +874,10 @@ 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/
1111
.xlsx"
// ossUrl:"https://gsb-zc.oss-cn-beijing.aliyuncs.com/
/zc_wxapplet_1576396810278
.xlsx"
// //id:2,
// //id:2,
// //cur_status:"已过期"
// //cur_status:"已过期"
// //memo_text:"sssssssss"
// //memo_text:"sssssssss"
...
...
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