|
|
|
@ -278,8 +278,7 @@ import ApprovalButton from '@/components/Process/approvalButton.vue';
|
|
|
|
import { allListDept } from '@/api/system/dept';
|
|
|
|
import { allListDept } from '@/api/system/dept';
|
|
|
|
import { listProjectType } from '@/api/oa/erp/projectType';
|
|
|
|
import { listProjectType } from '@/api/oa/erp/projectType';
|
|
|
|
import { ProjectTypeVO } from '@/api/oa/erp/projectType/types';
|
|
|
|
import { ProjectTypeVO } from '@/api/oa/erp/projectType/types';
|
|
|
|
import { listUser } from '@/api/system/user';
|
|
|
|
import { getUserList } from '@/api/system/user';
|
|
|
|
import { UserQuery } from '@/api/system/user/types';
|
|
|
|
|
|
|
|
import { CodeRuleEnum, FlowCodeEnum, ProjectCategoryEnum } from '@/enums/OAEnum';
|
|
|
|
import { CodeRuleEnum, FlowCodeEnum, ProjectCategoryEnum } from '@/enums/OAEnum';
|
|
|
|
import { getErpProjectContractsList } from '@/api/oa/erp/projectContracts';
|
|
|
|
import { getErpProjectContractsList } from '@/api/oa/erp/projectContracts';
|
|
|
|
import { listContractInfo } from '@/api/oa/erp/contractInfo';
|
|
|
|
import { listContractInfo } from '@/api/oa/erp/contractInfo';
|
|
|
|
@ -328,10 +327,10 @@ const getDeptInfoListSelect = async () => {
|
|
|
|
|
|
|
|
|
|
|
|
/** 查询用户列表 */
|
|
|
|
/** 查询用户列表 */
|
|
|
|
const userList = ref([]);
|
|
|
|
const userList = ref([]);
|
|
|
|
const getUserList = async () => {
|
|
|
|
const getUserSelectList = async () => {
|
|
|
|
const params: UserQuery = { pageNum: 1, pageSize: 9999 };
|
|
|
|
const params = { } as any;
|
|
|
|
const res = await listUser(params);
|
|
|
|
const res = await getUserList(params);
|
|
|
|
userList.value = res.rows;
|
|
|
|
userList.value = res.data;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const projectTypeOptions = ref<ProjectTypeVO[]>([]);
|
|
|
|
const projectTypeOptions = ref<ProjectTypeVO[]>([]);
|
|
|
|
@ -529,7 +528,7 @@ const submitForm = (status: string, mode: boolean) => {
|
|
|
|
//初始化调用
|
|
|
|
//初始化调用
|
|
|
|
const loadSelectOptions = () => {
|
|
|
|
const loadSelectOptions = () => {
|
|
|
|
getDeptInfoListSelect();
|
|
|
|
getDeptInfoListSelect();
|
|
|
|
getUserList();
|
|
|
|
getUserSelectList();
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
onMounted(async () => {
|
|
|
|
onMounted(async () => {
|
|
|
|
|