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 dc923b84
authored
Jan 11, 2020
by
yangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
1 parent
db5b40f0
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
147 additions
and
55 deletions
src/api/login.js
src/store/index.js
src/utils/request.js
src/views/interview/detail.vue
src/views/interview/list.vue
src/views/login/login.vue
src/views/message/info.vue
src/views/position/edit.vue
src/views/position/list.vue
src/views/recommend/detail.vue
src/views/resume/detail.vue
src/views/resume/list.vue
src/api/login.js
View file @
dc923b8
...
...
@@ -68,3 +68,14 @@ export function send(data) {
source
:
'zp'
})
}
//获取登陆时的莫token和btoken
export
function
getToken
(
data
)
{
return
request
({
url
:
'business/mall/switch/v2'
,
method
:
'post'
,
data
:
data
,
source
:
'zp'
})
}
\ No newline at end of file
src/store/index.js
View file @
dc923b8
...
...
@@ -34,7 +34,7 @@ const state = {
xueTangTestURl
:
'http://api.xuetang.test.ledianyun.com/'
,
xueTangBaseURl
:
'https://xuetang.api.ledianyun.com/'
,
inviteBaseUrl
:
'http://api.recruit.tes
t.ledianyun.com/'
,
inviteBaseUrl
:
process
.
env
.
NODE_ENV
==
'development'
?
'http://api.recruit.test.ledianyun.com/'
:
'https://api.recrui
t.ledianyun.com/'
,
platform
:
'generally'
,
...
...
src/utils/request.js
View file @
dc923b8
...
...
@@ -43,17 +43,7 @@ const service = axios.create({
// request interceptor
service
.
interceptors
.
request
.
use
(
config
=>
{
config
.
headers
.
token
=
getUserToken
();
// if (config.source === 'apc') {
// config.headers.token = getUserToken();
// } else
// config.headers.token = getMallToken();
//判断baseURL
// if (process.env.NODE_ENV === 'development')
if
(
config
.
source
===
'cm'
)
config
.
baseURL
=
store
.
state
.
testBaseURL
;
else
if
(
config
.
source
==
'ds'
)
config
.
baseURL
=
store
.
state
.
designTestURL
;
else
if
(
config
.
source
==
'xuetang'
)
config
.
baseURL
=
store
.
state
.
xueTangBaseURl
;
else
if
(
config
.
source
===
'apc'
)
config
.
baseURL
=
store
.
state
.
testBaseURL
;
else
if
(
config
.
source
===
'sy'
)
config
.
baseURL
=
store
.
state
.
syBaseURL
;
else
if
(
config
.
source
===
'zp'
)
config
.
baseURL
=
store
.
state
.
inviteBaseUrl
;
else
config
.
baseURL
=
store
.
state
.
testStoreURL
...
...
src/views/interview/detail.vue
View file @
dc923b8
...
...
@@ -173,6 +173,7 @@
return
returnAge
;
//返回周岁年龄
},
getDetail
(){
let
self
=
this
;
let
loading
=
Loading
.
service
({
target
:
document
.
querySelector
(
'.main-container'
),
text
:
'请求中...'
,
...
...
@@ -185,12 +186,21 @@
checkResumeDetail
(
data
).
then
(
res
=>
{
loading
.
close
();
if
(
res
.
error
==
0
){
let
job_name
=
''
;
for
(
let
key
in
this
.
jobList
){
Object
.
keys
(
this
.
jobList
[
key
]).
forEach
(
function
(
i
){
if
(
res
.
data
.
intention_job
==
i
){
job_name
=
self
.
jobList
[
key
][
i
];
}
});
}
console
.
log
(
job_name
,
'job_name'
)
let
obj
=
{
...
res
.
data
,
age
:
this
.
jsGetAge
(
res
.
data
.
base_birthday
),
work_city
:
CodeToText
[
res
.
data
.
intention_area_id
.
slice
(
0
,
4
)
+
'00'
],
work_area
:
CodeToText
[
res
.
data
.
intention_area_id
],
job_name
:
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
6
)
+
'00'
][
res
.
data
.
intention_job
]
job_name
:
job_name
?
job_name
:
'---'
}
this
.
salaryLevels
.
forEach
(
v
=>
{
if
(
v
.
level
==
obj
.
intention_salary_level
)
{
...
...
@@ -202,7 +212,6 @@
obj
.
intention_edu_level_txt
=
v
.
level_name
;
}
})
let
a1
=
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
4
)
+
'0000'
]
this
.
detailInfo
=
obj
;
}
}).
catch
()
...
...
src/views/interview/list.vue
View file @
dc923b8
...
...
@@ -154,6 +154,7 @@
if
(
res
.
error
==
0
)
{
this
.
$message
.
success
(
'邀请成功!'
);
this
.
isShowRefuseResume
=
false
;
this
.
getInterviewList
();
}
})
},
...
...
@@ -182,6 +183,7 @@
this
.
interview_id
=
id
;
this
.
apply_id
=
apply_id
;
this
.
isShowRefuseResume
=
true
;
},
//获取面试邀请列表
getInterviewList
()
{
...
...
src/views/login/login.vue
View file @
dc923b8
...
...
@@ -88,7 +88,7 @@
size=
"small"
:options=
"regionData"
v-model=
"registerInfo.enterprise_area"
@
change=
"addressChange"
>
>
</el-cascader>
</div>
<div
class=
"line-style"
>
...
...
@@ -138,7 +138,7 @@
import
store
from
'@/store'
import
Upload
from
'../../components/Upload/upload.vue'
;
import
{
provinceAndCityData
,
regionData
,
CodeToText
,
TextToCode
}
from
'element-china-area-data'
;
import
{
registerSms
,
register
,
accountEdit
,
accountLogin
,
forgetPassword
,
send
}
from
'@/api/login'
import
{
registerSms
,
register
,
accountEdit
,
accountLogin
,
forgetPassword
,
send
,
getToken
}
from
'@/api/login'
import
{
isEmail
}
from
'@/utils/checkEmail'
let
domain
=
process
.
env
.
NODE_ENV
==
'development'
?
''
:
'.ledianyun.com'
;
export
default
{
...
...
@@ -194,6 +194,10 @@
methods
:
{
handleforgetClose
()
{
this
.
forgetPwdVisible
=
false
;
this
.
forgetInfo
.
phone
=
''
;
this
.
forgetInfo
.
code
=
''
;
this
.
forgetInfo
.
password_one
=
''
;
this
.
forgetInfo
.
password_two
=
''
;
},
//获取头像
getPortrait
(
data
)
{
...
...
@@ -209,9 +213,6 @@
this
.
registerInfo
.
get_school_license_pic
[
0
]
=
data
;
console
.
log
(
this
.
registerInfo
.
get_school_license_pic
[
0
],
'this.registerInfo.get_school_license_pic[0]'
)
},
addressChange
(
arr
)
{
console
.
log
(
arr
,
'===='
);
},
//登录
loginBtn
()
{
// 从路由地址获取mtoken
...
...
@@ -345,12 +346,6 @@
},
//发送忘记密码短信验证码
getCodeInfoforgrt
()
{
// if (!this.checkForgetPhone()) {
// return;
// }
// if (this.codeTimes) {
// return;
// }
let
data
=
{
phone
:
this
.
forgetInfo
.
phone
,
btoken
:
'50329e02db492b461120c25a212413c2'
,
...
...
@@ -381,12 +376,23 @@
},
//确认修改密码
alterBtn
()
{
// if (!this.checkForgetPhone()) {
// return;
// }
// if (!this.checkForgetPassWord()) {
// return;
// }
if
(
!
this
.
forgetInfo
.
password_one
.
trim
()
||
!
this
.
forgetInfo
.
password_two
.
trim
())
{
this
.
$message
.
error
(
'请输入密码'
);
return
;
}
if
(
this
.
forgetInfo
.
password_one
!=
this
.
forgetInfo
.
password_two
)
{
this
.
$message
.
error
(
'两次密码输入不一致'
);
return
;
}
if
(
this
.
forgetInfo
.
password_one
.
length
<
6
||
this
.
forgetInfo
.
password_one
.
length
>
20
)
{
this
.
$message
.
error
(
'密码长度应为6至20位'
);
return
;
}
if
(
!
this
.
isPssword
(
this
.
forgetInfo
.
password_one
))
{
this
.
$message
.
error
(
'密码应由数字,字母和下划线组成'
);
return
;
}
let
data
=
{
phone
:
this
.
forgetInfo
.
phone
,
code
:
this
.
forgetInfo
.
code
,
...
...
@@ -398,6 +404,10 @@
if
(
res
.
error
==
0
)
{
this
.
$message
.
success
(
'修改成功!'
);
this
.
forgetPwdVisible
=
false
;
this
.
forgetInfo
.
phone
=
''
;
this
.
forgetInfo
.
code
=
''
;
this
.
forgetInfo
.
password_one
=
''
;
this
.
forgetInfo
.
password_two
=
''
;
}
});
},
...
...
@@ -410,6 +420,12 @@
registerFirst
()
{
this
.
registerFirstVisible
=
true
;
},
isPssword
(
str
){
if
(
str
==
null
||
str
==
""
)
return
false
;
var
result
=
str
.
match
(
/^
[
A-Za-z0-9_
]{6,20}
$/
);
if
(
result
==
null
)
return
false
;
return
true
;
},
next
()
{
if
(
!
this
.
registerInfo
.
name
.
trim
())
{
this
.
$message
.
error
(
'请输入招聘者名称'
);
...
...
@@ -435,6 +451,10 @@
this
.
$message
.
error
(
'两次密码输入不一致'
);
return
;
}
if
(
!
this
.
isPssword
(
this
.
registerInfo
.
password
))
{
this
.
$message
.
error
(
'密码应由数字,字母和下划线组成'
);
return
;
}
if
(
!
this
.
checked
)
{
this
.
$message
.
error
(
'请勾选用户服务协议'
);
return
;
...
...
@@ -518,6 +538,9 @@
}
},
mounted
()
{
// getToken().then(res=> {
// console.log(res,'getToken')
// })
this
.
getEnterprise
();
this
.
getScale
();
}
...
...
src/views/message/info.vue
View file @
dc923b8
...
...
@@ -8,14 +8,15 @@
<div
class=
"line-style"
>
<div
class=
"label"
>
企业名称:
</div>
<el-input
class=
"input"
placeholder=
"请输入企业名称"
size=
"small"
v-model=
"registerInfo.enterprise_name"
></el-input>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业规模:
</div>
<!--
<el-input
class=
"input"
placeholder=
"请输入企业人数"
size=
"small"
v-model=
"registerInfo.enterprise_scale"
></el-input>
-->
<el-select
class=
"input"
v-model=
"registerInfo.enterprise_scale"
placeholder=
"请选择"
size=
"small"
>
<el-option
v-for=
"item in peopleLevel"
:key=
"item.level"
:label=
"item.level_name"
:value=
"item.level"
>
</el-option>
</el-select>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业类型:
</div>
...
...
@@ -23,6 +24,7 @@
<el-option
v-for=
"item in enterprise"
:key=
"item.type"
:label=
"item.type_name"
:value=
"item.type"
>
</el-option>
</el-select>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业区域:
</div>
...
...
@@ -32,6 +34,7 @@
v-model=
"registerInfo.enterprise_area"
>
</el-cascader>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业邮箱:
</div>
...
...
@@ -40,11 +43,13 @@
<div
class=
"line-style"
>
<div
class=
"label"
>
企业地址:
</div>
<el-input
class=
"input"
placeholder=
"请输入企业地址"
size=
"small"
v-model=
"registerInfo.enterprise_address"
></el-input>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
营业执照:
</div>
<uploadimage
@
getImgs=
"getBusiness"
:setImgUrl=
"registerInfo.business_license_pic"
></uploadimage>
<div
style=
"color:red;margin-left: 10px"
>
*
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
></div>
...
...
@@ -73,7 +78,7 @@
import
{
accountGet
,
accountEdit
}
from
"@/api/login"
;
import
{
provinceAndCityData
,
regionData
,
CodeToText
,
TextToCode
}
from
'element-china-area-data'
;
import
{
getEnterpriseType
,
getEnterpriseScale
}
from
'@/api/common'
;
import
{
isEmail
}
from
'@/utils/checkEmail'
export
default
{
name
:
"newPoint"
,
components
:
{
...
...
@@ -136,6 +141,34 @@
})
},
save
()
{
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
(
this
.
registerInfo
.
email
&&
!
isEmail
(
this
.
registerInfo
.
email
))
{
this
.
$message
.
error
(
'邮箱格式错误'
);
return
;
}
let
params
=
{
position_name
:
this
.
registerInfo
.
duty
,
email
:
this
.
registerInfo
.
email
,
...
...
src/views/position/edit.vue
View file @
dc923b8
...
...
@@ -9,8 +9,7 @@
<!--
</el-form-item>
-->
<el-form-item
label=
"职位名称:"
>
<el-input
v-model=
"positionForm.position_name"
class=
"input-style"
size=
"small"
placeholder=
"请输入职位名称"
maxlength=
"11"
></el-input>
placeholder=
"请输入职位名称"
></el-input>
</el-form-item>
<el-form-item
label=
"职位类型:"
>
<el-cascader
v-model=
"positionForm.position_type"
size=
"small"
:options=
"position_type"
:props=
"
{ expandTrigger: 'hover' }"
...
...
@@ -35,12 +34,10 @@
</el-cascader>
</el-form-item>
<el-form-item
label=
"工作地址:"
>
<el-input
v-model=
"positionForm.address"
class=
"input-style"
placeholder=
"请输入工作地址"
maxlength=
"10"
size=
"small"
style=
"width: 600px"
></el-input>
<el-input
v-model=
"positionForm.address"
class=
"input-style"
placeholder=
"请输入工作地址"
size=
"small"
style=
"width: 600px"
></el-input>
</el-form-item>
<el-form-item
label=
"定位地址:"
>
<el-input
v-model=
"positionForm.location_adderss"
class=
"input-style"
placeholder=
"请输入定位地址"
maxlength=
"10"
size=
"small"
id=
"detailaddress"
style=
"width: 600px"
></el-input>
<el-input
v-model=
"positionForm.location_adderss"
class=
"input-style"
placeholder=
"请输入定位地址"
size=
"small"
id=
"detailaddress"
style=
"width: 600px"
></el-input>
</el-form-item>
<el-form-item
label=
""
>
<div
class=
"map"
id=
"map-location"
></div>
...
...
@@ -233,8 +230,6 @@
this
.
positionForm
.
number
=
res
.
data
.
job_require_people
;
this
.
positionForm
.
address
=
res
.
data
.
work_address
;
this
.
positionForm
.
location_adderss
=
res
.
data
.
location_adderss
;
// this.positionForm.min_salary = res.data.job_require_salary_min / 100;
// this.positionForm.max_salary = res.data.job_require_salary_max / 100;
this
.
job_benefits
=
res
.
data
.
job_benefits
;
this
.
positionForm
.
get_position_describe
=
res
.
data
.
job_remark
;
this
.
positionForm
.
education
=
res
.
data
.
job_require_edu_level
;
...
...
@@ -243,7 +238,6 @@
this
.
positionForm
.
position_type
=
res
.
data
.
job_classification_id
;
this
.
positionForm
.
longitude
=
res
.
data
.
location_lng
;
this
.
positionForm
.
latitude
=
res
.
data
.
location_lat
;
this
.
positionForm
.
location_adderss
=
res
.
data
.
location_adderss
;
this
.
positionForm
.
salaryScope
=
res
.
data
.
job_require_salary_level
;
if
(
res
.
data
.
location_lng
!=
0
||
res
.
data
.
location_lat
!=
0
)
{
let
position
=
[
res
.
data
.
location_lng
,
res
.
data
.
location_lat
];
...
...
@@ -367,7 +361,6 @@
_this
.
positionForm
.
longitude
=
res
.
poi
.
location
.
lng
;
_this
.
positionForm
.
latitude
=
res
.
poi
.
location
.
lat
;
_this
.
positionForm
.
location_adderss
=
res
.
poi
.
district
+
res
.
poi
.
address
+
res
.
poi
.
name
;
var
lnglatXY
=
[
res
.
poi
.
location
.
M
,
res
.
poi
.
location
.
lat
];
_this
.
addRemark
(
lnglatXY
);
});
...
...
@@ -409,6 +402,9 @@
// this.addresInfo = data;
var
address
=
data
.
regeocode
.
formattedAddress
;
//返回地址描述
this
.
positionForm
.
location_adderss
=
address
;
if
(
!
this
.
positionForm
.
address
)
{
this
.
positionForm
.
address
=
this
.
positionForm
.
location_adderss
;
}
},
//获取学历
getEduLevels
()
{
...
...
src/views/position/list.vue
View file @
dc923b8
...
...
@@ -164,6 +164,7 @@
reset
()
{
this
.
queryForm
.
searchContent
=
''
;
this
.
queryForm
.
status
=
''
;
this
.
queryForm
.
type
=
''
;
this
.
getPositionList
();
},
//搜索
...
...
src/views/recommend/detail.vue
View file @
dc923b8
...
...
@@ -20,13 +20,15 @@
<div
class=
"resume-header_info flex-direct"
>
<div
class=
"flex-between"
>
<i
class=
'iconfont icon-mobile txtSize'
></i>
<span
class=
'ml'
v-if=
"detailInfo.show_status==2"
>
已隐藏
</span>
<span
class=
'ml'
v-else
>
{{
detailInfo
.
base_phone
}}
</span>
<!--
<span
class=
'ml'
v-if=
"detailInfo.show_status==2"
>
已隐藏
</span>
<span
class=
'ml'
v-else
>
{{
detailInfo
.
base_phone
}}
</span>
-->
<span
class=
'ml'
>
******
</span>
</div>
<div
class=
"flex-between"
>
<i
class=
'iconfont icon-dianziyoujian txtSize'
></i>
<span
class=
'ml'
v-if=
"detailInfo.show_status==2"
>
已隐藏
</span>
<span
class=
'ml'
v-else
>
{{
detailInfo
.
base_email
}}
</span>
<!--
<span
class=
'ml'
v-if=
"detailInfo.show_status==2"
>
已隐藏
</span>
<span
class=
'ml'
v-else
>
{{
detailInfo
.
base_email
}}
</span>
-->
<span
class=
'ml'
>
******
</span>
</div>
</div>
</div>
...
...
@@ -236,6 +238,7 @@
return
returnAge
;
//返回周岁年龄
},
getDetail
(){
let
self
=
this
;
let
loading
=
Loading
.
service
({
target
:
document
.
querySelector
(
'.main-container'
),
text
:
'请求中...'
,
...
...
@@ -248,12 +251,21 @@
checkResumeDetail
(
data
).
then
(
res
=>
{
loading
.
close
();
if
(
res
.
error
==
0
){
let
job_name
=
''
;
for
(
let
key
in
this
.
jobList
){
Object
.
keys
(
this
.
jobList
[
key
]).
forEach
(
function
(
i
){
if
(
res
.
data
.
intention_job
==
i
){
job_name
=
self
.
jobList
[
key
][
i
];
}
});
}
console
.
log
(
job_name
,
'job_name'
)
let
obj
=
{
...
res
.
data
,
age
:
this
.
jsGetAge
(
res
.
data
.
base_birthday
),
work_city
:
CodeToText
[
res
.
data
.
intention_area_id
.
slice
(
0
,
4
)
+
'00'
],
work_area
:
CodeToText
[
res
.
data
.
intention_area_id
],
job_name
:
this
.
intention_job
?
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
6
)
+
'00'
][
res
.
data
.
intention_job
]:
'
--'
job_name
:
job_name
?
job_name
:
'-
--'
}
this
.
salaryLevels
.
forEach
(
v
=>
{
if
(
v
.
level
==
obj
.
intention_salary_level
)
{
...
...
@@ -265,7 +277,6 @@
obj
.
intention_edu_level_txt
=
v
.
level_name
;
}
})
let
a1
=
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
4
)
+
'0000'
]
this
.
detailInfo
=
obj
;
}
}).
catch
()
...
...
src/views/resume/detail.vue
View file @
dc923b8
...
...
@@ -236,6 +236,7 @@
return
returnAge
;
//返回周岁年龄
},
getDetail
(){
let
self
=
this
;
let
loading
=
Loading
.
service
({
target
:
document
.
querySelector
(
'.main-container'
),
text
:
'请求中...'
,
...
...
@@ -251,12 +252,20 @@
checkResumeDetail
(
data
).
then
(
res
=>
{
loading
.
close
();
if
(
res
.
error
==
0
){
let
job_name
=
''
;
for
(
let
key
in
this
.
jobList
){
Object
.
keys
(
this
.
jobList
[
key
]).
forEach
(
function
(
i
){
if
(
res
.
data
.
intention_job
==
i
){
job_name
=
self
.
jobList
[
key
][
i
];
}
});
}
let
obj
=
{
...
res
.
data
,
age
:
this
.
jsGetAge
(
res
.
data
.
base_birthday
),
work_city
:
CodeToText
[
res
.
data
.
intention_area_id
.
slice
(
0
,
4
)
+
'00'
],
work_area
:
CodeToText
[
res
.
data
.
intention_area_id
],
job_name
:
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
6
)
+
'00'
][
res
.
data
.
intention_job
]
job_name
:
job_name
?
job_name
:
'---'
}
this
.
salaryLevels
.
forEach
(
v
=>
{
if
(
v
.
level
==
obj
.
intention_salary_level
)
{
...
...
@@ -268,9 +277,7 @@
obj
.
intention_edu_level_txt
=
v
.
level_name
;
}
})
let
a1
=
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
4
)
+
'0000'
]
this
.
detailInfo
=
obj
;
console
.
log
(
this
.
detailInfo
,
'this.detailInfo'
)
}
}).
catch
()
},
...
...
src/views/resume/list.vue
View file @
dc923b8
...
...
@@ -90,9 +90,9 @@
<div>
<el-button
size=
"small"
type=
"text"
@
click=
"checkResume(scope.row.cv_token_apply, scope.row.id)"
>
查看简历
</el-button>
<span
class=
"segmenting-line"
>
|
</span>
<el-button
size=
"small"
type=
"text"
@
click=
"passResume(scope.row.id)"
>
通过
</el-button>
<el-button
size=
"small"
type=
"text"
@
click=
"passResume(scope.row.id
,scope.row.status
)"
>
通过
</el-button>
<span
class=
"segmenting-line"
>
|
</span>
<el-button
size=
"small"
type=
"text"
@
click=
"refuseResume(scope.row.id)"
>
拒绝
</el-button>
<el-button
size=
"small"
type=
"text"
@
click=
"refuseResume(scope.row.id
,scope.row.status
)"
>
拒绝
</el-button>
</div>
</
template
>
</el-table-column>
...
...
@@ -215,12 +215,20 @@
}
})
},
passResume
(
id
)
{
passResume
(
id
,
status
)
{
if
(
status
==
3
)
{
this
.
$message
.
error
(
'已通过筛选,不能重复操作'
);
return
;
}
this
.
checked_id
=
id
;
this
.
isShowPassResume
=
true
;
},
refuseResume
(
id
)
{
refuseResume
(
id
,
status
)
{
this
.
checked_id
=
id
;
if
(
status
==
4
)
{
this
.
$message
.
error
(
'已拒绝,不能重复操作'
);
return
;
}
this
.
isShowRefuseResume
=
true
;
},
//确认拒绝简历
...
...
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