From 6d1c8813f14f75a09571731639859766516ffddc Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 01 三月 2024 09:10:49 +0800
Subject: [PATCH] mrshi

---
 admin/src/views/business/visitorSources.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/admin/src/views/business/visitorSources.vue b/admin/src/views/business/visitorSources.vue
index 6c8e4e1..7cbddb7 100644
--- a/admin/src/views/business/visitorSources.vue
+++ b/admin/src/views/business/visitorSources.vue
@@ -34,8 +34,8 @@
             <el-form-item label="璁垮绛旈璇存槑:" prop="description">
                 <el-input style="width: 50%;" type="textarea" v-model="form.description" placeholder="璇疯緭鍏�" v-trim/>
             </el-form-item>
-            <el-form-item label="鍏ュ巶椤荤煡:" prop="description">
-                <el-tiptap style="width: 50%;" v-model="form.description" :extensions="extensions" />
+            <el-form-item label="鍏ュ巶椤荤煡:" prop="visitNotice">
+                <el-tiptap style="width: 50%;" v-model="form.visitNotice" :extensions="extensions" />
             </el-form-item>
             <el-form-item>
                 <el-button type="primary" @click="submit">淇濆瓨閰嶇疆椤�</el-button>
@@ -83,7 +83,8 @@
         healthCard: 0,
         isAnswer: 0,
         theme: '',
-        description: ''
+        description: '',
+        visitNotice: ''
       },
       extensions: [
         new Doc(),
@@ -134,6 +135,7 @@
           this.form.isAnswer = res.isAnswer
           this.form.reservationWay = res.reservationWay
           this.form.theme = res.theme
+          this.form.visitNotice = res.visitNotice
         })
     },
     submit () {
@@ -143,7 +145,8 @@
         checkVisit: this.form.checkVisit,
         reservationWay: this.form.reservationWay,
         description: this.form.description,
-        theme: this.form.theme
+        theme: this.form.theme,
+        visitNotice: this.form.visitNotice
       }).then(res => {
         this.$message.success('淇濆瓨鎴愬姛')
         this.getData()
@@ -156,7 +159,6 @@
 <style lang="scss" scoped>
     .box {
         width: 100%;
-        height: 100%;
         padding: 30px;
         box-sizing: border-box;
         background: #ffffff;

--
Gitblit v1.9.3