| | |
| | | import { ElMessage } from 'element-plus' |
| | | |
| | | const getNowDate = () => { |
| | | const date = new Date() |
| | | const year = date.getFullYear() |
| | | const month = date.getMonth() + 1 |
| | | const day = date.getDate() |
| | | return year + '-' + month + '-' + day + ' ' + '00:00:00' |
| | | } |
| | | |
| | | export default { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | |
| | | type: "input", |
| | | search: true, |
| | | width: 100, |
| | | disabled: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | label: "开始时间", |
| | | prop: "startTime", |
| | | type: "date", |
| | | value: getNowDate(), |
| | | disabled: true, |
| | | format: "YYYY-MM-DD HH:mm:ss", |
| | | valueFormat: "YYYY-MM-DD HH:mm:ss", |
| | | width: 200, |