|
|
@ -1,227 +1,241 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="app-container">
|
|
|
|
<div class="app-container">
|
|
|
|
<!-- 搜索工作栏 -->
|
|
|
|
<el-card>
|
|
|
|
<el-form
|
|
|
|
<!-- 搜索工作栏 -->
|
|
|
|
:model="queryParams"
|
|
|
|
<el-form
|
|
|
|
ref="queryForm"
|
|
|
|
:model="queryParams"
|
|
|
|
size="small"
|
|
|
|
ref="queryForm"
|
|
|
|
:inline="true"
|
|
|
|
size="small"
|
|
|
|
v-show="showSearch"
|
|
|
|
:inline="true"
|
|
|
|
label-width="98px"
|
|
|
|
v-show="showSearch"
|
|
|
|
>
|
|
|
|
label-width="98px"
|
|
|
|
<el-form-item label="合同编号" prop="contractCode">
|
|
|
|
>
|
|
|
|
<el-input
|
|
|
|
<div class="filter-box">
|
|
|
|
v-model="queryParams.contractCode"
|
|
|
|
<div class="filter-lf">
|
|
|
|
placeholder="请输入合同编号"
|
|
|
|
<el-form-item label="合同编号" prop="contractCode">
|
|
|
|
clearable
|
|
|
|
<el-input
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
v-model="queryParams.contractCode"
|
|
|
|
/>
|
|
|
|
placeholder="请输入合同编号"
|
|
|
|
</el-form-item>
|
|
|
|
clearable
|
|
|
|
<el-form-item label="合同类型" prop="contractType">
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
<el-select
|
|
|
|
/>
|
|
|
|
v-model="queryParams.contractType"
|
|
|
|
</el-form-item>
|
|
|
|
placeholder="请选择合同类型"
|
|
|
|
<el-form-item label="合同类型" prop="contractType">
|
|
|
|
clearable
|
|
|
|
<el-select
|
|
|
|
size="small"
|
|
|
|
v-model="queryParams.contractType"
|
|
|
|
>
|
|
|
|
placeholder="请选择合同类型"
|
|
|
|
<el-option
|
|
|
|
clearable
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_TYPE)"
|
|
|
|
size="small"
|
|
|
|
:key="dict.value"
|
|
|
|
>
|
|
|
|
:label="dict.label"
|
|
|
|
<el-option
|
|
|
|
:value="dict.value"
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_TYPE)"
|
|
|
|
/>
|
|
|
|
:key="dict.value"
|
|
|
|
</el-select>
|
|
|
|
:label="dict.label"
|
|
|
|
</el-form-item>
|
|
|
|
:value="dict.value"
|
|
|
|
<el-form-item label="签署日期" prop="signDate">
|
|
|
|
/>
|
|
|
|
<el-date-picker
|
|
|
|
</el-select>
|
|
|
|
v-model="queryParams.signDate"
|
|
|
|
</el-form-item>
|
|
|
|
style="width: 240px"
|
|
|
|
<el-form-item label="签署日期" prop="signDate">
|
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
<el-date-picker
|
|
|
|
type="daterange"
|
|
|
|
v-model="queryParams.signDate"
|
|
|
|
range-separator="-"
|
|
|
|
style="width: 240px"
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
type="daterange"
|
|
|
|
:default-time="['00:00:00', '23:59:59']"
|
|
|
|
range-separator="-"
|
|
|
|
/>
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
</el-form-item>
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
<el-form-item label="合同状态" prop="contractStatus">
|
|
|
|
:default-time="['00:00:00', '23:59:59']"
|
|
|
|
<el-select
|
|
|
|
/>
|
|
|
|
v-model="queryParams.contractStatus"
|
|
|
|
</el-form-item>
|
|
|
|
placeholder="请选择状态"
|
|
|
|
<el-form-item label="合同状态" prop="contractStatus">
|
|
|
|
clearable
|
|
|
|
<el-select
|
|
|
|
size="small"
|
|
|
|
v-model="queryParams.contractStatus"
|
|
|
|
>
|
|
|
|
placeholder="请选择状态"
|
|
|
|
<el-option
|
|
|
|
clearable
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_STATUS)"
|
|
|
|
size="small"
|
|
|
|
:key="dict.value"
|
|
|
|
>
|
|
|
|
:label="dict.label"
|
|
|
|
<el-option
|
|
|
|
:value="dict.value"
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.CONTRACT_STATUS)"
|
|
|
|
/>
|
|
|
|
:key="dict.value"
|
|
|
|
</el-select>
|
|
|
|
:label="dict.label"
|
|
|
|
</el-form-item>
|
|
|
|
:value="dict.value"
|
|
|
|
<el-form-item label="年度" prop="year">
|
|
|
|
/>
|
|
|
|
<el-date-picker
|
|
|
|
</el-select>
|
|
|
|
popper-class="due_year"
|
|
|
|
</el-form-item>
|
|
|
|
v-model="queryParams.year"
|
|
|
|
<el-form-item label="年度" prop="year">
|
|
|
|
value-format="yyyy"
|
|
|
|
<el-date-picker
|
|
|
|
type="year"
|
|
|
|
popper-class="due_year"
|
|
|
|
placeholder="请选择会计年份"
|
|
|
|
v-model="queryParams.year"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
value-format="yyyy"
|
|
|
|
>
|
|
|
|
type="year"
|
|
|
|
</el-date-picker>
|
|
|
|
placeholder="请选择会计年份"
|
|
|
|
</el-form-item>
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
<el-form-item label="月份" prop="period">
|
|
|
|
>
|
|
|
|
<el-date-picker
|
|
|
|
</el-date-picker>
|
|
|
|
popper-class="due_month"
|
|
|
|
</el-form-item>
|
|
|
|
v-model="queryParams.period"
|
|
|
|
<el-form-item label="月份" prop="period">
|
|
|
|
format="M月"
|
|
|
|
<el-date-picker
|
|
|
|
value-format="M"
|
|
|
|
popper-class="due_month"
|
|
|
|
type="month"
|
|
|
|
v-model="queryParams.period"
|
|
|
|
placeholder="请选择会计月份"
|
|
|
|
format="M月"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
value-format="M"
|
|
|
|
>
|
|
|
|
type="month"
|
|
|
|
</el-date-picker>
|
|
|
|
placeholder="请选择会计月份"
|
|
|
|
</el-form-item>
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
<el-form-item label="借阅状态" prop="borrowStatus">
|
|
|
|
>
|
|
|
|
<el-select
|
|
|
|
</el-date-picker>
|
|
|
|
v-model="queryParams.borrowStatus"
|
|
|
|
</el-form-item>
|
|
|
|
placeholder="请选择借阅状态"
|
|
|
|
<el-form-item label="借阅状态" prop="borrowStatus">
|
|
|
|
clearable
|
|
|
|
<el-select
|
|
|
|
size="small"
|
|
|
|
v-model="queryParams.borrowStatus"
|
|
|
|
>
|
|
|
|
placeholder="请选择借阅状态"
|
|
|
|
<el-option
|
|
|
|
clearable
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.BORROW_STATUS)"
|
|
|
|
size="small"
|
|
|
|
:key="dict.value"
|
|
|
|
>
|
|
|
|
:label="dict.label"
|
|
|
|
<el-option
|
|
|
|
:value="dict.value"
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.BORROW_STATUS)"
|
|
|
|
/>
|
|
|
|
:key="dict.value"
|
|
|
|
</el-select>
|
|
|
|
:label="dict.label"
|
|
|
|
</el-form-item>
|
|
|
|
:value="dict.value"
|
|
|
|
<el-form-item label="归档状态" prop="fileStatus">
|
|
|
|
/>
|
|
|
|
<el-select
|
|
|
|
</el-select>
|
|
|
|
v-model="queryParams.fileStatus"
|
|
|
|
</el-form-item>
|
|
|
|
placeholder="请选择归档状态"
|
|
|
|
<el-form-item label="归档状态" prop="fileStatus">
|
|
|
|
clearable
|
|
|
|
<el-select
|
|
|
|
size="small"
|
|
|
|
v-model="queryParams.fileStatus"
|
|
|
|
>
|
|
|
|
placeholder="请选择归档状态"
|
|
|
|
<el-option
|
|
|
|
clearable
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.ARCHIVES_FILE_STATUS)"
|
|
|
|
size="small"
|
|
|
|
:key="dict.value"
|
|
|
|
>
|
|
|
|
:label="dict.label"
|
|
|
|
<el-option
|
|
|
|
:value="dict.value"
|
|
|
|
v-for="dict in this.getDictDatas(
|
|
|
|
/>
|
|
|
|
DICT_TYPE.ARCHIVES_FILE_STATUS
|
|
|
|
</el-select>
|
|
|
|
)"
|
|
|
|
</el-form-item>
|
|
|
|
:key="dict.value"
|
|
|
|
<el-form-item>
|
|
|
|
:label="dict.label"
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleQuery"
|
|
|
|
:value="dict.value"
|
|
|
|
>搜索</el-button
|
|
|
|
/>
|
|
|
|
>
|
|
|
|
</el-select>
|
|
|
|
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
</el-form>
|
|
|
|
<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-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
plain
|
|
|
|
plain
|
|
|
|
icon="el-icon-plus"
|
|
|
|
icon="el-icon-plus"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
@click="handleAdd"
|
|
|
|
@click="handleAdd"
|
|
|
|
v-hasPermi="['ea:electronic-contracts:create']"
|
|
|
|
v-hasPermi="['ea:electronic-contracts:create']"
|
|
|
|
>新增
|
|
|
|
>新增
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="danger"
|
|
|
|
type="danger"
|
|
|
|
plain
|
|
|
|
plain
|
|
|
|
icon="el-icon-delete"
|
|
|
|
icon="el-icon-delete"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
:disabled="multiple"
|
|
|
|
:disabled="multiple"
|
|
|
|
@click="handleDelete"
|
|
|
|
@click="handleDelete"
|
|
|
|
>删除</el-button
|
|
|
|
>删除</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="warning"
|
|
|
|
type="warning"
|
|
|
|
plain
|
|
|
|
plain
|
|
|
|
icon="el-icon-download"
|
|
|
|
icon="el-icon-download"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
@click="handleExport"
|
|
|
|
@click="handleExport"
|
|
|
|
:loading="exportLoading"
|
|
|
|
:loading="exportLoading"
|
|
|
|
v-hasPermi="['ea:electronic-contracts:export']"
|
|
|
|
v-hasPermi="['ea:electronic-contracts:export']"
|
|
|
|
>导出
|
|
|
|
>导出
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<right-toolbar
|
|
|
|
<right-toolbar
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
@queryTable="getList"
|
|
|
|
@queryTable="getList"
|
|
|
|
></right-toolbar>
|
|
|
|
></right-toolbar>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
<!-- 列表 -->
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
|
v-loading="loading"
|
|
|
|
v-loading="loading"
|
|
|
|
:data="list"
|
|
|
|
stripe
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
border
|
|
|
|
>
|
|
|
|
:data="list"
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
@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="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">
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
<span>{{ parseTime2(scope.row.signDate) }}</span>
|
|
|
|
<el-table-column label="业务实体" align="center" prop="company" />
|
|
|
|
</template>
|
|
|
|
<el-table-column label="所属部门" align="center" prop="deptName" />
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="合同编号" align="center" prop="contractCode" />
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column label="合同名称" align="center" prop="contractTitle" />
|
|
|
|
label="生效日期"
|
|
|
|
<el-table-column label="合同类型" align="center" prop="contractType">
|
|
|
|
align="center"
|
|
|
|
<template v-slot="scope">
|
|
|
|
prop="effectiveDate"
|
|
|
|
<dict-tag
|
|
|
|
width="98px"
|
|
|
|
:type="DICT_TYPE.CONTRACT_TYPE"
|
|
|
|
>
|
|
|
|
:value="scope.row.contractType"
|
|
|
|
<template v-slot="scope">
|
|
|
|
/>
|
|
|
|
<span>{{ parseTime2(scope.row.effectiveDate) }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="签署方" align="center" prop="signatory" />
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="截止日期"
|
|
|
|
label="签署日期"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
prop="expiryDate"
|
|
|
|
prop="signDate"
|
|
|
|
width="98px"
|
|
|
|
width="98px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template v-slot="scope">
|
|
|
|
<template v-slot="scope">
|
|
|
|
<span>{{ parseTime2(scope.row.expiryDate) }}</span>
|
|
|
|
<span>{{ parseTime2(scope.row.signDate) }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="合同状态" align="center" prop="contractStatus">
|
|
|
|
<el-table-column
|
|
|
|
<template v-slot="scope">
|
|
|
|
label="生效日期"
|
|
|
|
<dict-tag
|
|
|
|
align="center"
|
|
|
|
:type="DICT_TYPE.CONTRACT_STATUS"
|
|
|
|
prop="effectiveDate"
|
|
|
|
:value="scope.row.contractStatus"
|
|
|
|
width="98px"
|
|
|
|
/>
|
|
|
|
>
|
|
|
|
</template>
|
|
|
|
<template v-slot="scope">
|
|
|
|
</el-table-column>
|
|
|
|
<span>{{ parseTime2(scope.row.effectiveDate) }}</span>
|
|
|
|
<el-table-column label="金额" align="center" prop="contractAmount" />
|
|
|
|
</template>
|
|
|
|
<!-- <el-table-column
|
|
|
|
</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="查看附件"
|
|
|
|
label="查看附件"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
prop="contractAttachment"
|
|
|
|
prop="contractAttachment"
|
|
|
@ -236,113 +250,113 @@
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column> -->
|
|
|
|
</el-table-column> -->
|
|
|
|
<el-table-column label="处理结果" align="center" prop="handleResult">
|
|
|
|
<el-table-column label="处理结果" align="center" prop="handleResult">
|
|
|
|
<template v-slot="scope">
|
|
|
|
<template v-slot="scope">
|
|
|
|
<dict-tag
|
|
|
|
<dict-tag
|
|
|
|
:type="DICT_TYPE.HANDLE_RESULT"
|
|
|
|
:type="DICT_TYPE.HANDLE_RESULT"
|
|
|
|
:value="scope.row.handleResult"
|
|
|
|
:value="scope.row.handleResult"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="年度" align="center" prop="year" />
|
|
|
|
<el-table-column label="年度" align="center" prop="year" />
|
|
|
|
<el-table-column label="月份" align="center" prop="period" />
|
|
|
|
<el-table-column label="月份" align="center" prop="period" />
|
|
|
|
<el-table-column label="借阅状态" align="center" prop="borrowStatus">
|
|
|
|
<el-table-column label="借阅状态" align="center" prop="borrowStatus">
|
|
|
|
<template v-slot="scope">
|
|
|
|
<template v-slot="scope">
|
|
|
|
<dict-tag
|
|
|
|
<dict-tag
|
|
|
|
:type="DICT_TYPE.BORROW_STATUS"
|
|
|
|
:type="DICT_TYPE.BORROW_STATUS"
|
|
|
|
:value="scope.row.borrowStatus"
|
|
|
|
:value="scope.row.borrowStatus"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="归档时间"
|
|
|
|
label="归档时间"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
prop="recordTime"
|
|
|
|
prop="recordTime"
|
|
|
|
width="98px"
|
|
|
|
width="98px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="纸档位置" align="center" prop="position" />
|
|
|
|
<el-table-column label="纸档位置" align="center" prop="position" />
|
|
|
|
<el-table-column label="完整性" align="center" prop="cherks">
|
|
|
|
<el-table-column label="完整性" align="center" prop="cherks">
|
|
|
|
<template v-slot="scope">
|
|
|
|
<template v-slot="scope">
|
|
|
|
<dict-tag
|
|
|
|
<dict-tag
|
|
|
|
:type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
|
|
|
|
:type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
|
|
|
|
:value="scope.row.cherks"
|
|
|
|
:value="scope.row.cherks"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</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="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
|
|
|
|
<el-dialog
|
|
|
|
:title="title"
|
|
|
|
:title="title"
|
|
|
@ -817,7 +831,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|
showClose: true,
|
|
|
|
showClose: true,
|
|
|
|
message: res.data.name+"上传成功",
|
|
|
|
message: res.data.name + "上传成功",
|
|
|
|
type: "success",
|
|
|
|
type: "success",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1021,3 +1035,8 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
@import "@/assets/styles/header/index.scss";
|
|
|
|
|
|
|
|
@import "@/assets/styles/common/index.scss";
|
|
|
|
|
|
|
|
</style>
|
|
|
|