Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yangchao
/
invitePc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 09865bd1
authored
Jan 11, 2020
by
yangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
1 parent
dc923b84
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
9 deletions
src/store/index.js
src/views/login/login.vue
src/views/position/detail.vue
src/store/index.js
View file @
09865bd
...
@@ -34,7 +34,7 @@ const state = {
...
@@ -34,7 +34,7 @@ const state = {
xueTangTestURl
:
'http://api.xuetang.test.ledianyun.com/'
,
xueTangTestURl
:
'http://api.xuetang.test.ledianyun.com/'
,
xueTangBaseURl
:
'https://xuetang.api.ledianyun.com/'
,
xueTangBaseURl
:
'https://xuetang.api.ledianyun.com/'
,
inviteBaseUrl
:
process
.
env
.
NODE_ENV
==
'development'
?
'http://api.recruit.test.ledianyun.com/'
:
'http
s://api.recrui
t.ledianyun.com/'
,
inviteBaseUrl
:
process
.
env
.
NODE_ENV
==
'development'
?
'http://api.recruit.test.ledianyun.com/'
:
'http
://api.recruit.tes
t.ledianyun.com/'
,
platform
:
'generally'
,
platform
:
'generally'
,
...
...
src/views/login/login.vue
View file @
09865bd
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业名称
</div>
<div
class=
"label"
>
企业名称
</div>
<el-input
class=
"input"
size=
"small"
v-model=
"registerInfo.enterprise_name"
placeholder=
"请输入企业名称"
></el-input>
<el-input
class=
"input"
size=
"small"
v-model=
"registerInfo.enterprise_name"
placeholder=
"请输入企业名称"
></el-input>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业规模
</div>
<div
class=
"label"
>
企业规模
</div>
...
@@ -74,6 +75,7 @@
...
@@ -74,6 +75,7 @@
<el-option
v-for=
"item in peopleLevel"
:key=
"item.level"
:label=
"item.level_name"
:value=
"item.level"
>
<el-option
v-for=
"item in peopleLevel"
:key=
"item.level"
:label=
"item.level_name"
:value=
"item.level"
>
</el-option>
</el-option>
</el-select>
</el-select>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业类型
</div>
<div
class=
"label"
>
企业类型
</div>
...
@@ -81,6 +83,7 @@
...
@@ -81,6 +83,7 @@
<el-option
v-for=
"item in enterprise"
:key=
"item.type"
:label=
"item.type_name"
:value=
"item.type"
>
<el-option
v-for=
"item in enterprise"
:key=
"item.type"
:label=
"item.type_name"
:value=
"item.type"
>
</el-option>
</el-option>
</el-select>
</el-select>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业区域
</div>
<div
class=
"label"
>
企业区域
</div>
...
@@ -90,11 +93,13 @@
...
@@ -90,11 +93,13 @@
v-model=
"registerInfo.enterprise_area"
v-model=
"registerInfo.enterprise_area"
>
>
</el-cascader>
</el-cascader>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业地址
</div>
<div
class=
"label"
>
企业地址
</div>
<el-input
class=
"input"
size=
"small"
v-model=
"registerInfo.enterprise_address"
placeholder=
"请输入企业地址"
<el-input
class=
"input"
size=
"small"
v-model=
"registerInfo.enterprise_address"
placeholder=
"请输入企业地址"
style=
"width: 400px;"
></el-input>
style=
"width: 400px;"
></el-input>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业描述
</div>
<div
class=
"label"
>
企业描述
</div>
...
@@ -104,6 +109,7 @@
...
@@ -104,6 +109,7 @@
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
>
营业执照
</div>
<div
class=
"label"
>
营业执照
</div>
<Upload
@
getImgs=
"getBusiness"
:setImgUrl=
"registerInfo.business_license_pic"
></Upload>
<Upload
@
getImgs=
"getBusiness"
:setImgUrl=
"registerInfo.business_license_pic"
></Upload>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"line-style"
>
<div
class=
"label"
></div>
<div
class=
"label"
></div>
...
@@ -394,9 +400,9 @@
...
@@ -394,9 +400,9 @@
}
}
let
data
=
{
let
data
=
{
phone
:
this
.
forgetInfo
.
phone
,
phone
:
this
.
forgetInfo
.
phone
.
trim
()
,
code
:
this
.
forgetInfo
.
code
,
code
:
this
.
forgetInfo
.
code
.
trim
()
,
password
:
this
.
forgetInfo
.
password_one
,
password
:
this
.
forgetInfo
.
password_one
.
trim
()
,
btoken
:
'50329e02db492b461120c25a212413c2'
,
btoken
:
'50329e02db492b461120c25a212413c2'
,
mtoken
:
'0854089c8fa538ab3dd3d2e311b32c92'
mtoken
:
'0854089c8fa538ab3dd3d2e311b32c92'
};
};
...
@@ -460,10 +466,10 @@
...
@@ -460,10 +466,10 @@
return
;
return
;
}
}
let
data
=
{
let
data
=
{
phone
:
this
.
registerInfo
.
phone
,
phone
:
this
.
registerInfo
.
phone
.
trim
()
,
name
:
this
.
registerInfo
.
name
,
name
:
this
.
registerInfo
.
name
.
trim
()
,
passwd
:
this
.
registerInfo
.
password
,
passwd
:
this
.
registerInfo
.
password
.
trim
()
,
smsCode
:
this
.
registerInfo
.
code
,
smsCode
:
this
.
registerInfo
.
code
.
trim
()
,
btoken
:
'50329e02db492b461120c25a212413c2'
,
btoken
:
'50329e02db492b461120c25a212413c2'
,
mtoken
:
'0854089c8fa538ab3dd3d2e311b32c92'
mtoken
:
'0854089c8fa538ab3dd3d2e311b32c92'
}
}
...
@@ -488,6 +494,30 @@
...
@@ -488,6 +494,30 @@
//编辑企业信息
//编辑企业信息
registerBtn
()
{
registerBtn
()
{
if
(
!
this
.
registerInfo
.
enterprise_name
.
trim
())
{
this
.
$message
.
error
(
'请输入企业名称'
);
return
;
}
if
(
!
this
.
registerInfo
.
enterprise_scale
)
{
this
.
$message
.
error
(
'请选择企业规模'
);
return
;
}
if
(
!
this
.
registerInfo
.
enterprise_type
)
{
this
.
$message
.
error
(
'请选择企业类型'
);
return
;
}
if
(
!
this
.
registerInfo
.
enterprise_area
)
{
this
.
$message
.
error
(
'请选择企业区域'
);
return
;
}
if
(
!
this
.
registerInfo
.
enterprise_address
.
trim
())
{
this
.
$message
.
error
(
'请输入企业地址'
);
return
;
}
if
(
!
this
.
registerInfo
.
get_business_license_pic
[
0
])
{
this
.
$message
.
error
(
'请上传营业执照'
);
return
;
}
if
(
!
isEmail
(
this
.
registerInfo
.
email
))
{
if
(
!
isEmail
(
this
.
registerInfo
.
email
))
{
this
.
$message
.
error
(
'邮箱格式错误'
);
this
.
$message
.
error
(
'邮箱格式错误'
);
return
;
return
;
...
...
src/views/position/detail.vue
View file @
09865bd
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
<div
class=
"info-item no-border"
>
<div
class=
"info-item no-border"
>
<div
class=
"info-title_txt"
>
职位详情
</div>
<div
class=
"info-title_txt"
>
职位详情
</div>
<div
class=
"info-item-h3"
v-html=
"detailInfo.job_remark"
>
<div
class=
"info-item-h3
word_huan
"
v-html=
"detailInfo.job_remark"
>
</div>
</div>
</div>
</div>
<div
class=
"info-item no-border"
>
<div
class=
"info-item no-border"
>
...
@@ -285,4 +285,8 @@
...
@@ -285,4 +285,8 @@
line-height
:
30px
;
line-height
:
30px
;
color
:
#999
;
color
:
#999
;
}
}
.word_huan
{
word-break
:
break-all
;
word-wrap
:
break-word
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment