diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index 763b690a..a6a6e44f 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -31,6 +31,7 @@ if (newLocation === 'qingdao') { { name: '能力云图', key: 'capabilityCloud' }, { name: '能力统计', key: 'abilityStatistics' }, // { name: '开发指南', key: 'developmentGuide' }, + { name: '指导手册', key: 'instructionManual' }, { name: '需求中心', key: 'demandCenter' }, // { name: '个人中心', key: 'personalCenter' }, { name: '区市站点', key: 'mapTest' }, diff --git a/front/src/api/home.js b/front/src/api/home.js index 198f1f38..de19b712 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -337,7 +337,6 @@ export function getApplyCameraList(id) { }) } -// 融合服务--start // 融合服务--列表 export function getIntegrationServicesList(params) { return request({ @@ -355,4 +354,11 @@ export function getIntegrationDetail(id) { }) } -// 融合服务--end +// 指导手册--左侧文档树 +export function getDevelopDocTree(params) { + return request({ + url: '/resource/selectDevelopDoc', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/front/src/router/index.js b/front/src/router/index.js index 1810bdec..b8702453 100644 --- a/front/src/router/index.js +++ b/front/src/router/index.js @@ -462,6 +462,15 @@ export const constantRoutes = [ icon: 'error-warning-line', }, }, + { + path: '/instructionManual', + name: 'instructionManual', + component: () => import('@/views/instructionManual/index'), + meta: { + title: '指导手册', + icon: 'error-warning-line', + }, + }, ] export const asyncRoutes = [ { diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index 84655e1b..bc6b3ef4 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -136,6 +136,8 @@ const select = ref(router.currentRoute.value.name) const mynoticeFlag = ref(false) const mynoticeData = ref([]) + console.log('navListManagement------------>', navListManagement); + // eslint-disable-next-line no-undef const navList = ref(navListManagement.navList) const props = defineProps({ @@ -191,6 +193,11 @@ path: '/developmentGuide', }) break + case '指导手册': + router.push({ + path: '/instructionManual', + }) + break case '需求中心': router.push({ path: '/demandCenter', diff --git a/front/src/views/instructionManual/components/abilityTree.vue b/front/src/views/instructionManual/components/abilityTree.vue new file mode 100644 index 00000000..889f2301 --- /dev/null +++ b/front/src/views/instructionManual/components/abilityTree.vue @@ -0,0 +1,149 @@ + + + \ No newline at end of file diff --git a/front/src/views/instructionManual/components/docsifyView.vue b/front/src/views/instructionManual/components/docsifyView.vue new file mode 100644 index 00000000..bfcf4e4a --- /dev/null +++ b/front/src/views/instructionManual/components/docsifyView.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/front/src/views/instructionManual/components/showList.vue b/front/src/views/instructionManual/components/showList.vue new file mode 100644 index 00000000..f8b4b0c6 --- /dev/null +++ b/front/src/views/instructionManual/components/showList.vue @@ -0,0 +1,115 @@ + + + diff --git a/front/src/views/instructionManual/index.vue b/front/src/views/instructionManual/index.vue new file mode 100644 index 00000000..5f9ad1cf --- /dev/null +++ b/front/src/views/instructionManual/index.vue @@ -0,0 +1,75 @@ + + +