fix:合格数统计柱状图修正,光芯mtask提交后刷新列表

This commit is contained in:
shijing 2024-09-26 15:59:49 +08:00
parent 753063ba47
commit e5b163dc59
3 changed files with 7 additions and 8 deletions

View File

@ -1158,7 +1158,7 @@ export default {
for(let i = 0;i<dataList.length;i++){
for(let j = 0;j<dataList[i].length;j++){
let index = that.weekDateList.indexOf(dataList[i][j].日期);
datas[i][index] = dataList[i][j].合格数; //datas
datas[i][index] += dataList[i][j].合格数; //datas
}
}
for(let n=0;n<nameList.length;n++){

View File

@ -412,9 +412,9 @@ export default {
//
getCkUserList() {
let that = this;
this.$API.system.user.list.req({ page: 0, posts__name: "inm&check" })
this.$API.system.user.list.req({ page: 0, posts__code: "inm&check" })
.then((res) => {
that.userList = res;
that.userList2 = res;
});
},
//

View File

@ -131,11 +131,10 @@ export default {
type: "warning",
}).then(() => {
this.$API.pm.mtask.submit.req(row.id).then((res) => {
this.$message.success("操作成功");
this.$refs.table_mtask.refresh();
this.mtaskClick(this.currentMtask);
})
.catch((err) => {});
this.$message.success("操作成功");
this.$refs.table.refresh();
this.mtaskClick(this.currentMtask);
}).catch((err) => {});
});
},
mtask_deliver(row){