GuLiMmo
2023-12-23 0b12df1a3307d4457328df26c7730d5e0c7aaba1
src/option/assessmentTask/assessmentTask.js
@@ -1,3 +1,13 @@
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,
@@ -99,6 +109,8 @@
      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,