|
|
@@ -2,7 +2,7 @@ import request from '@/router/axios';
|
|
|
|
|
|
export const getList = (current, size, params) => {
|
|
|
return request({
|
|
|
- url: '/api/kd-scientific//page',
|
|
|
+ url: '/api/kd-scientific/subject/enterprise/page',
|
|
|
method: 'get',
|
|
|
params: {
|
|
|
...params,
|
|
|
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
|
|
|
|
|
|
export const add = (row) => {
|
|
|
return request({
|
|
|
- url: '/api/kd-scientific//save',
|
|
|
+ url: '/api/kd-scientific/subject/enterprise/submit',
|
|
|
method: 'post',
|
|
|
data: row
|
|
|
})
|
|
|
@@ -23,18 +23,20 @@ export const add = (row) => {
|
|
|
|
|
|
export const update = (row) => {
|
|
|
return request({
|
|
|
- url: '/api/kd-scientific//update',
|
|
|
+ url: '/api/kd-scientific/subject/enterprise/submit',
|
|
|
method: 'post',
|
|
|
data: row
|
|
|
})
|
|
|
}
|
|
|
|
|
|
|
|
|
-export const remove = (data) => {
|
|
|
+export const remove = (ids) => {
|
|
|
return request({
|
|
|
- url: '/api/kd-scientific//remove',
|
|
|
+ url: '/api/kd-scientific/subject/enterprise/remove',
|
|
|
method: 'post',
|
|
|
- data
|
|
|
+ params: {
|
|
|
+ ids
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
|