diff --git a/src/api/basic/basicUnitMaintain.js b/src/api/basic/basicUnitMaintain.js index 19a5d97d..db80ab3c 100644 --- a/src/api/basic/basicUnitMaintain.js +++ b/src/api/basic/basicUnitMaintain.js @@ -112,6 +112,20 @@ export function selectCorpList(query) { }); } +export function getCorpLists(query) { + return axios({ + url: "/udiwms/basic/unit/maintain/getCorpLists", + method: "get", + params: query + }); +} +export function getPlatFormDelect(query) { + return axios({ + url: "/udiwms/platform/getPlatFormDelect", + method: "post", + data: query + }); +} diff --git a/src/api/userManage/platform.js b/src/api/userManage/platform.js new file mode 100644 index 00000000..68f2656d --- /dev/null +++ b/src/api/userManage/platform.js @@ -0,0 +1,91 @@ +import axios from '@/utils/request' + +export function getPlatform(query) { + return axios({ + url: "/udiwms/platform/list", + method: "get", + params: query + }); +} + +export function updatePlatform(data) { + return axios({ + url: "/udiwms/platform/update", + method: "post", + data: data + }); +} + +export function deletePlatform(data) { + return axios({ + url: "/udiwms/platform/remove", + method: "post", + data: data + }); +} + +export function linkPlatform(query) { + return axios({ + url: "/udiwms/platform/link", + method: "post", + data: query + }); +} + +//查询往来单位和自助平台关联数据 +export function getLinkPlatformList(query) { + return axios({ + url: "/udiwms/platform/getLinkPlatformList", + method: "get", + params: query + }); +} + +//解绑往来单位字典和自助平台 +export function unbindPlatform(query) { + return axios({ + url: "/udiwms/platform/unbind", + method: "post", + params: query + }); +} + +export function getTargetActions(query) { + return axios({ + url: "/udiwms/platform/getTargetActions", + method: "get", + params: query + }); +} + +export function getTargetInv(query) { + return axios({ + url: "/udiwms/platform/getTargetInv", + method: "get", + params: query + }); +} + +export function getTargetSubInv(query) { + return axios({ + url: "/udiwms/platform/getTargetSubInv", + method: "get", + params: query + }); +} + +export function testPlatformConnection(query) { + return axios({ + url: "/udiwms/platform/testPlatformConnection", + method: "get", + params: query + }) +} + +export function testUserInfo(data) { + return axios({ + url: "/udiwms/platform/testUserInfo", + method: "post", + data: data + }); +} diff --git a/src/api/userManage/unitMaintain.js b/src/api/userManage/unitMaintain.js new file mode 100644 index 00000000..f082818c --- /dev/null +++ b/src/api/userManage/unitMaintain.js @@ -0,0 +1,44 @@ +import axios from '@/utils/request' + +export function getUnitMaintain(query) { + return axios({ + url: "/warehouse/unitMaintain/filter", + method: "get", + params: query + }); +} + +export function combine(query) { + return axios({ + url: "/udiwms/basic/unit/maintain/combine", + method: "post", + data: query + }); +} + +export function deleteUnitMaintain(query) { + return axios({ + url: "/warehouse/unitMaintain/delete", + method: "post", + data: query + }); +} + +export function addUnit(query) { + return axios({ + url: "/warehouse/unitMaintain/add", + method: "post", + data: query + }); +} + +export function modifyUnit(query) { + return axios({ + url: "/warehouse/unitMaintain/modify", + method: "post", + data: query + }); +} + + + diff --git a/src/views/userManage/bindPlatform.vue b/src/views/userManage/bindPlatform.vue new file mode 100644 index 00000000..2b85c3d6 --- /dev/null +++ b/src/views/userManage/bindPlatform.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/src/views/userManage/bindPlatformEditModel.vue b/src/views/userManage/bindPlatformEditModel.vue new file mode 100644 index 00000000..e239febf --- /dev/null +++ b/src/views/userManage/bindPlatformEditModel.vue @@ -0,0 +1,288 @@ + + + + + diff --git a/src/views/userManage/bindPlatformModel.vue b/src/views/userManage/bindPlatformModel.vue new file mode 100644 index 00000000..67c3e742 --- /dev/null +++ b/src/views/userManage/bindPlatformModel.vue @@ -0,0 +1,323 @@ + + + + + diff --git a/src/views/userManage/platform.vue b/src/views/userManage/platform.vue new file mode 100644 index 00000000..d78ef1da --- /dev/null +++ b/src/views/userManage/platform.vue @@ -0,0 +1,248 @@ + + +