|
|
@@ -177,6 +177,19 @@
|
|
|
prop="content"
|
|
|
label="项目基本情况"
|
|
|
/>
|
|
|
+ <el-table-column width="250" align="center" label="附件材料">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <el-image
|
|
|
+ style="height: 60px; width: 60px; margin: 0 5px"
|
|
|
+ v-for="(item, index) in row.file"
|
|
|
+ :key="index"
|
|
|
+ :src="item"
|
|
|
+ :preview-src-list="[item]"
|
|
|
+ hide-on-click-modal
|
|
|
+ preview-teleported
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
width="200"
|
|
|
align="center"
|
|
|
@@ -213,7 +226,7 @@
|
|
|
<el-pagination
|
|
|
v-model:current-page="currentPage"
|
|
|
v-model:page-size="pageSize"
|
|
|
- :page-sizes="[8, 20, 50, 100]"
|
|
|
+ :page-sizes="[6, 20, 50, 100]"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
:total="total"
|
|
|
@size-change="handleSizeChange"
|
|
|
@@ -284,6 +297,21 @@
|
|
|
{{ dialogInfo.content }}
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="dialog_item">
|
|
|
+ <span>附加材料:</span>
|
|
|
+ <div>
|
|
|
+ <el-image
|
|
|
+ style="width: 50px; margin: 0 5px"
|
|
|
+ fit="fill"
|
|
|
+ v-for="(item, index) in dialogInfo.file"
|
|
|
+ :key="index"
|
|
|
+ :src="item"
|
|
|
+ :preview-src-list="[item]"
|
|
|
+ hide-on-click-modal
|
|
|
+ preview-teleported
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
@@ -339,6 +367,11 @@ const getData = async () => {
|
|
|
pageSize: pageSize.value
|
|
|
})
|
|
|
// console.log(res)
|
|
|
+ res.list.forEach((item) => {
|
|
|
+ if (item.file) {
|
|
|
+ item.file = item.file.split(',')
|
|
|
+ }
|
|
|
+ })
|
|
|
tableData.value = res.list
|
|
|
total.value = res.totalCount
|
|
|
currentPage.value = res.currPage
|
|
|
@@ -365,7 +398,7 @@ const total = ref(0)
|
|
|
// 分页器当前页
|
|
|
const currentPage = ref(1)
|
|
|
// 每页条数
|
|
|
-const pageSize = ref(8)
|
|
|
+const pageSize = ref(6)
|
|
|
// 表格数据
|
|
|
const tableData = ref([])
|
|
|
|
|
|
@@ -387,7 +420,7 @@ const hanleExportForm = () => {
|
|
|
type: 'warning'
|
|
|
})
|
|
|
.then(() => {
|
|
|
- window.location.href = `/reporting/informationReporting/download?name=${searchName.value}&trade=${searchIndustry.value}&company=${searchAddress.value}&reportingTime=${searchTime.value}&status=${searchType.value}&ids=${id}`
|
|
|
+ window.location.href = `/gradiate-school/reporting//informationReporting/download?name=${searchName.value}&trade=${searchIndustry.value}&company=${searchAddress.value}&reportingTime=${searchTime.value}&status=${searchType.value}&ids=${id}`
|
|
|
multipleTable.value.clearSelection()
|
|
|
})
|
|
|
.catch(() => {
|
|
|
@@ -398,6 +431,7 @@ const hanleExportForm = () => {
|
|
|
}
|
|
|
// 点击详情按钮回调
|
|
|
const handleCheckDetail = (row) => {
|
|
|
+ // console.log(row)
|
|
|
dialogInfo.value = {}
|
|
|
dialogVisible.value = true
|
|
|
dialogInfo.value = row
|
|
|
@@ -509,11 +543,13 @@ const handleReset = () => {
|
|
|
|
|
|
.dialog_box {
|
|
|
height: 630px;
|
|
|
+ overflow-y: auto;
|
|
|
.dialog_item {
|
|
|
margin-bottom: 10px;
|
|
|
- height: 35px;
|
|
|
+ line-height: 20px;
|
|
|
color: #4d4d4d;
|
|
|
font-size: 15px;
|
|
|
+
|
|
|
.blue {
|
|
|
color: #1e7dfb;
|
|
|
}
|
|
|
@@ -526,7 +562,7 @@ const handleReset = () => {
|
|
|
}
|
|
|
|
|
|
div {
|
|
|
- height: 160px;
|
|
|
+ max-height: 160px;
|
|
|
margin-top: 10px;
|
|
|
overflow-y: auto;
|
|
|
}
|