|
|
@ -1,327 +1,341 @@
|
|
|
|
<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="complaintCode">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.complaintCode"
|
|
|
|
|
|
|
|
placeholder="请输入客诉编号"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="客诉类型" prop="complaintType">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="queryParams.complaintType"
|
|
|
|
|
|
|
|
placeholder="请选择客诉类型"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.COMPLAINT_TYPE)"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="客诉时间" prop="complaintTime">
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.complaintTime"
|
|
|
|
|
|
|
|
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="handleResult">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="queryParams.handleResult"
|
|
|
|
|
|
|
|
placeholder="请选择处理结果"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.HANDLE_RESULT)"
|
|
|
|
|
|
|
|
: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-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-customer-complaint: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-customer-complaint: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="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>{{ parseTime2(scope.row.complaintTime) }}</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="客诉类型"
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="complaintType"
|
|
|
|
|
|
|
|
width="98px"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
|
|
|
<dict-tag
|
|
|
|
|
|
|
|
:type="DICT_TYPE.COMPLAINT_TYPE"
|
|
|
|
|
|
|
|
:value="scope.row.complaintType"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<!-- <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>{{ parseTime2(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">
|
|
|
|
|
|
|
|
<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="98px"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<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">
|
|
|
|
<div class="filter-box">
|
|
|
|
<el-button
|
|
|
|
<div class="filter-lf">
|
|
|
|
size="mini"
|
|
|
|
<el-form-item label="客诉编号" prop="complaintCode">
|
|
|
|
type="text"
|
|
|
|
<el-input
|
|
|
|
icon="el-icon-view"
|
|
|
|
v-model="queryParams.complaintCode"
|
|
|
|
v-if="scope.row.contractAttachment"
|
|
|
|
placeholder="请输入客诉编号"
|
|
|
|
@click="handleViewFJ(scope.row)"
|
|
|
|
clearable
|
|
|
|
>查看附件
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
</el-button>
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="客诉类型" prop="complaintType">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="queryParams.complaintType"
|
|
|
|
|
|
|
|
placeholder="请选择客诉类型"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.COMPLAINT_TYPE)"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="客诉时间" prop="complaintTime">
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.complaintTime"
|
|
|
|
|
|
|
|
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="handleResult">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="queryParams.handleResult"
|
|
|
|
|
|
|
|
placeholder="请选择处理结果"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in this.getDictDatas(DICT_TYPE.HANDLE_RESULT)"
|
|
|
|
|
|
|
|
: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
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
@click="handleAdd"
|
|
|
|
icon="el-icon-view"
|
|
|
|
v-hasPermi="['ea:electronic-customer-complaint:create']"
|
|
|
|
@click="handleView(scope.row)"
|
|
|
|
>新增
|
|
|
|
>查看
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
v-if="scope.row.fileStatus == '0'"
|
|
|
|
type="danger"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
:disabled="multiple"
|
|
|
|
icon="el-icon-edit"
|
|
|
|
@click="handleDelete"
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
>删除</el-button
|
|
|
|
v-hasPermi="['ea:electronic-customer-complaint:update']"
|
|
|
|
>
|
|
|
|
>修改
|
|
|
|
</el-col>
|
|
|
|
</el-button>
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
v-if="scope.row.fileStatus == '0'"
|
|
|
|
type="warning"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
@click="handleExport"
|
|
|
|
icon="el-icon-delete"
|
|
|
|
:loading="exportLoading"
|
|
|
|
@click="handleDelete(scope.row)"
|
|
|
|
v-hasPermi="['ea:electronic-customer-complaint:export']"
|
|
|
|
v-hasPermi="['ea:electronic-customer-complaint:delete']"
|
|
|
|
>导出
|
|
|
|
>删除
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</template>
|
|
|
|
</el-col>
|
|
|
|
</el-table-column>
|
|
|
|
<right-toolbar
|
|
|
|
</el-table>
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
<!-- 分页组件 -->
|
|
|
|
@queryTable="getList"
|
|
|
|
<pagination
|
|
|
|
></right-toolbar>
|
|
|
|
v-show="total > 0"
|
|
|
|
</el-row>
|
|
|
|
:total="total"
|
|
|
|
|
|
|
|
:page.sync="queryParams.pageNo"
|
|
|
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
|
|
|
|
<el-table
|
|
|
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
|
|
|
:data="list"
|
|
|
|
|
|
|
|
stripe
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
@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="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>{{ parseTime2(scope.row.complaintTime) }}</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="客诉类型"
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="complaintType"
|
|
|
|
|
|
|
|
width="98px"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
|
|
|
<dict-tag
|
|
|
|
|
|
|
|
:type="DICT_TYPE.COMPLAINT_TYPE"
|
|
|
|
|
|
|
|
:value="scope.row.complaintType"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<!-- <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>{{ parseTime2(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">
|
|
|
|
|
|
|
|
<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="98px"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<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-customer-complaint: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-customer-complaint: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"
|
|
|
@ -709,10 +723,10 @@ export default {
|
|
|
|
handleSuccess(res) {
|
|
|
|
handleSuccess(res) {
|
|
|
|
console.log(res);
|
|
|
|
console.log(res);
|
|
|
|
this.form.contractAttachment = res.data.url;
|
|
|
|
this.form.contractAttachment = res.data.url;
|
|
|
|
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|
showClose: true,
|
|
|
|
showClose: true,
|
|
|
|
message: res.data.name+"上传成功",
|
|
|
|
message: res.data.name + "上传成功",
|
|
|
|
type: "success",
|
|
|
|
type: "success",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -958,3 +972,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
@import "@/assets/styles/header/index.scss";
|
|
|
|
|
|
|
|
@import "@/assets/styles/common/index.scss";
|
|
|
|
|
|
|
|
</style>
|
|
|
|