|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="l_Dialog">
|
|
|
<el-dialog v-model="sendialogVisible" width="470" align-center :modal="false" :close-on-click-modal="false"
|
|
|
- modal-class="summary-dlg" draggable class="dialog_class bgcolor zhucentent">
|
|
|
+ modal-class="summary-dlg" draggable class="dialog_class bgcolor zhucentent wuli">
|
|
|
<template #header="{ titleId, titleClass }">
|
|
|
<div class="my-header xinxi_header">
|
|
|
<el-image :src="icon" fit="contain"></el-image>
|
|
@@ -14,9 +14,9 @@
|
|
|
<div class="jc_content tablecolor jc_content">
|
|
|
|
|
|
<div class="font12 my_content1">
|
|
|
- <div class="xian btncolor tablefocus bmar tianjia">
|
|
|
+ <div class="btncolor tablefocus bmar">
|
|
|
|
|
|
- <el-table :data="tableData" style="width:468px" :max-height="tableHeight"
|
|
|
+ <el-table :data="tableData" style="width:480px" :max-height="tableHeight"
|
|
|
:highlight-current-row="true" :row-class-name="tableRowClassName"
|
|
|
@row-click="handleDelete($event)"
|
|
|
:header-cell-style="{ 'background': 'rgba(13, 22, 57, 0.9) ' }">
|
|
@@ -113,7 +113,7 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<!-- 选择管道 -->
|
|
|
- <pipelines ref="pipeline" :selectstr="source.selectstr" @pipelineapi="pipelineapi" />
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -122,7 +122,6 @@ import { computed, ref, onMounted, reactive, toRef } from "vue";
|
|
|
import { request, uploadFile } from "@/utils/request";
|
|
|
import { ElMessage, ElButton, ElDialog, ElSelect } from 'element-plus'
|
|
|
import icon from "@/assets/img/icon.png";
|
|
|
-import pipelines from "./PipeIine.vue"
|
|
|
import { timestampToTime } from '@/js/lindex.js'
|
|
|
let pipeline = ref();
|
|
|
let sendialogVisible = ref(false);
|
|
@@ -167,15 +166,15 @@ const shanchu = () => {
|
|
|
ElMessage.error("你还没有选中修改的项目")
|
|
|
} else {
|
|
|
dialogsgdelect.value = true
|
|
|
- zqname.value = tableobj.value.pname;
|
|
|
+ zqname.value = tableobj.value.name;
|
|
|
}
|
|
|
}
|
|
|
const fundeledata = () => {
|
|
|
|
|
|
console.log(zqname.value);
|
|
|
const params = {
|
|
|
- transCode: 'D10012',
|
|
|
- seid: tableobj.value.seid
|
|
|
+ transCode: 'D10015',
|
|
|
+ coid: tableobj.value.coid
|
|
|
}
|
|
|
request(params)
|
|
|
.then((res) => {
|
|
@@ -241,27 +240,17 @@ const amend = () => {
|
|
|
if (JSON.stringify(tableobj.value) == '{}') {
|
|
|
ElMessage.error("你还没有选中修改的项目")
|
|
|
} else {
|
|
|
- senobj.value.seid = tableobj.value.seid
|
|
|
- senobj.value.pid = tableobj.value.pid
|
|
|
- senobj.value.site = tableobj.value.site
|
|
|
- senobj.value.type = tableobj.value.type
|
|
|
- source.value.selectstr = tableobj.value.pname
|
|
|
- addVisible.value = true;
|
|
|
+ addVisible.value = true;
|
|
|
+ wuliobj.value.coid = tableobj.value.coid;
|
|
|
+ wuliobj.value.code =tableobj.value.code;
|
|
|
+ wuliobj.value.name = tableobj.value.name;
|
|
|
+ wuliobj.value.density = tableobj.value.density;
|
|
|
+ wuliobj.value.diffcoe =tableobj.value.diffcoe;
|
|
|
+ wuliobj.value.speheat =tableobj.value.speheat;
|
|
|
}
|
|
|
}
|
|
|
-// 巷道方法
|
|
|
-// 选择巷道
|
|
|
-const fireclick = () => {
|
|
|
- pipeline.value.dialogVisiblenode = true;
|
|
|
- pipeline.value.pipelinedata("");
|
|
|
|
|
|
-}
|
|
|
-//点击确定
|
|
|
-const pipelineapi = (row) => {
|
|
|
- senobj.value.pid = row.id;
|
|
|
- source.value.selectstr = row.name;
|
|
|
- tableobj.value.pid = row.id;
|
|
|
-}
|
|
|
+
|
|
|
defineExpose({ sendialogVisible, });
|
|
|
</script>
|
|
|
|
|
@@ -529,5 +518,52 @@ defineExpose({ sendialogVisible, });
|
|
|
border: 1px solid;
|
|
|
border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
|
|
|
}
|
|
|
+
|
|
|
</style>
|
|
|
+<style>
|
|
|
+ .wuli .el-table .el-table__header .el-table__cell{
|
|
|
+ height:48px !important;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+.wuli .el-table .el-table__header .el-table__cell .cell{
|
|
|
+ text-align: center;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+}
|
|
|
+.wuli .el-table .el-table__header {
|
|
|
+/*
|
|
|
+ border-top: 1px solid !important;
|
|
|
+ border-bottom: 1px solid !important;
|
|
|
+ border-image: linear-gradient(237deg, rgba(16, 92, 240, 1), rgba(164, 195, 255, 1)) 1 1; */
|
|
|
|
|
|
+}
|
|
|
+.wuli .el-table .el-table__header .el-table__cell:before{
|
|
|
+ content: '';
|
|
|
+ width: 100%;
|
|
|
+ height: 1px;
|
|
|
+ background-color:rgba(16, 92, 240, 1);
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ transform: scaleY(0.5);
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+.wuli .el-table .el-table__header .el-table__cell::after{
|
|
|
+ content: " ";
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 200%;
|
|
|
+ height: 200%;
|
|
|
+ border-right: 1px solid;
|
|
|
+ border-top: 1px solid;
|
|
|
+ border-bottom: 1px solid;
|
|
|
+ border-image: linear-gradient(180deg, rgb(31, 107, 255), rgba(31, 107, 255, 0.48)) 1 1;
|
|
|
+ box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
|
|
|
+ transform-origin: 0 0;
|
|
|
+ transform: scale(0.5);
|
|
|
+}
|
|
|
+</style>
|