liuqiao 1 éve
szülő
commit
4ccf66d9fd

+ 1 - 1
src/view/components/MenuCheck.vue

@@ -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 chuanjianc">
             <template #header="{ titleId, titleClass }">
                 <div class="my-header xinxi_header">
                     <el-image :src="icon" fit="contain"></el-image>

+ 31 - 14
src/view/components/MenuMine.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="l_Dialog">
-        <el-dialog v-model="dialogVisible" width="470" align-center :modal="false" :close-on-click-modal="false"
+        <el-dialog v-model="dialogVisible" width="480" align-center :modal="false" :close-on-click-modal="false"
             draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
             class="dialog_class bgcolor zhucentent  ">
             <template #header="{ titleId, titleClass }">
@@ -11,15 +11,15 @@
                 </div>
             </template>
             <div class="classtab">
-                <el-tabs v-model="resultactiveName" type="card" class="demo-tabs" @tab-click="handleClick">
+                <el-tabs v-model="resultactiveName" type="card" class="demo-tabs" @tab-click="handleClick" :stretch="true">
                     <el-tab-pane label="节点信息" name="first">
                         <div class="asides_content">
                             <div class="jc_content tablecolor jc_content">
 
                                 <div class="font12 my_content1">
-                                    <div class="xian btncolor tablefocus bmar">
+                                    <div class=" btncolor tablefocus bmar">
 
-                                        <el-table :data="tableData2" style="width:468px" :max-height="tableHeight"
+                                        <el-table :data="tableData2" style="width:480px" :max-height="tableHeight"
                                             :highlight-current-row="currentrow" :row-class-name="tableRowClassName"
                                             @row-click="handleDelete($event)"
                                             :header-cell-style="{ 'background': 'rgba(13, 22, 57, 0.9) ' }">
@@ -130,7 +130,7 @@
                             <div class="jc_content tablecolor jc_content">
 
                                 <div class="font12 my_content1">
-                                    <div class="xian btncolor tablefocus bmar">
+                                    <div class="btncolor tablefocus bmar">
                                         <el-table :row-class-name="tableRowClassName" :max-height="tableHeight"
                                             ref="multipleTableRef"   :highlight-current-row="currentrow"    @row-click="handleDelete2($event)" :data="tableData3" style="width: 100%"
                                     
@@ -1063,7 +1063,7 @@ border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255,
 }
 
 .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
-    background-color: rgba(104, 173, 255, 0) !important;
+    background-color: rgba(255, 255, 25, 0)!important;
 }
 
 .el-button:focus,
@@ -1291,16 +1291,31 @@ border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255,
 }
 
 .classtab .el-tabs--card>.el-tabs__header .el-tabs__item {
-    border-top: 1px solid;
+    position: relative;
+    /* border-top: 1px solid;
     border-left: 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);
-    border-radius: 0px 0px 0px 0px;
-}
 
+ 
+    border-radius: 0px 0px 0px 0px; */
+}
+.classtab .el-tabs--card>.el-tabs__header .el-tabs__item::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);
+}
 .classtab .el-tabs__item {
-    width: 117px;
+    /* width:120px; */
     height: 48px;
     padding: 0 10px !important;
     font-weight: bold;
@@ -1341,7 +1356,9 @@ border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255,
     border-top-left-radius: 10px !important;
     border-top-right-radius: 10px !important;
 }
-
+.classtab .el-tabs--card>.el-tabs__header .el-tabs__item{
+    border: none !important;
+}
 .classtab .el-tabs__content {
     border: 1px solid;
     color: rgba(255, 15, 15, 1) !important;
@@ -1376,7 +1393,7 @@ ol {
 }
 
 .classtab .el-tabs__nav {
-    width: 468px;
+    /* width: 480px; */
 }
 
 .zhucentent .el-table__header tr {

+ 62 - 26
src/view/components/MenuPhysics.vue

@@ -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>

+ 7 - 3
src/view/components/MenuSensor.vue

@@ -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 chuanjianc">
             <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) ' }">
@@ -574,4 +574,8 @@ defineExpose({ sendialogVisible, });
 .spanclad {
     color: #FFF500;
 }
+.chuanjianc .el-dialog__header{
+    border-bottom: 1px solid;
+border-image: linear-gradient(359deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.5)) 1 1;
+}
 </style>