fix:禅道036
This commit is contained in:
parent
e588516177
commit
af77ee8b38
|
@ -400,7 +400,11 @@ export default {
|
||||||
showValue: true
|
showValue: true
|
||||||
} ,
|
} ,
|
||||||
config_left2:{
|
config_left2:{
|
||||||
data:[]
|
data:[],
|
||||||
|
digitalFlopStyle: {
|
||||||
|
fontSize: 16,
|
||||||
|
fill: '#fff'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
config_middle_top:{
|
config_middle_top:{
|
||||||
rowNum:10,
|
rowNum:10,
|
||||||
|
@ -431,6 +435,7 @@ export default {
|
||||||
today: "",
|
today: "",
|
||||||
end_time:'',
|
end_time:'',
|
||||||
start_time:'',
|
start_time:'',
|
||||||
|
deptName:"拉丝排板班组",
|
||||||
mgroups:['洗棒','捆棒','拉单丝','捆一次棒','一次复丝','捆二次棒','二次复丝'],
|
mgroups:['洗棒','捆棒','拉单丝','捆一次棒','一次复丝','捆二次棒','二次复丝'],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -444,7 +449,7 @@ export default {
|
||||||
that.mgroupsforEach();
|
that.mgroupsforEach();
|
||||||
that.getMgroups();
|
that.getMgroups();
|
||||||
//每个人日生产量:个人绩效
|
//每个人日生产量:个人绩效
|
||||||
// that.getEveryoneCount(that.deptName1);
|
that.getEveryoneCount();
|
||||||
// that.getEveryoneCount(that.deptName2);
|
// that.getEveryoneCount(that.deptName2);
|
||||||
// that.getEveryoneCount(that.deptName3);
|
// that.getEveryoneCount(that.deptName3);
|
||||||
that.materialAll();
|
that.materialAll();
|
||||||
|
@ -500,7 +505,7 @@ export default {
|
||||||
mgroupsforEach(){
|
mgroupsforEach(){
|
||||||
let that = this;
|
let that = this;
|
||||||
that.mgroups.forEach((item)=>{
|
that.mgroups.forEach((item)=>{
|
||||||
that.getEquipment(item);
|
// that.getEquipment(item);
|
||||||
that.getMtask1(item);
|
that.getMtask1(item);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -539,9 +544,9 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//车间设备列表
|
//车间设备列表
|
||||||
getEquipment(name) {
|
getEquipment() {
|
||||||
let that = this;
|
let that = this;
|
||||||
let params = {page: 0, mgroup__name:name,
|
let params = {page: 0, belong_dept__name:'拉丝排板班组',
|
||||||
// query: " { id, name, number, model, state ,mgroup_name }"
|
// query: " { id, name, number, model, state ,mgroup_name }"
|
||||||
};
|
};
|
||||||
that.config_middle_bottom.data = [];
|
that.config_middle_bottom.data = [];
|
||||||
|
@ -562,13 +567,12 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//每个人日产量
|
//每个人日产量
|
||||||
getEveryoneCount(deptName){
|
getEveryoneCount(){
|
||||||
let that = this;
|
let that = this;
|
||||||
that.config_right_top.data = [];
|
that.config_right_top.data = [];
|
||||||
let date = that.$TOOL.dateFormat(new Date(), "yyyy-MM-dd");
|
let date = that.$TOOL.dateFormat(new Date(), "yyyy-MM-dd");
|
||||||
let params = {
|
let params = {
|
||||||
// query: {start_date:date,end_date:date,dept_name:that.deptName},
|
query: {start_date:date,end_date:date,dept_name:that.deptName},
|
||||||
query: {start_date:'2025-05-04',end_date:'2025-05-04',dept_name:deptName},
|
|
||||||
};
|
};
|
||||||
this.$API.bi.dataset.exec.req("performance", params).then((res) => {
|
this.$API.bi.dataset.exec.req("performance", params).then((res) => {
|
||||||
if(res.data2.ds0.length>0){
|
if(res.data2.ds0.length>0){
|
||||||
|
|
|
@ -397,7 +397,11 @@ export default {
|
||||||
showValue: true
|
showValue: true
|
||||||
} ,
|
} ,
|
||||||
config_left2:{
|
config_left2:{
|
||||||
data:[]
|
data:[],
|
||||||
|
digitalFlopStyle: {
|
||||||
|
fontSize: 16,
|
||||||
|
fill: '#fff'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
config_middle_top:{
|
config_middle_top:{
|
||||||
rowNum:10,
|
rowNum:10,
|
||||||
|
|
|
@ -368,7 +368,11 @@ export default {
|
||||||
showValue: true
|
showValue: true
|
||||||
} ,
|
} ,
|
||||||
config_left2:{
|
config_left2:{
|
||||||
data:[]
|
data:[],
|
||||||
|
digitalFlopStyle: {
|
||||||
|
fontSize: 16,
|
||||||
|
fill: '#fff'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
config_middle_top:{
|
config_middle_top:{
|
||||||
rowNum:10,
|
rowNum:10,
|
||||||
|
@ -741,4 +745,7 @@ export default {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
}
|
}
|
||||||
|
.active-ring-name{
|
||||||
|
font-size: 20px!important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -391,7 +391,11 @@ export default {
|
||||||
showValue: true
|
showValue: true
|
||||||
} ,
|
} ,
|
||||||
config_left2:{
|
config_left2:{
|
||||||
data:[]
|
data:[],
|
||||||
|
digitalFlopStyle: {
|
||||||
|
fontSize: 16,
|
||||||
|
fill: '#fff'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
config_middle_top:{
|
config_middle_top:{
|
||||||
rowNum:10,
|
rowNum:10,
|
||||||
|
|
|
@ -391,7 +391,11 @@ export default {
|
||||||
showValue: true
|
showValue: true
|
||||||
} ,
|
} ,
|
||||||
config_left2:{
|
config_left2:{
|
||||||
data:[]
|
data:[],
|
||||||
|
digitalFlopStyle: {
|
||||||
|
fontSize: 16,
|
||||||
|
fill: '#fff'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
config_middle_top:{
|
config_middle_top:{
|
||||||
rowNum:10,
|
rowNum:10,
|
||||||
|
|
Loading…
Reference in New Issue