From 689db64a332247b5d9cda7f680c703999ac1bb0f Mon Sep 17 00:00:00 2001 From: chenrui <1950717904@qq.com> Date: Sat, 24 Aug 2024 10:28:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E6=94=BF=E6=A3=80=E6=9F=A5=E9=A2=84?= =?UTF-8?q?=E7=BA=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/administrative/appointment.vue | 37 ++++++++++++++++++++---- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/src/views/administrative/appointment.vue b/src/views/administrative/appointment.vue index 4275c14..4926983 100644 --- a/src/views/administrative/appointment.vue +++ b/src/views/administrative/appointment.vue @@ -49,13 +49,13 @@ @click="data.showTimePicker = true" /> @@ -70,7 +70,7 @@ /> - + --> @@ -236,7 +236,13 @@ - + + + {{data.notifyContent}} @@ -297,6 +303,12 @@ tempDate: null, lawCerFlag: 0, lawCer:[{ text:"", id:"", show:"", num:"" }], + + checkTimePicker: ref(false), + checkTimeColumns: [ + { text: '9:00 ~ 12:00', value: '1' }, + { text: '14:00 ~ 17:00', value: '2' }, + ], // lawCer:[], }); //保存参数 @@ -347,7 +359,12 @@ userObjs: [], isUnite: 0, bureauDeptId:"", - bureauDeptName:"" + bureauDeptName:"", + /** + * 执法时段 + */ + checkTimeOrder: 0, + checkTimeOrderText:"", }) const currentDate =() => { @@ -388,6 +405,16 @@ } } + /** + * 检查时间 时段选择 + */ + const checkTimeOnConfirm = ({ selectedOptions }) => { + data.checkTimePicker = false; + console.log(selectedOptions[0].text); + console.log(selectedOptions[0].value); + submitData.checkTimeOrderText = selectedOptions[0].text; + submitData.checkTimeOrder = selectedOptions[0].value; + }; const validator = (val) => /^1[34578]\d{9}$/.test(val); const onFailed = (errorInfo) => {