浏览代码

样式修改

wyq 4 年之前
父节点
当前提交
583338f2d1
共有 1 个文件被更改,包括 9 次插入6 次删除
  1. 9 6
      src/components/knowledgeExtra/AddDiagBase.vue

+ 9 - 6
src/components/knowledgeExtra/AddDiagBase.vue

@@ -49,7 +49,7 @@
             :span-method="dataSpanMethod"
             :data="form.klDiagnoseTypeVO"
             border
-            max-height="500"
+            height="500"
             :header-cell-style="{background:'#E3EAF4'}"
           >
             <el-table-column label="依据" width="100" fixed>
@@ -114,7 +114,6 @@
                 <span class="name">组</span>
               </template>
               <template slot-scope="scope">
-                {{scope.row.depart_id}}
                 <el-form-item>
                   <img
                     src="../../images/icon-add.png"
@@ -1433,10 +1432,10 @@ export default {
   }
 };
 </script>
-<style lang="less">
+<style lang="less" scoped>
 @import '../../less/admin.less';
 .contents {
-  height: 100%;
+  height: 780px;
   .content {
     background: #fff;
     padding: 20px 20px 0;
@@ -1463,7 +1462,7 @@ export default {
     .el-input {
       height: 30px;
       line-height: 30px;
-      .el-input__inner {
+      /deep/.el-input__inner {
         height: 30px;
         line-height: 30px;
         font-size: 14px;
@@ -1482,7 +1481,7 @@ export default {
   .content-2 {
     margin-top: 10px;
     padding: 20px 20px;
-    max-height: 650px;
+    height: 580px;
     .el-input {
       .el-input__inner {
         font-size: 12px;
@@ -1493,6 +1492,10 @@ export default {
     }
     .content-2-header {
       padding: 20px 0;
+      /deep/ .el-table--scrollable-y .el-table__body-wrapper{
+        height: 443px;
+        overflow-y: auto;
+      }
       .title1 {
         font-size: 14px;
         font-weight: 400;