From 098a117217382d928eab714af359d3fdfb9cc384 Mon Sep 17 00:00:00 2001 From: x_z Date: Mon, 30 Jan 2023 15:08:54 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B7=BB=E5=8A=A0=E8=A1=A5=E5=8D=95=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2=E5=92=8C=E5=BC=B9=E7=AA=97=E5=8F=8A?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E6=8E=A5=E5=8F=A3=E6=96=87=E4=BB=B6=202.?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=9A=E5=8A=A1=E5=8D=95=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=8E=A5=E5=8F=A3js=E6=96=87=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E7=AC=AC=E4=B8=89=E6=96=B9=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E5=8D=95=E6=8D=AE=E7=B1=BB=E5=9E=8B=E5=85=B3=E8=81=94=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=8E=A5=E5=8F=A3=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/busLocalType.js | 75 ---- src/api/basic/busOriginType.js | 2 - src/api/basic/busType.js | 8 + src/api/basic/busTypePre.js | 49 +++ src/views/system/param/busTypeChange.vue | 435 +++++++++++++++++++ src/views/system/param/busTypePre.vue | 339 +++++++++++++++ src/views/system/param/busTypePreModify.vue | 134 ++++++ src/views/thirdSys/api/index.vue | 2 +- src/views/thirdSys/busType/busTypeModify.vue | 4 - src/views/thirdSys/order/thrOrder.vue | 4 +- 10 files changed, 968 insertions(+), 84 deletions(-) delete mode 100644 src/api/basic/busLocalType.js create mode 100644 src/api/basic/busTypePre.js create mode 100644 src/views/system/param/busTypeChange.vue create mode 100644 src/views/system/param/busTypePre.vue create mode 100644 src/views/system/param/busTypePreModify.vue 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 @@