|
|
|
@ -88,12 +88,17 @@
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
|
<el-table v-loading="loading" :data="list">
|
|
|
|
|
<el-table-column label="报表文件名称" align="center" prop="name" />
|
|
|
|
|
<el-table-column label="报表文件url" align="center" prop="url" />
|
|
|
|
|
<el-table-column label="报表文件" align="center" prop="url">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button type="text" @click="openLink(scope.row.url)">
|
|
|
|
|
{{ scope.row.name }}
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="业务实体" align="center" prop="company" />
|
|
|
|
|
<el-table-column label="细分类型" align="center" prop="type" />
|
|
|
|
|
<el-table-column label="会计年度" align="center" prop="year" />
|
|
|
|
|
<el-table-column label="会计期间" align="center" prop="period" />
|
|
|
|
|
<el-table-column label="归档状态" align="center" prop="fileStatus" />
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="创建时间"
|
|
|
|
|
align="center"
|
|
|
|
@ -355,7 +360,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
uploadUrl:
|
|
|
|
|
process.env.VUE_APP_BASE_API +
|
|
|
|
|
"/admin-api//archives/accounting-report/upload", // 请求地址
|
|
|
|
|
"/admin-api/archives/accounting-report/upload", // 请求地址
|
|
|
|
|
headers: { Authorization: "Bearer " + getAccessToken() }, // 设置上传的请求头部
|
|
|
|
|
type0: "资产负债表",
|
|
|
|
|
type1: "现金流量表",
|
|
|
|
@ -368,6 +373,16 @@ export default {
|
|
|
|
|
this.getOrganizationList();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// /**
|
|
|
|
|
// * 文件预览
|
|
|
|
|
// * @param fileUrl
|
|
|
|
|
// */
|
|
|
|
|
openLink(fileUrl) {
|
|
|
|
|
const url =
|
|
|
|
|
process.env.VUE_APP_ONLINE_API +
|
|
|
|
|
`/onlinePreview?url=${encodeURIComponent(this.base64Encode(fileUrl))}`;
|
|
|
|
|
window.open(url);
|
|
|
|
|
},
|
|
|
|
|
/** 查询列表 */
|
|
|
|
|
getList() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|