|
@ -225,6 +225,7 @@ const onSubmit = () => { |
|
|
functionForm.value.validate(async () => { |
|
|
functionForm.value.validate(async () => { |
|
|
try { |
|
|
try { |
|
|
const param = cloneDeep({ ...data.value, deviceId: currentDeviceId.value }); |
|
|
const param = cloneDeep({ ...data.value, deviceId: currentDeviceId.value }); |
|
|
|
|
|
param.time = new Date(param.time).getTime(); |
|
|
if (param.report.type === 0) { |
|
|
if (param.report.type === 0) { |
|
|
// 按时间点上报 格式化时间格式 |
|
|
// 按时间点上报 格式化时间格式 |
|
|
const points = [...param.report.timePoints]; |
|
|
const points = [...param.report.timePoints]; |
|
|