k94314517
2024-10-16 17efddc6a667670dca682bf36b51a43e99615e6d
admin/src/views/business/laborSource.vue
@@ -29,7 +29,7 @@
                </el-switch>
            </el-form-item>
            <el-form-item label="访客答题主题:" prop="theme">
                <el-input style="width: 50%;" v-model="form.theme" placeholder="请输入答题标题" v-trim/>
                <el-input style="width: 50%;" type="textarea" v-model="form.theme" placeholder="请输入答题标题" v-trim/>
            </el-form-item>
            <el-form-item label="访客答题说明:" prop="description">
                <el-input style="width: 50%;" type="textarea" v-model="form.description" placeholder="请输入" v-trim/>
@@ -68,22 +68,20 @@
    getData () {
      getLaborConfigDTO({})
        .then(res => {
          this.form.checkVisit = res.laborConfigParam.checkVisit
          this.form.checkVisit = res.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.healthCard
          this.form.isAnswer = res.isAnswer
          this.form.reservationWay = res.reservationWay
          this.form.theme = res.theme
        })
    },
    submit () {
      updateLaborConfigDTO({
        laborConfigParam: {
          isAnswer: this.form.isAnswer,
          healthCard: this.form.healthCard,
          checkVisit: this.form.checkVisit,
          reservationWay: this.form.reservationWay
        },
        isAnswer: this.form.isAnswer,
        healthCard: this.form.healthCard,
        checkVisit: this.form.checkVisit,
        reservationWay: this.form.reservationWay,
        description: this.form.description,
        theme: this.form.theme
      }).then(res => {