| | |
| | | </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/> |
| | |
| | | getData () { |
| | | getLaborConfigDTO({}) |
| | | .then(res => { |
| | | this.form.id = res.id |
| | | 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 => { |