表格样式调整

This commit is contained in:
renpy 2023-07-05 15:14:23 +08:00 committed by orgin
parent a51a14ea26
commit aa1d539a49
4 changed files with 6 additions and 10 deletions

View File

@ -20,7 +20,6 @@
@change="handleTableChange" @change="handleTableChange"
@detail="handleDetail" @detail="handleDetail"
:selectedRowKeys.sync="selectedRowKeys" :selectedRowKeys.sync="selectedRowKeys"
:scroll="{ x: true, y: 'calc(100vh - 410px)' }"
> >
<template slot="index" slot-scope="{ index }"> <template slot="index" slot-scope="{ index }">
{{ index + 1 }} {{ index + 1 }}

View File

@ -48,13 +48,13 @@ const columns = [
{ {
title: 'COLLECTION START TIME', title: 'COLLECTION START TIME',
align: 'left', align: 'left',
dataIndex: 'collectionStart', dataIndex: 'collectStart',
}, },
{ {
title: 'COLLECTION STOP TIME', title: 'COLLECTION STOP TIME',
align: 'left', align: 'left',
dataIndex: 'collectionStop', dataIndex: 'collectStop',
}, }
] ]
export default { export default {
components: { components: {

View File

@ -19,7 +19,6 @@
@change="handleTableChange" @change="handleTableChange"
@detail="handleDetail" @detail="handleDetail"
:selectedRowKeys.sync="selectedRowKeys" :selectedRowKeys.sync="selectedRowKeys"
:scroll="{ x: true, y: 'calc(100vh - 410px)' }"
> >
<template slot="index" slot-scope="{ index }"> <template slot="index" slot-scope="{ index }">
{{ index + 1 }} {{ index + 1 }}
@ -178,9 +177,8 @@ export default {
type: 'custom-date-picker', type: 'custom-date-picker',
name: 'startTime', name: 'startTime',
props: { props: {
showTime: { format: 'HH:mm' },
format: 'YYYY-MM-DD', format: 'YYYY-MM-DD',
valueFormat: 'YYYY-MM-DD:ss', valueFormat: 'YYYY-MM-DD',
style: { style: {
minWidth: 'auto', minWidth: 'auto',
width: '200px', width: '200px',
@ -195,9 +193,8 @@ export default {
type: 'custom-date-picker', type: 'custom-date-picker',
name: 'endTime', name: 'endTime',
props: { props: {
showTime: { format: 'HH:mm' },
format: 'YYYY-MM-DD', format: 'YYYY-MM-DD',
valueFormat: 'YYYY-MM-DD:ss', valueFormat: 'YYYY-MM-DD',
style: { style: {
minWidth: 'auto', minWidth: 'auto',
width: '200px', width: '200px',