| | |
| | | <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> |
| | |
| | | healthCard: 0, |
| | | isAnswer: 0, |
| | | theme: '', |
| | | description: '' |
| | | description: '', |
| | | visitNotice: '' |
| | | }, |
| | | extensions: [ |
| | | new Doc(), |
| | |
| | | this.form.isAnswer = res.isAnswer |
| | | this.form.reservationWay = res.reservationWay |
| | | this.form.theme = res.theme |
| | | this.form.visitNotice = res.visitNotice |
| | | }) |
| | | }, |
| | | submit () { |
| | |
| | | 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() |
| | |
| | | <style lang="scss" scoped> |
| | | .box { |
| | | width: 100%; |
| | | height: 100%; |
| | | padding: 30px; |
| | | box-sizing: border-box; |
| | | background: #ffffff; |