MrShi
2024-01-03 d87c4fcb4fcf74c12d0836fc6ba97fbcf507c62f
admin/src/views/business/visitorSources.vue
@@ -68,18 +68,17 @@
    getData () {
      getVisitConfigDTO({})
        .then(res => {
          this.form.id = res.id
          this.form.checkVisit = res.VisitConfigParam.checkVisit
          this.form.checkVisit = res.visitConfigParam.checkVisit
          this.form.description = res.description
          this.form.healthCard = res.VisitConfigParam.healthCard
          this.form.isAnswer = res.VisitConfigParam.isAnswer
          this.form.reservationWay = res.VisitConfigParam.reservationWay
          this.form.healthCard = res.visitConfigParam.healthCard
          this.form.isAnswer = res.visitConfigParam.isAnswer
          this.form.reservationWay = res.visitConfigParam.reservationWay
          this.form.theme = res.theme
        })
    },
    submit () {
      updateVisitConfig({
        VisitConfigParam: {
        visitConfigParam: {
          isAnswer: this.form.isAnswer,
          healthCard: this.form.healthCard,
          checkVisit: this.form.checkVisit,