From bc15b06fa468554c73890a2d180794d7abd8e7c4 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 6 Mar 2026 14:32:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A6=85=E9=81=93298?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/bxerp/workHoursRY.vue | 125 ++++++++++++++++++++- 1 file changed, 123 insertions(+), 2 deletions(-) diff --git a/src/views/statistics/bxerp/workHoursRY.vue b/src/views/statistics/bxerp/workHoursRY.vue index d6fab545..2178302a 100644 --- a/src/views/statistics/bxerp/workHoursRY.vue +++ b/src/views/statistics/bxerp/workHoursRY.vue @@ -49,6 +49,26 @@ @click="handleQuery" > +
+ + + + + +
@@ -402,6 +422,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -432,6 +542,9 @@ export default { time_gte:'', time_lte:'', }, + query2:{ + process_name:'压板出炉', + }, query:{ end_date:'', start_date:'', @@ -440,6 +553,7 @@ export default { mgruops:[], tableData:[], detailRow:[], + processList:['装模','装炉','压板出炉','脱膜测量'], params:{cate:'热压'}, apiObj1: this.$API.wpm.wpr.query, apiObj: this.$API.mtm.process.list, @@ -455,15 +569,22 @@ export default { getData(){ let that = this; let params = {}; - params.query = that.query; let biStr = ''; if(that.activeName=='luhao'){ + params.query = that.query; biStr = 'product_defect_equip_bdgy'; params.query.select_cols = ",ls.板段编号列表,ls.切片编号列表"; }else if(that.activeName=='muju'){ + params.query = that.query; biStr = 'product_defect_model'; params.query.select_cols = ""; + }else if(that.activeName=='gongxu'){ + params.query = that.query2; + biStr = 'product_defect_reya'; + }else if(that.activeName=='total'){ + biStr = 'product_defect_sg'; } + console.log('params',params); that.$API.bi.dataset.exec.req(biStr, params).then((res) => { let data = res.data2.ds0; data.forEach(item=>{ @@ -528,7 +649,7 @@ export default { console.log('e.props.name',e.props.name); this.activeName = e.props.name; this.showTable=false; - if(e.props.name=='luhao'||e.props.name=='muju'){ + if(e.props.name=='luhao'||e.props.name=='muju'||e.props.name=='gongxu'||e.props.name=='total'){ this.getData(); } },