| | |
| | | <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 |
| | |
| | | </el-form-item> |
| | | |
| | | <el-row :gutter="10"> |
| | | <el-col :span="16" v-if="intent"> |
| | | <div></div> |
| | | <!-- <el-form-item label="语音文件"> |
| | | <el-upload |
| | | class="upload-demo" |
| | | style="display: flex" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | | > |
| | | <el-button size="small" type="primary">点击上传</el-button> |
| | | </el-upload> |
| | | </el-form-item> --> |
| | | </el-col> |
| | | <el-col :offset="12" :span="intent ? 8 : 22"> |
| | | <el-col> |
| | | <div style="text-align: right; padding-right: 10px"> |
| | | <el-button |
| | | v-if="controlsc || addoption" |
| | |
| | | targetvalue: [ |
| | | { required: true, message: "请输入选项名称", trigger: "blur" }, |
| | | ], |
| | | isabnormal: [ |
| | | { required: true, message: "请输入选项名称", trigger: "blur" }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | branchFlag: { |
| | | type: Boolean, |
| | | default: false, |
| | | }, |
| | | }, |
| | | |
| | | created() { |