diff --git a/src/views/cory/template/index.vue b/src/views/cory/template/index.vue index 7d94a7a..4a7e431 100644 --- a/src/views/cory/template/index.vue +++ b/src/views/cory/template/index.vue @@ -1,54 +1,19 @@ - - - + @@ -60,7 +60,7 @@ @@ -88,7 +88,12 @@ const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')) import UserSelect from '@/components/UserSelect'; import { ref } from 'vue'; import { UserVO } from '@/api/system/user/types'; - +import { useUserStore } from '@/store/modules/user'; +const userStore = useUserStore(); +const projects = computed(() => [ + { id: '0', name: '全部项目' }, // 添加空选项 + ...userStore.projects +]); const userSelectRef = ref>(); //提交组件 const queryFormRef = ref(); @@ -112,13 +117,14 @@ const selectUserIds = ref>([]); //申请人选择数量 const userSelectCount = ref(0); // 查询参数 -const queryParams = ref({ +const queryParams = ref({ pageNum: 1, pageSize: 10, nodeName: undefined, flowName: undefined, flowCode: undefined, - createByIds: [] + createByIds: [], + projectId: '0' }); onMounted(() => { getWaitingList();