浏览代码

固定列

zhangyu 5 年之前
父节点
当前提交
a1d66fd653
共有 2 个文件被更改,包括 5 次插入4 次删除
  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'
 'use strict'
 module.exports = {
 module.exports = {
     NODE_ENV: '"production"',
     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() {//实例化表格
     initTable() {//实例化表格
       let settings = {
       let settings = {
         data: this.tableData,
         data: this.tableData,
+        fixedColumnsLeft: 4,
         colHeaders: this.formatHeaderData(this.tableHeader),
         colHeaders: this.formatHeaderData(this.tableHeader),
         columns: this.formatHeaderType(this.tableHeader),
         columns: this.formatHeaderType(this.tableHeader),
         rowHeights: 30,
         rowHeights: 30,