diff --git a/src/api/param/systemParamConfig.js b/src/api/param/systemParamConfig.js index 60aeb0d..40c14bd 100644 --- a/src/api/param/systemParamConfig.js +++ b/src/api/param/systemParamConfig.js @@ -57,3 +57,12 @@ export function addCustomizeParam(data) { data: data }); } + +//删除参数 +export function deleteParam(query) { + return axios({ + url: "/udiwms/sys/config/deleteParam", + method: "get", + params: query + }); +} diff --git a/src/router/index.js b/src/router/index.js index fdf0db0..a25c9de 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -235,15 +235,14 @@ export const asyncRouterMap = [ } }, { - path: "/systemPDFTemplate", - component: Empty, + path: "systemPDFTemplate/template", + component: systemPDFTemplate, name: "打印模板", - redirect: "/systemPDFTemplate/template", icon: "", meta: { authRule: ["systemParam/systemPDFTemplate"] }, - children: [ + /*children: [ { path: "template", component: systemPDFTemplate, @@ -253,7 +252,7 @@ export const asyncRouterMap = [ authRule: ["pdf/template"] } } - ] + ]*/ }, { path: "/enterpriseManage", diff --git a/src/views/product/UnitManage.vue b/src/views/product/UnitManage.vue index f616154..2751e30 100644 --- a/src/views/product/UnitManage.vue +++ b/src/views/product/UnitManage.vue @@ -59,13 +59,13 @@ >编辑 - + + + +
@@ -105,17 +150,15 @@
- +
-
- - - -
+ + +
@@ -167,7 +210,6 @@ -
@@ -180,20 +222,6 @@
- -
- - - -
-
-
- -
@@ -209,7 +237,6 @@
-