Explorar o código

森语-事故处理单

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
5bf8b16d88
Modificáronse 1 ficheiros con 8 adicións e 8 borrados
  1. 8 8
      src/views/oa/IncidentTicketList.vue

+ 8 - 8
src/views/oa/IncidentTicketList.vue

@@ -101,7 +101,7 @@
         :dataSource="dataSource"
         :pagination="ipagination"
         :loading="loading"
-        :scroll="{x: 1590}"
+        :scroll="{x: 1000}"
         :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
         @change="handleTableChange">
 
@@ -186,7 +186,7 @@ import moment from 'moment'
       moment
     },
     data () {
-      let ellipsis = (v, l = 15) => <j-ellipsis value={v} length={l} /> // 省略
+      let ellipsis = (v, l = 30) => <j-ellipsis value={v} length={l} /> // 省略
       return {
         description: '森_工厂质量事故单-主表管理页面',
         // 表头
@@ -209,9 +209,9 @@ import moment from 'moment'
           {
             title:'质量事故单主题',
             align:"center",
-            customRender: (t) => ellipsis(t),
+            // customRender: (t) => ellipsis(t),
             dataIndex: 'accidentTheme',
-            width:170,
+            // width:170,
             ellipsis: true,
           },
           {
@@ -262,8 +262,8 @@ import moment from 'moment'
             title:'财务备注',
             align:"center",
             dataIndex: 'financeRemark',
-            customRender: (t) => ellipsis(t),
-            width:160
+            // customRender: (t) => ellipsis(t),
+            // width:200
           },
           {
             title:'状态',
@@ -271,7 +271,7 @@ import moment from 'moment'
             dataIndex: 'state',
             fixed:"right",
             scopedSlots: { customRender: 'state' },
-            width:160
+            width:110
           },
           {
             title: '操作',
@@ -279,7 +279,7 @@ import moment from 'moment'
             align:"center",
             scopedSlots: { customRender: 'action' },
             fixed:"right",
-            width:169
+            width:120
           }
         ],
         url: {