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.
53 lines
876 B
JavaScript
53 lines
876 B
JavaScript
11 months ago
|
import axios from "@/utils/request";
|
||
|
|
||
|
export function addDrug(query) {
|
||
|
return axios({
|
||
|
url: "/udi/udirel/addDrug",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function updatetDrug(query) {
|
||
|
return axios({
|
||
|
url: "/udi/udirel/updatetDrug",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function updateLevelDrug(query) {
|
||
|
return axios({
|
||
|
url: "/udi/udirel/updateLevelDrug",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
export function delDrugLevel(query) {
|
||
|
return axios({
|
||
|
url: "udi/udirel/drug/delLevel",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function calculateDistCount(query) {
|
||
|
return axios({
|
||
|
url: "udi/udirel/calculateDistCount",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function calculateUseCount(query) {
|
||
|
return axios({
|
||
|
url: "udi/udirel/calculateUseCount",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|