成绩管理已经有全部按钮就不需要无指定范围按钮

dev_2022-05-11
e 3 years ago
parent 90dc54510e
commit 4b2c777a9d
  1. 9
      src/pages/achievement/ass/index.vue

@ -154,7 +154,9 @@ export default {
this.avg = res.avgScore
this.total = res.peopleNum
let list = res.page.records;
if (res.page.records.length){
this.assessmentId = res.page.records[0].assessmentId;
}
let score = 0;
list.map(n => {
n.class = this.className;
@ -218,9 +220,8 @@ export default {
type: "warning"
})
.then(() => {
let ids = this.multipleSelection.map(item => {
return item.reportId;
});
let ids = [row.reportId]
console.log(ids)
this.$post(`${this.api.deleteExperimentalReport}`,ids).then(res => {
util.successMsg("删除成功");
this.getData();
@ -237,7 +238,7 @@ export default {
return `reportId=${item.reportId}`;
});
let delList1 = newArr.map(item => {
return `recordId=${item.recordId}`;
return `recordId=${item.reportId}`;
});
this.$confirm("确定要删除吗?", "提示", {
type: "warning"

Loading…
Cancel
Save