From d71fde29b661900f67bfe5f8edc81626d910082f Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 27 十二月 2023 09:11:31 +0800
Subject: [PATCH] Mr.Shi

---
 admin/src/views/business/laborSource.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/admin/src/views/business/laborSource.vue b/admin/src/views/business/laborSource.vue
index 7575406..305de49 100644
--- a/admin/src/views/business/laborSource.vue
+++ b/admin/src/views/business/laborSource.vue
@@ -68,18 +68,17 @@
     getData () {
       getLaborConfigDTO({})
         .then(res => {
-          this.form.id = res.id
-          this.form.checkVisit = res.LaborConfigParam.checkVisit
+          this.form.checkVisit = res.laborConfigParam.checkVisit
           this.form.description = res.description
-          this.form.healthCard = res.LaborConfigParam.healthCard
-          this.form.isAnswer = res.LaborConfigParam.isAnswer
-          this.form.reservationWay = res.LaborConfigParam.reservationWay
+          this.form.healthCard = res.laborConfigParam.healthCard
+          this.form.isAnswer = res.laborConfigParam.isAnswer
+          this.form.reservationWay = res.laborConfigParam.reservationWay
           this.form.theme = res.theme
         })
     },
     submit () {
       updateLaborConfigDTO({
-        LaborConfigParam: {
+        laborConfigParam: {
           isAnswer: this.form.isAnswer,
           healthCard: this.form.healthCard,
           checkVisit: this.form.checkVisit,

--
Gitblit v1.9.3