|
|
@@ -5,6 +5,8 @@
|
|
|
import { getRuiYingReportPage } from '@/api/ruiying';
|
|
|
import { useDataDictStore } from '@/store/modules/dataDict';
|
|
|
|
|
|
+ import { getDeptId } from '@/utils/auth';
|
|
|
+
|
|
|
const dictStore = useDataDictStore();
|
|
|
|
|
|
const fillStatusDict = reactive({});
|
|
|
@@ -32,8 +34,9 @@
|
|
|
pageNo,
|
|
|
pageSize,
|
|
|
projectClassification: '1',
|
|
|
- taskName: orderName.value,
|
|
|
- contractName: orderName.value,
|
|
|
+ ...(orderName.value ? { taskName: orderName.value } : {}),
|
|
|
+ ...(orderName.value ? { contractName: orderName.value } : {}),
|
|
|
+ deptId: getDeptId(),
|
|
|
})
|
|
|
.then(res => {
|
|
|
paging.value.complete(res.data.list);
|