Ver Fonte

王子文 月报 Otherside

wangggziwen há 2 anos atrás
pai
commit
a7c5280d5b

+ 188 - 83
master/src/main/java/com/ruoyi/project/production/domain/TMonthlyProductionReport.java

@@ -290,6 +290,30 @@ public class TMonthlyProductionReport extends BaseEntity
     @Excel(name = "Product Yield C9")
     private String c9Yield;
 
+    /** EU loss */
+    @Excel(name = "EU loss")
+    private String euLoss;
+
+    /** EU loss rate */
+    @Excel(name = "EU loss rate")
+    private String euLossRate;
+
+    /** AEU loss */
+    @Excel(name = "AEU loss")
+    private String aeuLoss;
+
+    /** AEU loss rate */
+    @Excel(name = "AEU loss rate")
+    private String aeuLossRate;
+
+    /** Total loss */
+    @Excel(name = "Total loss")
+    private String totalLoss;
+
+    /** Total loss rate */
+    @Excel(name = "Total loss rate")
+    private String totalLossRate;
+
     public void setId(Long id)
     {
         this.id = id;
@@ -722,173 +746,248 @@ public class TMonthlyProductionReport extends BaseEntity
     {
         return aromaticsOutput;
     }
+    public void setGaseityYield(String gaseityYield)
+    {
+        this.gaseityYield = gaseityYield;
+    }
 
-    public String getGaseityYield() {
+    public String getGaseityYield()
+    {
         return gaseityYield;
     }
-
-    public void setGaseityYield(String gaseityYield) {
-        this.gaseityYield = gaseityYield;
+    public void setTatalYield(String tatalYield)
+    {
+        this.tatalYield = tatalYield;
     }
 
-    public String getTatalYield() {
+    public String getTatalYield()
+    {
         return tatalYield;
     }
-
-    public void setTatalYield(String tatalYield) {
-        this.tatalYield = tatalYield;
+    public void setC3C2Yield(String c3C2Yield)
+    {
+        this.c3C2Yield = c3C2Yield;
     }
 
-    public String getC3C2Yield() {
+    public String getC3C2Yield()
+    {
         return c3C2Yield;
     }
-
-    public void setC3C2Yield(String c3C2Yield) {
-        this.c3C2Yield = c3C2Yield;
+    public void setH2Yield(String h2Yield)
+    {
+        this.h2Yield = h2Yield;
     }
 
-    public String getH2Yield() {
+    public String getH2Yield()
+    {
         return h2Yield;
     }
-
-    public void setH2Yield(String h2Yield) {
-        this.h2Yield = h2Yield;
+    public void setEthyleneYield(String ethyleneYield)
+    {
+        this.ethyleneYield = ethyleneYield;
     }
 
-    public String getEthyleneYield() {
+    public String getEthyleneYield()
+    {
         return ethyleneYield;
     }
-
-    public void setEthyleneYield(String ethyleneYield) {
-        this.ethyleneYield = ethyleneYield;
+    public void setPropyleneYield(String propyleneYield)
+    {
+        this.propyleneYield = propyleneYield;
     }
 
-    public String getPropyleneYield() {
+    public String getPropyleneYield()
+    {
         return propyleneYield;
     }
-
-    public void setPropyleneYield(String propyleneYield) {
-        this.propyleneYield = propyleneYield;
+    public void setC3C4LpgYield(String c3C4LpgYield)
+    {
+        this.c3C4LpgYield = c3C4LpgYield;
     }
 
-    public String getC3C4LpgYield() {
+    public String getC3C4LpgYield()
+    {
         return c3C4LpgYield;
     }
-
-    public void setC3C4LpgYield(String c3C4LpgYield) {
-        this.c3C4LpgYield = c3C4LpgYield;
+    public void setC4sYield(String c4sYield)
+    {
+        this.c4sYield = c4sYield;
     }
 
-    public String getC4sYield() {
+    public String getC4sYield()
+    {
         return c4sYield;
     }
-
-    public void setC4sYield(String c4sYield) {
-        this.c4sYield = c4sYield;
+    public void setPoYield(String poYield)
+    {
+        this.poYield = poYield;
     }
 
-    public String getPoYield() {
+    public String getPoYield()
+    {
         return poYield;
     }
-
-    public void setPoYield(String poYield) {
-        this.poYield = poYield;
+    public void setNaphthaleneYield(String naphthaleneYield)
+    {
+        this.naphthaleneYield = naphthaleneYield;
     }
 
-    public String getNaphthaleneYield() {
+    public String getNaphthaleneYield()
+    {
         return naphthaleneYield;
     }
-
-    public void setNaphthaleneYield(String naphthaleneYield) {
-        this.naphthaleneYield = naphthaleneYield;
+    public void setEboYield(String eboYield)
+    {
+        this.eboYield = eboYield;
     }
 
-    public String getEboYield() {
+    public String getEboYield()
+    {
         return eboYield;
     }
-
-    public void setEboYield(String eboYield) {
-        this.eboYield = eboYield;
+    public void setWsYield(String wsYield)
+    {
+        this.wsYield = wsYield;
     }
 
-    public String getWsYield() {
+    public String getWsYield()
+    {
         return wsYield;
     }
-
-    public void setWsYield(String wsYield) {
-        this.wsYield = wsYield;
+    public void setMethaneYield(String methaneYield)
+    {
+        this.methaneYield = methaneYield;
     }
 
-    public String getMethaneYield() {
+    public String getMethaneYield()
+    {
         return methaneYield;
     }
-
-    public void setMethaneYield(String methaneYield) {
-        this.methaneYield = methaneYield;
+    public void setOffageYield(String offageYield)
+    {
+        this.offageYield = offageYield;
     }
 
-    public String getOffageYield() {
+    public String getOffageYield()
+    {
         return offageYield;
     }
-
-    public void setOffageYield(String offageYield) {
-        this.offageYield = offageYield;
+    public void setRpgYield(String rpgYield)
+    {
+        this.rpgYield = rpgYield;
     }
 
-    public String getRpgYield() {
+    public String getRpgYield()
+    {
         return rpgYield;
     }
-
-    public void setRpgYield(String rpgYield) {
-        this.rpgYield = rpgYield;
+    public void setBenzeneYield(String benzeneYield)
+    {
+        this.benzeneYield = benzeneYield;
     }
 
-    public String getBenzeneYield() {
+    public String getBenzeneYield()
+    {
         return benzeneYield;
     }
-
-    public void setBenzeneYield(String benzeneYield) {
-        this.benzeneYield = benzeneYield;
+    public void setTolueneYield(String tolueneYield)
+    {
+        this.tolueneYield = tolueneYield;
     }
 
-    public String getTolueneYield() {
+    public String getTolueneYield()
+    {
         return tolueneYield;
     }
-
-    public void setTolueneYield(String tolueneYield) {
-        this.tolueneYield = tolueneYield;
+    public void setXyleneYield(String xyleneYield)
+    {
+        this.xyleneYield = xyleneYield;
     }
 
-    public String getXyleneYield() {
+    public String getXyleneYield()
+    {
         return xyleneYield;
     }
-
-    public void setXyleneYield(String xyleneYield) {
-        this.xyleneYield = xyleneYield;
+    public void setC6C8NaYield(String c6C8NaYield)
+    {
+        this.c6C8NaYield = c6C8NaYield;
     }
 
-    public String getC6C8NaYield() {
+    public String getC6C8NaYield()
+    {
         return c6C8NaYield;
     }
-
-    public void setC6C8NaYield(String c6C8NaYield) {
-        this.c6C8NaYield = c6C8NaYield;
+    public void setC5Yield(String c5Yield)
+    {
+        this.c5Yield = c5Yield;
     }
 
-    public String getC5Yield() {
+    public String getC5Yield()
+    {
         return c5Yield;
     }
-
-    public void setC5Yield(String c5Yield) {
-        this.c5Yield = c5Yield;
+    public void setC9Yield(String c9Yield)
+    {
+        this.c9Yield = c9Yield;
     }
 
-    public String getC9Yield() {
+    public String getC9Yield()
+    {
         return c9Yield;
     }
+    public void setEuLoss(String euLoss)
+    {
+        this.euLoss = euLoss;
+    }
 
-    public void setC9Yield(String c9Yield) {
-        this.c9Yield = c9Yield;
+    public String getEuLoss()
+    {
+        return euLoss;
+    }
+    public void setEuLossRate(String euLossRate)
+    {
+        this.euLossRate = euLossRate;
+    }
+
+    public String getEuLossRate()
+    {
+        return euLossRate;
+    }
+    public void setAeuLoss(String aeuLoss)
+    {
+        this.aeuLoss = aeuLoss;
+    }
+
+    public String getAeuLoss()
+    {
+        return aeuLoss;
+    }
+    public void setAeuLossRate(String aeuLossRate)
+    {
+        this.aeuLossRate = aeuLossRate;
+    }
+
+    public String getAeuLossRate()
+    {
+        return aeuLossRate;
+    }
+    public void setTotalLoss(String totalLoss)
+    {
+        this.totalLoss = totalLoss;
+    }
+
+    public String getTotalLoss()
+    {
+        return totalLoss;
+    }
+    public void setTotalLossRate(String totalLossRate)
+    {
+        this.totalLossRate = totalLossRate;
+    }
+
+    public String getTotalLossRate()
+    {
+        return totalLossRate;
     }
 
     @Override
@@ -963,6 +1062,12 @@ public class TMonthlyProductionReport extends BaseEntity
             .append("c6C8NaYield", getC6C8NaYield())
             .append("c5Yield", getC5Yield())
             .append("c9Yield", getC9Yield())
+            .append("euLoss", getEuLoss())
+            .append("euLossRate", getEuLossRate())
+            .append("aeuLoss", getAeuLoss())
+            .append("aeuLossRate", getAeuLossRate())
+            .append("totalLoss", getTotalLoss())
+            .append("totalLossRate", getTotalLossRate())
             .toString();
     }
 }

+ 74 - 17
master/src/main/java/com/ruoyi/project/production/service/impl/TMonthlyProductionReportServiceImpl.java

@@ -7,7 +7,6 @@ import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 
-import com.graphbuilder.math.func.AvgFunction;
 import com.ruoyi.project.production.controller.vo.MonthlyAnalysisDataVO;
 import com.ruoyi.project.production.controller.vo.MonthlyAnalysisQueryVO;
 import com.ruoyi.project.production.service.impl.vo.MonthlyProductionReportVO;
@@ -109,8 +108,8 @@ public class TMonthlyProductionReportServiceImpl implements ITMonthlyProductionR
     private void calcAvg(List<MonthlyProductionReportVO> monthlyProductionReportVOs) {
         for (int i = 0; i < monthlyProductionReportVOs.size(); i++) {
             MonthlyProductionReportVO monthlyProductionReportVO = monthlyProductionReportVOs.get(i);
-            BigDecimal total = null;
-            BigDecimal avg = null;
+            BigDecimal total = new BigDecimal("0");
+            BigDecimal avg = new BigDecimal("0");
             int count = 0;
             String janStr = monthlyProductionReportVO.getJan();
             String febStr = monthlyProductionReportVO.getFeb();
@@ -124,18 +123,18 @@ public class TMonthlyProductionReportServiceImpl implements ITMonthlyProductionR
             String octStr = monthlyProductionReportVO.getOct();
             String novStr = monthlyProductionReportVO.getNov();
             String decStr = monthlyProductionReportVO.getDec();
-            BigDecimal jan = null;
-            BigDecimal feb = null;
-            BigDecimal mar = null;
-            BigDecimal apr = null;
-            BigDecimal may = null;
-            BigDecimal jun = null;
-            BigDecimal jul = null;
-            BigDecimal aug = null;
-            BigDecimal sep = null;
-            BigDecimal oct = null;
-            BigDecimal nov = null;
-            BigDecimal dec = null;
+            BigDecimal jan = new BigDecimal("0");
+            BigDecimal feb = new BigDecimal("0");
+            BigDecimal mar = new BigDecimal("0");
+            BigDecimal apr = new BigDecimal("0");
+            BigDecimal may = new BigDecimal("0");
+            BigDecimal jun = new BigDecimal("0");
+            BigDecimal jul = new BigDecimal("0");
+            BigDecimal aug = new BigDecimal("0");
+            BigDecimal sep = new BigDecimal("0");
+            BigDecimal oct = new BigDecimal("0");
+            BigDecimal nov = new BigDecimal("0");
+            BigDecimal dec = new BigDecimal("0");
             if (janStr == null) {
                 jan = new BigDecimal("0");
             } else {
@@ -210,7 +209,9 @@ public class TMonthlyProductionReportServiceImpl implements ITMonthlyProductionR
             }
             total = jan.add(feb).add(mar).add(apr).add(may).add(jun)
                     .add(jul).add(aug).add(sep).add(oct).add(nov).add(dec);
-            avg = total.divide(new BigDecimal(count), 2, RoundingMode.HALF_UP);
+            if (count != 0) {
+                avg = total.divide(new BigDecimal(count), 2, RoundingMode.HALF_UP);
+            }
             monthlyProductionReportVO.setAvg(avg.toString());
         }
     }
@@ -860,7 +861,63 @@ public class TMonthlyProductionReportServiceImpl implements ITMonthlyProductionR
      */
     @Override
     public List<MonthlyProductionReportVO> selectOthersideByYear(Long year) {
-        return  null;
+        // 当前日期
+        Date currentDate = new Date();
+        // 当前年份
+        Long currentYear = Long.parseLong(currentDate.getYear() + 1900 + "");
+        // 当前月份
+        Long currentMonth = Long.parseLong(currentDate.getMonth() + 1 + "");
+        // 从数据库中查出的当前year的月报数据集合,每个元素对应当前year某个月的数据
+        List<TMonthlyProductionReport> tMonthlyProductionReports = tMonthlyProductionReportMapper.selectOthersideByYear(year);
+        // 前端月报数据集合,每个元素对应当前某个指标的title、unit、1~12月的数据以及年度汇总数据
+        List<MonthlyProductionReportVO> monthlyProductionReportVOs = new ArrayList<>();
+        monthlyProductionReportVOs.add(new MonthlyProductionReportVO("eu_loss","EU loss","t"));
+        monthlyProductionReportVOs.add(new MonthlyProductionReportVO("eu_loss_rate","EU loss rate","%"));
+        monthlyProductionReportVOs.add(new MonthlyProductionReportVO("aeu_loss","AEU loss","t"));
+        monthlyProductionReportVOs.add(new MonthlyProductionReportVO("aeu_loss_rate","AEU loss rate","%"));
+        monthlyProductionReportVOs.add(new MonthlyProductionReportVO("total_loss","Total loss","t"));
+        monthlyProductionReportVOs.add(new MonthlyProductionReportVO("total_loss_rate","Total loss rate","%"));
+        // 遍历从数据库中查出的月报数据集合,结果为0~12条数据不等
+        for (int i = 0; i < tMonthlyProductionReports.size(); i++) {
+            TMonthlyProductionReport tMonthlyProductionReport = tMonthlyProductionReports.get(i);
+            String euLoss = tMonthlyProductionReport.getEuLoss();
+            String euLossRate = tMonthlyProductionReport.getEuLossRate();
+            String aeuLoss = tMonthlyProductionReport.getAeuLoss();
+            String aeuLossRate = tMonthlyProductionReport.getAeuLossRate();
+            String totalLoss = tMonthlyProductionReport.getTotalLoss();
+            String totalLossRate = tMonthlyProductionReport.getTotalLossRate();
+            Long reportMonth = tMonthlyProductionReport.getReportMonth();   // 当前元素的所属月份
+            Long reportYear = tMonthlyProductionReport.getReportYear();     // 当前元素的所属年份
+            // 前端数据集合的class
+            Class clazz = null;
+            // 当前元素调用的set方法
+            Method method = null;
+            try {
+                clazz = Class.forName("com.ruoyi.project.production.service.impl.vo.MonthlyProductionReportVO");
+                method = this.getSetMethod(reportMonth, clazz);
+                // 按照当前元素的所属月份调取相应set方法
+                method.invoke(monthlyProductionReportVOs.get(0), euLoss);
+                method.invoke(monthlyProductionReportVOs.get(1), euLossRate);
+                method.invoke(monthlyProductionReportVOs.get(2), aeuLoss);
+                method.invoke(monthlyProductionReportVOs.get(3), aeuLossRate);
+                method.invoke(monthlyProductionReportVOs.get(4), totalLoss);
+                method.invoke(monthlyProductionReportVOs.get(5), totalLossRate);
+                // 当前年份=所属年份,当前月份=所属月份
+                if (currentMonth.equals(reportMonth) && currentYear.equals(reportYear)) {
+                    monthlyProductionReportVOs.get(0).setCurrently(euLoss);
+                    monthlyProductionReportVOs.get(1).setCurrently(euLossRate);
+                    monthlyProductionReportVOs.get(2).setCurrently(aeuLoss);
+                    monthlyProductionReportVOs.get(3).setCurrently(aeuLossRate);
+                    monthlyProductionReportVOs.get(4).setCurrently(totalLoss);
+                    monthlyProductionReportVOs.get(5).setCurrently(totalLossRate);
+                }
+            } catch (Exception e) {
+                e.printStackTrace();
+            }
+        }
+        this.calcTotal(monthlyProductionReportVOs);
+        this.calcAvg(monthlyProductionReportVOs);
+        return monthlyProductionReportVOs;
     }
 
     /**

+ 25 - 0
master/src/main/java/com/ruoyi/project/production/service/impl/thread/SyncMonthlyThread.java

@@ -314,6 +314,31 @@ public class SyncMonthlyThread extends Thread {
         monthly.setC5Yield(c5Yield.toString());
         monthly.setC9Yield(c9Yield.toString());
 
+        BigDecimal euLoss = new BigDecimal("0");
+        euLoss = crackerRawInput.subtract(crackerOutput);
+        monthly.setEuLoss(euLoss.toString());
+        BigDecimal euLossRate = new BigDecimal("0");
+        if (crackerRawInput.compareTo(BigDecimal.ZERO) != 0) {
+            euLossRate = euLoss.multiply(hundred).divide(crackerRawInput, 2, RoundingMode.HALF_UP);
+        }
+        monthly.setEuLossRate(euLossRate.toString());
+        BigDecimal aeuLoss = new BigDecimal("0");
+        aeuLoss = aromaticsRawInput.subtract(aromaticsOutput);
+        monthly.setAeuLoss(aeuLoss.toString());
+        BigDecimal aeuLossRate = new BigDecimal("0");
+        if (aromaticsRawInput.compareTo(BigDecimal.ZERO) != 0) {
+            aeuLossRate = aeuLoss.multiply(hundred).divide(aromaticsRawInput, 2, RoundingMode.HALF_UP);
+        }
+        monthly.setAeuLossRate(aeuLossRate.toString());
+        BigDecimal totalLoss = new BigDecimal("0");
+        totalLoss = euLoss.add(aeuLoss);
+        monthly.setTotalLoss(totalLoss.toString());
+        BigDecimal totalLossRate = new BigDecimal("0");
+        if (crackerRawInput.compareTo(BigDecimal.ZERO) != 0) {
+            totalLossRate = totalLoss.multiply(hundred).divide(crackerRawInput, 2, RoundingMode.HALF_UP);
+        }
+        monthly.setTotalLossRate(totalLossRate.toString());
+
         // 查询年份=reportYear,月份=reportMonth的月报数据
         int count = tMonthlyProductionReportMapper.selectTMonthlyProductionReportCountByDate(reportYear, reportMonth);
         if (count == 0) {   // 新增月报数据

+ 32 - 1
master/src/main/resources/mybatis/production/TMonthlyProductionReportMapper.xml

@@ -74,6 +74,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="c6C8NaYield"              column="c6_c8_na_yield"    />
         <result property="c5Yield"                  column="c5_yield"    />
         <result property="c9Yield"                  column="c9_yield"    />
+        <result property="euLoss"                   column="eu_loss"    />
+        <result property="euLossRate"               column="eu_loss_rate"    />
+        <result property="aeuLoss"                  column="aeu_loss"    />
+        <result property="aeuLossRate"              column="aeu_loss_rate"    />
+        <result property="totalLoss"                column="total_loss"    />
+        <result property="totalLossRate"            column="total_loss_rate"    />
     </resultMap>
 
     <select id="selectCrackerRawMaterialByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
@@ -132,7 +138,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectCostFrEthyleneByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
     <select id="selectRuningRateByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
     <select id="selectShoudownHourByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
-    <select id="selectOthersideByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
+    <select id="selectOthersideByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
+        select
+               d.id, d.report_month, d.report_year,
+               d.eu_loss, d.eu_loss_rate, d.aeu_loss, d.aeu_loss_rate, d.total_loss, d.total_loss_rate
+        from
+             t_monthly_production_report d
+        where d.report_year = #{year}
+    </select>
     <select id="selectChemicalConsumeByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
     <select id="selectSCTUUtilityConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
     <select id="selectSUBUtilityConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
@@ -221,6 +234,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="c6C8NaYield != null">c6_c8_na_yield,</if>
             <if test="c5Yield != null">c5_yield,</if>
             <if test="c9Yield != null">c9_yield,</if>
+            <if test="euLoss != null">eu_loss,</if>
+            <if test="euLossRate != null">eu_loss_rate,</if>
+            <if test="aeuLoss != null">aeu_loss,</if>
+            <if test="aeuLossRate != null">aeu_loss_rate,</if>
+            <if test="totalLoss != null">total_loss,</if>
+            <if test="totalLossRate != null">total_loss_rate,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
@@ -292,6 +311,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="c6C8NaYield != null">#{c6C8NaYield},</if>
             <if test="c5Yield != null">#{c5Yield},</if>
             <if test="c9Yield != null">#{c9Yield},</if>
+            <if test="euLoss != null">#{euLoss},</if>
+            <if test="euLossRate != null">#{euLossRate},</if>
+            <if test="aeuLoss != null">#{aeuLoss},</if>
+            <if test="aeuLossRate != null">#{aeuLossRate},</if>
+            <if test="totalLoss != null">#{totalLoss},</if>
+            <if test="totalLossRate != null">#{totalLossRate},</if>
         </trim>
     </insert>
 
@@ -364,6 +389,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="c6C8NaYield != null">c6_c8_na_yield = #{c6C8NaYield},</if>
             <if test="c5Yield != null">c5_yield = #{c5Yield},</if>
             <if test="c9Yield != null">c9_yield = #{c9Yield},</if>
+            <if test="euLoss != null">eu_loss = #{euLoss},</if>
+            <if test="euLossRate != null">eu_loss_rate = #{euLossRate},</if>
+            <if test="aeuLoss != null">aeu_loss = #{aeuLoss},</if>
+            <if test="aeuLossRate != null">aeu_loss_rate = #{aeuLossRate},</if>
+            <if test="totalLoss != null">total_loss = #{totalLoss},</if>
+            <if test="totalLossRate != null">total_loss_rate = #{totalLossRate},</if>
         </trim>
         where report_month = #{reportMonth} and report_year = #{reportYear}
     </update>

+ 6 - 35
ui/src/views/production/monthly/index.vue

@@ -379,7 +379,7 @@
         <el-table-column prop="oct" :label="this.monthList[9]"></el-table-column>
         <el-table-column prop="nov" :label="this.monthList[10]"></el-table-column>
         <el-table-column prop="dec" :label="this.monthList[11]"></el-table-column>
-        <el-table-column prop="total" label="total"></el-table-column>
+        <el-table-column prop="avg" label="avg"></el-table-column>
       </el-table-column>
     </el-table>
     <el-table border :data="tableChemicalConsume" style="width: 100%;">
@@ -619,29 +619,7 @@ export default {
         {title: "C3="},
         {title: "C4's"},
       ],
-      tableProductYield: [
-        {title: "gaseity"},
-        {title: "tatal"},
-        {title: "C3/C2"},
-        {title: "H2"},
-        {title: "ethylene"},
-        {title: "propylene"},
-        {title: "C3/C4 LPG"},
-        {title: "C4'S"},
-        {title: "PO"},
-        {title: "Naphthalene"},
-        {title: "EBO"},
-        {title: "WS"},
-        {title: "Methane"},
-        {title: "OFFAGE"},
-        {title: "RPG"},
-        {title: "Benzene"},
-        {title: "Toluene"},
-        {title: "Xylene"},
-        {title: "C6-C8 NA"},
-        {title: "C5"},
-        {title: "C9"},
-      ],
+      tableProductYield: [],
       tableCrackerUtilityConsumption: [
         {title: "FG(include NG+Offage)"},
         {title: "SS"},
@@ -725,14 +703,7 @@ export default {
         {title: "total time"},
         {title: "total hour"},
       ],
-      tableOtherside: [
-        {title: "EU loss"},
-        {title: "EU loss rate"},
-        {title: "AEU loss"},
-        {title: "AEU loss rate"},
-        {title: "Total loss"},
-        {title: "Total loss rate"},
-      ],
+      tableOtherside: [],
       tableChemicalConsume: [
         {title: "Cracker and PGU"},
         {title: "PT-3000"},
@@ -1033,9 +1004,9 @@ export default {
       // getShoudownHour(year).then(response => {
       //   this.tableShoudownHour = response.data;
       // });
-      // getOtherside(year).then(response => {
-      //   this.tableOtherside = response.data;
-      // });
+      getOtherside(year).then(response => {
+        this.tableOtherside = response.data;
+      });
       // getChemicalConsume(year).then(response => {
       //   this.tableChemicalConsume = response.data;
       // });