From 9f05d996e74c62312f13859068e88b301c59873a Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Mon, 2 Sep 2024 17:41:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/layout/components/Navbar.vue | 3 + admin/src/views/order/index.vue | 39 +- admin/vue.config.js | 4 +- .../app/admin/controller/IndexController.php | 8 +- .../app/admin/controller/OrderController.php | 37 ++ service/app/command/SpiderDy.php | 2 +- service/app/command/SpiderTc.php | 408 ++++++++++++++++++ service/app/model/Orders.php | 9 +- service/app/server/Orders.php | 2 +- service/app/server/Tongcheng.php | 273 ++++++++++++ service/ss.txt | 5 +- 11 files changed, 781 insertions(+), 9 deletions(-) create mode 100644 service/app/command/SpiderTc.php create mode 100644 service/app/server/Tongcheng.php diff --git a/admin/src/layout/components/Navbar.vue b/admin/src/layout/components/Navbar.vue index a1e4f8c5..3411676f 100644 --- a/admin/src/layout/components/Navbar.vue +++ b/admin/src/layout/components/Navbar.vue @@ -18,6 +18,9 @@ +
+ 预约待处理(10) +
排班{{ $store.getters.name }}
diff --git a/admin/src/views/order/index.vue b/admin/src/views/order/index.vue index 86aa8a3e..0cafaae4 100644 --- a/admin/src/views/order/index.vue +++ b/admin/src/views/order/index.vue @@ -94,8 +94,9 @@ style="width: 120px" > - + + 同步 + + + 预约已处理 + @@ -240,7 +249,7 @@ }" type="primary" > - {{ scope.row.appointment_status == 1 ? "已预约" : "未预约" }} + {{ scope.row.appointment_status == 1 ? "已预约(未处理)" : (scope.row.appointment_status == 2 ? "已预约(已处理)":"未预约") }} @@ -462,6 +471,13 @@ }} + + +