|
|
@ -53,9 +53,12 @@ export default function (type) { |
|
|
|
const url = config.edit.compareUrl; |
|
|
|
const data = Object.assign({ businessType, name: config.name }, model.value); |
|
|
|
if (data.seDateTime?.length === 2) { |
|
|
|
data.seStartDateTime = data.seDateTime[0]; |
|
|
|
data.seStartDateTime = data.seDateTime[1]; |
|
|
|
data.seEndDateTime = data.seDateTime[1]; |
|
|
|
} |
|
|
|
else { |
|
|
|
data.seEndDateTime = data.seDateTime; |
|
|
|
} |
|
|
|
if (data.downLineDateTime?.length === 2) { |
|
|
|
data.downLineStartDateTime = data.downLineDateTime[0]; |
|
|
|
data.downLineEndDateTime = data.downLineDateTime[1]; |
|
|
|