src/store/getters.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/knowledge/questionbank/particulars/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/knowledge/questionnaire/compilequer/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/repositoryai/intention/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/store/getters.js
@@ -183,7 +183,7 @@ }, { value: '3', label: "问答", label: "填空", raw: { cssClass: "", listClass: "", @@ -191,7 +191,7 @@ }, { value: '4', label: "填空", label: "问答", raw: { cssClass: "", listClass: "", src/views/knowledge/questionbank/particulars/index.vue
@@ -302,7 +302,9 @@ ></span > <span style="margin-left: 30px" >选中指标:{{ topicobj.scriptTopic }}</span >选中指标:<el-tag type="success" effect="dark">{{ topicobj.targetname ? topicobj.targetname : "未选择" }}</el-tag></span > <span style="margin-left: 30px" ><el-button type="success" round @click="gettargetInfo" @@ -660,6 +662,9 @@ return item; } ); this.topicobj.targetoptions = this.topicobj.svyLibScriptOptions .map((item) => item.optioncontent) .join(", "); this.topicobj.otherdata = JSON.stringify(this.variablelist); this.topicobj.suitway = this.suitwaylist.join(","); if (this.id) { @@ -740,7 +745,6 @@ }, Saveproblem() { if (this.topicobj.scoretype == 1) { console.log(321); this.Scorejudgment(); } else { this.compileissue(); @@ -775,10 +779,11 @@ ) .then(() => { console.log(row); console.log(this.topicobj); this.topicobj.scriptTopic = row.targetname; this.topicobj.valueType = row.valueType; this.topicobj.scriptContent = row.targetdesc; this.topicobj.targetid = row.id; this.topicobj.targetname = row.targetname; this.topicobj.isavailable = "0"; this.topicobj.language = "普通话"; this.topicobj.svyLibScriptOptions = []; @@ -1021,10 +1026,14 @@ handleChange(item, response, file, fileList) { console.log(response); if (response.code == 200) { console.log(item); let index = this.topicobj.svyLibScriptOptions.findIndex( (obj) => obj.id == item.id && obj.name == item.name (obj) => obj.optioncontent == item.optioncontent ); console.log(index); this.topicobj.svyLibScriptOptions[index].picturePath = response.url; console.log(this.topicobj.svyLibScriptOptions[index]); this.$forceUpdate(); } else { this.$message.error("图片插入失败"); } src/views/knowledge/questionnaire/compilequer/index.vue
@@ -671,6 +671,14 @@ width="200" :show-overflow-tooltip="true" /> <el-table-column label="选项内容" align="center" key="targetoptions" prop="targetoptions" width="200" :show-overflow-tooltip="true" /> <el-table-column label="操作" @@ -1014,6 +1022,7 @@ // 新增题目 addtopic(row) { row.isoperation = 1; console.log(row, "row"); row.svyLibScriptOptions.forEach((item) => { item.isoperation = 1; }); @@ -1055,11 +1064,14 @@ this.sortFn(); }, sortFn() { console.log(this.ruleForm.svyTemplateLibScripts, "序前值"); this.ruleForm.svyTemplateLibScripts.forEach((item, index) => { item.sort = index + 1; item.sort = Number(index) + 1; if (item.svyLibTemplateTargetoptions) { item.svyLibTemplateTargetoptions.forEach((items) => { items.nextQuestion = Number(item.sort) + 1; }); } }); console.log(this.ruleForm.svyTemplateLibScripts); }, src/views/repositoryai/intention/index.vue
@@ -486,6 +486,7 @@ <el-radio :label="1">单选</el-radio> <el-radio :label="2">多选</el-radio> <el-radio :label="3">填空</el-radio> <el-radio :label="4">问答</el-radio> </el-radio-group> </el-form-item> </el-col></el-row @@ -1185,7 +1186,6 @@ /** 修改按钮操作 */ handleUpdate(row) { this.reset(); console.log(row); this.title = "指标详情"; this.indexform = {}; this.indexform = row;