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
ec0fb0fe
Commit
ec0fb0fe
authored
Oct 14, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传限制只能上传word,PDF格式
parent
9b1a2ee6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
resumeDetail.vue
src/page/resume/resumeDetail.vue
+3
-1
upload.vue
src/page/upload/upload.vue
+2
-3
No files found.
src/page/resume/resumeDetail.vue
View file @
ec0fb0fe
...
...
@@ -748,6 +748,7 @@ export default {
this
.
contentName
=
''
},
showOriginal
(){
this
.
addCss
()
this
.
getData
()
this
.
showPDF
()
this
.
isShowPdf
=
true
...
...
@@ -756,6 +757,7 @@ export default {
},
showStandard
(){
this
.
isShowPdf
=
false
this
.
addCss
()
// this.showOriginalDisabled=false
console
.
log
(
84377847
)
this
.
clearPDF
()
...
...
src/page/upload/upload.vue
View file @
ec0fb0fe
...
...
@@ -11,7 +11,7 @@
:class=
"['prefixCls' + '-input']"
@
change=
"handleChange"
:multiple=
"true"
:format=
"['
word','pdf
']"
:format=
"['
pdf','doc','docx
']"
:accept=
"accept"
>
<Button
@
click=
'selFiles'
style=
'width:20%;margin-top:40px;margin-left:-4px;color:black'
>
选择文件
</Button>
...
...
@@ -227,7 +227,7 @@ import {uploadFile} from '../../service/ajax'
filetile
:
'
上传中请稍后...
'
,
totalSize
:
null
,
uploadModal
:
false
,
accept
:
'
.
word
,.pdf
'
,
accept
:
'
.
doc,.docx
,.pdf
'
,
fileSize
:
2048
,
progressStatus
:
{
'
0
'
:
'
active
'
,
...
...
@@ -417,7 +417,6 @@ import {uploadFile} from '../../service/ajax'
page
=
typeof
(
page
)
==
'
number
'
?
page
:
1
this
.
searchInfo
.
pageIndex
=
page
this
.
pageIndex
=
page
console
.
log
(
this
.
batchNum
,
899898989
)
let
parmars
=
{
pageSize
:
this
.
searchInfo
.
pageSize
,
pageIndex
:
this
.
searchInfo
.
pageIndex
,
...
...
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