|
|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<el-dialog title="填报" width="860px" :visible.sync="visible">
|
|
|
|
|
<el-dialog title="填报" width="80%" :visible.sync="visible">
|
|
|
|
|
|
|
|
|
|
<xy-table style="width: 820px"
|
|
|
|
|
<xy-table style="width: 100%"
|
|
|
|
|
stripe
|
|
|
|
|
ref="xyTable"
|
|
|
|
|
:req-opt="select"
|
|
|
|
|
@ -11,6 +11,9 @@
|
|
|
|
|
:action="getByCategory"
|
|
|
|
|
:table-item="table"
|
|
|
|
|
:destroy-action="destroy">
|
|
|
|
|
<!-- <template v-slot:files>
|
|
|
|
|
|
|
|
|
|
</template> -->
|
|
|
|
|
</xy-table>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
|
@ -42,7 +45,23 @@ export default {
|
|
|
|
|
prop: "content",
|
|
|
|
|
label: "内容",
|
|
|
|
|
align: "left",
|
|
|
|
|
minWidth: 200
|
|
|
|
|
width: 200
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop: "files",
|
|
|
|
|
label: "附件",
|
|
|
|
|
align: "left",
|
|
|
|
|
minWidth: 200,
|
|
|
|
|
customFn:row=>{
|
|
|
|
|
return (
|
|
|
|
|
row.files?
|
|
|
|
|
row.files.map((item,index)=>{
|
|
|
|
|
return(<div>
|
|
|
|
|
<a href={item.url} target="_blank">{item.original_name}</a>
|
|
|
|
|
</div>)
|
|
|
|
|
}):''
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop: "operate",
|
|
|
|
|
|