代码备份

prod
anthonywj 2 years ago
parent 4acf2a1138
commit cf4ad83448

@ -8,13 +8,6 @@ export function getUdiInfos(query) {
}); });
} }
export function getAllUdiInfos(query) {
return axios({
url: "/udi/udirel/download",
method: "get",
params: query
});
}
export function getMutiUdiInfos(query) { export function getMutiUdiInfos(query) {
return axios({ return axios({

@ -1,188 +1,177 @@
import axios from "@/utils/request"; import axios from "@/utils/request";
export function getUdiInfos(query) { export function getUdiInfos(query) {
return axios({ return axios({
url: "/udi/udirel/filterUdi", url: "/udi/udirel/filterUdi",
method: "get", method: "get",
params: query params: query
}); });
} }
export function getAllUdiInfos(query) {
return axios({
url: "/udi/udirel/download",
method: "get",
params: query
});
}
export function getMutiUdiInfos(query) { export function getMutiUdiInfos(query) {
return axios({ return axios({
url: "/udi/udirel/mutil/download", url: "/udi/udirel/mutil/download",
method: "get", method: "get",
params: query params: query
}); });
} }
export function getSmUdiInfos(query) { export function getSmUdiInfos(query) {
return axios({ return axios({
url: "/udi/udirel/filterSmUdi", url: "/udi/udirel/filterSmUdi",
method: "get", method: "get",
params: query params: query
}); });
} }
export function deletetUdiInfos(query) { export function deletetUdiInfos(query) {
return axios({ return axios({
url: "/udi/udirel/deleteById", url: "/udi/udirel/deleteById",
method: "post", method: "post",
data: query data: query
}); });
} }
export function updatetUdiInfos(query) { export function updatetUdiInfos(query) {
return axios({ return axios({
url: "/udi/udirel/update", url: "/udi/udirel/update",
method: "post", method: "post",
data: query data: query
}); });
} }
export function checkExitUdi(query) { export function checkExitUdi(query) {
return axios({ return axios({
url: "/udi/udirel/check/udi", url: "/udi/udirel/check/udi",
method: "post", method: "post",
data: query data: query
}); });
} }
export function combineUdi(query) { export function combineUdi(query) {
return axios({ return axios({
url: "/udi/udirel/revleance", url: "/udi/udirel/revleance",
method: "post", method: "post",
data: query data: query
}); });
} }
export function combineAllUdi(query) { export function combineAllUdi(query) {
return axios({ return axios({
url: "/udi/udirel/combineAll", url: "/udi/udirel/combineAll",
method: "get", method: "get",
params: query params: query
}); });
} }
export function modifyRel(query) { export function modifyRel(query) {
return axios({ return axios({
url: "/udi/udirel/modifyRel", url: "/udi/udirel/modifyRel",
method: "post", method: "post",
data: query data: query
}); });
} }
export function addErp(query) { export function addErp(query) {
return axios({ return axios({
url: "/udi/udirel/addErp", url: "/udi/udirel/addErp",
method: "post", method: "post",
data: query data: query
}); });
} }
export function addAllErp(query) { export function addAllErp(query) {
return axios({ return axios({
url: "/udi/udirel/addAllErp", url: "/udi/udirel/addAllErp",
method: "post", method: "post",
data: query data: query
}); });
} }
export function updateErpProduct(query) { export function updateErpProduct(query) {
return axios({ return axios({
url: "/udi/udirel/updateErp", url: "/udi/udirel/updateErp",
method: "get", method: "get",
params: query params: query
}); });
} }
export function uploadSmp(query) { export function uploadSmp(query) {
return axios({ return axios({
url: "/udiwms/smp/udirl/upload", url: "/udiwms/smp/udirl/upload",
method: "post", method: "post",
data: query data: query
}); });
} }
export function disableUdi(query) { export function disableUdi(query) {
return axios({ return axios({
url: "/udi/udirel/disable", url: "/udi/udirel/disable",
method: "post", method: "post",
data: query data: query
}); });
} }
export function thirdSysDetail(query) { export function thirdSysDetail(query) {
return axios({ return axios({
url: "/udiwms/udirel/thirdSys/detail", url: "/udiwms/udirel/thirdSys/detail",
method: "get", method: "get",
params: query params: query
}); });
} }
export function removeRl(query) { export function removeRl(query) {
return axios({ return axios({
url: "/udiwms/udirl/thirdSys/remove", url: "/udiwms/udirl/thirdSys/remove",
method: "get", method: "get",
params: query params: query
}); });
} }
export function removeDiRl(query) { export function removeDiRl(query) {
return axios({ return axios({
url: "/udiwms/udirl/di/remove", url: "/udiwms/udirl/di/remove",
method: "get", method: "get",
params: query params: query
}); });
} }
export function sysFilter(query) { export function sysFilter(query) {
return axios({ return axios({
url: "/udiwms/udirel/thirdSys/filter", url: "/udiwms/udirel/thirdSys/filter",
method: "get", method: "get",
params: query params: query
}); });
} }
export function spcombie(query) { export function spcombie(query) {
return axios({ return axios({
url: "/udiwms/udiinfo/spcombie", url: "/udiwms/udiinfo/spcombie",
method: "get", method: "get",
params: query params: query
}); });
} }
export function lockStatus(query) { export function lockStatus(query) {
return axios({ return axios({
url: "/udiwms/udirl/lock/status", url: "/udiwms/udirl/lock/status",
method: "post", method: "post",
data: query data: query
}); });
} }
export function changeVersion(query) { export function changeVersion(query) {
return axios({ return axios({
url: "/udi/udirel/changeVersion", url: "/udi/udirel/changeVersion",
method: "post", method: "post",
data: query data: query
}); });
} }

@ -489,7 +489,7 @@
<script> <script>
import { import {
getUdiInfos, getAllUdiInfos, getUdiInfos,
deletetUdiInfos, deletetUdiInfos,
thirdSysDetail, thirdSysDetail,
removeRl, sysFilter, getMutiUdiInfos removeRl, sysFilter, getMutiUdiInfos

Loading…
Cancel
Save