From 96d6798bbec01806b59ea77a9703277ab70cda9b Mon Sep 17 00:00:00 2001
From: liutong <836164388@qq.com>
Date: Fri, 13 Jun 2025 15:22:37 +0800
Subject: [PATCH] =?UTF-8?q?refactor(market):=20=E9=87=8D=E6=9E=84=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80?=
=?UTF-8?q?=E5=92=8C=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修改了订单列表页面的顶部标题为"订单状态"
- 移除了下载合同按钮
- 重新安排了订单信息的展示格式,包括客户姓名、付款类型、订单金额、课程、班级、人员和支付时间等字段
- 在 clue_info 页面中添加了 resource_id 字段
- 修改了 order_list 页面的 onLoad 方法,获取 resource_id 参数
- 更新了订单列表 API调用方式
---
pages/market/clue/clue_info.vue | 3 +-
pages/market/clue/order_list.vue | 57 ++++++++++++++++++++++++--------
2 files changed, 46 insertions(+), 14 deletions(-)
diff --git a/pages/market/clue/clue_info.vue b/pages/market/clue/clue_info.vue
index e6be625..f91da5e 100644
--- a/pages/market/clue/clue_info.vue
+++ b/pages/market/clue/clue_info.vue
@@ -281,6 +281,7 @@
resource_sharing_id:'',//共享资源表id
clientInfo:{
id:'',//共享资源id
+ resource_id:'',//客户资源id
customerResource:{},//客户资源信息
sixSpeed:{},//六要素信息
},//共享资源详情
@@ -377,7 +378,7 @@
//跳转页面-订单列表
openViewOrder() {
- let resource_id = this.clientInfo.resource_id
+ let resource_id = this.clientInfo.resource_id//客户资源id
this.$navigateTo({
url: `/pages/market/clue/order_list?resource_id=${resource_id}`
})
diff --git a/pages/market/clue/order_list.vue b/pages/market/clue/order_list.vue
index 5da2bd0..0ef299a 100644
--- a/pages/market/clue/order_list.vue
+++ b/pages/market/clue/order_list.vue
@@ -16,22 +16,47 @@
:key="k"
>
- 企业合同
- 下载合同
+ 订单状态
+
- 合同名称:
- {{v.title}}
+ 客户姓名:
+ {{ v.resource_id_name }}
+
- 签署方:
- {{v.signatory_a}}
+ 付款类型:
+
+ {{ v.payment_type === 'cash' ? '现金支付' : v.payment_type === 'scan_code' ? '扫码支付' : '订阅支付' }}
+
+
+
+ 订单金额:
+ ¥{{ v.order_amount }}
+
+
- 签署方:
- {{v.signatory_b}}
+ 课程:
+ {{ v.course_id_name }}
+
+
+ 班级:
+ {{ v.class_id_name }}
+
+
+
+ 人员:
+ {{ v.staff_id_name }}
+
+
+
+ 支付时间:
+ {{ v.payment_time }}
+
+
@@ -41,8 +66,8 @@