diff --git a/src/api/workBook.js b/src/api/workBook.js
index 0966b91..08f30e3 100644
--- a/src/api/workBook.js
+++ b/src/api/workBook.js
@@ -2,8 +2,8 @@ import request from '@/utils/request'
/**
* 工作手册列表
- * @param {Object}} data
- * @returns
+ * @param {Object}} data
+ * @returns
*/
export function workBookList(data) {
return request({
@@ -15,13 +15,21 @@ export function workBookList(data) {
/**
* 工作手册详情
- * @param {String} id
- * @returns
+ * @param {String} id
+ * @returns
*/
export function getWorkBookInfo(id) {
return request({
url: '/api/convenience/workBook/detail',
method: 'get',
- params:id
+ params: id
})
-}
\ No newline at end of file
+}
+
+export function deptList(data) {
+ return request({
+ url: '/api/convenience/dept/list',
+ method: 'post',
+ data
+ })
+}
diff --git a/src/router/index.js b/src/router/index.js
index 71ef299..cf5651f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -241,6 +241,42 @@ export const constantRoutes = [
}
}
]
+ },
+ {
+ path: '/serviceGuide',
+ component: Layout,
+ name: 'ServiceGuide',
+ redirect: '/serviceGuide/list',
+ meta: {
+ title: '办事指南',
+ icon: 'list'
+ },
+ hidden: false,
+ children: [
+ {
+ path: 'list',
+ component: () => import('@/views/serviceGuide/list'),
+ name: 'ServiceGuideList',
+ meta: {
+ title: '办事指南列表',
+ icon: 'workBook',
+ affix: true,
+ parentTitle: '办事指南'
+ }
+ },
+ {
+ path: 'detail',
+ component: () => import('@/views/serviceGuide/detail'),
+ name: 'serviceGuideDetail',
+ meta: {
+ title: '办事指南详情',
+ icon: 'workBook',
+ affix: true,
+ parentTitle: '办事指南详情'
+ },
+ hidden: true
+ }
+ ]
}
// {
// path: "/staff",
diff --git a/src/views/serviceGuide/detail.vue b/src/views/serviceGuide/detail.vue
new file mode 100644
index 0000000..500ee25
--- /dev/null
+++ b/src/views/serviceGuide/detail.vue
@@ -0,0 +1,54 @@
+
+
+
+
+ {{ info.title }}
+
+
+ {{ info.dept && info.dept.name }}
+
+
+ {{ info.introduction }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/serviceGuide/list.vue b/src/views/serviceGuide/list.vue
new file mode 100644
index 0000000..6a202c6
--- /dev/null
+++ b/src/views/serviceGuide/list.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+