|
@@ -1,8 +1,5 @@
|
|
|
<template>
|
|
|
<div class="app-container" style="overflow-x: auto;">
|
|
|
- <!--<div class="triangle-top"></div>-->
|
|
|
- <!--<div class="triangle-bottom"></div>-->
|
|
|
- <!--<div class="triangle-left"></div>-->
|
|
|
<!-- 操作栏 -->
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
<el-form-item label="报告日期" prop="reportDate">
|
|
@@ -107,7 +104,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bg-yellow-light">
|
|
|
- <span v-if="!updating">{{reportData.nap}}</span>
|
|
|
+ <span v-if="!updating" @click="openDialog('nap', 'Nap')">{{reportData.nap}}</span>
|
|
|
<el-input v-if="updating" size="mini" v-model="reportData.nap"/>
|
|
|
</td>
|
|
|
<td class="no-border solid-line-top no-padding" rowspan="2">
|
|
@@ -2821,6 +2818,29 @@
|
|
|
<el-button @click="upload.open = false">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- 趋势分析对话框 -->
|
|
|
+ <el-dialog @open="draw" :title="analysis.title" :visible.sync="analysis.open" width="1000px" append-to-body>
|
|
|
+ <el-form :model="analysisQueryParams" ref="queryForm" :inline="true" label-width="68px">
|
|
|
+ <el-form-item label="开始日期" prop="startDate">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="analysisQueryParams.startDate"
|
|
|
+ type="date"
|
|
|
+ placeholder="选择开始日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="结束日期" prop="endDate">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="analysisQueryParams.endDate"
|
|
|
+ type="date"
|
|
|
+ placeholder="选择结束日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleAnalysisQuery()">{{ $t('搜索') }}</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div id="bottomRightChartDialog" style="width:940px;height:400px;"></div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -2830,12 +2850,14 @@ import { treeselect } from "@/api/system/dept";
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
+import echartMixins from "@/utils/resizeMixins";
|
|
|
|
|
|
export default {
|
|
|
name: "DailyProductionReport",
|
|
|
components: { Treeselect },
|
|
|
data() {
|
|
|
return {
|
|
|
+ chart: null,
|
|
|
// 遮罩层
|
|
|
loading: true,
|
|
|
// 选中数组
|
|
@@ -2857,21 +2879,33 @@ export default {
|
|
|
clientHeight:300,
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
- // 用户导入参数
|
|
|
- upload: {
|
|
|
- // 是否显示弹出层(用户导入)
|
|
|
- open: false,
|
|
|
- // 弹出层标题(用户导入)
|
|
|
- title: "",
|
|
|
- // 是否禁用上传
|
|
|
- isUploading: false,
|
|
|
- // 是否更新已经存在的用户数据
|
|
|
- updateSupport: 0,
|
|
|
- // 设置上传的请求头部
|
|
|
- headers: { Authorization: "Bearer " + getToken() },
|
|
|
- // 上传的地址
|
|
|
- url: process.env.VUE_APP_BASE_API + "/production/report/importData"
|
|
|
- },
|
|
|
+ // 用户导入参数
|
|
|
+ upload: {
|
|
|
+ // 是否显示弹出层(用户导入)
|
|
|
+ open: false,
|
|
|
+ // 弹出层标题(用户导入)
|
|
|
+ title: "",
|
|
|
+ // 是否禁用上传
|
|
|
+ isUploading: false,
|
|
|
+ // 是否更新已经存在的用户数据
|
|
|
+ updateSupport: 0,
|
|
|
+ // 设置上传的请求头部
|
|
|
+ headers: { Authorization: "Bearer " + getToken() },
|
|
|
+ // 上传的地址
|
|
|
+ url: process.env.VUE_APP_BASE_API + "/production/report/importData"
|
|
|
+ },
|
|
|
+ // 趋势分析参数
|
|
|
+ analysis: {
|
|
|
+ // 是否显示弹出层
|
|
|
+ open: false,
|
|
|
+ // 弹出层标题
|
|
|
+ title: "",
|
|
|
+ },
|
|
|
+ // 趋势分析参数
|
|
|
+ analysisQueryParams: {
|
|
|
+ startDate: null,
|
|
|
+ endDate: null
|
|
|
+ },
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -3985,17 +4019,92 @@ export default {
|
|
|
// element.setAttribute("top", top + "px"); // 向上移一个单元格的高度
|
|
|
// });
|
|
|
// },
|
|
|
+ mixins: [echartMixins],
|
|
|
methods: {
|
|
|
+ draw() {
|
|
|
+ // 设置开始日期和结束日期,默认范围为一个月
|
|
|
+ let today = new Date();
|
|
|
+ let monthBefore = new Date();
|
|
|
+ if (today.getMonth() != 2 && today.getDate() >= 28) {
|
|
|
+ monthBefore.setDate(28);
|
|
|
+ monthBefore.setMonth(today.getMonth()-1);
|
|
|
+ } else {
|
|
|
+ monthBefore.setMonth(today.getMonth()-1);
|
|
|
+ }
|
|
|
+
|
|
|
+ this.analysisQueryParams.endDate = today;
|
|
|
+ this.analysisQueryParams.startDate = monthBefore;
|
|
|
+
|
|
|
+ // 基于准备好的dom,初始化echarts实例
|
|
|
+ this.chart = this.echarts.init(document.getElementById("bottomRightChartDialog"));
|
|
|
+
|
|
|
+ let option = {
|
|
|
+ tooltip: {
|
|
|
+ trigger: "item"
|
|
|
+ },
|
|
|
+ grid: {
|
|
|
+ left: 90,
|
|
|
+ right: 80,
|
|
|
+ },
|
|
|
+ xAxis: {
|
|
|
+ data: ["1", "2", "3"],
|
|
|
+ name: '日期'
|
|
|
+ },
|
|
|
+ yAxis: {
|
|
|
+ type: 'value',
|
|
|
+ name: '值'
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ label: {
|
|
|
+ show: true,
|
|
|
+ position: 'top'
|
|
|
+ },
|
|
|
+ data: ["1", "2", "3"],
|
|
|
+ type: 'line',
|
|
|
+ smooth: true,
|
|
|
+ symbolSize: 15,
|
|
|
+ color:"#1f9f90",
|
|
|
+ lineStyle: {
|
|
|
+ width: 6
|
|
|
+ },
|
|
|
+ markLine: {
|
|
|
+ silent: true,
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ type: "average",
|
|
|
+ name: "额定值",
|
|
|
+ yAxis: 900
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ precision: 0,
|
|
|
+ label: {
|
|
|
+ normal: {
|
|
|
+ formatter: "额定值: \n {c}"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ lineStyle: {
|
|
|
+ normal: {
|
|
|
+ width: 3,
|
|
|
+ color: "rgba(248,211,81,.7)"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ }
|
|
|
+ ]
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.chart.setOption(option);
|
|
|
+ },
|
|
|
+ // 打开趋势分析对话框
|
|
|
+ openDialog(field, title) {
|
|
|
+ this.analysis.title = title + "趋势分析";
|
|
|
+ this.analysis.open = true;
|
|
|
+ },
|
|
|
/** 编辑按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
this.updating = true;
|
|
|
- // this.reset();
|
|
|
- // const id = row.id || this.ids
|
|
|
- // getReport(id).then(response => {
|
|
|
- // this.form = response.data;
|
|
|
- // this.open = true;
|
|
|
- // this.title = "修改每日生产报告";
|
|
|
- // });
|
|
|
},
|
|
|
/** 确定修改按钮操作 */
|
|
|
handleConfirmUpdate(row) {
|
|
@@ -4060,550 +4169,6 @@ export default {
|
|
|
this.open = false;
|
|
|
this.reset();
|
|
|
},
|
|
|
- // 表单重置
|
|
|
- reset() {
|
|
|
- this.form = {
|
|
|
- id: null,
|
|
|
- fromDate: null,
|
|
|
- toDate: null,
|
|
|
- reportDate: null,
|
|
|
- reportCode: null,
|
|
|
- nap: null,
|
|
|
- c5: null,
|
|
|
- c6C8Na: null,
|
|
|
- wisonEthane: null,
|
|
|
- lpgToFurnace: null,
|
|
|
- raff1FrBd: null,
|
|
|
- raff2FrIb: null,
|
|
|
- raff3FrBd: null,
|
|
|
- raffinate2pFr2ph: null,
|
|
|
- c2FrLdpe: null,
|
|
|
- c3FrOxo: null,
|
|
|
- mixedC3C4: null,
|
|
|
- hyC9: null,
|
|
|
- pguOffgas: null,
|
|
|
- washOil: null,
|
|
|
- toluene: null,
|
|
|
- hyC4FrR800: null,
|
|
|
- h2YieldPercentage: null,
|
|
|
- h2Produced: null,
|
|
|
- h2Inventory: null,
|
|
|
- h2Change: null,
|
|
|
- h2Import: null,
|
|
|
- h2Export: null,
|
|
|
- h2ToPgu: null,
|
|
|
- h2ToYpc: null,
|
|
|
- h2ToOxo: null,
|
|
|
- h2FrSyngasToSub: null,
|
|
|
- ethylenYieldPercentage: null,
|
|
|
- ethylenProduced: null,
|
|
|
- ethylenInventory: null,
|
|
|
- ethylenChange: null,
|
|
|
- ethylenImport: null,
|
|
|
- ethylenExport: null,
|
|
|
- ethylenToTm: null,
|
|
|
- ethylenToTs: null,
|
|
|
- ethylenToEoEg: null,
|
|
|
- ethylenToOxo: null,
|
|
|
- ethylenToYbs: null,
|
|
|
- ethylenToYpc: null,
|
|
|
- ethylenToWacker: null,
|
|
|
- ethylenToDyna: null,
|
|
|
- ethylenToCelanLongx: null,
|
|
|
- ethylenFrYpc: null,
|
|
|
- ethylenFrLongxiang: null,
|
|
|
- propyleneYieldPercentage: null,
|
|
|
- propyleneProduced: null,
|
|
|
- propyleneInventory: null,
|
|
|
- propyleneChange: null,
|
|
|
- propyleneImport: null,
|
|
|
- propyleneExport: null,
|
|
|
- propyleneToAaAe: null,
|
|
|
- propyleneToGaa: null,
|
|
|
- propyleneToOxo: null,
|
|
|
- propyleneToLdpe: null,
|
|
|
- propyleneToYpc: null,
|
|
|
- propyleneToRoad: null,
|
|
|
- propyleneToShip: null,
|
|
|
- propyleneFrYpc: null,
|
|
|
- propyleneFrShip: null,
|
|
|
- propyleneFrChengzhi: null,
|
|
|
- c3LpgYieldPercentage: null,
|
|
|
- c4LpgYieldPercentage: null,
|
|
|
- c3LpgProduced: null,
|
|
|
- c4LpgProduced: null,
|
|
|
- c3C4Inventory: null,
|
|
|
- c3C4Change: null,
|
|
|
- c3C4Import: null,
|
|
|
- c3C4Export: null,
|
|
|
- c3C4ToSub: null,
|
|
|
- c3C4ToFurAsFule: null,
|
|
|
- c3C4AsFeed: null,
|
|
|
- c3C4FrYpc: null,
|
|
|
- c3C4FrTruck: null,
|
|
|
- mixedC4sYieldPercentage: null,
|
|
|
- mixedC4sProduced: null,
|
|
|
- mixedC4sInventory: null,
|
|
|
- mixedC4sChange: null,
|
|
|
- mixedC4sImport: null,
|
|
|
- mixedC4sExport: null,
|
|
|
- mixedC4sToBd: null,
|
|
|
- mixedC4sToYpc: null,
|
|
|
- mixedC4sToTruck: null,
|
|
|
- mixedC4sToShip: null,
|
|
|
- mixedC4sFrYpc: null,
|
|
|
- mixedC4sFrTruck: null,
|
|
|
- mixedC4sFrShip: null,
|
|
|
- mixedC4sFrBdR1: null,
|
|
|
- mixedC4sToR800: null,
|
|
|
- eboYieldPercentage: null,
|
|
|
- eboProduced: null,
|
|
|
- eboInventory: null,
|
|
|
- eboChange: null,
|
|
|
- eboImport: null,
|
|
|
- eboExport: null,
|
|
|
- eboToShip: null,
|
|
|
- eboToRttf: null,
|
|
|
- eboToTrain: null,
|
|
|
- eboFrBd: null,
|
|
|
- naphthaleneYieldPercentage: null,
|
|
|
- naphthaleneProduced: null,
|
|
|
- naphthaleneInventory: null,
|
|
|
- naphthaleneChange: null,
|
|
|
- naphthaleneImport: null,
|
|
|
- naphthaleneExport: null,
|
|
|
- naphthaleneToTruck: null,
|
|
|
- poFluxOilYieldPercentage: null,
|
|
|
- poFluxOilProduced: null,
|
|
|
- poFluxOilInventory: null,
|
|
|
- poFluxOilChange: null,
|
|
|
- poFluxOilImport: null,
|
|
|
- poFluxOilExport: null,
|
|
|
- poFluxOilToBd: null,
|
|
|
- offgasYieldPercentage: null,
|
|
|
- offgasProduced: null,
|
|
|
- offgasInventory: null,
|
|
|
- offgasChange: null,
|
|
|
- offgasImport: null,
|
|
|
- offgasExport: null,
|
|
|
- offgasToFurnance: null,
|
|
|
- offgasToYbs: null,
|
|
|
- offgasToCEru: null,
|
|
|
- offgasSubInCloseU2: null,
|
|
|
- offgasFlareSctu: null,
|
|
|
- offgasToU2Nm3: null,
|
|
|
- offgasFlareLossT: null,
|
|
|
- rpgYieldPercentage: null,
|
|
|
- rpgProduced: null,
|
|
|
- rpgInventory: null,
|
|
|
- rpgChange: null,
|
|
|
- rpgImport: null,
|
|
|
- rpgExport: null,
|
|
|
- rpgToPgu: null,
|
|
|
- rpgFrYfcc: null,
|
|
|
- methaneYieldPercentage: null,
|
|
|
- methaneProduced: null,
|
|
|
- methaneToEoEg: null,
|
|
|
- residueOilYieldPercentage: null,
|
|
|
- residueOilProduced: null,
|
|
|
- totalInput: null,
|
|
|
- totalOutput: null,
|
|
|
- totalLoss: null,
|
|
|
- lossPercentage: null,
|
|
|
- totalFurnanceFeed: null,
|
|
|
- napFrCltf: null,
|
|
|
- totalPE: null,
|
|
|
- plantModeIs: null,
|
|
|
- plantLoad3495tD: null,
|
|
|
- avgFurnanceFeedTH: null,
|
|
|
- feedingRatioPercentage: null,
|
|
|
- hhpToe: null,
|
|
|
- hhpTce: null,
|
|
|
- hhpPre: null,
|
|
|
- hhpCracker: null,
|
|
|
- hhpCrackerTT: null,
|
|
|
- hhpCrackerKgoe: null,
|
|
|
- hhpCrackerKgce: null,
|
|
|
- hhpPguAeu: null,
|
|
|
- hhpPguAeuTT: null,
|
|
|
- hhpPguAeuKgoe: null,
|
|
|
- hhpPguAeuKgce: null,
|
|
|
- hhpSctuFlare: null,
|
|
|
- hhpSub: null,
|
|
|
- hhpBcc: null,
|
|
|
- ngToe: null,
|
|
|
- ngTce: null,
|
|
|
- ngPre: null,
|
|
|
- ngCracker: null,
|
|
|
- ngCrackerTT: null,
|
|
|
- ngCrackerKgoe: null,
|
|
|
- ngCrackerKgce: null,
|
|
|
- ngPguAeu: null,
|
|
|
- ngPguAeuTT: null,
|
|
|
- ngPguAeuKgoe: null,
|
|
|
- ngPguAeuKgce: null,
|
|
|
- ngSctuFlare: null,
|
|
|
- ngSub: null,
|
|
|
- ngBcc: null,
|
|
|
- fuelGasOffgasToe: null,
|
|
|
- fuelGasOffgasTce: null,
|
|
|
- fuelGasOffgasPre: null,
|
|
|
- fuelGasOffgasCracker: null,
|
|
|
- fuelGasOffgasCrackerTT: null,
|
|
|
- fuelGasOffgasCrackerKgoe: null,
|
|
|
- fuelGasOffgasCrackerKgce: null,
|
|
|
- fuelGasOffgasPguAeu: null,
|
|
|
- fuelGasOffgasPguAeuTT: null,
|
|
|
- fuelGasOffgasPguAeuKgoe: null,
|
|
|
- fuelGasOffgasPguAeuKgce: null,
|
|
|
- fuelGasOffgasSctuFlare: null,
|
|
|
- fuelGasOffgasSub: null,
|
|
|
- fuelGasOffgasBcc: null,
|
|
|
- shpToe: null,
|
|
|
- shpTce: null,
|
|
|
- shpPre: null,
|
|
|
- shpCracker: null,
|
|
|
- shpCrackerTT: null,
|
|
|
- shpCrackerKgoe: null,
|
|
|
- shpCrackerKgce: null,
|
|
|
- shpPguAeu: null,
|
|
|
- shpPguAeuTT: null,
|
|
|
- shpPguAeuKgoe: null,
|
|
|
- shpPguAeuKgce: null,
|
|
|
- shpSctuFlare: null,
|
|
|
- shpSub: null,
|
|
|
- shpBcc: null,
|
|
|
- hpToe: null,
|
|
|
- hpTce: null,
|
|
|
- hpPre: null,
|
|
|
- hpCracker: null,
|
|
|
- hpCrackerTT: null,
|
|
|
- hpCrackerKgoe: null,
|
|
|
- hpCrackerKgce: null,
|
|
|
- hpPguAeu: null,
|
|
|
- hpPguAeuTT: null,
|
|
|
- hpPguAeuKgoe: null,
|
|
|
- hpPguAeuKgce: null,
|
|
|
- hpSctuFlare: null,
|
|
|
- hpSub: null,
|
|
|
- hpBcc: null,
|
|
|
- mpToe: null,
|
|
|
- mpTce: null,
|
|
|
- mpPre: null,
|
|
|
- mpCracker: null,
|
|
|
- mpCrackerTT: null,
|
|
|
- mpCrackerKgoe: null,
|
|
|
- mpCrackerKgce: null,
|
|
|
- mpPguAeu: null,
|
|
|
- mpPguAeuTT: null,
|
|
|
- mpPguAeuKgoe: null,
|
|
|
- mpPguAeuKgce: null,
|
|
|
- mpSctuFlare: null,
|
|
|
- mpSub: null,
|
|
|
- mpBcc: null,
|
|
|
- lpToe: null,
|
|
|
- lpTce: null,
|
|
|
- lpPre: null,
|
|
|
- lpCracker: null,
|
|
|
- lpCrackerTT: null,
|
|
|
- lpCrackerKgoe: null,
|
|
|
- lpCrackerKgce: null,
|
|
|
- lpPguAeu: null,
|
|
|
- lpPguAeuTT: null,
|
|
|
- lpPguAeuKgoe: null,
|
|
|
- lpPguAeuKgce: null,
|
|
|
- lpSctuFlare: null,
|
|
|
- lpSub: null,
|
|
|
- lpBcc: null,
|
|
|
- electricityToe: null,
|
|
|
- electricityTce: null,
|
|
|
- electricityPre: null,
|
|
|
- electricityCracker: null,
|
|
|
- electricityCrackerTT: null,
|
|
|
- electricityCrackerKgoe: null,
|
|
|
- electricityCrackerKgce: null,
|
|
|
- electricityPguAeu: null,
|
|
|
- electricityPguAeuTT: null,
|
|
|
- electricityPguAeuKgoe: null,
|
|
|
- electricityPguAeuKgce: null,
|
|
|
- electricitySctuFlare: null,
|
|
|
- electricitySub: null,
|
|
|
- electricityBcc: null,
|
|
|
- coolingWaterToe: null,
|
|
|
- coolingWaterTce: null,
|
|
|
- coolingWaterPre: null,
|
|
|
- coolingWaterCracker: null,
|
|
|
- coolingWaterCrackerTT: null,
|
|
|
- coolingWaterCrackerKgoe: null,
|
|
|
- coolingWaterCrackerKgce: null,
|
|
|
- coolingWaterPguAeu: null,
|
|
|
- coolingWaterPguAeuTT: null,
|
|
|
- coolingWaterPguAeuKgoe: null,
|
|
|
- coolingWaterPguAeuKgce: null,
|
|
|
- coolingWaterSctuFlare: null,
|
|
|
- coolingWaterSub: null,
|
|
|
- coolingWaterBcc: null,
|
|
|
- polishedConToe: null,
|
|
|
- polishedConTce: null,
|
|
|
- polishedConPre: null,
|
|
|
- polishedConCracker: null,
|
|
|
- polishedConCrackerTT: null,
|
|
|
- polishedConCrackerKgoe: null,
|
|
|
- polishedConCrackerKgce: null,
|
|
|
- polishedConPguAeu: null,
|
|
|
- polishedConPguAeuTT: null,
|
|
|
- polishedConPguAeuKgoe: null,
|
|
|
- polishedConPguAeuKgce: null,
|
|
|
- polishedConSctuFlare: null,
|
|
|
- polishedConSub: null,
|
|
|
- polishedConBcc: null,
|
|
|
- hpBfwToe: null,
|
|
|
- hpBfwTce: null,
|
|
|
- hpBfwPre: null,
|
|
|
- hpBfwCracker: null,
|
|
|
- hpBfwCrackerTT: null,
|
|
|
- hpBfwCrackerKgoe: null,
|
|
|
- hpBfwCrackerKgce: null,
|
|
|
- hpBfwPguAeu: null,
|
|
|
- hpBfwPguAeuTT: null,
|
|
|
- hpBfwPguAeuKgoe: null,
|
|
|
- hpBfwPguAeuKgce: null,
|
|
|
- hpBfwSctuFlare: null,
|
|
|
- hpBfwSub: null,
|
|
|
- hpBfwBcc: null,
|
|
|
- prodWaterToe: null,
|
|
|
- prodWaterTce: null,
|
|
|
- prodWaterPre: null,
|
|
|
- prodWaterCracker: null,
|
|
|
- prodWaterCrackerTT: null,
|
|
|
- prodWaterCrackerKgoe: null,
|
|
|
- prodWaterCrackerKgce: null,
|
|
|
- prodWaterPguAeu: null,
|
|
|
- prodWaterPguAeuTT: null,
|
|
|
- prodWaterPguAeuKgoe: null,
|
|
|
- prodWaterPguAeuKgce: null,
|
|
|
- prodWaterSctuFlare: null,
|
|
|
- prodWaterSub: null,
|
|
|
- prodWaterBcc: null,
|
|
|
- turbineConToe: null,
|
|
|
- turbineConTce: null,
|
|
|
- turbineConPre: null,
|
|
|
- turbineConCracker: null,
|
|
|
- turbineConCrackerTT: null,
|
|
|
- turbineConCrackerKgoe: null,
|
|
|
- turbineConCrackerKgce: null,
|
|
|
- turbineConPguAeu: null,
|
|
|
- turbineConPguAeuTT: null,
|
|
|
- turbineConPguAeuKgoe: null,
|
|
|
- turbineConPguAeuKgce: null,
|
|
|
- turbineConSctuFlare: null,
|
|
|
- turbineConSub: null,
|
|
|
- turbineConBcc: null,
|
|
|
- paIaToe: null,
|
|
|
- paIaTce: null,
|
|
|
- paIaPre: null,
|
|
|
- paIaCracker: null,
|
|
|
- paIaCrackerTT: null,
|
|
|
- paIaCrackerKgoe: null,
|
|
|
- paIaCrackerKgce: null,
|
|
|
- paIaPguAeu: null,
|
|
|
- paIaPguAeuTT: null,
|
|
|
- paIaPguAeuKgoe: null,
|
|
|
- paIaPguAeuKgce: null,
|
|
|
- paIaSctuFlare: null,
|
|
|
- paIaSub: null,
|
|
|
- paIaBcc: null,
|
|
|
- n2Toe: null,
|
|
|
- n2Tce: null,
|
|
|
- n2Pre: null,
|
|
|
- n2Cracker: null,
|
|
|
- n2CrackerTT: null,
|
|
|
- n2CrackerKgoe: null,
|
|
|
- n2CrackerKgce: null,
|
|
|
- n2PguAeu: null,
|
|
|
- n2PguAeuTT: null,
|
|
|
- n2PguAeuKgoe: null,
|
|
|
- n2PguAeuKgce: null,
|
|
|
- n2SctuFlare: null,
|
|
|
- n2Sub: null,
|
|
|
- n2Bcc: null,
|
|
|
- totalToe: null,
|
|
|
- totalTce: null,
|
|
|
- totalPre: null,
|
|
|
- totalCracker: null,
|
|
|
- totalCrackerTT: null,
|
|
|
- totalCrackerKgoe: null,
|
|
|
- totalCrackerKgce: null,
|
|
|
- totalPguAeu: null,
|
|
|
- totalPguAeuTT: null,
|
|
|
- totalPguAeuKgoe: null,
|
|
|
- totalPguAeuKgce: null,
|
|
|
- targetToe: null,
|
|
|
- targetTce: null,
|
|
|
- targetPre: null,
|
|
|
- targetCracker: null,
|
|
|
- targetCrackerTT: null,
|
|
|
- targetCrackerKgoe: null,
|
|
|
- targetCrackerKgce: null,
|
|
|
- targetPguAeu: null,
|
|
|
- targetPguAeuTT: null,
|
|
|
- targetPguAeuKgoe: null,
|
|
|
- targetPguAeuKgce: null,
|
|
|
- producedToe: null,
|
|
|
- producedTce: null,
|
|
|
- producedPre: null,
|
|
|
- producedCracker: null,
|
|
|
- producedCrackerTT: null,
|
|
|
- producedCrackerKgoe: null,
|
|
|
- producedCrackerKgce: null,
|
|
|
- producedPguAeu: null,
|
|
|
- producedPguAeuTT: null,
|
|
|
- producedPguAeuKgoe: null,
|
|
|
- producedPguAeuKgce: null,
|
|
|
- frEoEg: null,
|
|
|
- loadPercentage: null,
|
|
|
- hsProducet: null,
|
|
|
- sctfStorageTotalC2: null,
|
|
|
- sctfStorageTk1061: null,
|
|
|
- sctfStorageTk1062: null,
|
|
|
- sctfStorageTk1063: null,
|
|
|
- sctfStorageTk1064: null,
|
|
|
- sctfStorageTk1065Off: null,
|
|
|
- sctfStorageTotalC3: null,
|
|
|
- sctfStorageTk1011: null,
|
|
|
- sctfStorageTk1012: null,
|
|
|
- sctfStorageTk1013: null,
|
|
|
- sctfStorageTk1014: null,
|
|
|
- sctfStorageTk1040Off: null,
|
|
|
- sctfStorageTk1020Lpg: null,
|
|
|
- sctfStorageTk1111C4s: null,
|
|
|
- sctfStorageTk1520Rpg: null,
|
|
|
- sctfStorageTk1350Po: null,
|
|
|
- sctfStorageTk1310Btx: null,
|
|
|
- sctfStorageTk1330Ebo: null,
|
|
|
- sctfStorageTk1430Lfo: null,
|
|
|
- sctfStorageTk1320OffBtx: null,
|
|
|
- sctfStorageT201Btx: null,
|
|
|
- sctfStorageTk1340C9: null,
|
|
|
- sctfStorageClt1350C9: null,
|
|
|
- sctfStorageTk1160Nh3: null,
|
|
|
- sctfStorageTk1510B: null,
|
|
|
- sctfStorageClt1370B: null,
|
|
|
- sctfStorageTk1360T: null,
|
|
|
- sctfStorageTk1410X: null,
|
|
|
- sctfStorageClt1380X: null,
|
|
|
- sctfStorageTk1420Dimer: null,
|
|
|
- sctfStorageTk1110R1: null,
|
|
|
- sctfStorageTk1130Ib: null,
|
|
|
- sctfStorageTk1150R3: null,
|
|
|
- sctfStorageTk1140Bd: null,
|
|
|
- sctfStorageTk1141Bd: null,
|
|
|
- sctfStorageTk1142Bd: null,
|
|
|
- sctfStorageTotalNap: null,
|
|
|
- sctfStorageCltf1621: null,
|
|
|
- sctfStorageCltf1622: null,
|
|
|
- sctfStorageCltf1623: null,
|
|
|
- pguToRpg: null,
|
|
|
- rpgToPgu2: null,
|
|
|
- pguRpgTH: null,
|
|
|
- pguRpg1: null,
|
|
|
- pguRpg2: null,
|
|
|
- pguH2: null,
|
|
|
- pguTotalFeed: null,
|
|
|
- pguOutput: null,
|
|
|
- pguTotalLoss: null,
|
|
|
- pguLossPercentage: null,
|
|
|
- pguFeedLoadPercentage: null,
|
|
|
- pguToAeu: null,
|
|
|
- aeuToPgu: null,
|
|
|
- pguAeuTH: null,
|
|
|
- pguBtxYeildPercentage: null,
|
|
|
- pguBtxProduced: null,
|
|
|
- pguBtxInventory: null,
|
|
|
- pguBtxChange: null,
|
|
|
- pguBtxExport: null,
|
|
|
- pguBtxToAeu: null,
|
|
|
- pguWashoilYeildPercentage: null,
|
|
|
- pguWashoilProduced: null,
|
|
|
- pguWashoilInventory: null,
|
|
|
- pguWashoilChange: null,
|
|
|
- pguWashoilExport: null,
|
|
|
- pguWashoilToEu: null,
|
|
|
- pguOffgasYeildPercentage: null,
|
|
|
- pguOffgasProduced: null,
|
|
|
- pguOffgasInventory: null,
|
|
|
- pguOffgasChange: null,
|
|
|
- pguOffgasExport: null,
|
|
|
- pguOffgasToEu: null,
|
|
|
- pguC5YeildPercentage: null,
|
|
|
- pguC5Produced: null,
|
|
|
- pguC5Inventory: null,
|
|
|
- pguC5Change: null,
|
|
|
- pguC5Export: null,
|
|
|
- pguC5ToAeu: null,
|
|
|
- pguC5ToEu: null,
|
|
|
- pguC5ToYuanguan: null,
|
|
|
- pguC9YeildPercentage: null,
|
|
|
- pguC9Produced: null,
|
|
|
- pguC9Inventory: null,
|
|
|
- pguC9Change: null,
|
|
|
- pguC9Export: null,
|
|
|
- pguC9ToAeu: null,
|
|
|
- pguC9ToRttf: null,
|
|
|
- pguC9ToShip: null,
|
|
|
- pguC9ToYfcc: null,
|
|
|
- aeuBenzeneYeildPercentage: null,
|
|
|
- aeuBenzeneProduced: null,
|
|
|
- aeuBenzeneInventory: null,
|
|
|
- aeuBenzeneChange: null,
|
|
|
- aeuBenzeneToShip: null,
|
|
|
- aeuBenzeneFrShip: null,
|
|
|
- aeuBenzeneToYbs: null,
|
|
|
- aeuBenzeneToRttf: null,
|
|
|
- aeuBenzeneToTrain: null,
|
|
|
- aeuTolueneYeildPercentage: null,
|
|
|
- aeuTolueneProduced: null,
|
|
|
- aeuTolueneInventory: null,
|
|
|
- aeuTolueneChange: null,
|
|
|
- aeuTolueneToShip: null,
|
|
|
- aeuTolueneFrShip: null,
|
|
|
- aeuTolueneToYpc: null,
|
|
|
- aeuTolueneFrYpc: null,
|
|
|
- aeuTolueneToRttf: null,
|
|
|
- aeuTolueneFrYbs: null,
|
|
|
- aeuTolueneToEu: null,
|
|
|
- aeuXyleneYeildPercentage: null,
|
|
|
- aeuXyleneProduced: null,
|
|
|
- aeuXyleneInventory: null,
|
|
|
- aeuXyleneChange: null,
|
|
|
- aeuXyleneToShip: null,
|
|
|
- aeuXyleneFrShip: null,
|
|
|
- aeuXyleneToYpc: null,
|
|
|
- aeuXyleneFrYpc: null,
|
|
|
- aeuXyleneToRttf: null,
|
|
|
- aeuC6C8NaYeildPercentage: null,
|
|
|
- aeuC6C8NaProduced: null,
|
|
|
- aeuC6C8NaInventory: null,
|
|
|
- aeuC6C8NaChange: null,
|
|
|
- aeuC6C8NaToEu: null,
|
|
|
- aeuC6C8NaToYpc: null,
|
|
|
- aeuTotalFeed: null,
|
|
|
- aeuOutput: null,
|
|
|
- aeuTotalLoss: null,
|
|
|
- aeuLossPercentage: null,
|
|
|
- aeuFeedLoadPercentage: null,
|
|
|
- pguAeuTotalFeed: null,
|
|
|
- pguAeuOutput: null,
|
|
|
- pguAeuTotalLoss: null,
|
|
|
- pguAeuLossPercentage: null,
|
|
|
- pguAeuFeedLoadPercentage: null,
|
|
|
- col320fc2161: null,
|
|
|
- c210pdi: null,
|
|
|
- temperature: null,
|
|
|
- crackingFurnaceBurn: null,
|
|
|
- };
|
|
|
- this.resetForm("form");
|
|
|
- },
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
|
this.getReport();
|
|
@@ -4672,33 +4237,33 @@ export default {
|
|
|
this.download(response.msg);
|
|
|
})
|
|
|
},
|
|
|
- /** 导入按钮操作 */
|
|
|
- handleImport() {
|
|
|
- this.upload.title = "生产日报导入";
|
|
|
- this.upload.open = true;
|
|
|
- },
|
|
|
- /** 下载模板操作 */
|
|
|
- importTemplate() {
|
|
|
- importTemplate().then(response => {
|
|
|
- this.download(response.msg);
|
|
|
- });
|
|
|
- },
|
|
|
- // 文件上传中处理
|
|
|
- handleFileUploadProgress(event, file, fileList) {
|
|
|
- this.upload.isUploading = true;
|
|
|
- },
|
|
|
- // 文件上传成功处理
|
|
|
- handleFileSuccess(response, file, fileList) {
|
|
|
- this.upload.open = false;
|
|
|
- this.upload.isUploading = false;
|
|
|
- this.$refs.upload.clearFiles();
|
|
|
- this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- // 提交上传文件
|
|
|
- submitFileForm() {
|
|
|
- this.$refs.upload.submit();
|
|
|
- }
|
|
|
+ /** 导入按钮操作 */
|
|
|
+ handleImport() {
|
|
|
+ this.upload.title = "生产日报导入";
|
|
|
+ this.upload.open = true;
|
|
|
+ },
|
|
|
+ /** 下载模板操作 */
|
|
|
+ importTemplate() {
|
|
|
+ importTemplate().then(response => {
|
|
|
+ this.download(response.msg);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 文件上传中处理
|
|
|
+ handleFileUploadProgress(event, file, fileList) {
|
|
|
+ this.upload.isUploading = true;
|
|
|
+ },
|
|
|
+ // 文件上传成功处理
|
|
|
+ handleFileSuccess(response, file, fileList) {
|
|
|
+ this.upload.open = false;
|
|
|
+ this.upload.isUploading = false;
|
|
|
+ this.$refs.upload.clearFiles();
|
|
|
+ this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ // 提交上传文件
|
|
|
+ submitFileForm() {
|
|
|
+ this.$refs.upload.submit();
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|