Commit 3ee5f595 authored by knight's avatar knight Committed by wux

需求32 客户投诉页面和列表调整

parent 853b8cd1
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="投诉内容" prop="content"> <el-form-item label="投诉内容" prop="content">
<el-input v-model="form.content" type="textarea" placeholder="请输入内容" /> <el-input v-model="form.content" type="textarea" rows="6" placeholder="请输入内容111" />
</el-form-item> </el-form-item>
<el-form-item label="处理状态" prop="status"> <el-form-item label="处理状态" prop="status">
<span>{{ getDictDataLabel(DICT_TYPE.CUSTOMER_COMPLAINT_STATUS, 1) }}</span> <span>{{ getDictDataLabel(DICT_TYPE.CUSTOMER_COMPLAINT_STATUS, 1) }}</span>
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
:filter="(e) => e.value == '2' || e.value == '3'" :formatter="Number"></dict-selector> :filter="(e) => e.value == '2' || e.value == '3'" :formatter="Number"></dict-selector>
</el-form-item> </el-form-item>
<el-form-item v-show="form.status == '2'" label="查明原因" required> <el-form-item v-show="form.status == '2'" label="查明原因" required>
<el-input type="textarea" placeholder="请输入查明原因" v-model="form.ascertainReason"></el-input> <el-input type="textarea" placeholder="请输入查明原因" v-model="forertainReason"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-show="form.status == '2'" label="处理方案"> <el-form-item v-show="form.status == '2'" label="处理方案">
<el-input v-model="form.plan" placeholder="请输入处理方案"></el-input> <el-input v-model="form.plan" placeholder="请输入处理方案"></el-input>
......
...@@ -3,14 +3,12 @@ ...@@ -3,14 +3,12 @@
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch && !!!customerId" label-width="68px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch && !!!customerId" label-width="68px">
<el-form-item :label="$t('客户名称')" prop="customerId">
<customer-select v-model="queryParams.customerId" ></customer-select>
</el-form-item>
<el-form-item :label="$t('客户编号')" prop="customerNumber"> <el-form-item :label="$t('客户编号')" prop="customerNumber">
<el-input v-model="queryParams.customerNumber" :placeholder="$t('请输入客户编号')" clearable @keyup.enter.native="handleQuery"/> <el-input v-model="queryParams.customerNumber" :placeholder="$t('请输入客户编号')" clearable @keyup.enter.native="handleQuery"/>
</el-form-item> </el-form-item>
<el-form-item :label="$t('客户名称')" prop="customerId">
<customer-select v-model="queryParams.customerId" ></customer-select>
</el-form-item>
<el-form-item :label="$t('投诉类型')" prop="type"> <el-form-item :label="$t('投诉类型')" prop="type">
<el-select v-model="queryParams.type" :placeholder="$t('请选择投诉类型')" clearable size="small"> <el-select v-model="queryParams.type" :placeholder="$t('请选择投诉类型')" clearable size="small">
<el-option v-for="dict in getDictDatas(DICT_TYPE.CUSTOMER_COMPLAINT_TYPE)" <el-option v-for="dict in getDictDatas(DICT_TYPE.CUSTOMER_COMPLAINT_TYPE)"
...@@ -70,14 +68,14 @@ ...@@ -70,14 +68,14 @@
<dict-tag :type="DICT_TYPE.CUSTOMER_COMPLAINT_TYPE" :value="scope.row.type" /> <dict-tag :type="DICT_TYPE.CUSTOMER_COMPLAINT_TYPE" :value="scope.row.type" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('客户名称')" align="center" width="120" fixed> <el-table-column :label="$t('客户编号')" align="center" width="120" fixed>
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ formatCustomerName(scope.row.customerId) }}</div> <div>{{ scope.row.customerNumber }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('客户编号')" align="center" width="120"> <el-table-column :label="$t('客户名称')" align="center" width="120" fixed>
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.customerNumber }}</div> <div>{{ formatCustomerName(scope.row.customerId) }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('投诉日期')" align="center" width="180"> <el-table-column :label="$t('投诉日期')" align="center" width="180">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment