|
@ -181,6 +181,15 @@ const handleFinish = async (id: number) => { |
|
|
const basicFormRef = ref() |
|
|
const basicFormRef = ref() |
|
|
const openForm = (type: string, row?: any) => { |
|
|
const openForm = (type: string, row?: any) => { |
|
|
basicFormRef.value.open(type, row) |
|
|
basicFormRef.value.open(type, row) |
|
|
|
|
|
if (type=='create') { |
|
|
|
|
|
nextTick(() => { |
|
|
|
|
|
basicFormRef.value.formRef.setValues({ |
|
|
|
|
|
handleTime: new Date().getTime(), |
|
|
|
|
|
claimTime: new Date().getTime() |
|
|
|
|
|
}) |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// form表单提交 |
|
|
// form表单提交 |
|
|