diff --git a/src/api/policy/library.js b/src/api/policy/library.js index 7fd3495..5eca25c 100644 --- a/src/api/policy/library.js +++ b/src/api/policy/library.js @@ -76,3 +76,10 @@ export function getPolicyInfo(params) { params }); } +// 根据level查询城市 1->省 2->市 3->合肥 +export function getCityByLevel(params) { + return request({ + url: '/dict/getCityByLevel', + params + }); +} diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index d53fe9c..b6d883c 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -9,25 +9,25 @@ - +
+ + -
@@ -35,18 +35,21 @@
- + + + 首页 + 退出登录
-
--> + diff --git a/src/views/policy/library/add.vue b/src/views/policy/library/add.vue index 31f90a6..30df228 100644 --- a/src/views/policy/library/add.vue +++ b/src/views/policy/library/add.vue @@ -2,7 +2,7 @@
{{ editPage ? '修改' : '添加' }}政策
- - + + + @@ -80,77 +88,81 @@