소스 검색

列表左对齐

LiFei 4 년 전
부모
커밋
19fde95a3f
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 3
      src/views/hlgcompany/modules/HlgCompanySubcontractorContract.vue
  2. 3 3
      src/views/hlguser/modules/HlgUserSubcontractorContract.vue

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

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

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

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