瀏覽代碼

森语-流程表单

jbb 2 年之前
父節點
當前提交
36d0ab028a
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      src/views/process-center/applyListByTableName.vue

+ 6 - 3
src/views/process-center/applyListByTableName.vue

@@ -141,6 +141,7 @@
           rowKey="id"
           :dataSource="dataSource"
           :pagination="ipagination"
+          :scroll="{ x: 1500,y:200 }"
           :loading="loading"
           @change="handleTableChange"
           :columns="selectedColumns"
@@ -635,7 +636,7 @@ export default {
     },
     getSubstring(e){
       // this.ellipsis(e,l)
-        return   <j-ellipsis value={e} length='5' />
+        // return   <j-ellipsis value={e} length='5' />
       // <j-ellipsis value={e} length={l} />
     },
     handleMenuClick_comm(e) {
@@ -647,7 +648,8 @@ export default {
       this.visible = false
       if (this.checkedColumn.length > 0) {
         let selectedColumns = this.tableColumns.map(item => {
-          item.customRender=this.getSubstring;
+          item.width=200
+          // item.customRender=this.getSubstring;
           //判断是否页面临时处理字段
           let isscopedSlots = '1'
           if (item.scopedSlots) {
@@ -866,7 +868,8 @@ export default {
           }
         })
         this.selectedColumns.map(item=>{
-          item.customRender=this.getSubstring;
+          item.width=200
+          // item.customRender=this.getSubstring;
         })
       })
       //加载数据 若传入参数1则加载第一页的内容