diff --git a/src/api/basic/busLocalType.js b/src/api/basic/busLocalType.js deleted file mode 100644 index f72ab98c..00000000 --- a/src/api/basic/busLocalType.js +++ /dev/null @@ -1,75 +0,0 @@ -import axios from "../../utils/request"; - -export function getLocalBusType(query) { - return axios({ - url: "/udiwms/localBusType/filter", - method: "get", - params: query - }); -} - -export function getLocalJoinBusType(query) { - return axios({ - url: "/udiwms/localBusType/filterJoin", - method: "get", - params: query - }); -} - -export function getLocalJoinByUser(query) { - return axios({ - url: "/udiwms/localBusType/filterJoinByUser", - method: "get", - params: query - }); -} - -export function getLocalJoinNoUse(query) { - return axios({ - url: "/udiwms/localBusType/filterUnUse", - method: "get", - params: query - }); -} - -export function filterByBus(query) { - return axios({ - url: "/udiwms/localBusType/filterByBus", - method: "get", - params: query - }); -} - - -export function addLocalBusType(query) { - return axios({ - url: "/udiwms/localBusType/add", - method: "post", - data: query - }); -} - - -export function deleteLocalBusType(query) { - return axios({ - url: "/udiwms/localBusType/delete", - method: "post", - data: query - }); -} - -export function updateLocalBusType(query) { - return axios({ - url: "/udiwms/localBusType/update", - method: "post", - data: query - }); -} - -export function filterForThirdSys() { - return axios({ - url: "/udiwms/localBusType/filterForThirdSys", - method: "get", - param: null - }) -} diff --git a/src/api/basic/busOriginType.js b/src/api/basic/busOriginType.js index 2ae1fa5e..d99fc36d 100644 --- a/src/api/basic/busOriginType.js +++ b/src/api/basic/busOriginType.js @@ -30,8 +30,6 @@ export function delBussinessType(query) { }); } - - export function downloadBussinessType(query) { return axios({ url: "/udiwms/originBusType/download", diff --git a/src/api/basic/busType.js b/src/api/basic/busType.js index 4111656c..0d18c7e9 100644 --- a/src/api/basic/busType.js +++ b/src/api/basic/busType.js @@ -57,3 +57,11 @@ export function exportFile(query) { responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf }); } + +export function filterForThirdSys() { + return axios({ + url: "/udiwms/bussinessType/filterForThirdSys", + method: "get", + params: null + }) +} diff --git a/src/api/basic/busTypePre.js b/src/api/basic/busTypePre.js new file mode 100644 index 00000000..990e874a --- /dev/null +++ b/src/api/basic/busTypePre.js @@ -0,0 +1,49 @@ +import axios from "../../utils/request"; + +export function getBusTypePreResList(params) { + return axios({ + url: "/spms/busTypePre/filterList", + method: "get", + params: params + }); +} + +export function getBusTypePreList(params) { + return axios({ + url: "/spms/busTypePre/filter", + method: "get", + params: params + }); +} + +export function removeBusTypePre(data) { + return axios({ + url: "/spms/busTypePre/remove", + method: "post", + data: data + }); +} + +export function deleteBusTypePre(data) { + return axios({ + url: "/spms/busTypePre/delete", + method: "post", + data: data + }); +} + +export function updateBusTypePre(data) { + return axios({ + url: "/spms/busTypePre/update", + method: "post", + data: data + }); +} + +export function addBusTypePre(data) { + return axios({ + url: "/spms/busTypePre/insert", + method: "post", + data: data + }); +} diff --git a/src/views/system/param/busTypeChange.vue b/src/views/system/param/busTypeChange.vue new file mode 100644 index 00000000..023e05e5 --- /dev/null +++ b/src/views/system/param/busTypeChange.vue @@ -0,0 +1,435 @@ + + + + diff --git a/src/views/system/param/busTypePre.vue b/src/views/system/param/busTypePre.vue new file mode 100644 index 00000000..2816acc9 --- /dev/null +++ b/src/views/system/param/busTypePre.vue @@ -0,0 +1,339 @@ + + + + diff --git a/src/views/system/param/busTypePreModify.vue b/src/views/system/param/busTypePreModify.vue new file mode 100644 index 00000000..528c0274 --- /dev/null +++ b/src/views/system/param/busTypePreModify.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/views/thirdSys/api/index.vue b/src/views/thirdSys/api/index.vue index d2724374..8e43e9d5 100644 --- a/src/views/thirdSys/api/index.vue +++ b/src/views/thirdSys/api/index.vue @@ -382,7 +382,7 @@ import { import {getOriginBusType} from "@/api/basic/busOriginType"; import modifyDialog from "./BasicThirdSysModify"; import modifyDetailDialog from "./BasicThirdSysDetailModify"; -import {filterForThirdSys} from "@/api/basic/busLocalType"; +import {filterForThirdSys} from "@/api/basic/busType"; import {isBlank} from "@/utils/strUtil"; export default { diff --git a/src/views/thirdSys/busType/busTypeModify.vue b/src/views/thirdSys/busType/busTypeModify.vue index c721db70..dc6ad292 100644 --- a/src/views/thirdSys/busType/busTypeModify.vue +++ b/src/views/thirdSys/busType/busTypeModify.vue @@ -75,10 +75,6 @@ import { getBasicThirdSys, } from "@/api/thrsys/basicThirdSys"; -import { - getLocalBusType, -} from "@/api/basic/busLocalType"; - export default { name: "inputQuery", props: { diff --git a/src/views/thirdSys/order/thrOrder.vue b/src/views/thirdSys/order/thrOrder.vue index 1a6d4e62..33930fdf 100644 --- a/src/views/thirdSys/order/thrOrder.vue +++ b/src/views/thirdSys/order/thrOrder.vue @@ -101,7 +101,7 @@