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

附件

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