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
958bc7d2
Commit
958bc7d2
authored
Oct 16, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏展示PDF原件测试
parent
f776106d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
135 additions
and
47 deletions
+135
-47
package-lock.json
package-lock.json
+91
-5
package.json
package.json
+1
-0
resumeDetail.vue
src/page/resume/resumeDetail.vue
+43
-42
No files found.
package-lock.json
View file @
958bc7d2
...
...
@@ -309,7 +309,6 @@
"version"
:
"1.0.10"
,
"resolved"
:
"http://npmprivate.quantgroups.com/argparse/-/argparse-1.0.10.tgz"
,
"integrity"
:
"sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg=="
,
"dev"
:
true
,
"requires"
:
{
"sprintf-js"
:
"~1.0.2"
}
...
...
@@ -3248,6 +3247,21 @@
"domelementtype"
:
"1"
}
},
"duck"
:
{
"version"
:
"0.1.11"
,
"resolved"
:
"http://npmprivate.quantgroups.com/duck/-/duck-0.1.11.tgz"
,
"integrity"
:
"sha1-OtwaPS+91Yef/TvaBc4PaTVekJM="
,
"requires"
:
{
"underscore"
:
"~1.4.4"
},
"dependencies"
:
{
"underscore"
:
{
"version"
:
"1.4.4"
,
"resolved"
:
"http://npmprivate.quantgroups.com/underscore/-/underscore-1.4.4.tgz"
,
"integrity"
:
"sha1-YaajIBBiKvoHljvzJSA88SI51gQ="
}
}
},
"duplexer"
:
{
"version"
:
"0.1.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/duplexer/-/duplexer-0.1.1.tgz"
,
...
...
@@ -6055,6 +6069,21 @@
"verror"
:
"1.10.0"
}
},
"jszip"
:
{
"version"
:
"2.5.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/jszip/-/jszip-2.5.0.tgz"
,
"integrity"
:
"sha1-dET9hVHd8+XacZj+oMkbyDCMwnQ="
,
"requires"
:
{
"pako"
:
"~0.2.5"
},
"dependencies"
:
{
"pako"
:
{
"version"
:
"0.2.9"
,
"resolved"
:
"http://npmprivate.quantgroups.com/pako/-/pako-0.2.9.tgz"
,
"integrity"
:
"sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU="
}
}
},
"killable"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/killable/-/killable-1.0.1.tgz"
,
...
...
@@ -6352,6 +6381,23 @@
"js-tokens"
:
"^3.0.0 || ^4.0.0"
}
},
"lop"
:
{
"version"
:
"0.4.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/lop/-/lop-0.4.0.tgz"
,
"integrity"
:
"sha1-Tw5DhNXE9FXQuG0lT9UqnQVZPCw="
,
"requires"
:
{
"duck"
:
"~0.1.11"
,
"option"
:
"~0.2.1"
,
"underscore"
:
"~1.4.4"
},
"dependencies"
:
{
"underscore"
:
{
"version"
:
"1.4.4"
,
"resolved"
:
"http://npmprivate.quantgroups.com/underscore/-/underscore-1.4.4.tgz"
,
"integrity"
:
"sha1-YaajIBBiKvoHljvzJSA88SI51gQ="
}
}
},
"loud-rejection"
:
{
"version"
:
"1.6.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/loud-rejection/-/loud-rejection-1.6.0.tgz"
,
...
...
@@ -6387,6 +6433,33 @@
"pify"
:
"^3.0.0"
}
},
"mammoth"
:
{
"version"
:
"1.4.8"
,
"resolved"
:
"http://npmprivate.quantgroups.com/mammoth/-/mammoth-1.4.8.tgz"
,
"integrity"
:
"sha512-NacMivDBGIDyMOUdh4M3faInP8qXg+NhlZDGf3k3X3oo2IJGizQ4pwqYuWGbRk7YGpTIyz9ushl45a0GePqYSw=="
,
"requires"
:
{
"argparse"
:
"~1.0.3"
,
"bluebird"
:
"~3.4.0"
,
"jszip"
:
"~2.5.0"
,
"lop"
:
"~0.4.0"
,
"path-is-absolute"
:
"^1.0.0"
,
"sax"
:
"~1.1.1"
,
"underscore"
:
"~1.8.3"
,
"xmlbuilder"
:
"^10.0.0"
},
"dependencies"
:
{
"bluebird"
:
{
"version"
:
"3.4.7"
,
"resolved"
:
"http://npmprivate.quantgroups.com/bluebird/-/bluebird-3.4.7.tgz"
,
"integrity"
:
"sha1-9y12C+Cbf3bQjtj66Ysomo0F+rM="
},
"sax"
:
{
"version"
:
"1.1.6"
,
"resolved"
:
"http://npmprivate.quantgroups.com/sax/-/sax-1.1.6.tgz"
,
"integrity"
:
"sha1-XWFr6KXmB9VOEUr65Vt+ry/MMkA="
}
}
},
"map-cache"
:
{
"version"
:
"0.2.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/map-cache/-/map-cache-0.2.2.tgz"
,
...
...
@@ -7452,6 +7525,11 @@
}
}
},
"option"
:
{
"version"
:
"0.2.4"
,
"resolved"
:
"http://npmprivate.quantgroups.com/option/-/option-0.2.4.tgz"
,
"integrity"
:
"sha1-/Udc35jcq7PLOXo7pShP60Xtv+Q="
},
"optionator"
:
{
"version"
:
"0.8.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/optionator/-/optionator-0.8.2.tgz"
,
...
...
@@ -7634,8 +7712,7 @@
"path-is-absolute"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz"
,
"integrity"
:
"sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
,
"dev"
:
true
"integrity"
:
"sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
"path-is-inside"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -9555,8 +9632,7 @@
"sprintf-js"
:
{
"version"
:
"1.0.3"
,
"resolved"
:
"http://npmprivate.quantgroups.com/sprintf-js/-/sprintf-js-1.0.3.tgz"
,
"integrity"
:
"sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
,
"dev"
:
true
"integrity"
:
"sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
},
"sshpk"
:
{
"version"
:
"1.16.1"
,
...
...
@@ -10060,6 +10136,11 @@
"integrity"
:
"sha1-5z3T17DXxe2G+6xrCufYxqadUPo="
,
"dev"
:
true
},
"underscore"
:
{
"version"
:
"1.8.3"
,
"resolved"
:
"http://npmprivate.quantgroups.com/underscore/-/underscore-1.8.3.tgz"
,
"integrity"
:
"sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI="
},
"union-value"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/union-value/-/union-value-1.0.1.tgz"
,
...
...
@@ -11032,6 +11113,11 @@
"safe-buffer"
:
"~5.1.0"
}
},
"xmlbuilder"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/xmlbuilder/-/xmlbuilder-10.1.1.tgz"
,
"integrity"
:
"sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg=="
},
"xtend"
:
{
"version"
:
"4.0.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/xtend/-/xtend-4.0.1.tgz"
,
...
...
package.json
View file @
958bc7d2
...
...
@@ -17,6 +17,7 @@
"
js-cookie
"
:
"
^2.2.0
"
,
"
less
"
:
"
^3.9.0
"
,
"
less-loader
"
:
"
^5.0.0
"
,
"
mammoth
"
:
"
^1.4.8
"
,
"
moment
"
:
"
^2.24.0
"
,
"
qs
"
:
"
^6.7.0
"
,
"
vue
"
:
"
^2.5.2
"
,
...
...
src/page/resume/resumeDetail.vue
View file @
958bc7d2
<
template
>
<div
class=
"resumeDetail"
>
<div
class=
"pdfShow"
v-show=
"isShowPdf==true"
>
<div
id=
"container"
style=
"width:100%;height:100%;"
v-if=
"isShowPdf==true"
></div>
</div>
<!--
<a
href=
"http://172.21.10.43/group1/M00/00/08/oYYBAF1M9B6ACO58AADoAJ5PfGw173.doc"
>
dsds
</a>
-->
<!--
<div
class=
"pdfShow"
v-show=
"isShowPdf==true"
>
<div
id=
"container"
style=
"width:100%;height:100%;"
v-if=
"isShowPdf==true"
></div>
</div>
-->
<div
class=
"resumeDetail-left"
v-if=
"isShowPdf==false"
>
<div
class=
"personalInformation"
v-show=
"JSON.stringify(resume)!=='
{}'">
<p
class=
"detailTitel"
>
...
...
@@ -322,6 +323,7 @@
import
moment
from
'
moment
'
// import moment from '../../../static/1.pdf'
require
(
'
../../../static/pdf/pdf.js
'
)
let
mammoth
=
require
(
"
mammoth
"
);
import
{
seedetail
,
updatastatus
,
TODORes
,
sendEmail
,
getEmailMoo
,
getEmailContent
,
uploadimage
,
findCompanyEmailByKey
,
forwardResume
,
getPdf
,
isShowPDF
}
from
'
../../api/resume.server
'
import
localStorage
from
'
../../service/localstorage.service.js
'
import
{
...
...
@@ -349,7 +351,7 @@ export default {
modal13
:
false
,
boxIsShow
:
false
,
resumeBTn
:
false
,
isShowPdf
:
tru
e
,
isShowPdf
:
fals
e
,
showOriginalDisabled
:
true
,
OriginalContent
:
''
,
StandardContent
:
''
,
...
...
@@ -752,39 +754,38 @@ export default {
delInterviewee
(
name
){
this
.
contentName
=
''
},
showOriginal
(){
// this.addCss()
// this.remove()
// document.querySelector('#app').style['overflow-x']='hidden'
this
.
showPDF
()
this
.
isShowPdf
=
true
this
.
showOriginalDisabled
=
true
this
.
showStandardDisabled
=
false
},
showStandard
(){
this
.
isShowPdf
=
false
// this.addCss()
// document.querySelector('#app').style['overflow-x']='hidden'
this
.
clearPDF
()
this
.
showStandardDisabled
=
true
this
.
showOriginalDisabled
=
false
},
judeShowPdf
(){
let
parmars
=
{
uid
:
this
.
$route
.
query
.
id
}
isShowPDF
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
body
==
true
){
this
.
isShowPdf
=
true
this
.
resumeBTn
=
true
}
else
{
this
.
isShowPdf
=
false
this
.
resumeBTn
=
false
}
})
},
// 确认发送邮件
// _debounce(confireSendEmail,500),
// showOriginal(){
// // this.addCss()
// // this.remove()
// // document.querySelector('#app').style['overflow-x']='hidden'
// this.showPDF()
// this.isShowPdf=true
// this.showOriginalDisabled=true
// this.showStandardDisabled=false
// },
// showStandard(){
// this.isShowPdf=false
// // this.addCss()
// // document.querySelector('#app').style['overflow-x']='hidden'
// this.clearPDF()
// this.showStandardDisabled=true
// this.showOriginalDisabled=false
// },
// judeShowPdf(){
// let parmars={
// uid:this.$route.query.id
// }
// isShowPDF(parmars).then(res=>{
// if(res.data.body==true){
// this.isShowPdf=true
// this.resumeBTn=true
// }else{
// this.isShowPdf=false
// this.resumeBTn=false
// }
// })
// },
// 确认发送邮件
confireSendEmail
:
_debounce
(
function
(){
this
.
sad
=
this
.
getEditorValue
()
if
(
this
.
sad
==
''
){
...
...
@@ -980,16 +981,16 @@ export default {
},
remove
(){
document
.
querySelector
(
'
#app
'
).
style
.
removeProperty
(
'
overflow-x
'
)
}
}
,
},
async
mounted
(){
mounted
(){
this
.
getDETAIL
()
this
.
boxIsShow
=
true
this
.
judeBtn
()
this
.
addCss
()
await
this
.
getData
()
this
.
clearPDF
()
await
this
.
judeShowPdf
()
//
await this.getData()
//
this.clearPDF()
//
await this.judeShowPdf()
},
beforeDestroy
(){
this
.
remove
()
...
...
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