From 4d1eb8e33f1b5a1895f5662915237fda69b93eb0 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Sat, 3 Feb 2024 10:17:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=9F=E4=BA=A7=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=AD=97=E5=85=B8=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/basicManuMaintain.js | 61 ++ src/views/basic/corpMaintain/corpMaintain.vue | 6 +- src/views/basic/manu/corpRelevance.vue | 227 +++++++ src/views/basic/manu/corpSingleRelevance.vue | 239 +++++++ src/views/basic/manu/manuMaintain.vue | 627 ++++++++++++++++++ 5 files changed, 1156 insertions(+), 4 deletions(-) create mode 100644 src/api/basic/basicManuMaintain.js create mode 100644 src/views/basic/manu/corpRelevance.vue create mode 100644 src/views/basic/manu/corpSingleRelevance.vue create mode 100644 src/views/basic/manu/manuMaintain.vue 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 @@ + + + +