第三方产品信息功能js代码提交
parent
9a767c2299
commit
31441f81cf
@ -1,34 +1,34 @@
|
||||
import axios from "../../utils/request";
|
||||
import axios from "@/utils/request";
|
||||
|
||||
export function getThrProducts(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrsys/getThrAddProducts",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrsys/getThrAddProducts",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function delThrProducts(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrsys/delThrAddProducts",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrsys/delThrAddProducts",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
export function updateProduct(data) {
|
||||
return axios({
|
||||
url: '/udiwms/thrsys/updateThrAddProducts',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
return axios({
|
||||
url: '/udiwms/thrsys/updateThrAddProducts',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function addProduct(data) {
|
||||
return axios({
|
||||
url: '/udiwms/thrsys/addThrAddProducts',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
return axios({
|
||||
url: '/udiwms/thrsys/addThrAddProducts',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -1,35 +1,33 @@
|
||||
import axios from "../../utils/request";
|
||||
import axios from "@/utils/request";
|
||||
|
||||
|
||||
export function filterLog(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/exportLog/filter",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/exportLog/filter",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function deleteLog(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/exportLog/deleteLog",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/exportLog/deleteLog",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
export function downloadLog(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/exportLog/download",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/exportLog/download",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function exportExcel(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/export",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/export",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1,26 +1,25 @@
|
||||
import axios from "../../utils/request";
|
||||
import axios from "@/utils/request";
|
||||
|
||||
|
||||
export function filterLog(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/filter",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/filter",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function filterDetail(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/filterDetail",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/filterDetail",
|
||||
method: "get",
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
export function deleteLog(query) {
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/deleteLog",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
return axios({
|
||||
url: "/udiwms/thrProducts/importLog/deleteLog",
|
||||
method: "post",
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue