|
@@ -1,4 +1,5 @@
|
|
|
import fetch from "./request"
|
|
|
+// console.log(fetch,"----fetch")
|
|
|
|
|
|
// 招标信息列表
|
|
|
export const subscribeList = data => fetch.get('/entdataexport/subscribeList', data);
|
|
@@ -58,22 +59,22 @@ export const entinfo = data => fetch.get('/entbase/ent/entinfo', data);
|
|
|
export const componyMsg = data => fetch.get("/entbase/ent/mySelectent",data);
|
|
|
|
|
|
//企业列表
|
|
|
-export const componyList = data => fetch.get("/entbase/person/pcManager",data);
|
|
|
+export const componyList = data => fetch.post("/entbase/person/pcManager",data,true);
|
|
|
|
|
|
//添加部门
|
|
|
-export const addDepartInter = data => fetch.get("/entbase/department/add",data);
|
|
|
+export const addDepartInter = data => fetch.post("/entbase/department/add",data,true);
|
|
|
|
|
|
//删除部门
|
|
|
-export const delDepartInter = data => fetch.get("/entbase/department/delete",data);
|
|
|
+export const delDepartInter = data => fetch.post("/entbase/department/delete",data,true);
|
|
|
|
|
|
//获取部门信息
|
|
|
-export const departDetail = data => fetch.get("/entbase/department/detail",data);
|
|
|
+export const departDetail = data => fetch.post("/entbase/department/detail",data,true);
|
|
|
|
|
|
//更新部门信息
|
|
|
-export const departUpdata = data => fetch.get("/entbase/department/update",data);
|
|
|
+export const departUpdata = data => fetch.post("/entbase/department/update",data,true);
|
|
|
|
|
|
//查询部门下的子部门
|
|
|
-export const findDepart = data => fetch.get("/entbase/department/childrens",data);
|
|
|
+export const findDepart = data => fetch.post("/entbase/department/childrens",data,true);
|
|
|
|
|
|
//部门管理员列表
|
|
|
export const userList = data => fetch.get("/entbase/department/pcPersons",data);
|
|
@@ -85,16 +86,16 @@ export const personInter = data => fetch.get("/entbase/power/pcPersons",data);
|
|
|
export const departsAll = data => fetch.get("/entbase/power/pcSearchDepartment",data);
|
|
|
|
|
|
//新增人员
|
|
|
-export const personAddInter = data => fetch.get("/entbase/person/add",data);
|
|
|
+export const personAddInter = data => fetch.post("/entbase/person/add",data,true);
|
|
|
|
|
|
//人员信息修改
|
|
|
-export const personUpdateInter = data => fetch.get("/entbase/person/update",data);
|
|
|
+export const personUpdateInter = data => fetch.post("/entbase/person/update",data,true);
|
|
|
|
|
|
//人员详细信息
|
|
|
-export const personDetailInter = data => fetch.get("/entbase/person/detail",data);
|
|
|
+export const personDetailInter = data => fetch.post("/entbase/person/detail",data,true);
|
|
|
|
|
|
//人员删除
|
|
|
-export const personDelInter = data => fetch.get("/entbase/person/delete",data);
|
|
|
+export const personDelInter = data => fetch.post("/entbase/person/delete",data,true);
|
|
|
|
|
|
//商机管理人员
|
|
|
export const sjPersonListInter = data => fetch.get("/entniche/entExportAuth/entPersonList",data);
|
|
@@ -103,7 +104,7 @@ export const sjPersonListInter = data => fetch.get("/entniche/entExportAuth/entP
|
|
|
export const user_sjPersonListInter = data => fetch.get("/entniche/entExportAuth/entPersons",data);
|
|
|
|
|
|
//商机管理添加人员
|
|
|
-export const add_sjPersonInter = data => fetch.get("/entbase/power/set",data);
|
|
|
+export const add_sjPersonInter = data => fetch.post("/entbase/power/set",data,true);
|
|
|
|
|
|
//商机管理列表删除
|
|
|
export const del_sjPersonListInter = data => fetch.get("/entniche/entExportAuth/entDeletePerson",data);
|
|
@@ -115,13 +116,13 @@ export const recordPersonListInter = data => fetch.get("/entniche/entExportAuth/
|
|
|
export const user_recordpersonListInter = data => fetch.get("/entniche/entExportAuth/persons",data);
|
|
|
|
|
|
//数据导出设置限额
|
|
|
-export const setLimit_recordpersonListInter = data => fetch.get("/entniche/entExportAuth/setLimit",data);
|
|
|
+export const setLimit_recordpersonListInter = data => fetch.post("/entniche/entExportAuth/setLimit",data,true);
|
|
|
|
|
|
//数据导出人员使用列表删除
|
|
|
-export const del_recordpersonListInter = data => fetch.get("/entniche/entExportAuth/deletePerson",data);
|
|
|
+export const del_recordpersonListInter = data => fetch.post("/entniche/entExportAuth/deletePerson",data,true);
|
|
|
|
|
|
//数据导出人员添加
|
|
|
-export const add_recordpersonListInter = data => fetch.get("/entniche/entExportAuth/set",data);
|
|
|
+export const add_recordpersonListInter = data => fetch.post("/entniche/entExportAuth/set",data,true);
|
|
|
|
|
|
//是否有菜单权限
|
|
|
export const hasPower = data => fetch.get("/entniche/entExportAuth/getAuth",data);
|