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,