From eed0cabdb7f9737c41aaf3301c78ec44e7680a8f Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 13 Dec 2023 00:26:24 +0800 Subject: [PATCH] md --- src/components/RightToolbar/index.vue | 4 +- src/layout/components/Sidebar/index.vue | 2 - src/store/modules/tagsView.js | 16 +- .../emis/emisContinent/emisContinentForm.vue | 51 +- src/views/emis/emisCountry/index.vue | 735 ++++++++---------- 5 files changed, 329 insertions(+), 479 deletions(-) diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index e4e4ff06..e0dd4bf5 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -13,7 +13,7 @@ - + diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 919f5322..e8280407 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -3,7 +3,6 @@
-
- diff --git a/src/store/modules/tagsView.js b/src/store/modules/tagsView.js index 9389a1d2..c53c1cfd 100644 --- a/src/store/modules/tagsView.js +++ b/src/store/modules/tagsView.js @@ -18,14 +18,14 @@ const mutations = { }, ADD_VISITED_VIEW: (state, view) => { // console.log(view) - var addActionLogData = { - title: view.meta.title, - path: view.path, - menuId: view.meta.menuId, - navPath: "", - groupName: "", - }; - addActionLog(addActionLogData); + // var addActionLogData = { + // title: view.meta.title, + // path: view.path, + // menuId: view.meta.menuId, + // navPath: "", + // groupName: "", + // }; + // addActionLog(addActionLogData); if (state.visitedViews.some(v => v.path === view.path)) return state.visitedViews.push( diff --git a/src/views/emis/emisContinent/emisContinentForm.vue b/src/views/emis/emisContinent/emisContinentForm.vue index 1807ebd7..250a1aab 100644 --- a/src/views/emis/emisContinent/emisContinentForm.vue +++ b/src/views/emis/emisContinent/emisContinentForm.vue @@ -13,8 +13,8 @@ - - + + @@ -32,32 +32,13 @@ - - - - - - - - - - -
确 定 取 消
- + @@ -110,7 +91,6 @@ export default { this.loading = false; }); } - this.getTreeselect(); }, // 取消按钮 cancel() { @@ -154,32 +134,7 @@ export default { } }); }, - /** 转换菜单数据结构 */ - normalizer(node) { - if (node.children && !node.children.length) { - delete node.children; - } - return { - id: node.id, - label: node.idName, - children: node.children - }; - }, - /** 查询菜单下拉树结构 */ - getTreeselect() { - const queryParams = {} - listEmisContinent(queryParams).then(response => { - this.emisContinentOptions = []; - const rootItem = { idId: 0, emisContinentName: '-', children: [] }; - rootItem.children = this.handleTree(response.data, "id"); - this.emisContinentOptions.push(rootItem); - if(this.parentId != undefined) { - this.form.parentId = this.parentId; - } - - }); - }, } }; diff --git a/src/views/emis/emisCountry/index.vue b/src/views/emis/emisCountry/index.vue index 34f67798..8b307323 100644 --- a/src/views/emis/emisCountry/index.vue +++ b/src/views/emis/emisCountry/index.vue @@ -1,363 +1,287 @@