luobang 2 年之前
父节点
当前提交
36e47f0972

+ 33 - 24
src/components/DilCommonUI/packages/mergeRowTable/src/mergeRowTable.vue

@@ -51,7 +51,7 @@
             :label="scope.row.ROW_ID"
             @click.native.prevent.stop="rowClick(scope.row)"
           >
-            {{ "" }}
+            {{ '' }}
           </el-radio>
         </template>
       </el-table-column>
@@ -117,9 +117,9 @@
 </template>
 
 <script>
-import table from "./mergeRowTable.js";
+import table from './mergeRowTable.js'
 export default {
-  name: "MergeRowTable",
+  name: 'MergeRowTable',
   extends: table,
   props: {
     // 合并行下标
@@ -128,7 +128,7 @@ export default {
     },
     //比对字段
     comparison: {
-      default: ""
+      default: ''
     },
     shiyHeigth: {
       default: null
@@ -145,18 +145,18 @@ export default {
     },
     // 请求地址
     requestUrl: {
-      default: ""
+      default: ''
     },
     // 请求参数 请求体中的参数
     requestQuery: {
       default() {
-        return {};
+        return {}
       }
     },
     // 表头数据
     columnData: {
       default() {
-        return [];
+        return []
       }
     },
     // 是否显示序号
@@ -167,7 +167,7 @@ export default {
     // radio : 显示单选框
     // select : 显示多选框
     selectionType: {
-      default: ""
+      default: ''
     },
     // 是否在数据翻页后保留之前选中的数据(需指定 row-key)
     reserveSelection: {
@@ -186,15 +186,15 @@ export default {
     // Table 的最大高度。合法的值为数字或者单位为 px 的高度。
     //sdada
     maxHeight: {
-      default: "500px"
+      default: '500px'
     },
     // 是否启用排序
     sortable: {
-      default: "custom"
+      default: 'custom'
     },
     // 对齐方式 left/center/right
     align: {
-      default: "center"
+      default: 'center'
     },
     // 是否带有纵向边框
     border: {
@@ -211,13 +211,13 @@ export default {
     // 行的 className 的回调方法,也可以使用字符串为所有行设置一个固定的 className。
     rowClassName: {
       default() {
-        return ({ row, rowIndex }) => "";
+        return ({ row, rowIndex }) => ''
       }
     },
     // 单元格的 className 的回调方法,也可以使用字符串为所有单元格设置一个固定的 className。
     cellClassName: {
       default() {
-        return ({ row, rowIndex }) => "";
+        return ({ row, rowIndex }) => ''
       }
     },
     loading: {
@@ -234,7 +234,7 @@ export default {
     // 每页显示个数选择器的选项设置
     pageSizes: {
       default() {
-        return [10, 20, 50, 100, 200, 1000];
+        return [10, 20, 50, 100, 200, 1000]
       }
     },
     // 每页显示条目个数,支持 .sync 修饰符
@@ -243,36 +243,36 @@ export default {
     },
     //组件布局,子组件名用逗号分隔
     layout: {
-      default: "total, prev, pager, next, sizes, jumper"
+      default: 'total, prev, pager, next, sizes, jumper'
     }
   },
   watch: {
     requestUrl() {
-      this.refreshData();
+      this.refreshData()
     },
     drawer(val) {
       if (val) {
-        this.dataRadioId = null;
+        this.dataRadioId = null
       }
     }
   },
   methods: {
     // 刷新表格数据
     refreshData() {
-      this.requestData();
+      this.requestData()
       // 多选表格清空用户的选择
-      this.$refs.mainTable.clearSelection();
+      this.$refs.mainTable.clearSelection()
     },
     rowDbClick(row) {
-      console.log(row);
-      console.log("我被双击了");
-      this.$emit("rowDbClick", row);
+      console.log(row)
+      console.log('我被双击了')
+      this.$emit('rowDbClick', row)
     },
     toggleRowExpansion(row, expanded) {
-      this.$refs.mainTable.toggleRowExpansion(row, expanded);
+      this.$refs.mainTable.toggleRowExpansion(row, expanded)
     }
   }
-};
+}
 </script>
 
 <style lang="scss" scoped>
@@ -289,4 +289,13 @@ export default {
   font-size: 22px;
   font-weight: 700;
 }
+
+::-webkit-scrollbar {
+  width: 0px;
+  height: 0px;
+}
+::-webkit-scrollbar-thumb {
+  background-color: #dbd9d9;
+  border-radius: 3px;
+}
 </style>

+ 13 - 24
src/components/main.vue

@@ -256,7 +256,7 @@
       :class="{ 'sl-container2': menuType === '2' }"
       id="mainContainer"
     >
-      <header class="sl-header" id="outerHeader">
+      <header class="sl-header">
         <div v-if="showIframe" class="sl-header-ul">
           <!-- <div class="sl-header-li-name">工业互联网平台 ICP-iCore 2.0</div> -->
           <!-- <div class="hnstLogo">
@@ -1050,26 +1050,6 @@ export default {
           'currentMenuIndex',
           currentMenu.menuIndex
         )
-    },
-    fullScreen: function(fullScreen) {
-      if (!fullScreen) {
-        // 退出全屏时做还原处理
-        $('.oa-header-user')
-          .show()
-          .next()
-          .show()
-        $('#outerHeader').show()
-        $('#mainContainer').css('paddingLeft', '179px')
-        $('#menuTabId')
-          .css('padding', '10px 0px 0px')
-          .children(':eq(0)')
-          .show()
-        $('#menuTabId')
-          .find('div[role=tabpanel]:visible')
-          .find('iframe')
-          .css('min-height', this.oldMinHeight)
-        $('.sl-content-main', top.document).css('height', '100%')
-      }
     }
   },
   mounted() {
@@ -2752,9 +2732,18 @@ export default {
 .sl-content-main {
   width: 100%;
   //   min-width: 1200px;
-  //height: calc(100% - 60px);
-  overflow: auto;
-  height: 100%;
+  height: calc(100% - 60px);
+  overflow-y: auto;
+  ::-webkit-scrollbar {
+    //滚动条宽高,如果不需要显示滚动条可设置宽高为0
+    width: 0px;
+    // height: 0px;
+  }
+  ::-webkit-scrollbar-thumb {
+    //滚动条颜色和圆角
+    background-color: #dbd9d9;
+    border-radius: 3px;
+  }
 }
 
 .icore-menu-main {

+ 0 - 6
src/views/appoint/components/saleContract/saleOrderSteel.vue

@@ -135,12 +135,6 @@
               width="280"
             >
               <template slot-scope="scope">
-                <el-button
-                  @click="getOrderDetails(scope.row.saleOrderId)"
-                  type="text"
-                  size="small"
-                  >运单</el-button
-                >
                 <el-button
                   @click="deleteSaleOrder(scope.row)"
                   type="text"