fix:禅道470
This commit is contained in:
parent
7f814e1a4f
commit
31bc899af3
|
|
@ -98,6 +98,7 @@ export default {
|
|||
let that = this;
|
||||
let params = {};
|
||||
params.query = that.query;
|
||||
params.query.mgroup_name = "毛坯检测";
|
||||
that.$API.bi.dataset.exec.req('product_defect_model', params).then((res) => {
|
||||
let data = res.data2.ds0;
|
||||
data.forEach(item=>{
|
||||
|
|
|
|||
|
|
@ -655,14 +655,22 @@ export default {
|
|||
params.query = query;
|
||||
biStr = 'product_defect_equip_bdgy';
|
||||
}else if(that.activeName=='muju'){
|
||||
query.mgroup_name = "毛坯检测";
|
||||
query.select_cols = "";
|
||||
params.query = query;
|
||||
biStr = 'product_defect_model';
|
||||
}else if(that.activeName=='gongxu'){
|
||||
query.process_name = that.query2.process_name;
|
||||
if(that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'){
|
||||
query.process_name = that.query2.process_name;
|
||||
query.mgroup_name = "毛坯检测";
|
||||
}else{
|
||||
query.mgroup_name = that.query2.process_name;
|
||||
query.testmgroup_name = "毛坯检测";
|
||||
}
|
||||
params.query = query;
|
||||
biStr = 'product_defect_reya';
|
||||
biStr = that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'?'product_defect_reya':'product_defect_mg';
|
||||
}else if(that.activeName=='total'){
|
||||
query.mgroup_name = "毛坯检测";
|
||||
params.query = query;
|
||||
biStr = 'product_defect_sg';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -409,14 +409,22 @@ export default {
|
|||
params.query = query;
|
||||
biStr = 'product_defect_equip_mpjc';
|
||||
}else if(that.activeName=='muju'){
|
||||
query.mgroup_name = "扭后检测";
|
||||
query.select_cols = "";
|
||||
params.query = query;
|
||||
biStr = 'product_defect_model';
|
||||
}else if(that.activeName=='gongxu'){
|
||||
query.process_name = that.query2.process_name;
|
||||
if(that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'){
|
||||
query.process_name = that.query2.process_name;
|
||||
query.mgroup_name = "扭后检测";
|
||||
}else{
|
||||
query.mgroup_name = that.query2.process_name;
|
||||
query.testmgroup_name = "扭后检测";
|
||||
}
|
||||
params.query = query;
|
||||
biStr = 'product_defect_reya';
|
||||
biStr = that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'?'product_defect_reya':'product_defect_mg';
|
||||
}else if(that.activeName=='total'){
|
||||
query.mgroup_name = "扭后检测";
|
||||
params.query = query;
|
||||
biStr = 'product_defect_sg';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue