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 db5b40f0
authored
Jan 10, 2020
by
yangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
1 parent
026a976d
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
262 additions
and
157 deletions
src/api/common.js
src/api/login.js
src/components/Upload/upload.vue
src/views/interview/detail.vue
src/views/interview/list.vue
src/views/login/login.vue
src/views/message/info.vue
src/views/message/list.vue
src/views/position/edit.vue
src/views/recommend/detail.vue
src/views/recommend/list.vue
src/views/resume/detail.vue
src/views/resume/list.vue
src/api/common.js
View file @
db5b40f
...
...
@@ -70,6 +70,16 @@ export function getEnterpriseType(data) {
})
}
//获取企业规模
export
function
getEnterpriseScale
(
data
)
{
return
request
({
url
:
'recruit/common/peoplesLevel'
,
method
:
'post'
,
data
:
data
,
source
:
'zp'
})
}
...
...
src/api/login.js
View file @
db5b40f
...
...
@@ -52,7 +52,7 @@ export function accountLogin (data) {
//忘记密码
export
function
forgetPassword
(
data
)
{
return
request
({
url
:
'
business/logi
n/forgetPassword'
,
url
:
'
recruit/organizatio
n/forgetPassword'
,
method
:
'post'
,
data
:
data
,
source
:
'zp'
...
...
src/components/Upload/upload.vue
View file @
db5b40f
<
template
>
<div>
<el-upload
class=
"upload-pic"
action=
"//upload.qiniup.com"
:data=
"form"
:limit=
"1"
multiple
:file-list=
"fileList"
:on-error=
"handleErrorpics"
:on-success=
"handleSuccesspics"
:before-upload=
"beforeUploadpics"
list-type=
"picture-card"
:on-preview=
"handlePictureCardPreview"
:on-remove=
"handleRemove"
accept=
"image/*"
>
<i
class=
"el-icon-plus"
></i>
<el-upload
class=
"uploader"
action=
"//up.qbox.me"
:data=
"form"
:show-file-list=
"false"
:on-error=
"handleError"
:on-success=
"handleSuccess"
:before-upload=
"beforeUpload"
>
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"preview"
>
<i
class=
"el-icon-plus uploader-icon"
v-else
></i>
</el-upload>
<el-dialog
:visible
.
sync=
"dialogVisible"
width=
"40%"
center
:modal=
"false"
>
<div
style=
"display: flex;align-items: center;flex-direction: row;"
>
<!--
<div
@
click=
"toBeforeImg(imgIndex)"
>
前移
</div>
-->
<img
width=
"80%"
:src=
"dialogImageUrl"
alt=
""
class=
"img"
>
<!--
<div
@
click=
"toAfterImg(imgIndex)"
>
后移
</div>
-->
</div>
</el-dialog>
<!--
<p
class=
"info"
>
建议尺寸:750*750,小于1M,最多上传6张,建议主图背景为白色
</p>
-->
</div>
</
template
>
<
script
>
import
getUpToken
from
'@/api/getUpToken'
;
import
moment
from
'moment'
;
import
getUpToken
from
'@/api/getUpToken'
import
moment
from
'moment'
import
{
Loading
}
from
'element-ui'
;
export
default
{
name
:
"edit"
,
props
:
[
'editPics'
],
export
default
{
data
()
{
return
{
pics
:
[],
//商品主图
imageUrl
:
''
,
form
:
{
key
:
''
,
token
:
''
},
fileList
:
[],
dialogImageUrl
:
''
,
dialogVisible
:
false
,
is1M
:
false
,
limitSize
:
1
,
//验证图片大小,单位MB
imgIndex
:
-
1
,
}
};
},
watch
:
{
editPics
(
val
)
{
this
.
editPics
.
forEach
((
v
,
i
)
=>
{
this
.
fileList
.
push
({
name
:
i
,
url
:
v
});
this
.
pics
.
push
(
v
);
this
.
$emit
(
'productImgs'
,
this
.
pics
)
});
props
:[
'setImgUrl'
],
watch
:{
setImgUrl
(
v
){
this
.
imageUrl
=
v
[
0
];
}
},
methods
:
{
// toBeforeImg(index) {
// this.pics[index] = this.pics[index-1];
// console.log(this.pics);
// },
// toAfterImg(index) {
//
// },
handleImageList
(
fileList
)
{
this
.
pics
=
[];
fileList
.
forEach
((
v
,
i
)
=>
{
if
(
v
.
url
.
indexOf
(
'blob'
)
>
-
1
)
{
this
.
pics
.
push
(
v
.
response
[
'domain'
]
+
v
.
response
[
'truekey'
])
}
else
{
this
.
pics
.
push
(
v
.
url
)
}
});
this
.
$emit
(
'productImgs'
,
this
.
pics
)
},
//门店照片上传成功fileList
handleSuccesspics
(
res
,
file
,
fileList
)
{
handleSuccess
(
res
,
file
)
{
Loading
.
service
({}).
close
();
this
.
$message
.
success
(
'图片上传成功'
);
this
.
handleImageList
(
fileList
);
this
.
$message
.
success
(
'图片上传成功'
)
this
.
imageUrl
=
res
.
domain
+
res
.
truekey
;
// console.log(this.imageUrl,'this,imageurl')
this
.
$emit
(
'getImgs'
,
res
.
domain
+
res
.
truekey
)
},
//门店照片上传之前
beforeUploadpics
(
file
)
{
Loading
.
service
({
fullscreen
:
true
,
text
:
'图片上传中'
});
beforeUpload
(
file
)
{
Loading
.
service
({
fullscreen
:
true
,
text
:
'图片上传中'
});
let
splitArray
=
file
.
name
.
split
(
'.'
);
let
current
=
moment
().
format
(
'YYYYMMDD'
).
toString
(),
prefix
=
moment
(
file
.
lastModified
).
format
(
'HHmmss'
).
toString
(),
suffix
=
new
Date
().
getTime
()
+
'.'
+
splitArray
[
splitArray
.
length
-
1
],
suffix
=
new
Date
().
getTime
()
+
'.'
+
splitArray
[
splitArray
.
length
-
1
],
key
=
encodeURI
(
`
${
current
}
/
${
prefix
}
_
${
suffix
}
`
);
//添加图片大小验证
this
.
is1M
=
file
.
size
/
1024
/
1024
<
this
.
limitSize
;
if
(
!
this
.
is1M
)
{
Loading
.
service
({}).
close
();
this
.
$message
.
error
(
'上传图片应小于1M'
);
return
false
}
return
getUpToken
({
key
}).
then
(
res
=>
{
return
getUpToken
({
key
}).
then
(
res
=>
{
this
.
form
=
{
key
:
key
,
token
:
res
.
data
.
uptoken
...
...
@@ -101,51 +56,38 @@
Loading
.
service
({}).
close
();
this
.
$message
.
error
(
'上传图片失败'
)
})
},
//门店照片上传失败
handleErrorpics
()
{
handleError
(){
Loading
.
service
({}).
close
();
this
.
$message
.
error
(
'上传图片失败'
)
},
//照片墙删除照片
handleRemove
(
file
,
fileList
)
{
this
.
fileList
=
fileList
;
this
.
handleImageList
(
fileList
);
},
//照片墙照片预览
handlePictureCardPreview
(
file
)
{
this
.
dialogImageUrl
=
file
.
url
;
this
.
dialogVisible
=
true
;
// if (file.response && file.response.domain && file.response.truekey) {
// file.url = file.response.domain + file.response.truekey;
// }
// this.imgIndex = this.pics.indexOf(file.url);
// console.log(this.imgIndex);
},
},
}
}
}
</
script
>
<
style
scoped
>
.info
{
font-size
:
12px
;
line-height
:
20px
;
margin-top
:
8px
;
color
:
#999
;
}
.img
{
margin
:
0
auto
;
.uploader
{
border
:
1px
dashed
#d9d9d9
;
width
:
144px
;
height
:
144px
;
border-radius
:
6px
;
cursor
:
pointer
;
position
:
relative
;
overflow
:
hidden
;
}
.upload-pic
>>>
.el-upload--picture-card
{
line-height
:
156px
;
.uploader-icon
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
144px
;
height
:
144px
;
line-height
:
144px
;
text-align
:
center
;
}
.upload-pic
>>>
.el-upload-list--picture-card
.el-upload-list__item-actions
{
line-height
:
144px
;
left
:
-5px
;
.preview
{
width
:
144px
;
height
:
144px
;
display
:
block
;
}
</
style
>
src/views/interview/detail.vue
View file @
db5b40f
...
...
@@ -11,7 +11,7 @@
</div>
<div>
<span
class=
"mr"
>
{{
detailInfo
.
work_experiences
[
0
].
job_name
}}
</span>
<span
class=
"mr"
>
{{
detailInfo
.
edu_experiences
[
0
].
qualifications
}}
</span>
<span
class=
"mr"
>
{{
detailInfo
.
intention_edu_level_txt
}}
</span>
<!--
<span
>
3-5年
</span>
-->
</div>
</div>
...
...
@@ -99,7 +99,7 @@
<
script
>
import
{
resumeDetail
,
checkResumeDetail
}
from
'@/api/resume'
import
{
getJobClassify
,
getSalaryExpectation
}
from
'@/api/common'
import
{
getJobClassify
,
getSalaryExpectation
,
getAcademicQualifications
}
from
'@/api/common'
import
{
CodeToText
,
TextToCode
,}
from
'element-china-area-data'
;
import
{
Loading
}
from
'element-ui'
;
...
...
@@ -118,7 +118,8 @@
detailInfo
:
''
,
//获取详情
suggestList
:[],
jobList
:[],
salaryLevels
:
[]
salaryLevels
:
[],
education
:
[]
};
},
methods
:
{
...
...
@@ -196,6 +197,11 @@
obj
.
intention_salary_level_txt
=
v
.
level_name
;
}
})
this
.
education
.
forEach
(
v
=>
{
if
(
v
.
level
==
obj
.
edu_experiences
[
0
].
qualifications
)
{
obj
.
intention_edu_level_txt
=
v
.
level_name
;
}
})
let
a1
=
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
4
)
+
'0000'
]
this
.
detailInfo
=
obj
;
}
...
...
@@ -229,13 +235,27 @@
})
},
//获取学历
getEduLevels
()
{
return
new
Promise
(
resolve
=>
{
getAcademicQualifications
().
then
(
res
=>
{
if
(
res
.
error
==
0
)
{
this
.
education
=
res
.
data
;
resolve
();
}
})
}).
catch
(
error
=>
{
})
},
},
async
created
()
{
await
this
.
getJobList
();
await
this
.
getSalaryLevels
();
await
this
.
getEduLevels
();
this
.
getDetail
();
this
.
getSysSuggestion
();
},
mounted
()
{
...
...
src/views/interview/list.vue
View file @
db5b40f
...
...
@@ -27,7 +27,7 @@
</el-tabs>
<div
class=
"partner-supervise-table"
>
<el-table
:data=
"list"
stripe
size=
"medium"
:header-cell-class-name=
"headerName"
>
<el-table-column
align=
"center"
prop=
"truename"
label=
"
职位
信息"
width=
"300"
>
<el-table-column
align=
"center"
prop=
"truename"
label=
"
投递人
信息"
width=
"300"
>
<template
slot-scope=
"scope"
>
<div
class=
"position-info"
>
<div
class=
"position"
><span>
{{
scope
.
row
.
job_type
==
1
?
'全'
:
'兼'
}}
</span>
{{
scope
.
row
.
base_name
}}
</div>
...
...
src/views/login/login.vue
View file @
db5b40f
...
...
@@ -18,8 +18,8 @@
<div
class=
"title"
>
忘记密码
</div>
<el-input
class=
"register-line"
prefix-icon=
"el-icon-mobile-phone"
maxLength=
"11"
placeholder=
"请输入手机号码"
v-model=
"forgetInfo.phone"
></el-input>
<el-input
class=
"register-line"
prefix-icon=
"el-icon-key"
placeholder=
"请输入短信验证码"
v-model=
"forgetInfo.code"
></el-input>
<el-input
class=
"register-line"
prefix-icon=
"el-icon-view"
placeholder=
"设置6至20位登录密码"
v-model=
"forgetInfo.password_one"
></el-input>
<el-input
class=
"register-line"
prefix-icon=
"el-icon-view"
placeholder=
"请再次输入登录密码"
v-model=
"forgetInfo.password_two"
></el-input>
<el-input
class=
"register-line"
type=
"password"
prefix-icon=
"el-icon-view"
placeholder=
"设置6至20位登录密码"
v-model=
"forgetInfo.password_one"
></el-input>
<el-input
class=
"register-line"
type=
"password"
prefix-icon=
"el-icon-view"
placeholder=
"请再次输入登录密码"
v-model=
"forgetInfo.password_two"
></el-input>
<el-button
type=
"text"
class=
"send-code-forgrt"
@
click=
"getCodeInfoforgrt"
>
{{
codeInfo
}}
</el-button>
<el-button
class=
"next"
type=
"primary"
@
click=
"alterBtn"
>
确认修改
</el-button>
</div>
...
...
@@ -48,7 +48,7 @@
<div
class=
"title"
>
基本信息
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业logo
</div>
<Upload
@
productImgs=
"getPortrait"
:editPics
=
"registerInfo.portrait"
></Upload>
<Upload
@
getImgs=
"getPortrait"
:setImgUrl
=
"registerInfo.portrait"
></Upload>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
姓名
</div>
...
...
@@ -69,11 +69,14 @@
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业规模
</div>
<el-input
class=
"input"
size=
"small"
v-model=
"registerInfo.enterprise_scale"
placeholder=
"请输入企业人数"
></el-input>
<!--
<el-input
class=
"input"
size=
"small"
v-model=
"registerInfo.enterprise_scale"
placeholder=
"请输入企业人数"
></el-input>
-->
<el-select
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>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业类型
</div>
<!--
<el-input
class=
"input"
size=
"small"
v-model=
"registerInfo.enterprise_type"
placeholder=
"请输入企业类型"
></el-input>
-->
<el-select
v-model=
"registerInfo.enterprise_type"
placeholder=
"请选择"
size=
"small"
>
<el-option
v-for=
"item in enterprise"
:key=
"item.type"
:label=
"item.type_name"
:value=
"item.type"
>
</el-option>
...
...
@@ -100,11 +103,19 @@
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
营业执照
</div>
<Upload
@
productImgs=
"getBusiness"
:editPics=
"registerInfo.business_license_pic"
></Upload>
<Upload
@
getImgs=
"getBusiness"
:setImgUrl=
"registerInfo.business_license_pic"
></Upload>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
></div>
<div>
注:上传营业执照副本目的为验证企业真实性
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
办学许可证
</div>
<Upload
@
productImgs=
"getLicence"
:editPics=
"registerInfo.school_license_pic"
></Upload>
<Upload
@
getImgs=
"getLicence"
:setImgUrl=
"registerInfo.school_license_pic"
></Upload>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
></div>
<div>
注:若无办学许可证可不提交
</div>
</div>
<el-button
class=
"register-save"
@
click=
"registerBtn"
>
提交注册
</el-button>
</div>
...
...
@@ -123,7 +134,7 @@
setStoreMallToken
,
setMallRoles
}
from
"@/utils/Cookie"
;
import
{
getEnterpriseType
}
from
'@/api/common'
import
{
getEnterpriseType
,
getEnterpriseScale
}
from
'@/api/common'
import
store
from
'@/store'
import
Upload
from
'../../components/Upload/upload.vue'
;
import
{
provinceAndCityData
,
regionData
,
CodeToText
,
TextToCode
}
from
'element-china-area-data'
;
...
...
@@ -166,8 +177,8 @@
enterprise_area
:
''
,
//企业区域
business_license_pic
:
''
,
//营业执照
school_license_pic
:
''
,
//办学许可证
get_business_license_pic
:
''
,
//营业执照
get_school_license_pic
:
''
,
//办学许可证
get_business_license_pic
:
[]
,
//营业执照
get_school_license_pic
:
[]
,
//办学许可证
},
checked
:
true
,
registerFirstVisible
:
false
,
...
...
@@ -176,7 +187,8 @@
codeInfo
:
'发送验证码'
,
codeTimes
:
0
,
enterprise
:
[],
organization_token
:
''
peopleLevel
:
[],
organization_token
:
''
,
};
},
methods
:
{
...
...
@@ -185,15 +197,17 @@
},
//获取头像
getPortrait
(
data
)
{
this
.
registerInfo
.
getPortrait
=
data
;
this
.
registerInfo
.
getPortrait
[
0
]
=
data
;
},
//获取营业执照
getBusiness
(
data
)
{
this
.
registerInfo
.
get_business_license_pic
=
data
;
this
.
registerInfo
.
get_business_license_pic
[
0
]
=
data
;
console
.
log
(
this
.
registerInfo
.
get_business_license_pic
[
0
])
},
//获取办学许可证
getLicence
(
data
)
{
this
.
registerInfo
.
get_school_license_pic
=
data
;
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
,
'===='
);
...
...
@@ -376,7 +390,9 @@
let
data
=
{
phone
:
this
.
forgetInfo
.
phone
,
code
:
this
.
forgetInfo
.
code
,
password
:
this
.
forgetInfo
.
password_one
password
:
this
.
forgetInfo
.
password_one
,
btoken
:
'50329e02db492b461120c25a212413c2'
,
mtoken
:
'0854089c8fa538ab3dd3d2e311b32c92'
};
forgetPassword
(
data
).
then
(
res
=>
{
if
(
res
.
error
==
0
)
{
...
...
@@ -459,7 +475,7 @@
let
data
=
{
position_name
:
this
.
registerInfo
.
duty
,
email
:
this
.
registerInfo
.
email
,
logo
:
this
.
registerInfo
.
getPortrait
[
0
],
logo
:
this
.
registerInfo
.
getPortrait
[
0
]
?
this
.
registerInfo
.
getPortrait
[
0
]:
'http://static.ledouya.com/FnP5cv6nJW4c6a6l2OEzb3VqZWTq'
,
name
:
this
.
registerInfo
.
enterprise_name
,
peoples
:
Number
(
this
.
registerInfo
.
enterprise_scale
),
type
:
this
.
registerInfo
.
enterprise_type
,
...
...
@@ -488,10 +504,22 @@
this
.
enterprise
=
res
.
data
;
}
})
},
//获取企业规模
getScale
()
{
getEnterpriseScale
({
btoken
:
'50329e02db492b461120c25a212413c2'
,
mtoken
:
'0854089c8fa538ab3dd3d2e311b32c92'
}).
then
(
res
=>
{
if
(
res
.
error
==
0
)
{
this
.
peopleLevel
=
res
.
data
;
}
})
}
},
mounted
()
{
this
.
getEnterprise
();
this
.
getScale
();
}
};
</
script
>
...
...
src/views/message/info.vue
View file @
db5b40f
...
...
@@ -3,7 +3,7 @@
<p>
企业信息
</p>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业logo:
</div>
<uploadimage
@
productImgs=
"getPortrait"
:editPics
=
"registerInfo.portrait"
></uploadimage>
<uploadimage
@
getImgs=
"getPortrait"
:setImgUrl
=
"registerInfo.portrait"
></uploadimage>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业名称:
</div>
...
...
@@ -11,7 +11,11 @@
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业规模:
</div>
<el-input
class=
"input"
placeholder=
"请输入企业人数"
size=
"small"
v-model=
"registerInfo.enterprise_scale"
></el-input>
<!--
<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>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业类型:
</div>
...
...
@@ -30,17 +34,29 @@
</el-cascader>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业邮箱:
</div>
<el-input
class=
"input"
placeholder=
"请输入企业邮箱"
size=
"small"
v-model=
"registerInfo.email"
></el-input>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业地址:
</div>
<el-input
class=
"input"
placeholder=
"请输入企业地址"
size=
"small"
v-model=
"registerInfo.enterprise_address"
></el-input>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
营业执照:
</div>
<uploadimage
@
productImgs=
"getBusiness"
:editPics=
"registerInfo.business_license_pic"
></uploadimage>
<uploadimage
@
getImgs=
"getBusiness"
:setImgUrl=
"registerInfo.business_license_pic"
></uploadimage>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
></div>
<div
style=
"color:#999;font-size:13px"
>
注:上传营业执照副本目的为验证企业真实性
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
办学许可证:
</div>
<uploadimage
@
productImgs=
"getLicence"
:editPics=
"registerInfo.school_license_pic"
></uploadimage>
<uploadimage
@
getImgs=
"getLicence"
:setImgUrl=
"registerInfo.school_license_pic"
></uploadimage>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
></div>
<div
style=
"color:#999;font-size:13px"
>
注:若无办学许可证可不提交
</div>
</div>
<div
class=
"line-style"
>
<div
class=
"label"
>
企业描述:
</div>
...
...
@@ -56,7 +72,7 @@
import
uploadimage
from
'../../components/Upload/upload'
;
import
{
accountGet
,
accountEdit
}
from
"@/api/login"
;
import
{
provinceAndCityData
,
regionData
,
CodeToText
,
TextToCode
}
from
'element-china-area-data'
;
import
{
getEnterpriseType
}
from
'@/api/common'
;
import
{
getEnterpriseType
,
getEnterpriseScale
}
from
'@/api/common'
;
export
default
{
name
:
"newPoint"
,
...
...
@@ -67,6 +83,7 @@
return
{
regionData
:
regionData
,
enterprise
:
[],
peopleLevel
:
[],
registerInfo
:
{
portrait
:
[],
//头像
getPortrait
:
[],
...
...
@@ -88,28 +105,33 @@
methods
:
{
//获取头像
getPortrait
(
data
)
{
this
.
registerInfo
.
getPortrait
=
data
;
this
.
registerInfo
.
getPortrait
[
0
]
=
data
;
},
//获取营业执照
getBusiness
(
data
)
{
this
.
registerInfo
.
get_business_license_pic
=
data
;
this
.
registerInfo
.
get_business_license_pic
[
0
]
=
data
;
},
//获取办学许可证
getLicence
(
data
)
{
this
.
registerInfo
.
get_school_license_pic
=
data
;
this
.
registerInfo
.
get_school_license_pic
[
0
]
=
data
;
},
getInfo
()
{
accountGet
().
then
(
res
=>
{
if
(
res
.
error
==
0
)
{
this
.
registerInfo
.
portrait
.
push
(
res
.
data
.
logo
)
;
this
.
registerInfo
.
email
=
res
.
data
.
email
;
this
.
registerInfo
.
enterprise_name
=
res
.
data
.
name
;
this
.
registerInfo
.
enterprise_scale
=
res
.
data
.
peoples
;
this
.
registerInfo
.
enterprise_type
=
res
.
data
.
type
;
this
.
registerInfo
.
enterprise_area
=
res
.
data
.
area_id
;
this
.
registerInfo
.
enterprise_address
=
res
.
data
.
address
;
this
.
registerInfo
.
enterprise_describe
=
res
.
data
.
remark
;
this
.
registerInfo
.
portrait
.
push
(
res
.
data
.
logo
);
this
.
registerInfo
.
business_license_pic
.
push
(
res
.
data
.
business_license_pic
);
this
.
registerInfo
.
school_license_pic
.
push
(
res
.
data
.
school_license_pic
);
this
.
registerInfo
.
getPortrait
.
push
(
res
.
data
.
logo
);
this
.
registerInfo
.
get_business_license_pic
.
push
(
res
.
data
.
business_license_pic
);
this
.
registerInfo
.
get_school_license_pic
.
push
(
res
.
data
.
school_license_pic
);
}
})
},
...
...
@@ -117,7 +139,7 @@
let
params
=
{
position_name
:
this
.
registerInfo
.
duty
,
email
:
this
.
registerInfo
.
email
,
logo
:
this
.
registerInfo
.
getPortrait
[
0
],
logo
:
this
.
registerInfo
.
getPortrait
[
0
]
?
this
.
registerInfo
.
getPortrait
[
0
]:
'http://static.ledouya.com/FnP5cv6nJW4c6a6l2OEzb3VqZWTq'
,
name
:
this
.
registerInfo
.
enterprise_name
,
peoples
:
Number
(
this
.
registerInfo
.
enterprise_scale
),
type
:
this
.
registerInfo
.
enterprise_type
,
...
...
@@ -146,10 +168,28 @@
})
},
//获取企业规模
getScale
()
{
return
new
Promise
(
resolve
=>
{
getEnterpriseScale
().
then
(
res
=>
{
if
(
res
.
error
==
0
)
{
this
.
peopleLevel
=
res
.
data
;
this
.
peopleLevel
.
forEach
(
v
=>
{
v
.
level
=
String
(
v
.
level
)
})
resolve
();
}
})
}).
catch
(
error
=>
{
})
}
},
async
mounted
()
{
await
this
.
getEnterprise
();
await
this
.
getScale
();
await
this
.
getInfo
();
}
}
...
...
src/views/message/list.vue
View file @
db5b40f
...
...
@@ -4,9 +4,16 @@
<div
class=
"tabs-nav"
>
<el-tabs
v-model=
"activeName"
type=
"card"
@
tab-click=
"togglePage(activeName)"
class=
"nav-tab"
>
<el-tab-pane
label=
"全部消息"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"已读消息"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"未读消息"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"系统通知"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"职位通知"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"简历通知"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"面试通知"
name=
"4"
></el-tab-pane>
</el-tabs>
<el-select
v-model=
"filter"
class=
"filter-status"
size=
"small"
placeholder=
"请选择"
@
change=
"getList()"
>
<el-option
label=
"全部/不限"
value=
"0"
></el-option>
<el-option
label=
"已读"
value=
"2"
></el-option>
<el-option
label=
"未读"
value=
"1"
></el-option>
</el-select>
</div>
<div
class=
"box"
>
...
...
@@ -107,7 +114,8 @@
let
data
=
{
page
:
val
,
page_size
:
this
.
pageSize
,
is_read
:
this
.
activeName
is_read
:
this
.
filter
,
category
:
this
.
activeName
}
if
(
this
.
filter
!=
0
)
{
...
...
src/views/position/edit.vue
View file @
db5b40f
...
...
@@ -151,8 +151,13 @@
methods
:
{
//选择薪资
selectSalary
(
e
)
{
this
.
positionForm
.
min_salary
=
this
.
salaryLevels
[
e
].
data
.
min
;
this
.
positionForm
.
max_salary
=
this
.
salaryLevels
[
e
].
data
.
max
;
console
.
log
(
e
)
this
.
salaryLevels
.
forEach
(
v
=>
{
if
(
v
.
level
==
e
)
{
this
.
positionForm
.
min_salary
=
v
.
data
.
min
;
this
.
positionForm
.
max_salary
=
v
.
data
.
max
;
}
})
},
handleClose
(
tag
)
{
this
.
job_benefits
.
splice
(
this
.
job_benefits
.
indexOf
(
tag
),
1
);
...
...
src/views/recommend/detail.vue
View file @
db5b40f
...
...
@@ -11,7 +11,7 @@
</div>
<div>
<span
class=
"mr"
>
{{
detailInfo
.
work_experiences
[
0
].
job_name
}}
</span>
<span
class=
"mr"
>
{{
detailInfo
.
edu_experiences
[
0
].
qualifications
}}
</span>
<span
class=
"mr"
>
{{
detailInfo
.
intention_edu_level_txt
}}
</span>
<!--
<span
>
3-5年
</span>
-->
</div>
</div>
...
...
@@ -126,7 +126,7 @@
<
script
>
import
{
resumeDetail
,
resumePass
,
resumeRefuse
,
checkResumeDetail
}
from
'@/api/resume'
import
{
getJobClassify
,
applyRefuseReasons
,
getSalaryExpectation
}
from
'@/api/common'
import
{
getJobClassify
,
applyRefuseReasons
,
getSalaryExpectation
,
getAcademicQualifications
}
from
'@/api/common'
import
{
CodeToText
,
TextToCode
,}
from
'element-china-area-data'
;
import
{
Loading
}
from
'element-ui'
;
...
...
@@ -143,7 +143,8 @@
isShowPassResume
:
false
,
refuse_reason
:
''
,
reasonList
:
[],
salaryLevels
:
[]
salaryLevels
:
[],
education
:
[]
};
},
methods
:
{
...
...
@@ -252,13 +253,18 @@
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
:
this
.
intention_job
?
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
6
)
+
'00'
][
res
.
data
.
intention_job
]:
'--'
}
this
.
salaryLevels
.
forEach
(
v
=>
{
if
(
v
.
level
==
obj
.
intention_salary_level
)
{
obj
.
intention_salary_level_txt
=
v
.
level_name
;
}
})
this
.
education
.
forEach
(
v
=>
{
if
(
v
.
level
==
obj
.
edu_experiences
[
0
].
qualifications
)
{
obj
.
intention_edu_level_txt
=
v
.
level_name
;
}
})
let
a1
=
this
.
jobList
[
res
.
data
.
intention_job
.
slice
(
0
,
4
)
+
'0000'
]
this
.
detailInfo
=
obj
;
}
...
...
@@ -292,11 +298,26 @@
})
},
//获取学历
getEduLevels
()
{
return
new
Promise
(
resolve
=>
{
getAcademicQualifications
().
then
(
res
=>
{
if
(
res
.
error
==
0
)
{
this
.
education
=
res
.
data
;
resolve
();
}
})
}).
catch
(
error
=>
{
})
},
},
async
created
()
{
await
this
.
getJobList
();
await
this
.
getResonList
();
await
this
.
getEduLevels
();
await
this
.
getSalaryLevels
();
this
.
getDetail
();
},
...
...
src/views/recommend/list.vue
View file @
db5b40f
<
template
>
<div
class=
"partner-supervise-container"
>
<div
class=
"refresh"
>
<
!--
<
div
class=
"refresh"
>
<el-button
@
click=
"refresh"
type=
"primary"
size=
"small"
>
立即刷新
</el-button>
<!--
<span>
今日剩余(0/10)
</span>
--
>
</div>
<span>
今日剩余(0/10)
</span
>
</div>
-->
<el-form
:inline=
"true"
:model=
"queryForm"
size=
"small"
ref=
"queryForm"
class=
"fiter-box"
>
<div
class=
"fiter-col"
>
...
...
@@ -45,20 +45,20 @@
</el-form>
<div
class=
"partner-supervise-table"
>
<el-table
:data=
"list"
stripe
size=
"medium"
:header-cell-class-name=
"headerName"
>
<el-table-column
align=
"center"
prop=
"truename"
label=
"
职位
信息"
width=
"300"
>
<el-table-column
align=
"center"
prop=
"truename"
label=
"
投递人
信息"
width=
"300"
>
<template
slot-scope=
"scope"
>
<div
class=
"position-info"
>
<div
class=
"position"
><span>
{{
scope
.
row
.
job_type
==
1
?
'全'
:
'兼'
}}
</span>
{{
scope
.
row
.
base_name
}}
</div>
<div
class=
"info"
>
<div>
{{
scope
.
row
.
work_city
}}
-
{{
scope
.
row
.
work_area
}}
</div>
<div>
{{
scope
.
row
.
edu
}}
</div>
<div>
{{
scope
.
row
.
edu
_level_txt
}}
</div>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"compensation"
show-overflow-tooltip
label=
"薪资"
>
<el-table-column
align=
"center"
prop=
"compensation"
show-overflow-tooltip
label=
"
期望
薪资"
>
<
template
slot-scope=
"scope"
>
<div
class=
"
compensation"
>
{{
(
scope
.
row
.
job_require_salary_min
/
100000
).
toFixed
(
1
)
}}
~
{{
(
scope
.
row
.
job_require_salary_max
/
100000
).
toFixed
(
1
)
}}
K
</div>
<div
class=
"
table-inf0-h3"
>
{{
scope
.
row
.
salary_level_txt
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"publishTime"
show-overflow-tooltip
label=
"求职状态"
>
...
...
@@ -191,6 +191,8 @@
work_area
:
CodeToText
[
item
.
base_area_id
],
edu
:
item
.
edu_experiences
[
0
].
qualifications
}
this
.
education
.
forEach
(
m
=>
{
if
(
m
.
level
==
item
.
edu_experiences
[
0
].
qualifications
){
obj
.
edu_level_txt
=
m
.
level_name
}});
this
.
salaryLevels
.
forEach
(
m
=>
{
if
(
m
.
level
==
item
.
intention_salary_level
){
obj
.
salary_level_txt
=
m
.
level_name
}});
return
obj
;
})
}
...
...
src/views/resume/detail.vue
View file @
db5b40f
...
...
@@ -11,7 +11,7 @@
</div>
<div>
<span
class=
"mr"
>
{{
detailInfo
.
work_experiences
[
0
].
job_name
}}
</span>
<span
class=
"mr"
>
{{
detailInfo
.
edu_experiences
[
0
].
qualifications
}}
</span>
<span
class=
"mr"
>
{{
detailInfo
.
intention_edu_level_txt
}}
</span>
<!--
<span
>
3-5年
</span>
-->
</div>
</div>
...
...
@@ -126,7 +126,7 @@
<
script
>
import
{
resumeDetail
,
resumePass
,
resumeRefuse
,
checkResumeDetail
}
from
'@/api/resume'
import
{
getJobClassify
,
applyRefuseReasons
,
getSalaryExpectation
}
from
'@/api/common'
import
{
getJobClassify
,
applyRefuseReasons
,
getSalaryExpectation
,
getAcademicQualifications
}
from
'@/api/common'
import
{
CodeToText
,
TextToCode
,}
from
'element-china-area-data'
;
import
{
Loading
}
from
'element-ui'
;
...
...
@@ -143,7 +143,8 @@
isShowPassResume
:
false
,
refuse_reason
:
''
,
reasonList
:
[],
salaryLevels
:
[]
salaryLevels
:
[],
education
:
[]
};
},
methods
:
{
...
...
@@ -262,8 +263,14 @@
obj
.
intention_salary_level_txt
=
v
.
level_name
;
}
})
this
.
education
.
forEach
(
v
=>
{
if
(
v
.
level
==
obj
.
edu_experiences
[
0
].
qualifications
)
{
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
()
},
...
...
@@ -295,11 +302,26 @@
})
},
//获取学历
getEduLevels
()
{
return
new
Promise
(
resolve
=>
{
getAcademicQualifications
().
then
(
res
=>
{
if
(
res
.
error
==
0
)
{
this
.
education
=
res
.
data
;
resolve
();
}
})
}).
catch
(
error
=>
{
})
},
},
async
created
()
{
await
this
.
getJobList
();
await
this
.
getResonList
();
await
this
.
getEduLevels
();
await
this
.
getResonList
();
this
.
getDetail
();
},
...
...
src/views/resume/list.vue
View file @
db5b40f
...
...
@@ -47,7 +47,7 @@
<div
class=
"position"
><span>
{{
scope
.
row
.
job_type
==
1
?
'全'
:
'兼'
}}
</span>
{{
scope
.
row
.
base_name
}}
</div>
<div
class=
"info"
>
<div>
{{
scope
.
row
.
work_city
}}
-
{{
scope
.
row
.
work_area
}}
</div>
<div>
{{
scope
.
row
.
edu_
experiences
[
0
].
qualifications
}}
</div>
<div>
{{
scope
.
row
.
edu_
level_txt
}}
</div>
<!--
<div>
{{
scope
.
row
.
experience
}}
</div>
-->
</div>
</div>
...
...
@@ -61,6 +61,11 @@
<div
class=
"compensation"
v-if=
"scope.row.status == 4"
>
已拒绝
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"compensation"
show-overflow-tooltip
label=
"期望薪资"
>
<
template
slot-scope=
"scope"
>
<div
class=
"table-inf0-h3"
>
{{
scope
.
row
.
salary_level_txt
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"compensation"
show-overflow-tooltip
label=
"求职状态"
>
<
template
slot-scope=
"scope"
>
<div
class=
"table-inf0-h3"
v-if=
"scope.row.intention_current_status==1"
>
待业-求职中
</div>
...
...
@@ -261,6 +266,8 @@
work_city
:
CodeToText
[
item
.
base_area_id
.
slice
(
0
,
4
)
+
'00'
],
work_area
:
CodeToText
[
item
.
base_area_id
],
}
this
.
education
.
forEach
(
m
=>
{
if
(
m
.
level
==
item
.
edu_experiences
[
0
].
qualifications
){
obj
.
edu_level_txt
=
m
.
level_name
}});
this
.
salaryLevels
.
forEach
(
m
=>
{
if
(
m
.
level
==
item
.
intention_salary_level
){
obj
.
salary_level_txt
=
m
.
level_name
}});
return
obj
;
})
}
...
...
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