+
-
+ ArriveAndInvoivingList
会议资料
@@ -782,6 +799,18 @@ export default {
window.open(`https://www.kuaidi100.com/chaxun?com=${com}&nu=${record.postNo}`)
},
/*
+ * 当前时间是否超过会议报名时间
+ * */
+ compareCurrentTime(time) {
+ let date = new Date()
+ let compareTime = new Date(time)
+ if (date.getTime() > compareTime.getTime()) {
+ return true
+ } else {
+ return false
+ }
+ },
+ /*
* 通过会议id获取会议性情
* */
queryMeetingInfoById(id) {
diff --git a/src/views/MessagePage/modules/FileTable.vue b/src/views/MessagePage/modules/FileTable.vue
index 921d46e..5aa401d 100644
--- a/src/views/MessagePage/modules/FileTable.vue
+++ b/src/views/MessagePage/modules/FileTable.vue
@@ -129,14 +129,14 @@ export default {
console.log(file)
if(this.hasLimitBool){
// 会议资料更换了接口
- downloadFile(`/meeting/payMeeting/userDownload/${file.id}/${this.meetingId}`, file.name)
+ downloadFile(`/meeting/payMeeting/userDownload/${file.id}/${this.meetingId}?type=download`, file.name)
}else {
- downloadFile(`sys/common/download/${file.id}`, file.name)
+ downloadFile(`sys/common/download/?type=download${file.id}`, file.name)
}
},
handlePreview(file) {
if (file && file.id) {
- const fileFullUrl = `${window._CONFIG['domianWebSocketURL']}/sys/common/download/${file.id}?token=${Vue.ls.get(ACCESS_TOKEN)}&fullfilename=${file.name}`
+ const fileFullUrl = `${window._CONFIG['domianWebSocketURL']}/sys/common/download/${file.id}?token=${Vue.ls.get(ACCESS_TOKEN)}&fullfilename=${file.name}&type=view`
let url = `${window._CONFIG['onlinePreviewDomainURL']}?url=${encodeURIComponent(fileFullUrl)}`
// let url = `${window._CONFIG['onlinePreviewDomainURL']}?url=${encodeURIComponent(fileFullUrl)}`
window.open(url)