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
c2c60e68
Commit
c2c60e68
authored
Nov 14, 2019
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'notice' into 'master'
Notice See merge request
!10
parents
bb7d7de1
d8c23a0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
140 deletions
+44
-140
allResume.vue
src/page/resume/allResume.vue
+15
-24
channel.vue
src/page/resume/channel.vue
+15
-24
resumeDetail.vue
src/page/resume/resumeDetail.vue
+14
-92
No files found.
src/page/resume/allResume.vue
View file @
c2c60e68
...
...
@@ -347,22 +347,10 @@
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有通过微信端绑定账号,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
{{
errorNotice
}}
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal12=false"
>
我已知晓
</p>
</div>
</Modal>
<Modal
v-model=
"modal13"
width=
'480px'
:closable=
'false'
:footer-hide=
'true'
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有关注微信,无法接收通知,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal13=false"
>
我已知晓
</p>
</div>
</Modal>
<!-- 转发邮件 -->
<Modal
v-model=
"modal8"
...
...
@@ -523,6 +511,11 @@ import {mapState} from 'vuex'
modal8
:
false
,
modal12
:
false
,
modal13
:
false
,
modal14
:
false
,
modal15
:
false
,
modal17
:
false
,
modal16
:
false
,
errorNotice
:
''
,
transpondFrom
:
{
interviewerName
:
''
},
...
...
@@ -1573,16 +1566,7 @@ import {mapState} from 'vuex'
if
(
res
.
data
.
body
.
code
==
'
40009
'
){
this
.
reResumeName
=
res
.
data
.
body
.
message
this
.
isShowRep
=
true
}
if
(
res
.
data
.
body
.
code
==
'
40001
'
){
this
.
modal8
=
false
this
.
modal12
=
true
this
.
isShowRep
=
false
}
if
(
res
.
data
.
body
.
code
==
'
40002
'
){
this
.
modal8
=
false
this
.
modal13
=
true
this
.
isShowRep
=
false
return
}
if
(
res
.
data
.
body
.
code
==
'
0
'
){
this
.
modal8
=
false
...
...
@@ -1590,7 +1574,14 @@ import {mapState} from 'vuex'
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
res
.
data
.
body
.
message
})
})
return
}
if
(
res
.
data
.
success
==
false
){
this
.
modal8
=
false
this
.
modal12
=
true
this
.
isShowRep
=
false
this
.
errorNotice
=
res
.
data
.
body
.
message
}
})
})
...
...
src/page/resume/channel.vue
View file @
c2c60e68
...
...
@@ -250,22 +250,10 @@
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有通过微信端绑定账号,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
{{
errorNotice
}}
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal12=false"
>
我已知晓
</p>
</div>
</Modal>
<Modal
v-model=
"modal13"
width=
'480px'
:closable=
'false'
:footer-hide=
'true'
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有关注微信,无法接收通知,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal13=false"
>
我已知晓
</p>
</div>
</Modal>
<!-- 发送邮件 -->
<Modal
v-model=
"emailMOdal"
...
...
@@ -537,6 +525,11 @@ export default {
modal10
:
false
,
modal12
:
false
,
modal13
:
false
,
modal14
:
false
,
modal15
:
false
,
modal16
:
false
,
modal17
:
false
,
errorNotice
:
''
,
resumePushId
:
''
,
reResumeName
:
''
,
optcode
:
''
,
...
...
@@ -1572,16 +1565,7 @@ export default {
if
(
res
.
data
.
body
.
code
==
'
40009
'
){
this
.
reResumeName
=
res
.
data
.
body
.
message
this
.
isShowRep
=
true
}
if
(
res
.
data
.
body
.
code
==
'
40001
'
){
this
.
modal8
=
false
this
.
modal12
=
true
this
.
isShowRep
=
false
}
if
(
res
.
data
.
body
.
code
==
'
40002
'
){
this
.
modal8
=
false
this
.
modal13
=
true
this
.
isShowRep
=
false
return
}
if
(
res
.
data
.
body
.
code
==
'
0
'
){
this
.
modal8
=
false
...
...
@@ -1589,7 +1573,14 @@ export default {
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
res
.
data
.
body
.
message
})
})
return
}
if
(
res
.
data
.
success
==
false
){
this
.
modal8
=
false
this
.
modal12
=
true
this
.
isShowRep
=
false
this
.
errorNotice
=
res
.
data
.
body
.
message
}
})
})
...
...
src/page/resume/resumeDetail.vue
View file @
c2c60e68
...
...
@@ -308,22 +308,10 @@
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有通过微信端绑定账号,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
{{
errorNotice
}}
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal12=false"
>
我已知晓
</p>
</div>
</Modal>
<Modal
v-model=
"modal13"
width=
'480px'
:closable=
'false'
:footer-hide=
'true'
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有关注微信,无法接收通知,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal13=false"
>
我已知晓
</p>
</div>
</Modal>
</div>
</
template
>
<
script
>
...
...
@@ -331,7 +319,7 @@ import moment from 'moment'
import
pdf
from
'
vue-pdf
'
// import moment from '../../../static/1.pdf'
require
(
'
../../../static/pdf/pdf.js
'
)
let
mammoth
=
require
(
"
mammoth
"
);
//
let mammoth = require("mammoth");
import
{
seedetail
,
updatastatus
,
TODORes
,
sendEmail
,
getEmailMoo
,
getEmailContent
,
uploadimage
,
findCompanyEmailByKey
,
forwardResume
,
getPdf
,
isShowPDF
,
getpdfUrl
}
from
'
../../api/resume.server
'
import
localStorage
from
'
../../service/localstorage.service.js
'
import
{
...
...
@@ -358,11 +346,15 @@ export default {
modal11
:
false
,
modal12
:
false
,
modal13
:
false
,
modal14
:
false
,
modal15
:
false
,
modal16
:
false
,
modal17
:
false
,
boxIsShow
:
false
,
resumeBTn
:
false
,
isShowPdf
:
true
,
errorNotice
:
''
,
px
:
1200
,
// src:'/api/http://172.21.10.43/group1/M00/00/58/oYYBAF2nzwqAY4fcAAHyoHPb1Ic418.pdf',
showOriginalDisabled
:
true
,
OriginalContent
:
''
,
StandardContent
:
''
,
...
...
@@ -469,73 +461,6 @@ export default {
this
.
name
=
res
.
data
.
body
.
resume
.
ownerName
})
},
// clearPDF: function (OriginalContent) {
// if(this.OriginalContent!==''){
// document.getElementById("container").innerHTML = "";
// }
// },
// // 渲染合同
// renderPDF: function (pdf, pageNumber,OriginalContent) {
// if(this.OriginalContent!==''){}
// pdf.getPage(pageNumber).then(function (page) {
// var scale = 1.5; //随意设置的
// var viewport = page.getViewport(scale);
// // Prepare canvas using PDF page dimensions
// // var canvas = document.getElementById('the-canvas');
// var canvas = document.createElement('canvas');
// canvas.setAttribute("id", "the-canvas-" + pageNumber);
// var element = document.getElementById("container");
// element.appendChild(canvas);
// var context = canvas.getContext('2d');
// canvas.height = viewport.height;
// canvas.width = viewport.width;
// // Render PDF page into canvas context
// var renderContext = {
// canvasContext: context,
// viewport: viewport
// };
// var renderTask = page.render(renderContext);
// renderTask.then(function () {
// });
// });
// },
// // 展示合同
// showPDF : function ( OriginalContent) {
// let vm = this
// if ( this.OriginalContent) {
// var obj = {
// // url: '../../static/test.pdf', // 得到的是数据时使用data属性
// data: this.OriginalContent,
// cMapUrl: 'https://cdn.jsdelivr.net/npm/pdfjs-dist@2.0.943/cmaps/',
// cMapPacked: true
// };
// PDFJS.workerSrc = '../../static/pdf/pdf.worker.js'
// var loadingTask = PDFJS.getDocument(obj);
// loadingTask.promise.then(function(pdf) {
// var total = pdf.numPages;
// for (var i = 0; i
<
total
;
i
++
)
{
// var pageNumber = i + 1;
// // 如果你有node(vue ag...)环境,那么请用async/await替换掉
// setTimeout(vm.renderPDF(pdf, pageNumber), 10);
// }
// }, function (reason) {
// // PDF loading error
// console.error(reason);
// });
// }
// },
// getData(){
// let params = {
// uid:this.$route.query.id
// }
// getPdf(params).then(data => { // 调接口获取数据(二进制流数据)
// this.clearPDF();
// let vm =this
// var array = new Uint8Array(data.data);// 将二进制流数据转换成 Uint8Array (pdf支持的数据格式)
// this.OriginalContent=new Uint8Array(data.data);
// vm.showPDF(this.OriginalContent)
// })
// },
// 下载简历
downloadONE
(
doid
){
window
.
location
.
href
=
`
${
sapi
}
/api/resume/download/formatted/one?resumeId=
${
doid
}
`
...
...
@@ -742,16 +667,7 @@ export default {
if
(
res
.
data
.
body
.
code
==
'
40009
'
){
this
.
reResumeName
=
res
.
data
.
body
.
message
this
.
isShowRep
=
true
}
if
(
res
.
data
.
body
.
code
==
'
40001
'
){
this
.
modal8
=
false
this
.
modal12
=
true
this
.
isShowRep
=
false
}
if
(
res
.
data
.
body
.
code
==
'
40002
'
){
this
.
modal8
=
false
this
.
modal13
=
true
this
.
isShowRep
=
false
return
}
if
(
res
.
data
.
body
.
code
==
'
0
'
){
this
.
modal8
=
false
...
...
@@ -761,6 +677,12 @@ export default {
desc
:
res
.
data
.
body
.
message
})
}
if
(
res
.
data
.
success
==
false
){
this
.
modal8
=
false
this
.
modal12
=
true
this
.
isShowRep
=
false
this
.
errorNotice
=
res
.
data
.
body
.
message
}
})
})
},
800
),
...
...
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