This commit is contained in:
Qiuxia Fan 2022-04-24 15:48:43 +08:00
parent 94b0288078
commit ac5244f120
2 changed files with 3 additions and 4 deletions

View File

@ -115,7 +115,8 @@ async function createTask() {
ElMessage.warning("no labels"); ElMessage.warning("no labels");
return; return;
} }
const date = monitorTime.value === "0" ? new Date() : time.value; const date =
monitorTime.value === "0" ? appStore.durationRow.end : time.value;
const params = { const params = {
serviceId: selectorStore.currentService.id, serviceId: selectorStore.currentService.id,
processLabels: labels.value, processLabels: labels.value,

View File

@ -43,9 +43,7 @@ limitations under the License. -->
<span class="mr-10 sm">{{ dateFormat(i.taskStartTime) }}</span> <span class="mr-10 sm">{{ dateFormat(i.taskStartTime) }}</span>
<span class="mr-10 sm"> <span class="mr-10 sm">
{{ {{
dateFormat( dateFormat(i.taskStartTime + i.fixedTriggerDuration * 1000)
i.taskStartTime + i.fixedTriggerDuration * 60 * 1000
)
}} }}
</span> </span>
</div> </div>