You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
880 B
JavaScript
54 lines
880 B
JavaScript
3 years ago
|
import request from '@/utils/request'
|
||
|
import axios from "@/utils/request";
|
||
|
|
||
|
|
||
|
export function listStatus(query) {
|
||
|
return request({
|
||
|
url: '/sys/his/stauts/filter',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function addStatus(data) {
|
||
|
return request({
|
||
|
url: '/sys/his/stauts/add',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
export function updateStatus(data) {
|
||
|
return request({
|
||
|
url: '/sys/his/stauts/update',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function delStatus(data) {
|
||
|
return request({
|
||
|
url: '/sys/his/stauts/delete',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
export function treeList(query) {
|
||
|
return axios({
|
||
|
url: "/sys/his/stauts/tree",
|
||
|
method: "get",
|
||
|
params: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function treeSelectedList(query) {
|
||
|
return axios({
|
||
|
url: "/sys/his/stauts/treeSelect",
|
||
|
method: "get",
|
||
|
params: query
|
||
|
});
|
||
|
}
|