update:创建需求放开权限
This commit is contained in:
@@ -101,7 +101,12 @@
|
||||
import { nextTick, reactive, ref } from 'vue';
|
||||
import Dialog from '@/components/common/dialog/index.vue';
|
||||
import TableForm from '@/components/common/table/tableForm.vue';
|
||||
import { addDemandApi, deleteDemandApi, demandListApi, editDemandApi } from '@/api/project/demand';
|
||||
import {
|
||||
addDemandNoPermissionApi,
|
||||
deleteDemandApi,
|
||||
demandListApi,
|
||||
editDemandApi,
|
||||
} from '@/api/project/demand';
|
||||
import { getChildrenNodeList } from '../../projectDetail/components/projectApi';
|
||||
import { NODE_TYPE } from '@/utils/enum/node';
|
||||
// import { upload } from '@/api/request';
|
||||
@@ -386,7 +391,7 @@ const createDemandApiFun = async (fromData: any) => {
|
||||
};
|
||||
// console.log('params', params, editFormInfo.value);
|
||||
// return;
|
||||
const res: any = await addDemandApi(params);
|
||||
const res: any = await addDemandNoPermissionApi(params);
|
||||
if (res.code === 200) {
|
||||
formVisible.value = false;
|
||||
ElMessage.success('创建成功');
|
||||
|
||||
Reference in New Issue
Block a user