From b6212774ef4af52d64ef2c802bb1448b52974811 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E4=BD=B3=E5=AE=87?= <17601616548@163.com>
Date: Sun, 13 Oct 2024 00:28:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=A2=84=E7=BA=A6=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E5=8C=BB=E7=94=9F=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
h5/pages/main/tjyy/tjyy.vue | 1 +
h5/pages/main/yytjsj/yytjsj.vue | 30 ------------------------------
2 files changed, 1 insertion(+), 30 deletions(-)
diff --git a/h5/pages/main/tjyy/tjyy.vue b/h5/pages/main/tjyy/tjyy.vue
index ee5df0c..4c7d4ee 100755
--- a/h5/pages/main/tjyy/tjyy.vue
+++ b/h5/pages/main/tjyy/tjyy.vue
@@ -189,6 +189,7 @@ const comfrimyy = async () => {
item_ids: buyInfo.value.item_ids,
plan_id: plan_id,
plan_nmr_id: plan_nmr_id,
+ doctor: yytjInfo.value?.doctor_name || "",
};
console.log(obj);
diff --git a/h5/pages/main/yytjsj/yytjsj.vue b/h5/pages/main/yytjsj/yytjsj.vue
index 2ab2d98..6e46998 100755
--- a/h5/pages/main/yytjsj/yytjsj.vue
+++ b/h5/pages/main/yytjsj/yytjsj.vue
@@ -27,7 +27,6 @@ let timeIndex = ref(null); // 当前选中时间索引
let status = ref(0); // 1:点了确定 2:未点确定
let calendarShow = ref(false); // 日历显示
const rl_list = ref(false); //日历插槽
-let calendar = ref(null);
let isClickDoctor = ref(0); // 是否点击了医生
const mountedAction = async () => {
@@ -352,25 +351,6 @@ const clickDoctor = () => {
});
};
-const confirm = (e) => {
- console.log(e);
- if (new Date(e.fulldate).getTime() < new Date(getToday()).getTime()) {
- uni.$lu.toast("不能选择过去时间");
- let time = setTimeout(() => {
- calendar.value.open();
- clearTimeout(time);
- }, 500);
- return;
- }
- status.value = 0;
- yytjInfo.value.nmr_list[yytjInfo.value.nmr_list.length - 1].time = e.fulldate;
- yytjInfo.value.doctor_date = e.fulldate;
- $store.setYytjInfo(yytjInfo.value);
- uni.navigateTo({
- url: `/pages/main/selectDoctor/selectDoctor?date=${e.fulldate}`,
- });
-};
-
const comfrimyy = () => {
console.log(yytjInfo.value);
status.value = 1;
@@ -534,16 +514,6 @@ onShow(() => {
-
-
-