|
|
|
@ -179,7 +179,6 @@ const handleSubmit = () => {
|
|
|
|
|
userName: userList.filter((it: any) => it.userId == item)[0].userName
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
console.log('data===', data)
|
|
|
|
|
doRequest(upDistribute(data), {
|
|
|
|
|
successMessage: '分发成功',
|
|
|
|
|
onSuccess: () => {
|
|
|
|
@ -195,9 +194,10 @@ defineExpose({
|
|
|
|
|
resetFields()
|
|
|
|
|
if (newFormAction === FormAction.UPDATE) {
|
|
|
|
|
title.value = '分发'
|
|
|
|
|
record.distributeDate = dayjs(record?.distributeDate, 'YYYY-MM-DD HH:mm:ss')
|
|
|
|
|
record.otherClueObj.remarkArr = Object.entries(JSON.parse(record.otherClueObj.remarkDict))
|
|
|
|
|
overrideProperties(formModel, record)
|
|
|
|
|
const data: directDTO = Object.assign({}, record)
|
|
|
|
|
data.distributeDate = dayjs(record?.distributeDate, 'YYYY-MM-DD HH:mm:ss')
|
|
|
|
|
data.otherClueObj.remarkArr = Object.entries(JSON.parse(record.otherClueObj.remarkDict))
|
|
|
|
|
overrideProperties(formModel, data)
|
|
|
|
|
}
|
|
|
|
|
formAction.value = newFormAction
|
|
|
|
|
}
|
|
|
|
|