删除接口切换

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" type: "warning"
}) })
.then(() => { .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("删除成功"); util.successMsg("删除成功");
this.getData(); this.getData();
}).catch(res => { }).catch(res => {

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

Loading…
Cancel
Save