Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recruiting-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
recruiting-management
Commits
9b1a2ee6
Commit
9b1a2ee6
authored
Oct 14, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDF展示原件测试
parent
09add4c6
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
47726 additions
and
197 deletions
+47726
-197
resume.server.js
src/api/resume.server.js
+14
-0
interview.vue
src/page/interview/interview.vue
+3
-2
allResume.vue
src/page/resume/allResume.vue
+1
-1
channel.vue
src/page/resume/channel.vue
+1
-1
resumeDetail.vue
src/page/resume/resumeDetail.vue
+296
-182
QRcode.vue
src/page/system/QRcode.vue
+8
-1
upload.vue
src/page/upload/upload.vue
+10
-9
index.js
src/router/index.js
+0
-1
pdf.js
static/pdf/pdf.js
+8021
-0
pdf.worker.js
static/pdf/pdf.worker.js
+39372
-0
No files found.
src/api/resume.server.js
View file @
9b1a2ee6
...
@@ -131,4 +131,18 @@ export function forwardResume(params) {
...
@@ -131,4 +131,18 @@ export function forwardResume(params) {
'
Content-Type
'
:
'
application/json
'
'
Content-Type
'
:
'
application/json
'
}})
}})
}
}
export
function
getPdf
(
parmars
)
{
return
axios
.
get
(
`
${
sapi
}
/api/resume/getResumePdfByResumeId/
${
parmars
.
uid
}
`
,{
responseType
:
'
arraybuffer
'
,
headers
:
{
'
Content-Type
'
:
'
application/json
'
}
})
}
// 是否展示原件的PDF
export
function
isShowPDF
(
parmars
)
{
return
axios
.
get
(
`
${
sapi
}
/api/resume//isShowOriPdf/
${
parmars
.
uid
}
`
,
{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
src/page/interview/interview.vue
View file @
9b1a2ee6
...
@@ -15,12 +15,12 @@
...
@@ -15,12 +15,12 @@
<span
style=
"margin-left:10px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer"
@
click=
"Seedetail(item.id, item.uid,item.flowStatus)"
>
{{
item
.
ownerName
}}
|
</span>
<span
style=
"margin-left:10px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer"
@
click=
"Seedetail(item.id, item.uid,item.flowStatus)"
>
{{
item
.
ownerName
}}
|
</span>
<span
@
click=
"Seedetail(item.id, item.uid ,item.flowStatus)"
style=
"overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer"
>
{{
item
.
ownerMobile
}}
|
</span>
<span
@
click=
"Seedetail(item.id, item.uid ,item.flowStatus)"
style=
"overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer"
>
{{
item
.
ownerMobile
}}
|
</span>
<span
@
click=
"Seedetail(item.id, item.uid,item.flowStatus)"
style=
"overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;width:20%;cursor:pointer"
>
{{
item
.
ownerExpectTitles
}}
</span>
<span
@
click=
"Seedetail(item.id, item.uid,item.flowStatus)"
style=
"overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;width:20%;cursor:pointer"
>
{{
item
.
ownerExpectTitles
}}
</span>
<span
style=
"color:#2d8cf0;float:right;margin-right:
35px
;cursor:pointer"
@
click=
"updateInterview(item.id,item.interviewerName,item.seeTime,item.inviterName)"
>
更改约面信息
</span>
<span
style=
"color:#2d8cf0;float:right;margin-right:
5%
;cursor:pointer"
@
click=
"updateInterview(item.id,item.interviewerName,item.seeTime,item.inviterName)"
>
更改约面信息
</span>
</p>
</p>
<p
style=
"margin-top:8px;color:Grey"
>
<p
style=
"margin-top:8px;color:Grey"
>
<span
style=
"margin-left:10px;display:inline-block;width:22%;"
>
邀约人:
{{
item
.
inviterName
}}
</span>
<span
style=
"margin-left:10px;display:inline-block;width:22%;"
>
邀约人:
{{
item
.
inviterName
}}
</span>
<span
style=
"margin-left:7%;display:inline-block;width:22%;"
>
面试官:
{{
item
.
interviewerName
}}
</span>
<span
style=
"margin-left:7%;display:inline-block;width:22%;"
>
面试官:
{{
item
.
interviewerName
}}
</span>
<span
style=
"float:right;margin-right:
35px
"
>
面试时间:
{{
item
.
seeTime
}}
</span>
<span
style=
"float:right;margin-right:
5%
"
>
面试时间:
{{
item
.
seeTime
}}
</span>
</p>
</p>
</div>
</div>
<div
class=
"contentState"
>
<div
class=
"contentState"
>
...
@@ -768,6 +768,7 @@ font-size: 14px;
...
@@ -768,6 +768,7 @@ font-size: 14px;
width
:
100%
;
width
:
100%
;
background
:
#EDEDED
;
background
:
#EDEDED
;
overflow
:
hidden
;
overflow
:
hidden
;
min-width
:
1200px
;
}
}
.interview-left
{
.interview-left
{
height
:
100%
;
height
:
100%
;
...
...
src/page/resume/allResume.vue
View file @
9b1a2ee6
...
@@ -313,7 +313,7 @@
...
@@ -313,7 +313,7 @@
<Button
type=
'primary'
@
click=
'emailModalPush'
>
取消
</Button>
<Button
type=
'primary'
@
click=
'emailModalPush'
>
取消
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==false"
>
发送
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==false"
>
发送
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==true"
>
添加并发送
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==true"
>
添加并发送
</Button>
<
Checkbox
v-model=
"formInline.sendWeixin"
class=
'wechat'
><span>
微信通知面试官
</span></Checkbox
>
<
!--
<Checkbox
v-model=
"formInline.sendWeixin"
class=
'wechat'
><span>
微信通知面试官
</span></Checkbox>
--
>
</div>
</div>
</Modal>
</Modal>
<Modal
<Modal
...
...
src/page/resume/channel.vue
View file @
9b1a2ee6
...
@@ -333,7 +333,7 @@
...
@@ -333,7 +333,7 @@
<Button
type=
'primary'
@
click=
'emailModalPush'
>
取消
</Button>
<Button
type=
'primary'
@
click=
'emailModalPush'
>
取消
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==false"
>
发送
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==false"
>
发送
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==true"
>
添加并发送
</Button>
<Button
type=
'primary'
@
click=
'submit'
v-show=
"this.isShowAll==true"
>
添加并发送
</Button>
<
Checkbox
v-model=
"formInline.sendWeixin"
class=
'wechat'
><span>
微信通知面试官
</span></Checkbox
>
<
!--
<Checkbox
v-model=
"formInline.sendWeixin"
class=
'wechat'
><span>
微信通知面试官
</span></Checkbox>
--
>
</div>
</div>
</Modal>
</Modal>
<Modal
<Modal
...
...
src/page/resume/resumeDetail.vue
View file @
9b1a2ee6
This diff is collapsed.
Click to expand it.
src/page/system/QRcode.vue
View file @
9b1a2ee6
...
@@ -6,6 +6,13 @@
...
@@ -6,6 +6,13 @@
<img
:src=
"url"
style=
"width:100%;height:100%"
>
<img
:src=
"url"
style=
"width:100%;height:100%"
>
</div>
</div>
<p
class=
"xiazai"
@
click=
"downPic"
>
下载
</p>
<p
class=
"xiazai"
@
click=
"downPic"
>
下载
</p>
<!--
<p
style=
"margin-top:40px"
><span>
请点击
</span>
<a
href=
"http://192.168.28.10:7086/acceptInterview?isResufe=false"
style=
"text-decoration:none;width:100px;height:30px;background:#0092ff;color:white;display:inline-block; text-align: center;line-height:30px;border-radius:5px!important"
>
接受面试安排
</a>
或
<a
href=
"http://192.168.28.10:7086/acceptInterview?isResufe=true"
style=
"text-decoration:none;width:100px;height:30px;display:inline-block; text-align: center;line-height:30px;border-radius:5px!important;border:1px solid #0092ff;"
>
拒绝面试安排
</a>
,
<span>
将您的反馈告知我们。
</span>
</p>
-->
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -56,6 +63,6 @@ export default {
...
@@ -56,6 +63,6 @@ export default {
border-radius
:
5px
;
border-radius
:
5px
;
position
:
absolute
;
position
:
absolute
;
left
:
230px
;
left
:
230px
;
top
:
270px
top
:
270px
}
}
</
style
>
</
style
>
src/page/upload/upload.vue
View file @
9b1a2ee6
...
@@ -11,12 +11,12 @@
...
@@ -11,12 +11,12 @@
:class=
"['prefixCls' + '-input']"
:class=
"['prefixCls' + '-input']"
@
change=
"handleChange"
@
change=
"handleChange"
:multiple=
"true"
:multiple=
"true"
:format=
"['
html','doc','pdf','txt','docx
']"
:format=
"['
word','pdf
']"
:accept=
"accept"
:accept=
"accept"
>
>
<Button
@
click=
'selFiles'
style=
'width:20%;margin-top:40px;margin-left:-4px;color:black'
>
选择文件
</Button>
<Button
@
click=
'selFiles'
style=
'width:20%;margin-top:40px;margin-left:-4px;color:black'
>
选择文件
</Button>
<div
class=
'contentTips'
>
<div
class=
'contentTips'
>
<p
style=
"font-size:12px;margin-left:5%;text-align:
left;height:40px;line-height:40px;width:90%;display:inline-block;margin-top:30px"
>
单个文件不能大于2MB,支持html,doc,docx,txt,pdf等
格式,暂时不支持压缩格式
</p>
<p
style=
"font-size:12px;margin-left:5%;text-align:
center;height:40px;line-height:40px;width:90%;display:inline-block;margin-top:30px"
>
单个文件不能大于2MB,仅支持word,pdf
格式,暂时不支持压缩格式
</p>
<p
style=
"font-size:12px;margin-left:2%;text-align:center;height:40px;line-height:40px;width:90%"
>
支持最多二十份简历批量上传
</p>
<p
style=
"font-size:12px;margin-left:2%;text-align:center;height:40px;line-height:40px;width:90%"
>
支持最多二十份简历批量上传
</p>
</div>
</div>
<Button
@
click=
'uploadBtn'
style=
'width:20%;margin-left:38%;margin-top:30px'
type=
'primary'
>
上传
</Button>
<Button
@
click=
'uploadBtn'
style=
'width:20%;margin-left:38%;margin-top:30px'
type=
'primary'
>
上传
</Button>
...
@@ -227,7 +227,7 @@ import {uploadFile} from '../../service/ajax'
...
@@ -227,7 +227,7 @@ import {uploadFile} from '../../service/ajax'
filetile
:
'
上传中请稍后...
'
,
filetile
:
'
上传中请稍后...
'
,
totalSize
:
null
,
totalSize
:
null
,
uploadModal
:
false
,
uploadModal
:
false
,
accept
:
'
.
html,.doc,.docx,.txt
,.pdf
'
,
accept
:
'
.
word
,.pdf
'
,
fileSize
:
2048
,
fileSize
:
2048
,
progressStatus
:
{
progressStatus
:
{
'
0
'
:
'
active
'
,
'
0
'
:
'
active
'
,
...
@@ -398,9 +398,9 @@ import {uploadFile} from '../../service/ajax'
...
@@ -398,9 +398,9 @@ import {uploadFile} from '../../service/ajax'
window
.
location
.
href
=
`
${
sapi
}
/api/resume/download/formatted/one?resumeId=
${
downID
}
`
window
.
location
.
href
=
`
${
sapi
}
/api/resume/download/formatted/one?resumeId=
${
downID
}
`
},
},
// 获取上传批次号
// 获取上传批次号
getnumber
(){
getnumber
(){
getuploadNumber
().
then
(
res
=>
{
return
getuploadNumber
().
then
(
res
=>
{
this
.
batchNum
=
res
.
data
.
body
this
.
batchNum
=
res
.
data
.
body
})
})
},
},
//改变页码
//改变页码
...
@@ -417,6 +417,7 @@ import {uploadFile} from '../../service/ajax'
...
@@ -417,6 +417,7 @@ import {uploadFile} from '../../service/ajax'
page
=
typeof
(
page
)
==
'
number
'
?
page
:
1
page
=
typeof
(
page
)
==
'
number
'
?
page
:
1
this
.
searchInfo
.
pageIndex
=
page
this
.
searchInfo
.
pageIndex
=
page
this
.
pageIndex
=
page
this
.
pageIndex
=
page
console
.
log
(
this
.
batchNum
,
899898989
)
let
parmars
=
{
let
parmars
=
{
pageSize
:
this
.
searchInfo
.
pageSize
,
pageSize
:
this
.
searchInfo
.
pageSize
,
pageIndex
:
this
.
searchInfo
.
pageIndex
,
pageIndex
:
this
.
searchInfo
.
pageIndex
,
...
@@ -479,9 +480,9 @@ import {uploadFile} from '../../service/ajax'
...
@@ -479,9 +480,9 @@ import {uploadFile} from '../../service/ajax'
})
})
},
},
},
},
mounted
(){
async
mounted
(){
this
.
getnumber
()
await
this
.
getnumber
()
this
.
serchlist
()
this
.
serchlist
()
}
}
}
}
</
script
>
</
script
>
...
...
src/router/index.js
View file @
9b1a2ee6
...
@@ -17,7 +17,6 @@ const upload = r => require.ensure([], () => r(require('@/page/upload/upload.vue
...
@@ -17,7 +17,6 @@ const upload = r => require.ensure([], () => r(require('@/page/upload/upload.vue
const
sweepCode
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
@/page/sweepCode/sweepCode.vue
'
)),
'
sweepCode
'
);
const
sweepCode
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
@/page/sweepCode/sweepCode.vue
'
)),
'
sweepCode
'
);
const
editor
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
@/components/editor.vue
'
)),
'
editor
'
);
const
editor
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
@/components/editor.vue
'
)),
'
editor
'
);
const
getimage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
@/components/getimage.vue
'
)),
'
getimage
'
);
const
getimage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'
@/components/getimage.vue
'
)),
'
getimage
'
);
//z注释
//z注释
Vue
.
use
(
Router
);
Vue
.
use
(
Router
);
...
...
static/pdf/pdf.js
0 → 100644
View file @
9b1a2ee6
This diff is collapsed.
Click to expand it.
static/pdf/pdf.worker.js
0 → 100644
View file @
9b1a2ee6
This diff is collapsed.
Click to expand it.
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