| | |
| | | <el-col :span="20" |
| | | ><el-form-item label="选项说明"> |
| | | <el-input |
| | | type="text" |
| | | style="width: 500px;" |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请输入" |
| | | v-model="item.optiondesc" |
| | | show-word-limit |
| | |
| | | > |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | <el-col :span="12" v-show="branchFlag" |
| | | ><el-form-item label="选中跳转"> |
| | | <el-input |
| | | type="text" |
| | | @blur="$emit('branchFlagfn', item.nextQuestion)" |
| | | placeholder="请输入题目节点" |
| | | v-model="item.nextQuestion" |
| | | show-word-limit |
| | |
| | | targetvalue: [ |
| | | { required: true, message: "请输入选项名称", trigger: "blur" }, |
| | | ], |
| | | isabnormal: [ |
| | | { required: true, message: "请输入选项名称", trigger: "blur" }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | branchFlag: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }, |
| | | |
| | | created() { |