bug fixed
This commit is contained in:
23
src/api/dataApproval/achivement.js
Normal file
23
src/api/dataApproval/achivement.js
Normal file
@ -0,0 +1,23 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取成果审核列表
|
||||
export const expertAchievementList = (params) => request({
|
||||
url: "/business/dataReview/expertAchievementList",
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
// 获取成果详情
|
||||
export const expertAchievementInfo = (params) => request({
|
||||
url: "/business/dataReview/expertAchievementInfo",
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
|
||||
// 修改成果
|
||||
export const updateExpertAchievement = (data) => request({
|
||||
url: "/business/dataReview/updateExpertAchievement",
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
|
||||
|
||||
24
src/api/dataApproval/enterpriseServiceDemand.js
Normal file
24
src/api/dataApproval/enterpriseServiceDemand.js
Normal file
@ -0,0 +1,24 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 企业服务需求列表
|
||||
export const listCasDemand = (params) =>
|
||||
request({
|
||||
url: "/business/dataReview/listCasDemand/list",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
|
||||
// 企业服务需求详情
|
||||
export const getCasDemandInfo = (id) =>
|
||||
request({
|
||||
url: `/business/dataReview/getCasDemandInfo/${id}`,
|
||||
method: "GET",
|
||||
});
|
||||
|
||||
// 修改企业服务需求
|
||||
export const updateCasDemand = (data) =>
|
||||
request({
|
||||
url: `/business/dataReview/updateCasDemand`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
8
src/api/dataApproval/enterpriseTechnologyDemand.js
Normal file
8
src/api/dataApproval/enterpriseTechnologyDemand.js
Normal file
@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 修改企业技术需求审核
|
||||
export const updateTechnologyDemand = (data) => request({
|
||||
url: "/business/dataReview/updateTechnologyDemand",
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
@ -54,3 +54,49 @@ export function companyExamine(data) {
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 公司企业分配账号
|
||||
export function allocateAccount(data) {
|
||||
return request({
|
||||
url: "/business/enterprise/allocateAccount",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 公司企业获取账号
|
||||
export function getAccount(id) {
|
||||
return request({
|
||||
url: `/business/enterprise/getAccount/${id}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 公司企业重置密码
|
||||
export function restPassword(id, password) {
|
||||
return request({
|
||||
url: `/business/enterprise/restPassword/${id}/${password}`,
|
||||
method: "put",
|
||||
});
|
||||
}
|
||||
// 公司企业获取会员详情
|
||||
export function getCasVip(id) {
|
||||
return request({
|
||||
url: `/business/casVip/${id}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 公司企业开通会员详情
|
||||
export function openCasVip(data) {
|
||||
return request({
|
||||
url: `/business/casVip`,
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
// 公司企业修改会员
|
||||
export function updateCasVip(data) {
|
||||
return request({
|
||||
url: `/business/casVip`,
|
||||
method: "put",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
@ -40,3 +40,28 @@ export function expertExamine(data) {
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
// 专家分配账号
|
||||
export function allocateAccount(data) {
|
||||
return request({
|
||||
url: "/business/casExpert/allocateAccount",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 专家获取账号
|
||||
export function getAccount(id) {
|
||||
return request({
|
||||
url: `/business/casExpert/getAccount/${id}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 专家重置密码
|
||||
export function restPassword(id, password) {
|
||||
return request({
|
||||
url: `/business/casExpert/restPassword/${id}/${password}`,
|
||||
method: "put",
|
||||
});
|
||||
}
|
||||
|
||||
@ -1,29 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
// 获取专家列表
|
||||
export function expertList(params) {
|
||||
return request({
|
||||
url:"/business/casExpert/list",
|
||||
method:"get",
|
||||
params
|
||||
});
|
||||
}
|
||||
return request({
|
||||
url: "/business/casExpert/list",
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
// 新镇专家接口
|
||||
export const companyAdd=(data)=>request({
|
||||
url:"/business/casExpert",
|
||||
method:'post',
|
||||
data
|
||||
// 新镇专家接口
|
||||
export const companyAdd = (data) => request({
|
||||
url: "/business/casExpert",
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
||||
// 专家详情接口
|
||||
export const companyDetail = (id) => request({
|
||||
url: `/business/casExpert/${id}`,
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
// 修改专家详情
|
||||
export const companyEdit = (data) => request({
|
||||
url: '/business/casExpert',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
|
||||
// 专家分配账号
|
||||
export function allocateAccount(data) {
|
||||
return request({
|
||||
url: '/business/casExpert/allocateAccount',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
|
||||
// 专家详情接口
|
||||
export const companyDetail=(id)=>request({
|
||||
url:`/business/casExpert/${id}`,
|
||||
method:'get',
|
||||
})
|
||||
|
||||
// 修改专家详情
|
||||
export const companyEdit =(data)=>request({
|
||||
url:'/business/casExpert',
|
||||
method:'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user