|
@@ -155,6 +155,19 @@ const getList = async (req = {}) => {
|
|
|
setTimeout(() => {
|
|
|
loading.value = false;
|
|
|
}, 200);
|
|
|
+ const productIdList = message.rows.map((x) => x.id);
|
|
|
+ if (productIdList.length > 0) {
|
|
|
+ proxy.post("/fileInfo/getList", { businessIdList: productIdList }).then((fileObj) => {
|
|
|
+ for (let i = 0; i < sourceList.value.data.length; i++) {
|
|
|
+ const e = sourceList.value.data[i];
|
|
|
+ for (const key in fileObj) {
|
|
|
+ if (e.id === key) {
|
|
|
+ e.fileList = fileObj[key];
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
};
|
|
|
getList();
|