修改会议资料和会议纪要的下载接口

This commit is contained in:
fengachen
2021-12-21 14:15:05 +08:00
parent 48f7764fb8
commit 866611442a
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -527,14 +527,14 @@
<!--会议资料begin-->
<section class="base-info">
<h3 class="title">会议资料</h3>
<file-table :file-id="model.meetingData" :has-limit-bool="true"></file-table>
<file-table :file-id="model.meetingData" :has-limit-bool="true" :meeting-id="model.id"></file-table>
</section>
<!--会议资料end-->
<!--会议纪要begin-->
<section class="base-info">
<h3 class="title">会议纪要</h3>
<file-table :file-id="model.meetingMinute" :has-limit-bool="true"></file-table>
<file-table :file-id="model.meetingMinute" :has-limit-bool="true" :meeting-id="model.id"></file-table>
</section>
<!--会议纪要end-->
<!--到账信息 begin 2021-12-10 版需求变更去掉了-->
+6 -1
View File
@@ -61,6 +61,11 @@ export default {
type:Boolean,
required: false,
default:false
},
/*会议id*/
meetingId:{
type:String,
required:false
}
},
data() {
@@ -118,7 +123,7 @@ export default {
console.log(file)
if(this.hasLimitBool){
// 会议资料更换了接口
downloadFile(`sys/common/userDownload/${file.id}`, file.name)
downloadFile(`/meeting/payMeeting/userDownload/${file.id}/${this.meetingId}`, file.name)
}else {
downloadFile(`sys/common/download/${file.id}`, file.name)
}