diff --git a/src/views/out/outDesignTable/index.vue b/src/views/out/outDesignTable/index.vue index cdb6652..58bef11 100644 --- a/src/views/out/outDesignTable/index.vue +++ b/src/views/out/outDesignTable/index.vue @@ -86,13 +86,14 @@ const handleTabChange = (tab) => { activeTab.value = tab; data.queryParams.valueType = '1'; // data.queryParams.month = ''; + getList(); }; /** 查询项目总产值分配列表 */ const getList = async () => { loading.value = true; - const res = await listOutTable(queryParams.value); + const res = await listOutTable({ ...queryParams.value, type: activeTab.value }); valueAllocationList.value = res.rows; total.value = res.total; loading.value = false;