Commit ddd34f3c85e426ff19dcbab4daa4fa3d40e998c0

Authored by 梁保满
1 parent 3cf1f3f5

修改答案去掉删除按钮

src/views/examinationPaper/edit.vue
@@ -137,8 +137,8 @@ @@ -137,8 +137,8 @@
137 </template> 137 </template>
138 </p> 138 </p>
139 </div> 139 </div>
140 - <div class="qs-set">  
141 - <!-- <el-tooltip effect="dark" content="上传提干" placement="top"> 140 + <!-- <div class="qs-set">
  141 + <el-tooltip effect="dark" content="上传提干" placement="top">
142 <el-button 142 <el-button
143 type="primary" 143 type="primary"
144 circle 144 circle
@@ -168,21 +168,8 @@ @@ -168,21 +168,8 @@
168 icon="el-icon-upload" 168 icon="el-icon-upload"
169 @click="openStem(subQuestions, 2, index, indexs)" 169 @click="openStem(subQuestions, 2, index, indexs)"
170 ></el-button> 170 ></el-button>
171 - </el-tooltip> -->  
172 - <el-popconfirm  
173 - title="确定删除这道题吗?"  
174 - @confirm="delTabData(indexs, index)"  
175 - >  
176 - <el-button  
177 - slot="reference"  
178 - class="delete"  
179 - type="danger"  
180 - size="mini"  
181 - circle  
182 - icon="el-icon-delete"  
183 - ></el-button>  
184 - </el-popconfirm>  
185 - </div> 171 + </el-tooltip>
  172 + </div> -->
186 </div> 173 </div>
187 </li> 174 </li>
188 </ul> 175 </ul>
@@ -283,8 +270,8 @@ @@ -283,8 +270,8 @@
283 </template> 270 </template>
284 </p> 271 </p>
285 </div> 272 </div>
286 - <div class="qs-set">  
287 - <!-- <el-tooltip effect="dark" content="上传提干" placement="top"> 273 + <!-- <div class="qs-set">
  274 + <el-tooltip effect="dark" content="上传提干" placement="top">
288 <el-button 275 <el-button
289 type="primary" 276 type="primary"
290 circle 277 circle
@@ -310,21 +297,8 @@ @@ -310,21 +297,8 @@
310 icon="el-icon-upload" 297 icon="el-icon-upload"
311 @click="openStem(subQuestions, 2, indexs)" 298 @click="openStem(subQuestions, 2, indexs)"
312 ></el-button> 299 ></el-button>
313 - </el-tooltip> -->  
314 - <el-popconfirm  
315 - title="确定删除这道题吗?"  
316 - @confirm="delTabData(indexs, index)"  
317 - >  
318 - <el-button  
319 - slot="reference"  
320 - class="delete"  
321 - type="danger"  
322 - size="mini"  
323 - circle  
324 - icon="el-icon-delete"  
325 - ></el-button>  
326 - </el-popconfirm>  
327 - </div> 300 + </el-tooltip>
  301 + </div> -->
328 </div> 302 </div>
329 </li> 303 </li>
330 </ul> 304 </ul>
@@ -577,13 +551,13 @@ export default { @@ -577,13 +551,13 @@ export default {
577 this.dialogStem = true; 551 this.dialogStem = true;
578 }, 552 },
579 openTag(obj, type, index, indexs) { 553 openTag(obj, type, index, indexs) {
580 - console.log(obj) 554 + console.log(obj);
581 //难度,知识点 555 //难度,知识点
582 this.stem = { ...this.stem, obj }; 556 this.stem = { ...this.stem, obj };
583 this.stem.type = type; 557 this.stem.type = type;
584 this.stem.index = index; 558 this.stem.index = index;
585 this.stem.indexs = indexs; 559 this.stem.indexs = indexs;
586 - this.stem.knowledge = obj.knowledge&&obj.knowledge.split(",") || []; 560 + this.stem.knowledge = (obj.knowledge && obj.knowledge.split(",")) || [];
587 this.stem.difficultyFactor = obj.difficultyFactor || ""; 561 this.stem.difficultyFactor = obj.difficultyFactor || "";
588 this.dialogTag = true; 562 this.dialogTag = true;
589 }, 563 },