|
@@ -29,7 +29,7 @@
|
|
|
</template>
|
|
|
<el-table-column prop="pname" label="选择巷道" />
|
|
|
<el-table-column prop="site" label="位置" />
|
|
|
- <el-table-column label="操作" >
|
|
|
+ <!-- <el-table-column label="操作" >
|
|
|
<template #default="scope">
|
|
|
<el-button
|
|
|
size="small"
|
|
@@ -38,7 +38,7 @@
|
|
|
>查看</el-button
|
|
|
>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
|
<div class="asdis_btn">
|
|
|
<div
|
|
@@ -88,8 +88,8 @@
|
|
|
<template v-slot:empty>
|
|
|
<p>暂无数据</p>
|
|
|
</template>
|
|
|
- <el-table-column prop="timeline" label="时间" />
|
|
|
- <el-table-column prop="val1" label="温度℃" />
|
|
|
+ <el-table-column prop="timeline" label="时间(/s)" />
|
|
|
+ <el-table-column prop="val1" label="温度(℃)" />
|
|
|
<el-table-column prop="val2" label="二氧化碳(%)" />
|
|
|
<el-table-column prop="val3" label="二氧化硫(ppm)" />
|
|
|
</el-table>
|
|
@@ -152,7 +152,7 @@
|
|
|
style="width: 100%"
|
|
|
:row-class-name="tableRowClassName"
|
|
|
:header-cell-style="{ background: 'rgba(13, 22, 57, 0) ' }"
|
|
|
- @row-click="handleDelete($event)"
|
|
|
+ @row-click="handleDeletewotwr($event)"
|
|
|
:max-height="tableHeight"
|
|
|
:highlight-current-row="currentrow"
|
|
|
>
|
|
@@ -161,7 +161,7 @@
|
|
|
</template>
|
|
|
<el-table-column prop="pname" label="选择巷道" />
|
|
|
<el-table-column prop="site" label="位置" />
|
|
|
- <el-table-column label="操作" >
|
|
|
+ <!-- <el-table-column label="操作" >
|
|
|
<template #default="scope">
|
|
|
<el-button
|
|
|
size="small"
|
|
@@ -170,7 +170,7 @@
|
|
|
>查看</el-button
|
|
|
>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
|
<div class="asdis_btn">
|
|
|
<div
|
|
@@ -449,14 +449,14 @@
|
|
|
<el-table-column prop="gfname" label="网格文件" />
|
|
|
<el-table-column prop="bfname" label="边界文件" />
|
|
|
<el-table-column label="操作" >
|
|
|
- <template #default="scope">
|
|
|
+ <!-- <template #default="scope">
|
|
|
<el-button
|
|
|
size="small"
|
|
|
type="success"
|
|
|
@click="handlook(scope.$index, scope.row)"
|
|
|
>查看</el-button
|
|
|
>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<div class="asdis_btn">
|
|
@@ -1244,11 +1244,11 @@
|
|
|
<el-table-column property="name" label="名称" width="70" />
|
|
|
<el-table-column property="sectionType" label="截面类型" width="120" />
|
|
|
<el-table-column property="roughCoe" label="粗糙系数" />
|
|
|
- <el-table-column property="sectionPara1" label="截面参数1" width="90" />
|
|
|
+ <!-- <el-table-column property="sectionPara1" label="截面参数1" width="90" />
|
|
|
<el-table-column property="sectionPara2" label="截面参数2" width="90" />
|
|
|
<el-table-column property="sectionPara3" label="截面参数3" width="90" />
|
|
|
<el-table-column property="sectionPara4" label="截面参数4" width="90" />
|
|
|
- <el-table-column property="sectionPara5" label="截面参数5" width="90" />
|
|
|
+ <el-table-column property="sectionPara5" label="截面参数5" width="90" /> -->
|
|
|
</el-table>
|
|
|
<div class="demo-pagination-block" style="margin-top: 20px">
|
|
|
<el-config-provider :locale="zhCn">
|
|
@@ -1614,7 +1614,23 @@ import selfdialogs from "./SetPipe.vue";
|
|
|
import vueUploader from "./fileuploads.vue";
|
|
|
import { NULL } from "sass";
|
|
|
// import filesload from "./filesloads.vue";
|
|
|
-
|
|
|
+const statusMap = {
|
|
|
+ 'CIRCULAR': '圆形',
|
|
|
+ 'RECTANGLE': '矩形',
|
|
|
+ 'SEMICIRCULAR': '半椭圆形',
|
|
|
+ 'SEMIELLIPTICAL': '半圆形',
|
|
|
+ 'EGG': '蛋形',
|
|
|
+ 'GOTHIC': '哥特形',
|
|
|
+ 'MODBASKETHANDLE': '更正蓝形',
|
|
|
+ 'ARCH': '拱形',
|
|
|
+ 'RECT_ROUND': '弧底矩形',
|
|
|
+ 'BASKETHANDLE': '蓝形',
|
|
|
+ 'HORSESHOE': '马蹄形',
|
|
|
+ 'RECT_TRIANGULAR': '三角底矩形',
|
|
|
+ 'VERT_ELLIPSE': '竖向椭圆',
|
|
|
+ 'HORZI_ELLIPSE': '水平椭圆',
|
|
|
+ 'CATENARY': '悬链式',
|
|
|
+};
|
|
|
let isActive=ref(0)
|
|
|
const changeClass= (i)=> {
|
|
|
isActive.value = i;
|
|
@@ -1930,17 +1946,23 @@ const handleEditfire = () => {
|
|
|
};
|
|
|
//灾情源删除
|
|
|
const handleDelete = (val) => {
|
|
|
- console.log("我执行了")
|
|
|
-
|
|
|
zqname.value = val.pname;
|
|
|
tableobj.value=val;
|
|
|
currentrow.value=true;
|
|
|
shanchu.value = val;
|
|
|
sdialog.dialogsgdelect = true;
|
|
|
firesid.value = val.sid;
|
|
|
-
|
|
|
- // }
|
|
|
+ handledetection(val);
|
|
|
};
|
|
|
+const handleDeletewotwr = (val) => {
|
|
|
+ zqname.value = val.pname;
|
|
|
+ tableobj.value=val;
|
|
|
+ currentrow.value=true;
|
|
|
+ shanchu.value = val;
|
|
|
+ sdialog.dialogsgdelect = true;
|
|
|
+ firesid.value = val.sid;
|
|
|
+ handledetection2(val);
|
|
|
+}
|
|
|
const shanchu = (val) => {
|
|
|
|
|
|
biaoid.value = val;
|
|
@@ -2104,19 +2126,25 @@ const pipelinedata = (searchtag) => {
|
|
|
};
|
|
|
request(params)
|
|
|
.then((res) => {
|
|
|
- tableData2.value = res.rows;
|
|
|
+ tableData2.value = res.rows.map(item => {
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ sectionType: statusMap[item.sectionType] || '未知' // 如果状态不存在,默认设置为'未知'
|
|
|
+ };
|
|
|
+ });
|
|
|
+
|
|
|
total.value = res.total;
|
|
|
})
|
|
|
.catch((err) => {});
|
|
|
};
|
|
|
// 灾源检测
|
|
|
-const handledetection = (index, row) => {
|
|
|
+const handledetection = ( row) => {
|
|
|
sdialog.value.isDisasterfire = true;
|
|
|
firesid.value = row.sid;
|
|
|
getinquire();
|
|
|
};
|
|
|
//突水灾源检测
|
|
|
-const handledetection2 = (index, row) => {
|
|
|
+const handledetection2 = (row) => {
|
|
|
sdialog.value.disDisasterwter = true;
|
|
|
firesid.value = row.sid;
|
|
|
getinquire();
|
|
@@ -2244,7 +2272,7 @@ const handlews=(row)=>{
|
|
|
console.log(row);
|
|
|
currentrow.value=true;
|
|
|
tableobj.value=row;
|
|
|
-
|
|
|
+ handlook(row);
|
|
|
}
|
|
|
// 瓦斯的修改
|
|
|
const wsxiugai= ()=>{
|
|
@@ -2303,7 +2331,7 @@ const wsdelete2=()=>{
|
|
|
});
|
|
|
}
|
|
|
//瓦斯的查看
|
|
|
-const handlook=(index,data)=>{
|
|
|
+const handlook=(data)=>{
|
|
|
console.log(data);
|
|
|
Gassdialog.value.blast =true;
|
|
|
Gassdialog.value.gather =true;
|