|
|
|
@ -423,6 +423,39 @@
|
|
|
|
|
prop="remark"
|
|
|
|
|
/>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-if="fileType == 'archives_report'"
|
|
|
|
|
v-show="total10 > 0"
|
|
|
|
|
:total="total10"
|
|
|
|
|
:page.sync="queryParams.pageNo"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
/>
|
|
|
|
|
<!-- 会计报表列表 -->
|
|
|
|
|
<el-table
|
|
|
|
|
v-if="fileType == 'accounting_report'"
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
:data="accountingReportList"
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
<el-table-column label="报表文件名称" align="center" prop="name" />
|
|
|
|
|
<el-table-column label="报表文件url" align="center" prop="url" />
|
|
|
|
|
<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="createTime"
|
|
|
|
|
width="180"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- 其他会计分页组件 -->
|
|
|
|
|
<pagination
|
|
|
|
|
v-if="fileType == 'archives_other'"
|
|
|
|
@ -989,6 +1022,7 @@ import { getSiteTree } from "@/api/setting/organization";
|
|
|
|
|
import { getOrganizationPage } from "@/api/setting/organization";
|
|
|
|
|
import { getVoucherPage } from "@/api/accounting/voucher";
|
|
|
|
|
import { getAccountingBookPage } from "@/api/accounting/book";
|
|
|
|
|
import { getAccountingReportPage } from "@/api/accounting/report";
|
|
|
|
|
import { getOtherPage } from "@/api/accounting/other";
|
|
|
|
|
import { getElectronicEmployeePage } from "@/api/ea/electronicEmployee/electronicEmployee";
|
|
|
|
|
import { getElectronicContractsPage } from "@/api/ea/electronicContracts/electronicContracts";
|
|
|
|
@ -1044,8 +1078,10 @@ export default {
|
|
|
|
|
total7: 0,
|
|
|
|
|
total8: 0,
|
|
|
|
|
total9: 0,
|
|
|
|
|
total10: 0,
|
|
|
|
|
accountingVoucherList: [], // 会计凭证列表
|
|
|
|
|
accountingBookList: [], //会计账簿列表
|
|
|
|
|
accountingReportList: [], //会计报表列表
|
|
|
|
|
archivesOtherList: [], //其他会计列表
|
|
|
|
|
electronicEmployeeList: [], //员工档案列表
|
|
|
|
|
electronicContractsList: [], //合同档案列表
|
|
|
|
@ -1187,6 +1223,14 @@ export default {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/** 查询会计报表列表 */
|
|
|
|
|
getAccountingReportPageLineList() {
|
|
|
|
|
getAccountingReportPage(this.queryParams1).then((response) => {
|
|
|
|
|
this.accountingReportList = response.data.list;
|
|
|
|
|
this.total10 = response.data.total;
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 文件预览
|
|
|
|
|
* @param fileUrl
|
|
|
|
@ -1394,7 +1438,10 @@ export default {
|
|
|
|
|
this.getElectronicConsultationLineList();
|
|
|
|
|
} else if (row.fileType == "electronic_other") {
|
|
|
|
|
this.getElectronicOtherLineList();
|
|
|
|
|
}else if (row.fileType == "accounting_report") {
|
|
|
|
|
this.getAccountingReportPageLineList();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const id = row.id;
|
|
|
|
|
getRecord(id).then((response) => {
|
|
|
|
|
this.form = response.data;
|
|
|
|
|