删除接口切换

dev_2022-05-11
e 3 years ago
parent dee36069b9
commit 082e282264
  1. 5
      src/pages/achievement/ass/index.vue
  2. 4
      src/pages/achievement/show/index.vue

@ -196,7 +196,10 @@ export default {
type: "warning"
})
.then(() => {
this.$post(`${this.api.deleteReport}?reportId=${row.reportId}&recordId=${row.recordId}`).then(res => {
let ids = this.multipleSelection.map(item => {
return item.reportId;
});
this.$post(`${this.api.deleteExperimentalReport}`,ids).then(res => {
util.successMsg("删除成功");
this.getData();
}).catch(res => {

@ -75,8 +75,8 @@
<span>{{index+1}}. </span>{{item.ruleAnswer}}
</div>
</div>
<div v-else>
{{scope.row.referenceAnswer}}
<div v-else v-html='scope.row.referenceAnswer'>
<!-- {{scope.row.referenceAnswer}}-->
</div>
</template>
</el-table-column>

Loading…
Cancel
Save