|
@@ -102,6 +102,7 @@ const departmentType = ref(useRoutes?.query?.departmentType ?? '')
|
|
|
const deptId = ref(useRoutes?.query?.deptId ?? '')
|
|
|
const overPlan = ref(useRoutes?.query?.overPlan ?? false)//是否延期计划
|
|
|
const costType = ref(useRoutes?.query?.costType ?? '')//门户跳转过来的部门
|
|
|
+const costTypeValue = ref(useRoutes?.query?.costTypeValue ?? '')//门户跳转过来的部门
|
|
|
const projectId = ref(useRoutes?.query?.projectId ?? '')//门户跳转过来的项目
|
|
|
const deptName = ref(useRoutes?.query?.deptName ?? '')
|
|
|
//缓存页面被激活时
|
|
@@ -113,6 +114,7 @@ onActivated(() => {
|
|
|
deptId.value = useRoutes?.query?.deptId ?? ''
|
|
|
overPlan.value = useRoutes?.query?.overPlan ?? false
|
|
|
costType.value = useRoutes?.query?.costType ?? ''
|
|
|
+ costTypeValue.value = useRoutes?.query?.costTypeValue ?? ''
|
|
|
projectId.value = useRoutes?.query?.projectId ?? ''
|
|
|
deptName.value = useRoutes?.query?.deptName ?? ''
|
|
|
getDepartmentuserDict()//获取部门人员字典
|
|
@@ -132,7 +134,7 @@ onActivated(() => {
|
|
|
const getDepartmentTimeOutPlan = async ()=>{
|
|
|
const { error, code, data } = await sectionApi.getDepartmentTimeOutPlan(
|
|
|
{
|
|
|
- costType:costType.value,
|
|
|
+ costType:costTypeValue.value,
|
|
|
projectId:projectId.value,
|
|
|
},
|
|
|
)
|