瀏覽代碼

列表左对齐

LiFei 4 年之前
父節點
當前提交
19fde95a3f

+ 3 - 3
src/views/hlgcompany/modules/HlgCompanySubcontractorContract.vue

@@ -128,7 +128,7 @@
         columns: [
           {
             title:'合同开始时间',
-            align:"center",
+            align:"left",
             dataIndex: 'startDate',
             customRender:function (text) {
               return !text?"":(text.length>10?text.substr(0,10):text)
@@ -136,14 +136,14 @@
           },
           {
             title:'合同结束时间',
-            align:"center",
+            align:"left",
             dataIndex: 'endDate',
             scopedSlots: { customRender: 'action1' }
           },
           {
             title: '操作',
             dataIndex: 'action',
-            align:"center",
+            align:"left",
             // fixed:"right",
             // width:147,
             scopedSlots: { customRender: 'action' }

+ 3 - 3
src/views/hlguser/modules/HlgUserSubcontractorContract.vue

@@ -133,7 +133,7 @@
         columns: [
           {
             title:'合同开始时间',
-            align:"center",
+            align:"left",
             dataIndex: 'startDate',
             customRender:function (text) {
               return !text?"":(text.length>10?text.substr(0,10):text)
@@ -141,14 +141,14 @@
           },
           {
             title:'合同结束时间',
-            align:"center",
+            align:"left",
             dataIndex: 'endDate',
             scopedSlots: { customRender: 'action1' }
           },
           {
             title: '操作',
             dataIndex: 'action',
-            align:"center",
+            align:"left",
             // fixed:"right",
             // width:147,
             scopedSlots: { customRender: 'action' }