szld-libs 0.3.90 → 0.3.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,6 +28,7 @@ declare function useUniversalTable(): {
|
|
|
28
28
|
}) => Promise<{
|
|
29
29
|
formItems: import("szld-libs/lib/components/CreateForm").CreateFormItemProps<import("szld-libs/lib/components/CreateForm").ValueType>[];
|
|
30
30
|
selList: any[];
|
|
31
|
+
attrList: any[];
|
|
31
32
|
}>;
|
|
32
33
|
handleUniversalDelete: ({ commonRequest, refresh, interfaceType, record, configData, title, okText, cancelText, getTitle, pageID, deleteItem, okType, cancelType, }: {
|
|
33
34
|
commonRequest: (InterfaceType: string, data?: any) => Promise<AxiosResponse<any, any>>;
|
|
@@ -205,9 +205,9 @@ function useUniversalTable() {
|
|
|
205
205
|
formItemProps: { style: { marginBottom: 10, minWidth: 127 } }
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
return { formItems, selList: selListData };
|
|
208
|
+
return { formItems, selList: selListData, attrList };
|
|
209
209
|
} catch (error) {
|
|
210
|
-
return { formItems: [], selList: [] };
|
|
210
|
+
return { formItems: [], selList: [], attrList: [] };
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
const handleUniversalHeaderToColumns = ({
|
|
@@ -28,6 +28,7 @@ declare function useUniversalTable(): {
|
|
|
28
28
|
}) => Promise<{
|
|
29
29
|
formItems: import("szld-libs/lib/components/CreateForm").CreateFormItemProps<import("szld-libs/lib/components/CreateForm").ValueType>[];
|
|
30
30
|
selList: any[];
|
|
31
|
+
attrList: any[];
|
|
31
32
|
}>;
|
|
32
33
|
handleUniversalDelete: ({ commonRequest, refresh, interfaceType, record, configData, title, okText, cancelText, getTitle, pageID, deleteItem, okType, cancelType, }: {
|
|
33
34
|
commonRequest: (InterfaceType: string, data?: any) => Promise<AxiosResponse<any, any>>;
|
|
@@ -206,9 +206,9 @@ function useUniversalTable() {
|
|
|
206
206
|
formItemProps: { style: { marginBottom: 10, minWidth: 127 } }
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
|
-
return { formItems, selList: selListData };
|
|
209
|
+
return { formItems, selList: selListData, attrList };
|
|
210
210
|
} catch (error) {
|
|
211
|
-
return { formItems: [], selList: [] };
|
|
211
|
+
return { formItems: [], selList: [], attrList: [] };
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
const handleUniversalHeaderToColumns = ({
|