diff --git a/Laravel/app/Http/Controllers/API/ApiMapController.php b/Laravel/app/Http/Controllers/API/ApiMapController.php
index 0cd83cd..ace1291 100644
--- a/Laravel/app/Http/Controllers/API/ApiMapController.php
+++ b/Laravel/app/Http/Controllers/API/ApiMapController.php
@@ -58,6 +58,9 @@ class ApiMapController extends Controller
'GetDayPlanList' => $base_url . '/api/H5/GetDayPlanList',//获取每日号源
'ComboCompare' => $base_url . '/api/H5/ComboCompare',//套餐对比
'GetOrderDetail' => $base_url . '/api/H5/GetOrderDetail',//获取订单详情
+ 'FenzhenAbandon' => $base_url . '/api/H5/Fenzhen/abandon',// 分诊弃检
+ 'FenzhenList' => $base_url . '/api/H5/Fenzhen/list',// 分诊时间线
+ 'FenzhenInfo' => $base_url . '/api/H5/Fenzhen/info',// 分诊项目详情
];
}
diff --git a/Laravel/app/Http/Controllers/API/H5/FenzhenController.php b/Laravel/app/Http/Controllers/API/H5/FenzhenController.php
new file mode 100644
index 0000000..c144afc
--- /dev/null
+++ b/Laravel/app/Http/Controllers/API/H5/FenzhenController.php
@@ -0,0 +1,115 @@
+ [
+ 'name' => '张三',
+ 'sex' => 1,
+ 'combo_name' => '套餐名称',
+ 'check_date' => '2024-04-25',
+ 'start_time' => '08:25',
+ 'end_time' => '10:25',
+ 'qrcode' => '',
+ 'code' => '', // 体检条码
+ ],
+ 'list' => [[
+ 'time' => '08:25',
+ 'name' => '体检登记',
+ 'status' => 4,
+ 'desc' => '已完成',
+ 'tip' => '体检登记 2024-08-09 08:25:30',
+ ], [
+ 'time' => '08:30',
+ 'name' => '体格检查',
+ 'status' => 4,
+ 'desc' => '已完成',
+ 'tip' => '体格检查 2024-08-09 08:30:33',
+ ], [
+ 'time' => '08:50',
+ 'name' => '超声科',
+ 'status' => 2,
+ 'desc' => '第5位,预计等待 11 分钟',
+ 'tip' => '腹部彩超',
+ ], [
+ 'time' => '09:20',
+ 'name' => '心电图',
+ 'status' => 1,
+ 'desc' => '预计 09:20 进入队列',
+ 'tip' => '剩余5项正在排队中,',
+ 'more' => 1
+ ], [
+ 'time' => '10:03',
+ 'name' => '体检结束',
+ 'status' => -1,
+ 'desc' => '早餐时间 10:03'
+ ], [
+ 'time' => '',
+ 'name' => '出具报告',
+ 'status' => -1,
+ 'desc' => '预计 9月23日 出具体检报告'
+ ], [
+ 'time' => '',
+ 'name' => '报告解读',
+ 'status' => -1,
+ 'desc' => '预计 9月24日 可以预约报告解读'
+ ]],
+ ]);
+ }
+
+ public function info()
+ {
+ return \Yz::Return(true, "获取成功", [
+ 'info' => [
+ 'name' => '张三',
+ 'sex' => 1,
+ 'combo_name' => '套餐名称',
+ 'check_date' => '2024-04-25',
+ 'start_time' => '08:25',
+ 'end_time' => '10:25',
+ 'qrcode' => '',
+ 'code' => '', // 体检条码
+ ],
+ 'list' => [[
+ 'id' => '1',
+ 'time' => '2024.09.11 08:25',
+ 'name' => '超声科-颈部血管彩超',
+ 'status' => 4,
+ ], [
+ 'id' => '1',
+ 'time' => '2024.09.11 08:25',
+ 'name' => '内科-内科问诊',
+ 'status' => 4,
+ ], [
+ 'id' => '1',
+ 'time' => '2024.09.11 08:25',
+ 'name' => '内科-内科问诊',
+ 'status' => 1,
+ ], [
+ 'id' => '1',
+ 'time' => '2024.09.11 08:25',
+ 'name' => '内科-内科问诊',
+ 'status' => 1,
+ ], [
+ 'id' => '1',
+ 'time' => '2024.09.11 08:25',
+ 'name' => '内科-内科问诊',
+ 'status' => 1,
+ ]],
+ ]);
+ }
+}
diff --git a/Laravel/routes/web-zhao.php b/Laravel/routes/web-zhao.php
index 789921e..faa78fe 100644
--- a/Laravel/routes/web-zhao.php
+++ b/Laravel/routes/web-zhao.php
@@ -2,6 +2,9 @@
use Illuminate\Support\Facades\Route;
+Route::any("/api/H5/Fenzhen/abandon", [\App\Http\Controllers\API\H5\FenzhenController::class, 'abandon']);
+Route::any("/api/H5/Fenzhen/info", [\App\Http\Controllers\API\H5\FenzhenController::class, 'info']);
+Route::any("/api/H5/Fenzhen/list", [\App\Http\Controllers\API\H5\FenzhenController::class, 'list']);
Route::any("/api/H5/Order/list", [\App\Http\Controllers\API\H5\OrderController::class, 'list']);
Route::any("/api/H5/Combo/list", [\App\Http\Controllers\API\H5\ComboController::class, 'list']);
Route::any("/api/H5/Combo/select", [\App\Http\Controllers\API\H5\ComboController::class, 'select']);
diff --git a/h5/pages.json b/h5/pages.json
index bb4ff7f..4eee9bf 100644
--- a/h5/pages.json
+++ b/h5/pages.json
@@ -162,6 +162,18 @@
"style": {
"navigationBarTitleText": "数据对比"
}
+ },
+ {
+ "path": "pages/user/pick/pick",
+ "style": {
+ "navigationBarTitleText": "体检引导"
+ }
+ },
+ {
+ "path": "pages/user/fenzhen/fenzhen",
+ "style": {
+ "navigationBarTitleText": "体检引导"
+ }
}
],
"globalStyle": {
diff --git a/h5/pages/user/fenzhen/fenzhen.vue b/h5/pages/user/fenzhen/fenzhen.vue
new file mode 100644
index 0000000..dd2f9db
--- /dev/null
+++ b/h5/pages/user/fenzhen/fenzhen.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/h5/pages/user/pick/pick.vue b/h5/pages/user/pick/pick.vue
new file mode 100644
index 0000000..8772cdb
--- /dev/null
+++ b/h5/pages/user/pick/pick.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i.name }}
+ {{ i.sex === 1 ? "男" : "女" }}性
+
+ {{ i.id_number }}
+
+ {{
+ i.relation
+ }}
+ 本人
+
+
+
+
+
\ No newline at end of file
diff --git a/h5/static/assets/fenzhen/qrcode@2x.png b/h5/static/assets/fenzhen/qrcode@2x.png
new file mode 100644
index 0000000..259a07e
Binary files /dev/null and b/h5/static/assets/fenzhen/qrcode@2x.png differ
diff --git a/h5/static/assets/fenzhen/tip@2x.png b/h5/static/assets/fenzhen/tip@2x.png
new file mode 100644
index 0000000..672e629
Binary files /dev/null and b/h5/static/assets/fenzhen/tip@2x.png differ