| | |
| | | <div v-if="Editprogress == 2"> |
| | | <div class="leftvlue-jbxx">问卷题目设置</div> |
| | | <el-divider></el-divider> |
| | | <div class="addtopic"> |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-plus" |
| | | round |
| | | @click="getaddtopiclist" |
| | | >添加题目</el-button |
| | | > |
| | | <div style="display: flex; justify-content: space-between"> |
| | | <div> |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-plus" |
| | | round |
| | | @click="getaddtopiclist" |
| | | >添加题目</el-button |
| | | > |
| | | </div> |
| | | <div style="display: flex"> |
| | | <span |
| | | style=" |
| | | width: 180px; |
| | | font-size: 20px; |
| | | font-weight: normal; |
| | | color: red; |
| | | " |
| | | >问卷总分:</span |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.scriptScore" |
| | | placeholder="请输入分数" |
| | | ></el-input> |
| | | </div> |
| | | </div> |
| | | <div class="presentation"> |
| | | <div class="presentation-left"> |
| | |
| | | <div class="headline">选项设置</div> |
| | | <div |
| | | class="topicxq" |
| | | v-for="item in topicobj.svyLibScriptOptions" |
| | | v-for="item in topicobj.svyLibTemplateTargetoptions" |
| | | > |
| | | <el-row :gutter="10"> |
| | | <el-col :span="11" |
| | |
| | | <el-input |
| | | type="text" |
| | | placeholder="请输入" |
| | | v-model="item.topicid" |
| | | v-model="item.id" |
| | | show-word-limit |
| | | > |
| | | </el-input> </el-form-item |
| | |
| | | }); |
| | | }, |
| | | submitForm(formName) { |
| | | this.$modal.loading("正在上传数据,请稍候..."); |
| | | |
| | | this.ruleForm.labelInfo = this.dynamicTags.join(","); |
| | | this.ruleForm.suitway = this.ruleForm.suitway.join(","); |
| | | |
| | |
| | | this.ruleForm.isoperation = 2; |
| | | compileQtemplate(this.ruleForm).then((response) => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.$modal.closeLoading(); |
| | | |
| | | this.$router.go(-1); |
| | | }); |
| | | } else { |
| | | this.ruleForm.isoperation = 1; |
| | | compileQtemplate(this.ruleForm).then((response) => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.$modal.closeLoading(); |
| | | |
| | | this.$router.go(-1); |
| | | }); |
| | | } |