Commit bbb0d9e5 by qinjianhui

fix: 接口修改

parent 788c413a
......@@ -173,7 +173,7 @@ export function getCardLayoutListApi(
pageSize: number,
) {
return axios.post<never, BasePaginationData<FactoryOrderNewListData>>(
'factory/podOrderBatchDownload/list_page',
'factory/podOrderOperation/list_page',
{ ...data, currentPage, pageSize },
)
}
......@@ -210,7 +210,7 @@ export function getRestockListApi(
pageSize: number,
) {
return axios.post<never, BasePaginationData<RestockData>>(
'factory/podOrderBatchDownload/list_page',
'factory/podOrderBatchDownload/list_page1',
{ ...data, currentPage, pageSize },
)
}
......
......@@ -415,7 +415,7 @@
</ElFormItem>
<ElFormItem>
<ElButton type="primary" @click="search"> 查询 </ElButton>
<ElButton type="primary" @click="refreshCurrentView"> 查询 </ElButton>
<ElButton @click="reset"> 重置 </ElButton>
</ElFormItem>
</ElForm>
......@@ -1257,14 +1257,10 @@ const {
},
})
const search = () => {
refreshCurrentView()
}
const reset = () => {
searchForm.value = {}
dateRange.value = []
search()
refreshCurrentView()
}
const confirmOrderDialogRef = ref<InstanceType<typeof ConfirmOrderDialog>>()
......@@ -1320,6 +1316,9 @@ const handleStatusNodeClick = (node: StatusTreeNode) => {
logList.value = []
if (!isSpecialLayout.value) {
refreshCurrentView()
if (isTableLayout.value) {
loadSubTables()
}
}
}
const toggleExpand = (node: { expanded?: boolean }) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment