|
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
<el-option v-for="dict in after_sales_type" :key="dict.value" :label="dict.label" :value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="售后问题是否解决" prop="solveStatus">
|
|
|
|
|
<el-form-item label="是否解决" prop="solveStatus" >
|
|
|
|
|
<el-select v-model="queryParams.solveStatus" placeholder="请选择售后问题是否解决" clearable>
|
|
|
|
|
<el-option v-for="dict in solve_status" :key="dict.value" :label="dict.label" :value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
@ -68,45 +68,45 @@
|
|
|
|
|
<el-table v-loading="loading" border :data="afterSalesList" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
<el-table-column label="售后ID" align="center" prop="afterSalesId" v-if="columns[0].visible" />
|
|
|
|
|
<el-table-column label="售后编号" align="center" prop="afterSalesCode" v-if="columns[2].visible" />
|
|
|
|
|
<el-table-column label="售后编号" align="center" prop="afterSalesCode" width="140" v-if="columns[2].visible" />
|
|
|
|
|
<el-table-column label="售后主题" align="center" prop="afterSalesSubject" v-if="columns[3].visible" />
|
|
|
|
|
<el-table-column label="项目ID" align="center" prop="projectId" v-if="columns[4].visible" />
|
|
|
|
|
<el-table-column label="项目编号" align="center" prop="projectCode" v-if="columns[5].visible" />
|
|
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName" v-if="columns[6].visible" />
|
|
|
|
|
<el-table-column label="项目编号" align="center" prop="projectCode" width="130" v-if="columns[5].visible" />
|
|
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName" width="130" v-if="columns[6].visible" />
|
|
|
|
|
<el-table-column label="客户ID" align="center" prop="customerId" v-if="columns[7].visible" />
|
|
|
|
|
<el-table-column label="客户名称" align="center" prop="customerName" v-if="columns[8].visible" />
|
|
|
|
|
<el-table-column label="客户名称" align="center" prop="customerName" width="130" v-if="columns[8].visible" />
|
|
|
|
|
<el-table-column label="联系人" align="center" prop="contactPerson" v-if="columns[9].visible" />
|
|
|
|
|
<el-table-column label="联系电话" align="center" prop="contactPhone" v-if="columns[10].visible" />
|
|
|
|
|
<el-table-column label="售后日期" align="center" prop="afterSalesDate" width="180" v-if="columns[11].visible">
|
|
|
|
|
<el-table-column label="联系电话" align="center" prop="contactPhone" width="130" v-if="columns[10].visible" />
|
|
|
|
|
<el-table-column label="售后日期" align="center" prop="afterSalesDate" width="100" v-if="columns[11].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.afterSalesDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
|
<span>{{ parseTime(scope.row.afterSalesDate, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="合同ID" align="center" prop="contractId" v-if="columns[12].visible" />
|
|
|
|
|
<el-table-column label="合同号" align="center" prop="contractCode" v-if="columns[13].visible">
|
|
|
|
|
<el-table-column label="合同号" align="center" prop="contractCode" width="140" v-if="columns[13].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<!-- 如果有编号显示编号,否则显示 '无编号' -->
|
|
|
|
|
{{ scope.row.contractCode ? scope.row.contractCode : '无编号' }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="售后类型" align="center" prop="afterSalesType" v-if="columns[14].visible">
|
|
|
|
|
<el-table-column label="售后类型" align="center" prop="afterSalesType" width="100" v-if="columns[14].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="after_sales_type" :value="scope.row.afterSalesType" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="客户干系人" align="center" prop="stakeholderName" v-if="columns[15].visible" />
|
|
|
|
|
<el-table-column label="客户干系人" align="center" prop="stakeholderName" width="130" v-if="columns[15].visible" />
|
|
|
|
|
<el-table-column label="处理人" align="center" prop="handlerName" v-if="columns[16].visible" />
|
|
|
|
|
<el-table-column label="问题描述" align="center" prop="problemDescription" v-if="columns[17].visible" />
|
|
|
|
|
<el-table-column label="售后总工时" align="center" prop="totalWorkHours" v-if="columns[18].visible" />
|
|
|
|
|
<el-table-column label="售后总成本" align="center" prop="totalCost" v-if="columns[19].visible" />
|
|
|
|
|
<el-table-column label="售后总工时" align="center" prop="totalWorkHours" width="90" v-if="columns[18].visible" />
|
|
|
|
|
<el-table-column label="售后总成本" align="center" prop="totalCost" width="90" v-if="columns[19].visible" />
|
|
|
|
|
<el-table-column label="售后问题是否解决" align="center" prop="solveStatus" v-if="columns[20].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="solve_status" :value="scope.row.solveStatus" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="完成日期" align="center" prop="completionDate" width="180" v-if="columns[21].visible">
|
|
|
|
|
<el-table-column label="完成日期" align="center" prop="completionDate" width="100" v-if="columns[21].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.completionDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
|
<span>{{ parseTime(scope.row.completionDate, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="处理结果" align="center" prop="processingResult" v-if="columns[22].visible" />
|
|
|
|
|
|