You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
export function list(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/commissionPlans/list',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function listAll() {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/commissionPlans/listAll',
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function saveOrEdit(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/commissionPlans/saveOrEdit',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function remove(row) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/commissionPlans/remove?id='+row.id,
|
|
|
|
|
method: 'post',
|
|
|
|
|
})
|
|
|
|
|
}
|