|
@@ -68,13 +68,13 @@
|
|
|
|
|
|
<el-table v-loading="loading" :data="pressureList" @selection-change="handleSelectionChange" :height="clientHeight" border>
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="裂解炉名称" align="center" prop="furnanceName" :show-overflow-tooltip="true" width="100"/>
|
|
|
+ <el-table-column label="裂解炉名称" align="center" prop="furnanceName" width="100"/>
|
|
|
<el-table-column label="巡检日期" align="center" prop="recordTime" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.recordTime, '{y}-{m}-{d}') }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS1出口左" align="center" prop="pass1" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS1出口左" align="center" prop="pass1" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass1[14] }}</span>
|
|
@@ -86,7 +86,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS1出口右" align="center" prop="pass2" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS1出口右" align="center" prop="pass2" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass2[14] }}</span>
|
|
@@ -98,7 +98,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS2出口左" align="center" prop="pass3" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS2出口左" align="center" prop="pass3" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass3[14] }}</span>
|
|
@@ -110,7 +110,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS2出口右" align="center" prop="pass4" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS2出口右" align="center" prop="pass4" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass4[14] }}</span>
|
|
@@ -122,7 +122,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS3出口左" align="center" prop="pass5" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS3出口左" align="center" prop="pass5" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass5[14] }}</span>
|
|
@@ -134,7 +134,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS3出口右" align="center" prop="pass6" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS3出口右" align="center" prop="pass6" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass6[14] }}</span>
|
|
@@ -146,7 +146,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS4出口左" align="center" prop="pass7" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS4出口左" align="center" prop="pass7" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass7[14] }}</span>
|
|
@@ -158,7 +158,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS4出口右" align="center" prop="pass8" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS4出口右" align="center" prop="pass8" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass8[14] }}</span>
|
|
@@ -170,7 +170,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS5出口左" align="center" prop="pass9" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS5出口左" align="center" prop="pass9" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass9[14] }}</span>
|
|
@@ -182,7 +182,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS5出口右" align="center" prop="pass10" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS5出口右" align="center" prop="pass10" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass10[14] }}</span>
|
|
@@ -194,7 +194,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS6出口左" align="center" prop="pass11" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS6出口左" align="center" prop="pass11" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass11[14] }}</span>
|
|
@@ -206,7 +206,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS6出口右" align="center" prop="pass12" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS6出口右" align="center" prop="pass12" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass12[14] }}</span>
|
|
@@ -218,7 +218,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS7出口左" align="center" prop="pass13" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS7出口左" align="center" prop="pass13" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass13[14] }}</span>
|
|
@@ -230,7 +230,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS7出口右" align="center" prop="pass14" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS7出口右" align="center" prop="pass14" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass14[14] }}</span>
|
|
@@ -242,7 +242,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS8出口左" align="center" prop="pass15" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS8出口左" align="center" prop="pass15" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass15[14] }}</span>
|
|
@@ -254,7 +254,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="PASS8出口右" align="center" prop="pass16" :show-overflow-tooltip="true">
|
|
|
+ <el-table-column label="PASS8出口右" align="center" prop="pass16" >
|
|
|
<el-table-column label="入口" align="center" width="60">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.pass16[14] }}</span>
|
|
@@ -597,7 +597,9 @@
|
|
|
this.loading = true;
|
|
|
this.queryParams.furnanceName = "H109";
|
|
|
console.log(this.queryParams)
|
|
|
+ console.time("myCode");
|
|
|
listPressure(this.queryParams).then(response => {
|
|
|
+
|
|
|
for (let i = 0; i< response.rows.length; i++) {
|
|
|
if (response.rows[i].pass1 == null) { response.rows[i].pass1 = []; } else { response.rows[i].pass1 = response.rows[i].pass1.split(','); }
|
|
|
if (response.rows[i].pass2 == null) { response.rows[i].pass2 = []; } else { response.rows[i].pass2 = response.rows[i].pass2.split(','); }
|
|
@@ -616,6 +618,7 @@
|
|
|
if (response.rows[i].pass15 == null) { response.rows[i].pass15 = []; } else { response.rows[i].pass15 = response.rows[i].pass15.split(','); }
|
|
|
if (response.rows[i].pass16 == null) { response.rows[i].pass16 = []; } else { response.rows[i].pass16 = response.rows[i].pass16.split(','); }
|
|
|
}
|
|
|
+ console.timeEnd("myCode");
|
|
|
this.pressureList = response.rows;
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|