单据上传bug修复

dev
郑明梁 2 years ago
parent a588de2584
commit ed6ccdf059

@ -24,6 +24,15 @@ export function deletePlatform(data) {
}); });
} }
export function deletePlatforms(data) {
return axios({
url: "/udiwms/platform/delect",
method: "post",
data: data
});
}
export function linkPlatform(query) { export function linkPlatform(query) {
return axios({ return axios({
url: "/udiwms/platform/link", url: "/udiwms/platform/link",

@ -77,10 +77,10 @@
<script> <script>
import { import {
getPlatform, getPlatform,
updatePlatform, updatePlatform,
deletePlatform, deletePlatform,
testPlatformConnection testPlatformConnection, deletePlatforms
} from "@/api/userManage/platform"; } from "@/api/userManage/platform";
export default { export default {
@ -219,7 +219,7 @@ export default {
let tQuery = { let tQuery = {
id: row.id id: row.id
}; };
deletePlatform(tQuery).then(() => { deletePlatforms(tQuery).then(() => {
this.getList(); this.getList();
}); });
}) })

Loading…
Cancel
Save