Browse Source

固定列

zhangyu 5 years ago
parent
commit
a1d66fd653
2 changed files with 5 additions and 4 deletions
  1. 4 4
      config/prod.env.js
  2. 1 0
      src/views/ledger/cenotelist/index.vue

+ 4 - 4
config/prod.env.js

@@ -1,8 +1,8 @@
 'use strict'
 module.exports = {
     NODE_ENV: '"production"',
-    // BASE_URL: '"http://192.168.20.215"', //测试iframe地址
-    // SSO_SERVER: '"http://192.168.20.102:8080"' //(新)测试环境
-    BASE_URL: '"http://mbi.sagacloud.cn"', //线上iframe地址
-    SSO_SERVER: '"http://sso.sagacloud.cn"'  //正式环境
+    BASE_URL: '"http://192.168.20.215"', //测试iframe地址
+    SSO_SERVER: '"http://192.168.20.102:8080"' //(新)测试环境
+    // BASE_URL: '"http://mbi.sagacloud.cn"', //线上iframe地址
+    // SSO_SERVER: '"http://sso.sagacloud.cn"'  //正式环境
 }

+ 1 - 0
src/views/ledger/cenotelist/index.vue

@@ -315,6 +315,7 @@ export default {
     initTable() {//实例化表格
       let settings = {
         data: this.tableData,
+        fixedColumnsLeft: 4,
         colHeaders: this.formatHeaderData(this.tableHeader),
         columns: this.formatHeaderType(this.tableHeader),
         rowHeights: 30,