Commit 9b1a2ee6 authored by zhangderong's avatar zhangderong

PDF展示原件测试

parent 09add4c6
...@@ -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'
}})
}
...@@ -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%;
......
...@@ -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
......
...@@ -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
......
This diff is collapsed.
...@@ -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>请点击&nbsp;</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>&nbsp;
<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>&nbsp;
<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>
...@@ -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>
......
...@@ -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);
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment