Pārlūkot izejas kodu

编辑节点菜单修改

duy 1 gadu atpakaļ
vecāks
revīzija
484c45dadc

+ 2 - 2
src/views/manager/projectinfo/tree.vue

@@ -99,7 +99,7 @@
         </el-row>
       <el-row :gutter="20" class="h-100p" style="padding:10px">
        
-        <el-col :span="10" class="h-100p">
+        <el-col :span="10" style="height: 85%;">
           <div class="h-100p flex flex-d-c">
             <p style="margin-top:2px">工程节点信息</p>
             <div class="flex " style="align-items: center;justify-content: space-between;">
@@ -3748,7 +3748,7 @@ export default {
     console.log(e,'e');
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
-    this.menutop = y-100;
+    this.menutop = y;
     this.menuleft = x;
     this.menuvisible=true
 

+ 2 - 2
src/views/manager/wbsinfo/edit.vue

@@ -16,7 +16,7 @@
           </el-col>
       </el-row>
     <el-row :gutter="20" class="h-100p">
-      <el-col :span="10" class="h-100p">
+      <el-col :span="10" style="height: 85%;">
         <div class="h-100p flex flex-d-c">
           <p>工程节点信息</p>
           <div class="flex " style="align-items: center;justify-content: space-between;">
@@ -3332,7 +3332,7 @@ export default {
     console.log(e,'e');
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
-    this.menutop = y-100;
+    this.menutop = y;
     this.menuleft = x;
     this.menuvisible=true