Commit 2418f8cb by suyuchen

feat(tickets): 重构工单管理界面并添加沟通功能

- 将服务管理重命名为收费管理 - 添加通信历史记录功能及样式 - 重置表格列结构,更新工单列表显示字段 - 添加服务订单号输入和显示功能 - 实现工单沟通弹窗和消息发送功能 - 添加工单删除确认功能 - 创建工单新增页面 - 在工单操作
parent bb1b815d
...@@ -43,9 +43,12 @@ flowchart TD ...@@ -43,9 +43,12 @@ flowchart TD
%% 维修工单 %% 维修工单
T1 -- 维修工单 --> R1[提交维修需求] T1 -- 维修工单 --> R1[提交维修需求]
R1 --> RB1{收到报价单} R1 --> RB1{收到报价单}
RB1 -- 是 --> RC1[确认报价 或 拒绝报价]
RB1 -- 同意报价 --> RC1[确认报价]
RB1 -- 拒绝报价 --> RE1[拒绝报价\n工单结束]
RB1 -- 价格不合适 --> RF1[要求重新报价]
RC1 --> RD1[等待维修完成] RC1 --> RD1[等待维修完成]
RB1 -- 否 --> RE1[无进一步行动]
%% 普通工单 %% 普通工单
T1 -- 普通工单 --> N1[描述问题并提交] T1 -- 普通工单 --> N1[描述问题并提交]
...@@ -71,11 +74,15 @@ flowchart TD ...@@ -71,11 +74,15 @@ flowchart TD
T2 -- 维修工单 --> B2{评估维修需求} T2 -- 维修工单 --> B2{评估维修需求}
B2 --> C2[生成报价单\n- 项目明细\n- 配件/人工费用\n- 总金额\n- 有效期1个月] B2 --> C2[生成报价单\n- 项目明细\n- 配件/人工费用\n- 总金额\n- 有效期1个月]
C2 --> D2[发送报价单\n账号/邮件/电话] C2 --> D2[发送报价单\n账号/邮件/电话]
D2 --> E2{1个月内确认?}
E2 -- 是 --> F2[安排并执行维修] D2 --> E2{客户反馈}
E2 -- 否 --> G2[报价失效\n重新评估]
F2 --> H2[完成维修服务] E2 -- 同意 --> F2[安排并执行维修]
E2 -- 拒绝 --> J2[关闭工单]
E2 -- 价格不合适 --> G2[重新评估维修需求]
G2 --> B2 G2 --> B2
F2 --> H2[完成维修服务]
%% ========= 普通工单 ========= %% ========= 普通工单 =========
T2 -- 普通工单 --> N5[受理工单] T2 -- 普通工单 --> N5[受理工单]
...@@ -100,6 +107,7 @@ flowchart TD ...@@ -100,6 +107,7 @@ flowchart TD
A1 --> A2 A1 --> A2
D2 --> RB1 D2 --> RB1
RC1 --> H2 RC1 --> H2
RF1 --> G2
``` ```
![列表图](./img_3.png) ![列表图](./img_4.png)
\ No newline at end of file \ No newline at end of file
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<path d="M4 4h12a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2z"/> <path d="M4 4h12a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2z"/>
<path d="M7 9h6M7 12h4"/> <path d="M7 9h6M7 12h4"/>
</svg> </svg>
<span>服务管理</span> <span>收费管理</span>
</div> </div>
<svg class="nav-arrow nav-icon" viewBox="0 0 20 20"> <svg class="nav-arrow nav-icon" viewBox="0 0 20 20">
<path d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"/> <path d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"/>
......
img_6.png

47.8 KB

<!DOCTYPE html> <!DOCTYPE html>
...@@ -1785,7 +1785,7 @@ ...@@ -1785,7 +1785,7 @@
<table class="detail-table"> <table class="detail-table">
<thead> <thead>
<tr> <tr>
<th>件名称</th> <th>件名称</th>
<th>型号规格</th> <th>型号规格</th>
<th>数量</th> <th>数量</th>
<th>单价</th> <th>单价</th>
......
<!DOCTYPE html> <!DOCTYPE html>
...@@ -1684,7 +1684,7 @@ ...@@ -1684,7 +1684,7 @@
<thead> <thead>
<tr> <tr>
<th>序号</th> <th>序号</th>
<th>件名称</th> <th>件名称</th>
<th>型号规格</th> <th>型号规格</th>
<th>数量</th> <th>数量</th>
<th>单价</th> <th>单价</th>
......
<!DOCTYPE html> <!DOCTYPE html>
...@@ -1353,7 +1353,7 @@ ...@@ -1353,7 +1353,7 @@
<thead> <thead>
<tr> <tr>
<th>零件编号</th> <th>零件编号</th>
<th>件名称</th> <th>件名称</th>
<th>型号规格</th> <th>型号规格</th>
<!-- <th>标准单价</th>--> <!-- <th>标准单价</th>-->
<th>单位</th> <th>单位</th>
......
<!DOCTYPE html> <!DOCTYPE html>
...@@ -1525,12 +1525,12 @@ ...@@ -1525,12 +1525,12 @@
/> />
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="form-label">件名称 <span class="required">*</span></label> <label class="form-label">件名称 <span class="required">*</span></label>
<input <input
type="text" type="text"
v-model="form.partName" v-model="form.partName"
class="form-control" class="form-control"
placeholder="请输入件名称" placeholder="请输入件名称"
required required
/> />
</div> </div>
......
<!DOCTYPE html> <!DOCTYPE html>
...@@ -1344,8 +1344,8 @@ ...@@ -1344,8 +1344,8 @@
<h1 class="page-title" data-i18n="title">配件报价</h1> <h1 class="page-title" data-i18n="title">配件报价</h1>
</div> </div>
<div class="toolbar" style="display:flex;justify-content: end;margin-bottom: 20px;"> <div class="toolbar" style="display:flex;justify-content: end;margin-bottom: 20px;">
<button class="btn btn-primary" style="text-align: right;padding: 8px 28px;margin-right: 4px;" @click="handleAdd">批量导入</button> <!-- <button class="btn btn-primary" style="text-align: right;padding: 8px 28px;margin-right: 4px;" @click="handleAdd">批量导入</button>-->
<button class="btn btn-primary" style="text-align: right;padding: 8px 28px;" @click="handleAdd">+ 新增配件</button> <!-- <button class="btn btn-primary" style="text-align: right;padding: 8px 28px;" @click="handleAdd">+ 新增配件</button>-->
</div> </div>
</div> </div>
...@@ -1353,7 +1353,7 @@ ...@@ -1353,7 +1353,7 @@
<thead> <thead>
<tr> <tr>
<th>零件编号</th> <th>零件编号</th>
<th>件名称</th> <th>件名称</th>
<th>型号规格</th> <th>型号规格</th>
<th>标准单价</th> <th>标准单价</th>
<th>单位</th> <th>单位</th>
......
<!DOCTYPE html> <!DOCTYPE html>
...@@ -1525,12 +1525,12 @@ ...@@ -1525,12 +1525,12 @@
/> />
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="form-label">件名称 <span class="required">*</span></label> <label class="form-label">件名称 <span class="required">*</span></label>
<input <input
type="text" type="text"
v-model="form.partName" v-model="form.partName"
class="form-control" class="form-control"
placeholder="请输入件名称" placeholder="请输入件名称"
required required
/> />
</div> </div>
......
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