Commit bbb0d9e5 by qinjianhui

fix: 接口修改

parent 788c413a
...@@ -173,7 +173,7 @@ export function getCardLayoutListApi( ...@@ -173,7 +173,7 @@ export function getCardLayoutListApi(
pageSize: number, pageSize: number,
) { ) {
return axios.post<never, BasePaginationData<FactoryOrderNewListData>>( return axios.post<never, BasePaginationData<FactoryOrderNewListData>>(
'factory/podOrderBatchDownload/list_page', 'factory/podOrderOperation/list_page',
{ ...data, currentPage, pageSize }, { ...data, currentPage, pageSize },
) )
} }
...@@ -210,7 +210,7 @@ export function getRestockListApi( ...@@ -210,7 +210,7 @@ export function getRestockListApi(
pageSize: number, pageSize: number,
) { ) {
return axios.post<never, BasePaginationData<RestockData>>( return axios.post<never, BasePaginationData<RestockData>>(
'factory/podOrderBatchDownload/list_page', 'factory/podOrderBatchDownload/list_page1',
{ ...data, currentPage, pageSize }, { ...data, currentPage, pageSize },
) )
} }
......
...@@ -415,7 +415,7 @@ ...@@ -415,7 +415,7 @@
</ElFormItem> </ElFormItem>
<ElFormItem> <ElFormItem>
<ElButton type="primary" @click="search"> 查询 </ElButton> <ElButton type="primary" @click="refreshCurrentView"> 查询 </ElButton>
<ElButton @click="reset"> 重置 </ElButton> <ElButton @click="reset"> 重置 </ElButton>
</ElFormItem> </ElFormItem>
</ElForm> </ElForm>
...@@ -1257,14 +1257,10 @@ const { ...@@ -1257,14 +1257,10 @@ const {
}, },
}) })
const search = () => {
refreshCurrentView()
}
const reset = () => { const reset = () => {
searchForm.value = {} searchForm.value = {}
dateRange.value = [] dateRange.value = []
search() refreshCurrentView()
} }
const confirmOrderDialogRef = ref<InstanceType<typeof ConfirmOrderDialog>>() const confirmOrderDialogRef = ref<InstanceType<typeof ConfirmOrderDialog>>()
...@@ -1320,6 +1316,9 @@ const handleStatusNodeClick = (node: StatusTreeNode) => { ...@@ -1320,6 +1316,9 @@ const handleStatusNodeClick = (node: StatusTreeNode) => {
logList.value = [] logList.value = []
if (!isSpecialLayout.value) { if (!isSpecialLayout.value) {
refreshCurrentView() refreshCurrentView()
if (isTableLayout.value) {
loadSubTables()
}
} }
} }
const toggleExpand = (node: { expanded?: boolean }) => { 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