fix:合格数统计柱状图修正,光芯mtask提交后刷新列表
This commit is contained in:
parent
753063ba47
commit
e5b163dc59
|
@ -1158,7 +1158,7 @@ export default {
|
||||||
for(let i = 0;i<dataList.length;i++){
|
for(let i = 0;i<dataList.length;i++){
|
||||||
for(let j = 0;j<dataList[i].length;j++){
|
for(let j = 0;j<dataList[i].length;j++){
|
||||||
let index = that.weekDateList.indexOf(dataList[i][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++){
|
for(let n=0;n<nameList.length;n++){
|
||||||
|
|
|
@ -412,9 +412,9 @@ export default {
|
||||||
//获取仓库人员
|
//获取仓库人员
|
||||||
getCkUserList() {
|
getCkUserList() {
|
||||||
let that = this;
|
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) => {
|
.then((res) => {
|
||||||
that.userList = res;
|
that.userList2 = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//获取接收工段人员
|
//获取接收工段人员
|
||||||
|
|
|
@ -131,11 +131,10 @@ export default {
|
||||||
type: "warning",
|
type: "warning",
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$API.pm.mtask.submit.req(row.id).then((res) => {
|
this.$API.pm.mtask.submit.req(row.id).then((res) => {
|
||||||
this.$message.success("操作成功");
|
this.$message.success("操作成功");
|
||||||
this.$refs.table_mtask.refresh();
|
this.$refs.table.refresh();
|
||||||
this.mtaskClick(this.currentMtask);
|
this.mtaskClick(this.currentMtask);
|
||||||
})
|
}).catch((err) => {});
|
||||||
.catch((err) => {});
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
mtask_deliver(row){
|
mtask_deliver(row){
|
||||||
|
|
Loading…
Reference in New Issue