|
@@ -158,10 +158,12 @@
|
|
const handelDownload = async () => {
|
|
const handelDownload = async () => {
|
|
try {
|
|
try {
|
|
setModalProps({ loading: true });
|
|
setModalProps({ loading: true });
|
|
|
|
+ const values = getForm().getFieldsValue();
|
|
const postData = {
|
|
const postData = {
|
|
materialTaskId: taskDataInfo.value.id,
|
|
materialTaskId: taskDataInfo.value.id,
|
|
state: status.value,
|
|
state: status.value,
|
|
};
|
|
};
|
|
|
|
+ Object.assign(postData, values);
|
|
const data = await postMaterialtaskDownloadFileExportQuery(postData);
|
|
const data = await postMaterialtaskDownloadFileExportQuery(postData);
|
|
downloadByData(
|
|
downloadByData(
|
|
data.data,
|
|
data.data,
|