From 4dad81c031939a32fc42fa6c3352406ba746dbf2 Mon Sep 17 00:00:00 2001
From: zoujiandong <10130823232@qq.com>
Date: Wed, 25 Oct 2023 09:37:13 +0800
Subject: [PATCH] =?UTF-8?q?bug=20=E9=97=AE=E8=AF=8A=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/addInquiryConfigModal.vue | 17 ++++++++++-------
src/components/addSysconfigModal.vue | 15 ++++++++++++---
src/views/inquiry/inquiry-list/index.vue | 13 ++++++++++---
src/views/inquiry/sysconfig-list/index.vue | 2 +-
4 files changed, 33 insertions(+), 14 deletions(-)
diff --git a/src/components/addInquiryConfigModal.vue b/src/components/addInquiryConfigModal.vue
index 14b96c3..41895ea 100644
--- a/src/components/addInquiryConfigModal.vue
+++ b/src/components/addInquiryConfigModal.vue
@@ -140,7 +140,8 @@
-
+ 是
+ 否
@@ -149,7 +150,7 @@
@@ -179,13 +180,13 @@
-
+
@@ -250,7 +251,7 @@ const modalForm=reactive({
is_enable:1
});
const disabledDate=(time)=>{
- return time.getTime() < Date.now();
+ return time.getTime() < Date.now() - 8.64e7;
}
const locale=ref('');
const toggleType=ref(true);
@@ -329,7 +330,8 @@ const changeDoctor=(value)=>{
const reset=()=>{
inquiry_date.value=[];
inquiry_time.value=[];
-}
+};
+let temp_date=[];
const addTime=()=>{
let temp=[];
if(inquiry_date.value.length==0){
@@ -347,7 +349,8 @@ const addTime=()=>{
temp.push(arr1[i]+" "+arr2[j]);
}
}
- slect_all_date.value.push(...new Set(temp));
+ temp_date=temp_date.concat(temp);
+ slect_all_date.value=[...new Set(temp_date)];
reset();
}
watch(slect_all_date,(newVal,oldVal)=>{
diff --git a/src/components/addSysconfigModal.vue b/src/components/addSysconfigModal.vue
index aba68b5..ed97b72 100644
--- a/src/components/addSysconfigModal.vue
+++ b/src/components/addSysconfigModal.vue
@@ -80,7 +80,7 @@
@@ -153,7 +153,7 @@
@@ -163,7 +163,7 @@
mode="button"
v-model="modalForm.max_work_num_day"
:style="{ width: '180px' }"
- placeholder="请输入接诊数量"
+ placeholder="每日最大接诊量"
class="input-demo"
:min="0"
/>
@@ -189,8 +189,11 @@
:min="0"
/>
+
+
+ 备注:0代表不限时长
@@ -211,7 +214,9 @@
:min="0"
/>
+
+ 备注:0代表不限次数
@@ -409,6 +414,10 @@ const handleSubmit = () => {
};