feat(crm,wms): 重构客诉流程,优化节点与展示逻辑

1.  重构客诉受理流程:改为质量部+生产部并行处理,后续流转至陈总审批、吴部长处理
2.  移除原有的下发、驳回相关接口与逻辑
3.  更新全流程状态文案、标签与步骤展示
4.  调整页面筛选条件与操作按钮
5.  新增陈总审批表单与对应逻辑
This commit is contained in:
王文昊
2026-07-11 10:11:02 +08:00
parent 2a611bad19
commit 3c506e8ca6
13 changed files with 213 additions and 293 deletions

View File

@@ -5,10 +5,10 @@
<span>流程总览 <span class="en-sub">· Process Overview</span></span>
</div>
<el-steps :active="activeStep" align-center class="flow-steps">
<el-step title="待审核" icon="el-icon-document" />
<el-step title="意见填写" icon="el-icon-edit-outline" />
<el-step title="汇总方案" icon="el-icon-s-data" />
<el-step title="全部办结" icon="el-icon-circle-check" />
<el-step title="质量部·生产部" icon="el-icon-s-operation" />
<el-step title="陈总审批" icon="el-icon-s-check" />
<el-step title="吴部长处理" icon="el-icon-s-custom" />
<el-step title="办结" icon="el-icon-circle-check" />
</el-steps>
<div class="current-status">
<span class="status-label">当前阶段</span>
@@ -33,7 +33,7 @@ export default {
computed: {
/**
* el-steps active 从 0 开始。
* 1=待审核→0, 2=意见填写→1, 3=汇总方案→2, 4=全部办结→3
* 1=技术部·生产部→0, 2=陈总审批→1, 3=吴部长处理→2, 4=办结→3
*/
activeStep() {
if (this.flowStatus == null) return -1;
@@ -43,18 +43,18 @@ export default {
},
flowStatusText() {
const map = {
1: '待审核',
2: '意见填写中',
3: '待汇总方案',
4: '全部办结'
1: '质量部·生产部处理中',
2: '待陈总审批',
3: '待吴部长处理',
4: '办结'
};
return map[this.flowStatus] || '未知';
},
tagType() {
const map = {
1: 'info',
2: 'warning',
3: '',
1: 'warning',
2: 'primary',
3: 'warning',
4: 'success'
};
return map[this.flowStatus] || '';