fix:禅道036

This commit is contained in:
shijing 2025-08-04 15:46:02 +08:00
parent e588516177
commit af77ee8b38
5 changed files with 35 additions and 12 deletions

View File

@ -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){

View File

@ -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,

View File

@ -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>

View File

@ -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,

View File

@ -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,