修改bug

main
ihzero 2024-05-01 23:09:00 +08:00
parent 99795ef6ed
commit 400b721315
2 changed files with 4 additions and 4 deletions

View File

@ -99,10 +99,10 @@ const openEndDatePicker = () => {
dateEndPicker.value.open() dateEndPicker.value.open()
} }
const confirmStartDatePicker = e => { const confirmStartDatePicker = e => {
form.start_at = timeFormat(e.value, "yyyy-mm-dd hh:MM:ss") form.start_at = timeFormat(e.value, "yyyy-mm-dd hh:MM")
} }
const confirmEndDatePicker = e => { const confirmEndDatePicker = e => {
form.end_at = timeFormat(e.value, "yyyy-mm-dd hh:MM:ss") form.end_at = timeFormat(e.value, "yyyy-mm-dd hh:MM")
} }
const confirmPicker = e => { const confirmPicker = e => {
form.type_id = e.value[0] form.type_id = e.value[0]

View File

@ -83,10 +83,10 @@ const onClick = () => {
} }
// //
if (additional.workflow_log) { if (additional.workflow_log) {
const { check } = additional.workflow_log const { check,id } = additional.workflow_log
const { subject_type, subject_id } = check const { subject_type, subject_id } = check
uni.navigateTo({ uni.navigateTo({
url: `/pages/audits/detail?id=${subject_id}&type=${subject_type}`, url: `/pages/audits/detail?id=${id}&type=${subject_type}`,
}) })
} }
} else if (type == 'exam') { } else if (type == 'exam') {