diff --git a/src/api/basic/basicManuMaintain.js b/src/api/basic/basicManuMaintain.js new file mode 100644 index 00000000..91a6ab9b --- /dev/null +++ b/src/api/basic/basicManuMaintain.js @@ -0,0 +1,61 @@ +import axios from "@/utils/request"; + +export function getBasicManuMaintains(query) { + return axios({ + url: "/udiwms/basic/manu/maintain/filter", + method: "get", + params: query + }); +} + + +export function basicUnitMaintainSave(data, formName, method = "post") { + let url = + formName === "add" ? "/udiwms/basic/manu/maintain/save" : "/udiwms/basic/manu/maintain/update"; + return axios({ + url: url, + method: method, + data: data + }); +} + + +export function deleteBasicUnitMaintain(query) { + return axios({ + url: "/udiwms/basic/manu/maintain/delete", + method: "post", + data: query + }); +} + +export function combine(query) { + return axios({ + url: "/udiwms/basic/manu/maintain/combine", + method: "post", + data: query + }); +} + +export function combineAll(query) { + return axios({ + url: "/udiwms/basic/manu/maintain/combineAll", + method: "get", + params: query + }); +} + +export function combineSingle(query) { + return axios({ + url: "/udiwms/basic/manu/maintain/combineSingle", + method: "post", + data: query + }); +} + +export function getThrsysUnit(query) { + return axios({ + url: "/udiwms/manutMaintain/thirdSys/detail", + method: "get", + params: query + }); +} diff --git a/src/views/basic/corpMaintain/corpMaintain.vue b/src/views/basic/corpMaintain/corpMaintain.vue index d9d7220f..58a26933 100644 --- a/src/views/basic/corpMaintain/corpMaintain.vue +++ b/src/views/basic/corpMaintain/corpMaintain.vue @@ -538,9 +538,7 @@ export default { }, getThirdSysDetail() { - let query = {}; - if (this.formName == "update") { query = { id: this.editQuery.id, @@ -555,8 +553,8 @@ export default { this.loading = false; this.sysList = []; }); - } - , + }, + change() { var pinyin = require("pinyin"); var py = pinyin(this.editQuery.name, { diff --git a/src/views/basic/manu/corpRelevance.vue b/src/views/basic/manu/corpRelevance.vue new file mode 100644 index 00000000..895e1f9a --- /dev/null +++ b/src/views/basic/manu/corpRelevance.vue @@ -0,0 +1,227 @@ + + + diff --git a/src/views/basic/manu/corpSingleRelevance.vue b/src/views/basic/manu/corpSingleRelevance.vue new file mode 100644 index 00000000..3b480658 --- /dev/null +++ b/src/views/basic/manu/corpSingleRelevance.vue @@ -0,0 +1,239 @@ + + + + + diff --git a/src/views/basic/manu/manuMaintain.vue b/src/views/basic/manu/manuMaintain.vue new file mode 100644 index 00000000..727404eb --- /dev/null +++ b/src/views/basic/manu/manuMaintain.vue @@ -0,0 +1,627 @@ + + + +