From 85c884832d1c2e6e905113e99ca8d5c07db3fb24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E5=BA=8F=E6=8C=AF?= Date: Wed, 25 Oct 2023 10:06:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=B1=E6=9E=97=E5=AE=89=E5=85=A8=E5=B7=A1?= =?UTF-8?q?=E6=9F=A5-=E5=80=BC=E7=8F=AD=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/BjdfBeOnDutyServiceImpl.java | 1 + .../views/mountainForestSafety/rota/index.vue | 940 +++++++++++------- 2 files changed, 588 insertions(+), 353 deletions(-) diff --git a/God-Vue-master/god-system/src/main/java/com/god/mountainForestSafety/service/impl/BjdfBeOnDutyServiceImpl.java b/God-Vue-master/god-system/src/main/java/com/god/mountainForestSafety/service/impl/BjdfBeOnDutyServiceImpl.java index e6c808c6..124f98be 100644 --- a/God-Vue-master/god-system/src/main/java/com/god/mountainForestSafety/service/impl/BjdfBeOnDutyServiceImpl.java +++ b/God-Vue-master/god-system/src/main/java/com/god/mountainForestSafety/service/impl/BjdfBeOnDutyServiceImpl.java @@ -55,6 +55,7 @@ public class BjdfBeOnDutyServiceImpl implements IBjdfBeOnDutyService public int insertBjdfBeOnDuty(BjdfBeOnDuty bjdfBeOnDuty) { bjdfBeOnDuty.setId(IdUtils.fastUUID()); + bjdfBeOnDuty.setPhone(bjdfBeOnDuty.getStartTime().substring(0,10)); return bjdfBeOnDutyMapper.insertBjdfBeOnDuty(bjdfBeOnDuty); } diff --git a/god-ui/src/views/mountainForestSafety/rota/index.vue b/god-ui/src/views/mountainForestSafety/rota/index.vue index a9f5864b..33400036 100644 --- a/god-ui/src/views/mountainForestSafety/rota/index.vue +++ b/god-ui/src/views/mountainForestSafety/rota/index.vue @@ -1,153 +1,365 @@