归档详情新增列表

main
mo 1 year ago
parent 6aaac2fbd2
commit 8a97c44bf5

@ -90,7 +90,6 @@
:data="list"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="档案类型" align="center" prop="fileType">
<template v-slot="scope">
@ -160,7 +159,7 @@
<el-dialog
:title="title"
:visible.sync="open"
width="1000px"
width="1200px"
append-to-body
>
<el-form ref="form" :model="form" :rules="rules" label-width="98px">
@ -295,6 +294,677 @@
/>
</el-form-item>
</el-form>
<!-- 会计凭证列表 -->
<el-table
v-if="fileType == 'accounting_voucher'"
v-loading="loading"
:data="accountingVoucherList"
@selection-change="handleSelectionChange"
>
<el-table-column label="凭证号" align="center" prop="voucherNum" />
<el-table-column label="凭证日期" align="center" prop="voucherTime" />
<el-table-column label="摘要" align="center" prop="digest" />
<el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="审核人" align="center" prop="audit" />
<el-table-column label="制单人" align="center" prop="createBy" />
<el-table-column label="凭证类型" align="center" prop="type">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ACCOUNTING_VOUCHER_TYPE"
:value="scope.row.type"
/>
</template>
</el-table-column>
<el-table-column label="完整性" align="center" prop="cherks">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
:value="scope.row.cherks"
/>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
</el-table>
<!-- 会计凭证分页组件 -->
<pagination
v-if="fileType == 'accounting_voucher'"
v-show="total1 > 0"
:total="total1"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 会计账簿列表 -->
<el-table
v-if="fileType == 'accounting_book'"
v-loading="loading"
:data="accountingBookList"
@selection-change="handleSelectionChange"
>
<el-table-column label="账簿名称" align="center" prop="name">
<template slot-scope="scope">
<el-button type="text" @click="openLink(scope.row.uri)">
{{ 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="source" />
<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 == 'accounting_book'"
v-show="total2 > 0"
:total="total2"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 其他会计档案列表 -->
<el-table
v-loading="loading"
:data="archivesOtherList"
v-if="fileType == 'accounting_other'"
@selection-change="handleSelectionChange"
>
<el-table-column label="表名" align="center" prop="name" />
<el-table-column
label="OA/ERP流程编号"
align="center"
prop="flowCode"
/>
<el-table-column label="文件来源" align="center" prop="source" />
<el-table-column label="年度" align="center" prop="year" />
<el-table-column label="会计期间" align="center" prop="period" />
<el-table-column label="业务类型" align="center" prop="businessType">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ACCOUNTING_OTHER_TYPE"
:value="scope.row.businessType"
/>
</template>
</el-table-column>
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="文件地址" align="center" prop="fileUrl">
<template slot-scope="scope">
<el-button type="text" @click="openLink(scope.row.fileUrl)">
{{ scope.row.fileUrl }}
</el-button>
</template>
</el-table-column>
<el-table-column label="归档状态" align="center" prop="archiveState" />
<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-column
label="备注"
align="center"
type="textarea"
prop="remark"
/>
</el-table>
<!-- 其他会计分页组件 -->
<pagination
v-if="fileType == 'accounting_other'"
v-show="total3 > 0"
:total="total3"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 员工档案列表 -->
<el-table
v-loading="loading"
:data="electronicEmployeeList"
v-if="fileType == 'electronic_employee'"
@selection-change="handleSelectionChange"
>
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="所属部门" align="center" prop="deptName" />
<el-table-column label="员工姓名" align="center" prop="name" />
<el-table-column label="性别" align="center" prop="gender">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.SYSTEM_USER_SEX"
:value="scope.row.gender"
/>
</template>
</el-table-column>
<el-table-column label="国籍" align="center" prop="nationality" />
<el-table-column label="联系方式" align="center" prop="contactNumber" />
<el-table-column label="身份证号" align="center" prop="idCardNumber" />
<el-table-column label="年度" align="center" prop="year" />
<el-table-column label="月份" align="center" prop="period" />
<el-table-column label="借阅状态" align="center" prop="borrowStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.BORROW_STATUS"
:value="scope.row.borrowStatus"
/>
</template>
</el-table-column>
<el-table-column
label="归档时间"
align="center"
prop="recordTime"
width="98px"
/>
<el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="完整性" align="center" prop="cherks" />
<el-table-column label="归档状态" align="center" prop="fileStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ARCHIVES_FILE_STATUS"
:value="scope.row.fileStatus"
/>
</template>
</el-table-column>
<el-table-column label="制单人" align="center" prop="createBy" />
<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 == 'electronic_employee'"
v-show="total4 > 0"
:total="total4"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 合同档案列表 -->
<el-table
v-loading="loading"
:data="electronicContractsList"
v-if="fileType == 'electronic_contracts'"
>
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="所属部门" align="center" prop="deptName" />
<el-table-column label="合同编号" align="center" prop="contractCode" />
<el-table-column label="合同名称" align="center" prop="contractTitle" />
<el-table-column label="合同类型" align="center" prop="contractType">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.CONTRACT_TYPE"
:value="scope.row.contractType"
/>
</template>
</el-table-column>
<el-table-column label="签署方" align="center" prop="signatory" />
<el-table-column
label="签署日期"
align="center"
prop="signDate"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.signDate) }}</span>
</template>
</el-table-column>
<el-table-column
label="生效日期"
align="center"
prop="effectiveDate"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.effectiveDate) }}</span>
</template>
</el-table-column>
<el-table-column
label="截止日期"
align="center"
prop="expiryDate"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.expiryDate) }}</span>
</template>
</el-table-column>
<el-table-column label="合同状态" align="center" prop="contractStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.CONTRACT_STATUS"
:value="scope.row.contractStatus"
/>
</template>
</el-table-column>
<el-table-column label="金额" align="center" prop="contractAmount" />
<el-table-column
label="查看附件"
align="center"
prop="contractAttachment"
width="180"
>
<template slot-scope="scope">
<el-button
type="text"
@click="openLink(scope.row.contractAttachment)"
>
{{ scope.row.contractAttachment }}
</el-button>
</template>
</el-table-column>
<el-table-column label="处理结果" align="center" prop="handleResult">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.HANDLE_RESULT"
:value="scope.row.handleResult"
/>
</template>
</el-table-column>
<el-table-column label="年度" align="center" prop="year" />
<el-table-column label="月份" align="center" prop="period" />
<el-table-column label="借阅状态" align="center" prop="borrowStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.BORROW_STATUS"
:value="scope.row.borrowStatus"
/>
</template>
</el-table-column>
<el-table-column
label="归档时间"
align="center"
prop="recordTime"
width="98px"
>
</el-table-column>
<el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="完整性" align="center" prop="cherks" />
<el-table-column label="归档状态" align="center" prop="fileStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ARCHIVES_FILE_STATUS"
:value="scope.row.fileStatus"
/>
</template>
</el-table-column>
<el-table-column label="制单人" align="center" prop="createBy" />
<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 == 'electronic_contracts'"
v-show="total5 > 0"
:total="total5"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 资产档案列表 -->
<el-table
v-loading="loading"
:data="electronicAssetsList"
v-if="fileType == 'electronic_assets'"
@selection-change="handleSelectionChange"
>
<el-table-column label="业务实体名称" align="center" prop="company" />
<el-table-column label="部门名称" align="center" prop="deptName" />
<el-table-column label="资产编号" align="center" prop="assetCode" />
<el-table-column label="资产名称" align="center" prop="assetName" />
<el-table-column
label="资产描述"
align="center"
prop="assetDescription"
/>
<el-table-column label="资产类型" align="center" prop="assetType" />
<el-table-column
label="购买日期"
align="center"
prop="purchaseDate"
width="180"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.purchaseDate) }}</span>
</template>
</el-table-column>
<el-table-column
label="报废日期"
align="center"
prop="disposalDate"
width="180"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.disposalDate) }}</span>
</template>
</el-table-column>
<el-table-column label="资产状态" align="center" prop="assetStatus" />
<el-table-column label="资产价格" align="center" prop="purchasePrice" />
<el-table-column label="资产数量" align="center" prop="assetQuantity" />
<el-table-column
label="购买渠道"
align="center"
prop="purchaseChannel"
/>
<el-table-column label="文件来源" align="center" prop="source" />
<el-table-column label="年度" align="center" prop="year" />
<el-table-column label="月份" align="center" prop="period" />
<el-table-column label="借阅状态" align="center" prop="borrowStatus" />
<el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="完整性" align="center" prop="cherks" />
<el-table-column label="归档状态" align="center" prop="fileStatus" />
<el-table-column label="制单人" align="center" prop="createBy" />
<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 == 'electronic_assets'"
v-show="total6 > 0"
:total="total6"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 客诉档案列表 -->
<el-table
v-loading="loading"
:data="electronicCustomerComplaintList"
v-if="fileType == 'electronic_customer_complaint'"
@selection-change="handleSelectionChange"
>
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="所属部门" align="center" prop="deptName" />
<el-table-column label="客诉编号" align="center" prop="complaintCode" />
<el-table-column label="客户名称" align="center" prop="customerName" />
<el-table-column label="客户电话" align="center" prop="customerPhone" />
<el-table-column
label="客诉时间"
align="center"
prop="complaintTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.complaintTime) }}</span>
</template>
</el-table-column>
<el-table-column label="客诉类型" align="center" prop="complaintType" />
<el-table-column
label="客诉内容"
align="center"
prop="complaintContent"
>
<template v-slot="scope">
<span v-html="scope.row.complaintContent"></span>
</template>
</el-table-column>
<el-table-column label="处理人" align="center" prop="handler" />
<el-table-column
label="处理时间"
align="center"
prop="handleTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.handleTime) }}</span>
</template>
</el-table-column>
<el-table-column label="处理结果" align="center" prop="handleResult">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.HANDLE_RESULT"
:value="scope.row.handleResult"
/>
</template>
</el-table-column>
<el-table-column label="年度" align="center" prop="year" />
<el-table-column label="月份" align="center" prop="period" />
<el-table-column label="借阅状态" align="center" prop="borrowStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.BORROW_STATUS"
:value="scope.row.borrowStatus"
/>
</template>
</el-table-column>
<el-table-column
label="归档时间"
align="center"
prop="recordTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.recordTime) }}</span>
</template>
</el-table-column>
<el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="完整性" align="center" prop="cherks" />
<el-table-column label="归档状态" align="center" prop="fileStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ARCHIVES_FILE_STATUS"
:value="scope.row.fileStatus"
/>
</template>
</el-table-column>
<el-table-column label=" 制单人" align="center" prop="createBy" />
<el-table-column
label="创建日期"
align="center"
prop="createTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
</el-table>
<!-- 客诉档案分页组件 -->
<pagination
v-if="fileType == 'electronic_customer_complaint'"
v-show="total7 > 0"
:total="total7"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 咨询档案列表 -->
<el-table
v-loading="loading"
:data="electronicConsultationList"
v-if="fileType == 'electronic_consultation'"
@selection-change="handleSelectionChange"
>
<el-table-column label="业务实体 " align="center" prop="company" />
<el-table-column label="所属部门 " align="center" prop="systemDept" />
<el-table-column
label="咨询编号 "
align="center"
prop="consultationId"
/>
<el-table-column
label="咨询类型 "
align="center"
prop="consultationType"
/>
<el-table-column
label="咨询标题 "
align="center"
prop="consultationTitle"
/>
<el-table-column
label="咨询内容 "
align="center"
prop="consultationContent"
>
<template v-slot="scope">
<span v-html="scope.row.consultationContent"></span>
</template>
</el-table-column>
<el-table-column label="咨询人 " align="center" prop="consultorName" />
<el-table-column
label="咨询时间 "
align="center"
prop="consultationTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.consultationTime) }}</span>
</template>
</el-table-column>
<el-table-column label="处理人员 " align="center" prop="handler" />
<el-table-column
label="处理日期 "
align="center"
prop="handleTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.handleTime) }}</span>
</template>
</el-table-column>
<el-table-column label="处理结果 " align="center" prop="handleResult">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.HANDLE_RESULT"
:value="scope.row.handleResult"
/>
</template>
</el-table-column>
<el-table-column label="年度 " align="center" prop="year" />
<el-table-column label="月份 " align="center" prop="period" />
<el-table-column label="借阅状态 " align="center" prop="borrowStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.BORROW_STATUS"
:value="scope.row.borrowStatus"
/>
</template>
</el-table-column>
<el-table-column
label="归档时间 "
align="center"
prop="recordTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.recordTime) }}</span>
</template>
</el-table-column>
<el-table-column label="纸档位置 " align="center" prop="position" />
<el-table-column label="完整性 " align="center" prop="cherks" />
<el-table-column label="归档状态" align="center" prop="fileStatus">
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ARCHIVES_FILE_STATUS"
:value="scope.row.fileStatus"
/>
</template>
</el-table-column>
<el-table-column label="制单人 " align="center" prop="createBy" />
<el-table-column
label="创建日期 "
align="center"
prop="createTime"
width="98px"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
</el-table>
<!-- 咨询档案分页组件 -->
<pagination
v-if="fileType == 'electronic_consultation'"
v-show="total8 > 0"
:total="total8"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 其他电子档案列表 -->
<el-table
v-loading="loading"
:data="electronicOtherList"
v-if="fileType == 'electronic_other'"
@selection-change="handleSelectionChange"
>
<el-table-column label="表名" align="center" prop="name" />
<el-table-column
label="OA/ERP流程编号 "
align="center"
prop="flowCode"
/>
<el-table-column label="文件来源" align="center" prop="source" />
<el-table-column label="年度" align="center" prop="year" />
<el-table-column label="月份" align="center" prop="period" />
<el-table-column label="业务类型" align="center" prop="businessType" />
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="删除状态" align="center" prop="delStatus" />
<el-table-column label="文件后缀" align="center" prop="suffix" />
<el-table-column label="文件地址" align="center" prop="fileUrl" />
<el-table-column label="绝对路径" align="center" prop="fileAp" />
<el-table-column label="流程号" align="center" prop="flowId" />
<el-table-column label="摘要" align="center" prop="note" />
<el-table-column label="所属部门" align="center" prop="deptName" />
<el-table-column label="归档状态" align="center" prop="archiveState" />
<el-table-column label="制单人" align="center" prop="createBy" />
<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 == 'electronic_other'"
v-show="total9 > 0"
:total="total9"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
@ -314,10 +984,19 @@ import {
createCodeRule,
archivesRecord,
} from "@/api/archives/record";
// import { listDept } from "@/api/system/dept";
import { listData } from "@/api/system/dict/data";
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 { getOtherPage } from "@/api/accounting/other";
import { getElectronicEmployeePage } from "@/api/ea/electronicEmployee/electronicEmployee";
import { getElectronicContractsPage } from "@/api/ea/electronicContracts/electronicContracts";
import { getElectronicAssetsPage } from "@/api/ea/electronicAssets/assetFile";
import { getElectronicCustomerComplaintPage } from "@/api/ea/electronicCustomerComplaint/electronicCustomerComplaint";
import { getElectronicConsultationPage } from "@/api/ea/electronicConsultation/electronicConsultation";
import { getElectronicOtherPage } from "@/api/ea/electronicOther/electronicOther";
import { getFileCategoryPage } from "@/api/setting/fileCategory";
export default {
name: "Record",
@ -355,6 +1034,25 @@ export default {
title: "",
//
open: false,
//
total1: 0,
total2: 0,
total3: 0,
total4: 0,
total5: 0,
total6: 0,
total7: 0,
total8: 0,
total9: 0,
accountingVoucherList: [], //
accountingBookList: [], //簿
archivesOtherList: [], //
electronicEmployeeList: [], //
electronicContractsList: [], //
electronicAssetsList: [], //
electronicCustomerComplaintList: [], //
electronicConsultationList: [], //
electronicOtherList: [], //
//
queryParams: {
pageNo: 1,
@ -390,9 +1088,15 @@ export default {
depotId: null, //
cabinetId: null, //
},
queryParams1: {
pageNo: 1,
pageSize: 10,
recordId: null,
},
//
form: {},
Fileform: {},
fileType: "",
//
ids: [],
//
@ -416,28 +1120,85 @@ export default {
getList() {
this.loading = true;
//
getRecordPage(this.queryParams).then((response) => {
getRecordPage(this.queryParams1).then((response) => {
this.list = response.data.list;
this.total = response.data.total;
this.loading = false;
});
},
//
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id);
this.multiple = !selection.length;
/** 查询会计凭证列表 */
getVoucherLineList() {
this.loading = true;
getVoucherPage(this.queryParams1).then((response) => {
this.accountingVoucherList = response.data.list;
this.total1 = response.data.total;
this.loading = false;
});
},
/** 查询会计账簿列表 */
getAccountingBookLineList() {
getAccountingBookPage(this.queryParams1).then((response) => {
this.accountingBookList = response.data.list;
this.total2 = response.data.total;
this.loading = false;
});
},
/** 查询其他会计列表 */
getOtherLineList() {
getOtherPage(this.queryParams1).then((response) => {
this.archivesOtherList = response.data.list;
this.total3 = response.data.total;
this.loading = false;
});
},
/** 查询员工档案列表 */
getElectronicEmployeeLineList() {
getElectronicEmployeePage(this.queryParams1).then((response) => {
this.electronicEmployeeList = response.data.list;
this.total4 = response.data.total;
this.loading = false;
});
},
/** 查询合同档案列表 */
getElectronicContractsLineList() {
getElectronicContractsPage(this.queryParams1).then((response) => {
this.electronicContractsList = response.data.list;
this.total5 = response.data.total;
this.loading = false;
});
},
/** 查询资产档案列表 */
getElectronicAssetsLineList() {
getElectronicAssetsPage(this.queryParams1).then((response) => {
this.electronicAssetsList = response.data.list;
this.total6 = response.data.total;
this.loading = false;
});
},
/** 查询客诉档案列表 */
getElectronicCustomerComplaintLineList() {
getElectronicCustomerComplaintPage(this.queryParams1).then((response) => {
this.electronicCustomerComplaintList = response.data.list;
this.total7 = response.data.total;
this.loading = false;
});
},
/** 查询咨询档案列表 */
getElectronicConsultationLineList() {
getElectronicConsultationPage(this.queryParams1).then((response) => {
this.electronicConsultationList = response.data.list;
this.total8 = response.data.total;
this.loading = false;
});
},
/** 查询其他电子档案 */
getElectronicOtherLineList() {
getElectronicOtherPage(this.queryParams1).then((response) => {
this.electronicOtherList = response.data.list;
this.total9 = response.data.total;
this.loading = false;
});
},
// //
// getCompanyList() {
// listDept().then((response) => {
// this.companyOptions = this.handleTree(response.data, "id", "parentId");
// console.log(this.companyOptions);
// });
// },
// handleChange(value) {
// console.log(value, value[value.length - 1]);
// this.form.companyId = value[value.length - 1]; //id
// },
//
getOrganizationList() {
getOrganizationPage().then((response) => {
@ -450,7 +1211,14 @@ export default {
this.form.caseNum = data.caseNum;
this.Fileform.caseNum = data.caseNum;
},
/** 获取目录号 */
getCatalogNum() {
this.loading = true;
//
getFileCategoryPage().then((response) => {
this.catalogNumOptions = response.data.list;
});
},
//
handleInitList() {
//
@ -469,14 +1237,6 @@ export default {
}).then((res) => {
this.caseNumOptions = res.data.list || [];
});
//
listData({
pageNo: 1,
pageSize: 100,
dictType: "archives_catalog_num",
}).then((res) => {
this.catalogNumOptions = res.data.list || [];
});
//
listData({
pageNo: 1,
@ -597,6 +1357,11 @@ export default {
this.queryParams.pageNo = 1;
this.getList();
},
//
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id);
this.multiple = !selection.length;
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
@ -611,6 +1376,27 @@ export default {
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
this.fileType = row.fileType;
this.queryParams1.recordId = row.id;
if (row.fileType == "accounting_voucher") {
this.getVoucherLineList();
} else if (row.fileType == "accounting_book") {
this.getAccountingBookLineList();
} else if (row.fileType == "accounting_other") {
this.getOtherLineList();
} else if (row.fileType == "electronic_employee") {
this.getElectronicEmployeeLineList();
} else if (row.fileType == "electronic_contracts") {
this.getElectronicContractsLineList();
} else if (row.fileType == "electronic_assets") {
this.getElectronicAssetsLineList();
} else if (row.fileType == "electronic_customer_complaint") {
this.getElectronicCustomerComplaintLineList();
} else if (row.fileType == "electronic_consultation") {
this.getElectronicConsultationLineList();
} else if (row.fileType == "electronic_other") {
this.getElectronicOtherLineList();
}
const id = row.id;
getRecord(id).then((response) => {
this.form = response.data;

Loading…
Cancel
Save