Browse Source

问题修改

Zhang Li, BBF-411-2(Neusoft) 1 year ago
parent
commit
c1a19e6701
1 changed files with 10 additions and 4 deletions
  1. 10 4
      src/views/modules/knowledge/statistics/components/DataShow.vue

+ 10 - 4
src/views/modules/knowledge/statistics/components/DataShow.vue

@@ -13,7 +13,7 @@
       </div>
     </a-form>
     <rx-grid
-        style="width:50%;height: 20vw;float: left;"
+        style="width:50%;min-height: 400px;float: left;border-right: 1px solid #e8e8e8;"
         class="rx-tree-title"
         ref="table"
         :multiSelect="true"
@@ -21,6 +21,7 @@
         :columns="columnsNew"
         :defaultPageSize="10"
         :dataSource="tableData"
+        :heightAuto="true"
         @rowExpand="rowExpand"
         :expandIconColumnIndex="0"
         :idField="'groupId'"
@@ -81,7 +82,6 @@ export default {
   },
   data() {
     return {
-      interface:this.interface,
       checkId:null,
       searchValue:'',
       showData:{},
@@ -230,7 +230,7 @@ export default {
 .rightDetail{
   width: 50%;
   float: right;
-  border-left: 1px solid #e8e8e8;
+  // border-left: 1px solid #e8e8e8;
   height: 20vw;
 }
 .rightDetailtop{
@@ -247,7 +247,13 @@ export default {
   line-height: 40px;
   background: #fff;
   height: calc(100% - 54px);
-  overflow: auto;
+  // overflow: auto;
   font-size: 14px;
 }
+
+</style>
+<style scoped>
+/* /deep/ .ant-table-body {
+  border-right: 1px solid #e8e8e8!important;
+} */
 </style>