Commit 2190f3fb authored by 吴冠's avatar 吴冠

附件

parent 3411db90
...@@ -93,7 +93,7 @@ export function getClerList(data){ ...@@ -93,7 +93,7 @@ export function getClerList(data){
//补充答疑详情页 //补充答疑详情页
export function getClerDetailsList(id){ export function getClerDetailsList(id){
return request({ return request({
url:`/notice/clarifies/${id}`, url:`/notice/clarifiesNotice/${id}`,
method:'get', method:'get',
}) })
} }
......
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
<div class="form" v-html="contentList"> <div class="form" v-html="contentList">
<div></div> <div></div>
</div> </div>
<div class="sty" v-for="item in fileList" :key="item.id">
<span>附件下载:</span>
<span>{{item.fileName}}</span>
<a :href="item.accessoryUrl">
<el-button size="mini">下载</el-button>
</a>
</div>
<div class="flex-center" style="margin-top:30px"> <div class="flex-center" style="margin-top:30px">
<el-button @click="prev" <el-button @click="prev"
>返回</el-button >返回</el-button
...@@ -25,6 +32,7 @@ export default { ...@@ -25,6 +32,7 @@ export default {
itemTitle:'', itemTitle:'',
itemCode:'', itemCode:'',
itemTime:'', itemTime:'',
fileList:[]
} }
}, },
...@@ -54,6 +62,7 @@ export default { ...@@ -54,6 +62,7 @@ export default {
this.itemCode = data.nameAndCodeVO.projectCode this.itemCode = data.nameAndCodeVO.projectCode
this.contentList = data.content this.contentList = data.content
this.itemTime = data.createTime.slice(0,10) this.itemTime = data.createTime.slice(0,10)
this.fileList = data.accessoryVOList
} }
} }
} }
...@@ -80,4 +89,9 @@ h2{ ...@@ -80,4 +89,9 @@ h2{
margin-left:40px; margin-left:40px;
width:9.3rem width:9.3rem
} }
.sty{
margin-left:200px;
margin-top:50px;
margin-bottom: 50px;
}
</style> </style>
\ No newline at end of file
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
<div class="form" v-html="contentList"> <div class="form" v-html="contentList">
<div></div> <div></div>
</div> </div>
<div class="sty" v-for="item in fileList" :key="item.id">
<span>附件下载:</span>
<span>{{item.fileName}}</span>
<a :href="item.accessoryUrl">
<el-button size="mini">下载</el-button>
</a>
</div>
<div class="flex-center" style="margin-top:30px"> <div class="flex-center" style="margin-top:30px">
<el-button @click="prev" <el-button @click="prev"
>返回</el-button >返回</el-button
...@@ -25,6 +32,7 @@ export default { ...@@ -25,6 +32,7 @@ export default {
itemTitle:'', itemTitle:'',
itemCode:'', itemCode:'',
itemTime:'', itemTime:'',
fileList:[]
} }
}, },
...@@ -42,6 +50,7 @@ export default { ...@@ -42,6 +50,7 @@ export default {
this.itemCode = data.nameAndCodeVO.projectCode this.itemCode = data.nameAndCodeVO.projectCode
this.itemTime = data.createTime.slice(0,10) this.itemTime = data.createTime.slice(0,10)
this.contentList = data.content this.contentList = data.content
this.fileList = data.accessoryVOList
console.log(data) console.log(data)
} }
} }
...@@ -68,4 +77,9 @@ h2{ ...@@ -68,4 +77,9 @@ h2{
margin-top:50px; margin-top:50px;
margin-left:40px; margin-left:40px;
width:9.3rem width:9.3rem
}
.sty{
margin-left:200px;
margin-top:50px;
margin-bottom: 50px;
}</style> }</style>
\ No newline at end of file
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
<div class="form" v-html="contentList"> <div class="form" v-html="contentList">
<div></div> <div></div>
</div> </div>
<div class="sty" v-for="item in fileList" :key="item.id">
<span>附件下载:</span>
<span>{{item.fileName}}</span>
<a :href="item.accessoryUrl">
<el-button size="mini">下载</el-button>
</a>
</div>
<div class="flex-center" style="margin-top:30px"> <div class="flex-center" style="margin-top:30px">
<el-button @click="prev" <el-button @click="prev"
>返回</el-button >返回</el-button
...@@ -25,8 +32,8 @@ export default { ...@@ -25,8 +32,8 @@ export default {
contentList:'', contentList:'',
itemTitle:'', itemTitle:'',
itemCode:'', itemCode:'',
itemTime:'' itemTime:'',
fileList:[]
} }
}, },
...@@ -45,6 +52,7 @@ export default { ...@@ -45,6 +52,7 @@ export default {
this.itemCode = data.nameAndCodeVO.projectCode this.itemCode = data.nameAndCodeVO.projectCode
this.contentList = data.content this.contentList = data.content
this.itemTime = data.createTime.slice(0,10) this.itemTime = data.createTime.slice(0,10)
this.fileList = data.accessoryVOList
} }
}, },
} }
...@@ -71,4 +79,9 @@ h2{ ...@@ -71,4 +79,9 @@ h2{
margin-left:40px; margin-left:40px;
width:9.3rem width:9.3rem
} }
.sty{
margin-left:200px;
margin-top:50px;
margin-bottom: 50px;
}
</style> </style>
\ No newline at end of file
...@@ -7,7 +7,14 @@ ...@@ -7,7 +7,14 @@
</div> </div>
<h2>{{itemTitle}}</h2> <h2>{{itemTitle}}</h2>
<div class="form" v-html="contentList"> <div class="form" v-html="contentList">
<div></div>
</div>
<div class="sty" v-for="item in fileList" :key="item.id">
<span>附件下载:</span>
<span>{{item.fileName}}</span>
<a :href="item.accessoryUrl">
<el-button size="mini">下载</el-button>
</a>
</div> </div>
<div class="flex-center" style="margin-top:30px"> <div class="flex-center" style="margin-top:30px">
<el-button @click="prev" <el-button @click="prev"
...@@ -26,6 +33,7 @@ export default { ...@@ -26,6 +33,7 @@ export default {
itemTitle:'', itemTitle:'',
itemCode:'', itemCode:'',
itemTime:'', itemTime:'',
fileList:[],
} }
}, },
...@@ -46,9 +54,10 @@ export default { ...@@ -46,9 +54,10 @@ export default {
this.itemCode = data.nameAndCodeVO.projectCode this.itemCode = data.nameAndCodeVO.projectCode
this.contentList = data.content this.contentList = data.content
this.itemTime = data.createTime.slice(0,10) this.itemTime = data.createTime.slice(0,10)
} this.fileList = data.accessoryVOList
} }
} }
}
</script> </script>
<style scoped> <style scoped>
...@@ -72,4 +81,10 @@ h2{ ...@@ -72,4 +81,10 @@ h2{
margin-left:40px; margin-left:40px;
width:9.3rem width:9.3rem
} }
.sty{
margin-left:200px;
margin-top:50px;
margin-bottom: 50px;
}
</style> </style>
\ No newline at end of file
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
<div class="form" v-html="contentList"> <div class="form" v-html="contentList">
<div></div> <div></div>
</div> </div>
<div class="sty" v-for="item in fileList" :key="item.id">
<span>附件下载:</span>
<span>{{item.fileName}}</span>
<a :href="item.accessoryUrl">
<el-button size="mini">下载</el-button>
</a>
</div>
<div class="flex-center" style="margin-top:30px"> <div class="flex-center" style="margin-top:30px">
<el-button @click="prev" <el-button @click="prev"
>返回</el-button >返回</el-button
...@@ -26,6 +33,7 @@ export default { ...@@ -26,6 +33,7 @@ export default {
itemTitle:'', itemTitle:'',
itemCode:'', itemCode:'',
itemTime:'', itemTime:'',
fileList:[]
} }
}, },
...@@ -53,6 +61,7 @@ export default { ...@@ -53,6 +61,7 @@ export default {
this.itemTitle = data.nameAndCodeVO.projectName this.itemTitle = data.nameAndCodeVO.projectName
this.itemCode = data.nameAndCodeVO.projectCode this.itemCode = data.nameAndCodeVO.projectCode
this.itemTime = data.createTime.slice(0,10) this.itemTime = data.createTime.slice(0,10)
this.fileList = data.accessoryVOList
this.contentList = data.content this.contentList = data.content
console.log(id) console.log(id)
}, },
...@@ -81,4 +90,9 @@ h2{ ...@@ -81,4 +90,9 @@ h2{
margin-left:40px; margin-left:40px;
width:9.3rem width:9.3rem
} }
.sty{
margin-left:200px;
margin-top:50px;
margin-bottom: 50px;
}
</style> </style>
\ No newline at end of file
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