11
This commit is contained in:
7
src/api/Businessneeds/index.js
Normal file
7
src/api/Businessneeds/index.js
Normal file
@ -0,0 +1,7 @@
|
||||
import request from '@/utils/request'
|
||||
// 获取企业需求列表
|
||||
export const businessList=(params)=>request({
|
||||
url:"/business/dataReview/technologyDemandList",
|
||||
method:'get',
|
||||
params
|
||||
})
|
||||
@ -19,4 +19,11 @@ export function expertList(params) {
|
||||
export const companyDetail=(id)=>request({
|
||||
url:`/business/casExpert/${id}`,
|
||||
method:'get',
|
||||
})
|
||||
|
||||
// 修改专家详情
|
||||
export const companyEdit =(data)=>request({
|
||||
url:'/business/casExpert',
|
||||
method:'put',
|
||||
data
|
||||
})
|
||||
15
src/api/patent/index.js
Normal file
15
src/api/patent/index.js
Normal file
@ -0,0 +1,15 @@
|
||||
import request from '@/utils/request'
|
||||
// 获取专利列表
|
||||
export function expertList(id) {
|
||||
return request({
|
||||
url:`/business/casExpert/patent/${id}`,
|
||||
method:"get"
|
||||
});
|
||||
}
|
||||
|
||||
// 解除专利
|
||||
export const delList=(params)=>request({
|
||||
url:'/business/casExpert/kill',
|
||||
method:'get',
|
||||
params
|
||||
})
|
||||
34
src/api/thesis/index.js
Normal file
34
src/api/thesis/index.js
Normal file
@ -0,0 +1,34 @@
|
||||
import request from '@/utils/request'
|
||||
// 获取论文列表
|
||||
export function expertList(params) {
|
||||
return request({
|
||||
url:"/business/casPaper/list",
|
||||
method:"get",
|
||||
params
|
||||
});
|
||||
}
|
||||
// 删除逻辑
|
||||
export const delItem=(ids)=>request({
|
||||
url:`/business/casPaper/${ids}`,
|
||||
method:'DELETE'
|
||||
})
|
||||
|
||||
// 新增接口
|
||||
export const addItem=(data)=>request({
|
||||
url:'/business/casPaper',
|
||||
method:'post',
|
||||
data
|
||||
})
|
||||
|
||||
// 获取详情
|
||||
export const editItem=(id)=>request({
|
||||
url:`/business/casPaper/${id}`,
|
||||
method:'GET'
|
||||
})
|
||||
|
||||
// 修改论文
|
||||
export const rebtnItem=(data)=>request({
|
||||
url:'/business/casPaper',
|
||||
method:'PUT',
|
||||
data
|
||||
})
|
||||
Reference in New Issue
Block a user