|
|
|
@ -1,227 +1,241 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<!-- 搜索工作栏 -->
|
|
|
|
|
<el-form
|
|
|
|
|
:model="queryParams"
|
|
|
|
|
ref="queryForm"
|
|
|
|
|
size="small"
|
|
|
|
|
:inline="true"
|
|
|
|
|
v-show="showSearch"
|
|
|
|
|
label-width="98px"
|
|
|
|
|
>
|
|
|
|
|
<el-form-item label="合同编号" prop="contractCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.contractCode"
|
|
|
|
|
placeholder="请输入合同编号"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="合同类型" prop="contractType">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.contractType"
|
|
|
|
|
placeholder="请选择合同类型"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_TYPE)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="签署日期" prop="signDate">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.signDate"
|
|
|
|
|
style="width: 240px"
|
|
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="-"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
:default-time="['00:00:00', '23:59:59']"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="合同状态" prop="contractStatus">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.contractStatus"
|
|
|
|
|
placeholder="请选择状态"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_STATUS)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="年度" prop="year">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
popper-class="due_year"
|
|
|
|
|
v-model="queryParams.year"
|
|
|
|
|
value-format="yyyy"
|
|
|
|
|
type="year"
|
|
|
|
|
placeholder="请选择会计年份"
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="月份" prop="period">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
popper-class="due_month"
|
|
|
|
|
v-model="queryParams.period"
|
|
|
|
|
format="M月"
|
|
|
|
|
value-format="M"
|
|
|
|
|
type="month"
|
|
|
|
|
placeholder="请选择会计月份"
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="借阅状态" prop="borrowStatus">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.borrowStatus"
|
|
|
|
|
placeholder="请选择借阅状态"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.BORROW_STATUS)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="归档状态" prop="fileStatus">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.fileStatus"
|
|
|
|
|
placeholder="请选择归档状态"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.ARCHIVES_FILE_STATUS)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleQuery"
|
|
|
|
|
>搜索</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
<el-card>
|
|
|
|
|
<!-- 搜索工作栏 -->
|
|
|
|
|
<el-form
|
|
|
|
|
:model="queryParams"
|
|
|
|
|
ref="queryForm"
|
|
|
|
|
size="small"
|
|
|
|
|
:inline="true"
|
|
|
|
|
v-show="showSearch"
|
|
|
|
|
label-width="98px"
|
|
|
|
|
>
|
|
|
|
|
<div class="filter-box">
|
|
|
|
|
<div class="filter-lf">
|
|
|
|
|
<el-form-item label="合同编号" prop="contractCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.contractCode"
|
|
|
|
|
placeholder="请输入合同编号"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="合同类型" prop="contractType">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.contractType"
|
|
|
|
|
placeholder="请选择合同类型"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_TYPE)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="签署日期" prop="signDate">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.signDate"
|
|
|
|
|
style="width: 240px"
|
|
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="-"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
:default-time="['00:00:00', '23:59:59']"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="合同状态" prop="contractStatus">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.contractStatus"
|
|
|
|
|
placeholder="请选择状态"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_STATUS)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="年度" prop="year">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
popper-class="due_year"
|
|
|
|
|
v-model="queryParams.year"
|
|
|
|
|
value-format="yyyy"
|
|
|
|
|
type="year"
|
|
|
|
|
placeholder="请选择会计年份"
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="月份" prop="period">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
popper-class="due_month"
|
|
|
|
|
v-model="queryParams.period"
|
|
|
|
|
format="M月"
|
|
|
|
|
value-format="M"
|
|
|
|
|
type="month"
|
|
|
|
|
placeholder="请选择会计月份"
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="借阅状态" prop="borrowStatus">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.borrowStatus"
|
|
|
|
|
placeholder="请选择借阅状态"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.BORROW_STATUS)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="归档状态" prop="fileStatus">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.fileStatus"
|
|
|
|
|
placeholder="请选择归档状态"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in this.getDictDatas(
|
|
|
|
|
DICT_TYPE.ARCHIVES_FILE_STATUS
|
|
|
|
|
)"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
icon="el-icon-search"
|
|
|
|
|
@click="handleQuery"
|
|
|
|
|
>搜索</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button icon="el-icon-refresh" @click="resetQuery"
|
|
|
|
|
>重置</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
<!-- 操作工具栏 -->
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleAdd"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:create']"
|
|
|
|
|
>新增
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="danger"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
size="mini"
|
|
|
|
|
:disabled="multiple"
|
|
|
|
|
@click="handleDelete"
|
|
|
|
|
>删除</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="warning"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
:loading="exportLoading"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:export']"
|
|
|
|
|
>导出
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<right-toolbar
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
@queryTable="getList"
|
|
|
|
|
></right-toolbar>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- 操作工具栏 -->
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleAdd"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:create']"
|
|
|
|
|
>新增
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="danger"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
size="mini"
|
|
|
|
|
:disabled="multiple"
|
|
|
|
|
@click="handleDelete"
|
|
|
|
|
>删除</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="warning"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
:loading="exportLoading"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:export']"
|
|
|
|
|
>导出
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<right-toolbar
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
@queryTable="getList"
|
|
|
|
|
></right-toolbar>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
|
<el-table
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
: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="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"
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
|
<el-table
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
stripe
|
|
|
|
|
border
|
|
|
|
|
:data="list"
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<span>{{ parseTime2(scope.row.signDate) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="生效日期"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="effectiveDate"
|
|
|
|
|
width="98px"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<span>{{ parseTime2(scope.row.effectiveDate) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="截止日期"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="expiryDate"
|
|
|
|
|
width="98px"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<span>{{ parseTime2(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
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
<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>{{ parseTime2(scope.row.signDate) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="生效日期"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="effectiveDate"
|
|
|
|
|
width="98px"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<span>{{ parseTime2(scope.row.effectiveDate) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="截止日期"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="expiryDate"
|
|
|
|
|
width="98px"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<span>{{ parseTime2(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"
|
|
|
|
@ -236,113 +250,113 @@
|
|
|
|
|
</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">
|
|
|
|
|
<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="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-column
|
|
|
|
|
label="操作"
|
|
|
|
|
align="center"
|
|
|
|
|
class-name="small-padding fixed-width"
|
|
|
|
|
fixed="right"
|
|
|
|
|
width="180px"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-view"
|
|
|
|
|
v-if="scope.row.contractAttachment"
|
|
|
|
|
@click="handleViewFJ(scope.row)"
|
|
|
|
|
>查看附件
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-view"
|
|
|
|
|
@click="handleView(scope.row)"
|
|
|
|
|
>查看
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="scope.row.fileStatus == '0'"
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:update']"
|
|
|
|
|
>修改
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="scope.row.fileStatus == '0'"
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
@click="handleDelete(scope.row)"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:delete']"
|
|
|
|
|
>删除
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- 分页组件 -->
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total > 0"
|
|
|
|
|
:total="total"
|
|
|
|
|
:page.sync="queryParams.pageNo"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
/>
|
|
|
|
|
<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">
|
|
|
|
|
<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="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-column
|
|
|
|
|
label="操作"
|
|
|
|
|
align="center"
|
|
|
|
|
class-name="small-padding fixed-width"
|
|
|
|
|
fixed="right"
|
|
|
|
|
width="180px"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-view"
|
|
|
|
|
v-if="scope.row.contractAttachment"
|
|
|
|
|
@click="handleViewFJ(scope.row)"
|
|
|
|
|
>查看附件
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-view"
|
|
|
|
|
@click="handleView(scope.row)"
|
|
|
|
|
>查看
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="scope.row.fileStatus == '0'"
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:update']"
|
|
|
|
|
>修改
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="scope.row.fileStatus == '0'"
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
@click="handleDelete(scope.row)"
|
|
|
|
|
v-hasPermi="['ea:electronic-contracts:delete']"
|
|
|
|
|
>删除
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- 分页组件 -->
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total > 0"
|
|
|
|
|
:total="total"
|
|
|
|
|
:page.sync="queryParams.pageNo"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
/>
|
|
|
|
|
</el-card>
|
|
|
|
|
<!-- 对话框(添加 / 修改) -->
|
|
|
|
|
<el-dialog
|
|
|
|
|
:title="title"
|
|
|
|
@ -817,7 +831,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
showClose: true,
|
|
|
|
|
message: res.data.name+"上传成功",
|
|
|
|
|
message: res.data.name + "上传成功",
|
|
|
|
|
type: "success",
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
@ -1021,3 +1035,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
@import "@/assets/styles/header/index.scss";
|
|
|
|
|
@import "@/assets/styles/common/index.scss";
|
|
|
|
|
</style>
|
|
|
|
|