diff --git a/frontend/src/api/plan/plan.ts b/frontend/src/api/plan/plan.ts index d22a01a..a232ae7 100644 --- a/frontend/src/api/plan/plan.ts +++ b/frontend/src/api/plan/plan.ts @@ -154,4 +154,9 @@ export const mergeSubPlanCheckData = (params: Plan.ResPlan) => { //根据误差体系id获取测试项 export const getPqErrSysTestItemList = (params: {errorSysId : string}) => { return http.get(`/pqErrSys/getTestItems?id=${params.errorSysId}`) +} + +// 获取计划项目成员 +export const getMemberList = (params: {id : string}) => { + return http.get(`/adPlan/getMemberList?planId=${params.id}`) } \ No newline at end of file diff --git a/frontend/src/views/plan/planList/components/devSelect.vue b/frontend/src/views/plan/planList/components/devSelect.vue index 80d8e3d..3b6f71c 100644 --- a/frontend/src/views/plan/planList/components/devSelect.vue +++ b/frontend/src/views/plan/planList/components/devSelect.vue @@ -54,6 +54,7 @@ :data="leftTreeData" :default-checked-keys="defaultCheckedKeys" :default-expanded-keys="defaultCheckedKeys" + :default-expand-all="props.expandAll" :filter-node-method="filterNode" node-key="id" style="padding-left: 0; padding-right: 20px" @@ -293,6 +294,10 @@ const props = defineProps({ disabled: { type: Boolean, default: false + }, + expandAll: { + type: Boolean, + default: false } }) const leftTreeRef = ref() diff --git a/frontend/src/views/plan/planList/components/planPopup.vue b/frontend/src/views/plan/planList/components/planPopup.vue index c779e86..c55911d 100644 --- a/frontend/src/views/plan/planList/components/planPopup.vue +++ b/frontend/src/views/plan/planList/components/planPopup.vue @@ -232,6 +232,7 @@ :data="devData" :height="selectByMode ? 325 : 220" :disabled="allDisabled" + :expand-all="planType !== '0'" >