Commit 05d2b443 authored by zhengke's avatar zhengke

修改

parent 0189631b
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
v-for="(dItem,dIndex) in gItem.DetailsList" :key="dIndex" @click="ClickItem(dItem,gIndex,dIndex)"> v-for="(dItem,dIndex) in gItem.DetailsList" :key="dIndex" @click="ClickItem(dItem,gIndex,dIndex)">
({{dIndex+1}}) <span class="exam_DetailList" v-html="dItem.ShowTitle"></span> ({{dIndex+1}}) <span class="exam_DetailList" v-html="dItem.ShowTitle"></span>
<span> <span>
<el-tag type="warning" size="mini" v-if="getRepeat(dItem.QuestionId)">与{{gIndex+1}}.1重复出现</el-tag> <!-- <el-tag type="warning" size="mini" v-if="getRepeat(dItem.QuestionId)">与{{gIndex+1}}.1重复出现</el-tag> -->
</span> </span>
<span class="exam_ListSHow"> <span class="exam_ListSHow">
<i class="iconfont icon-shangyi2" @click.stop="MoveChildItem(gIndex,dIndex,0)" <i class="iconfont icon-shangyi2" @click.stop="MoveChildItem(gIndex,dIndex,0)"
...@@ -798,7 +798,6 @@ ...@@ -798,7 +798,6 @@
DetailsList: [], //问题列表 DetailsList: [], //问题列表
}); });
} }
console.log(this.DataObj,'Data');
this.DataObj.GroupList.forEach((gItem, gIndex) => { this.DataObj.GroupList.forEach((gItem, gIndex) => {
if (gItem.QuestionTypeId == qItem.QuestionTypeId) { if (gItem.QuestionTypeId == qItem.QuestionTypeId) {
if (!gItem.DetailsList) { if (!gItem.DetailsList) {
...@@ -1340,7 +1339,7 @@ ...@@ -1340,7 +1339,7 @@
}, },
//获取相同 //获取相同
getRepeat(QuestionId){ getRepeat(QuestionId){
console.log(QuestionId,'进入'); //console.log(QuestionId,'进入');
for(let i=0;i<this.DataObj.GroupList.length;i++){ for(let i=0;i<this.DataObj.GroupList.length;i++){
for(let j=0;j<this.DataObj.GroupList[i].DetailsList.length;j++){ for(let j=0;j<this.DataObj.GroupList[i].DetailsList.length;j++){
if(this.DataObj.GroupList[i].DetailsList[j].QuestionId==QuestionId){ if(this.DataObj.GroupList[i].DetailsList[j].QuestionId==QuestionId){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment