From 56eb126cfb6b8d8b9f9612be864cc106cc6a6572 Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Wed, 16 Aug 2023 13:49:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=92=8C=E5=90=8E=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/app/admin/logic/order/OrderLogic.php | 6 + server/app/admin/view/order/order/lists.html | 22 ++- .../user/business_team/adjust_account.html | 171 +++++++++++++++++ .../business_team/adjust_first_leader.html | 87 +++++++++ .../view/user/business_team/adjust_level.html | 52 +++++ .../admin/view/user/business_team/edit.html | 130 +++++++++++++ .../admin/view/user/business_team/fans.html | 158 +++++++++++++++ .../admin/view/user/business_team/info.html | 181 ++++++++++++++++++ .../admin/view/user/business_team/lists.html | 162 ++++++++++++++++ .../view/user/business_team/set_tag.html | 34 ++++ .../view/user/business_team/user_lists.html | 121 ++++++++++++ server/app/api/logic/OrderLogic.php | 2 +- server/app/shop/controller/order/Order.php | 2 +- server/app/shop/logic/order/OrderLogic.php | 6 +- server/app/shop/view/order/order/lists.html | 22 ++- 15 files changed, 1149 insertions(+), 7 deletions(-) create mode 100644 server/app/admin/view/user/business_team/adjust_account.html create mode 100644 server/app/admin/view/user/business_team/adjust_first_leader.html create mode 100644 server/app/admin/view/user/business_team/adjust_level.html create mode 100644 server/app/admin/view/user/business_team/edit.html create mode 100644 server/app/admin/view/user/business_team/fans.html create mode 100644 server/app/admin/view/user/business_team/info.html create mode 100644 server/app/admin/view/user/business_team/lists.html create mode 100644 server/app/admin/view/user/business_team/set_tag.html create mode 100644 server/app/admin/view/user/business_team/user_lists.html diff --git a/server/app/admin/logic/order/OrderLogic.php b/server/app/admin/logic/order/OrderLogic.php index 7a5f0926..b22518a7 100644 --- a/server/app/admin/logic/order/OrderLogic.php +++ b/server/app/admin/logic/order/OrderLogic.php @@ -133,6 +133,12 @@ class OrderLogic extends Logic if (isset($get['pay_way']) && $get['pay_way'] != '') { $where[] = ['o.pay_way', '=', $get['pay_way']]; } + + // 前置订单 + if (isset($get['is_frontend']) && $get['is_frontend'] != '') { + $where[] = ['o.is_frontend', '=', $get['is_frontend']]; + } + //订单来源 if (isset($get['order_source']) && $get['order_source'] != '') { $where[] = ['o.order_source', '=', $get['order_source']]; diff --git a/server/app/admin/view/order/order/lists.html b/server/app/admin/view/order/order/lists.html index 9b1d68f6..417eb814 100644 --- a/server/app/admin/view/order/order/lists.html +++ b/server/app/admin/view/order/order/lists.html @@ -131,6 +131,17 @@ +
订单编号:{{d.order_sn}}
订单类型:{{d.order_type_text}}
+前置订单: + {{# if(d.is_frontend == '1'){ }} + 是 + {{# } else { }} + 否 + {{# } }} +
下单时间:{{d.create_time}}
支付时间: {{# if(d.pay_time == '0'){ }} @@ -427,8 +445,8 @@ , page: true , text: {none: '暂无数据!'} ,response: { - statusCode: 1 - } + statusCode: 1 + } , parseData: function (res) { return { "code": res.code, diff --git a/server/app/admin/view/user/business_team/adjust_account.html b/server/app/admin/view/user/business_team/adjust_account.html new file mode 100644 index 00000000..ce28cd05 --- /dev/null +++ b/server/app/admin/view/user/business_team/adjust_account.html @@ -0,0 +1,171 @@ +{layout name="layout2" /} + +
订单编号:{{d.order_sn}}
订单类型:{{d.order_type_text}}
+前置订单: + {{# if(d.is_frontend == '1'){ }} + 是 + {{# } else { }} + 否 + {{# } }} +
下单时间:{{d.create_time}}
支付时间: {{# if(d.pay_time == '0'){ }} @@ -430,8 +448,8 @@ , page: true , text: {none: '暂无数据!'} ,response: { - statusCode: 1 - } + statusCode: 1 + } , parseData: function (res) { return { "code": res.code,