表格样式调整
This commit is contained in:
		
							parent
							
								
									8b6765679a
								
							
						
					
					
						commit
						48af86bd4d
					
				|  | @ -167,7 +167,7 @@ export default { | |||
|         type: Object, | ||||
|         default: ()=>{} | ||||
|       }, | ||||
|   }, | ||||
|     }, | ||||
|     watch: { | ||||
|       allData: { | ||||
|         handler(val) { | ||||
|  |  | |||
|  | @ -20,7 +20,6 @@ | |||
|         @change="handleTableChange" | ||||
|         @detail="handleDetail" | ||||
|         :selectedRowKeys.sync="selectedRowKeys" | ||||
|         :scroll="{ x: true, y: 'calc(100vh - 410px)' }" | ||||
|       > | ||||
|         <template slot="index" slot-scope="{ index }"> | ||||
|           {{ index + 1 }} | ||||
|  |  | |||
|  | @ -48,13 +48,13 @@ const columns = [ | |||
|   { | ||||
|     title: 'COLLECTION START TIME', | ||||
|     align: 'left', | ||||
|     dataIndex: 'collectionStart', | ||||
|     dataIndex: 'collectStart', | ||||
|   }, | ||||
|   { | ||||
|     title: 'COLLECTION STOP TIME', | ||||
|     align: 'left', | ||||
|     dataIndex: 'collectionStop', | ||||
|   }, | ||||
|     dataIndex: 'collectStop', | ||||
|   } | ||||
| ] | ||||
| export default { | ||||
|   components: { | ||||
|  |  | |||
|  | @ -19,7 +19,6 @@ | |||
|         @change="handleTableChange" | ||||
|         @detail="handleDetail" | ||||
|         :selectedRowKeys.sync="selectedRowKeys" | ||||
|         :scroll="{ x: true, y: 'calc(100vh - 410px)' }" | ||||
|       > | ||||
|         <template slot="index" slot-scope="{ index }"> | ||||
|           {{ index + 1 }} | ||||
|  | @ -178,9 +177,8 @@ export default { | |||
|           type: 'custom-date-picker', | ||||
|           name: 'startTime', | ||||
|           props: { | ||||
|             showTime: { format: 'HH:mm' }, | ||||
|             format: 'YYYY-MM-DD', | ||||
|             valueFormat: 'YYYY-MM-DD:ss', | ||||
|             valueFormat: 'YYYY-MM-DD', | ||||
|             style: { | ||||
|               minWidth: 'auto', | ||||
|               width: '200px', | ||||
|  | @ -195,9 +193,8 @@ export default { | |||
|           type: 'custom-date-picker', | ||||
|           name: 'endTime', | ||||
|           props: { | ||||
|             showTime: { format: 'HH:mm' }, | ||||
|             format: 'YYYY-MM-DD', | ||||
|             valueFormat: 'YYYY-MM-DD:ss', | ||||
|             valueFormat: 'YYYY-MM-DD', | ||||
|             style: { | ||||
|               minWidth: 'auto', | ||||
|               width: '200px', | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user