{{ item.title }}
+{{ item.des }}
+diff --git a/src/api/index.js b/src/api/index.js index 73fddd5..cb100a0 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -33,6 +33,7 @@ export default { groupUpdate: `iasf/sys/userGroup/update`, site: `iasf/sys/site/list`, updateSite: `iasf/sys/site/update`, + delSite: `iasf/sys/site/delete`, listWithTree: `iasf/sysColumn/listWithTree`, saveColumn: `iasf/sysColumn/save`, updateColumn: `iasf/sysColumn/update`, @@ -78,4 +79,8 @@ export default { resort: `iasf/sysContent/sort`, articleTopOperation: `iasf/sysContent/articleTopOperation`, deleteUselessData: `iasf/sysColumn/deleteUselessData`, + addSeo: `iasf/seo/add`, + delSeo: `iasf/seo/delete`, + seoList: `iasf/seo/list`, + updateSeo: `iasf/seo/update`, } \ No newline at end of file diff --git a/src/assets/images/page/aboutUs.png b/src/assets/images/page/aboutUs.png new file mode 100644 index 0000000..f7517a7 Binary files /dev/null and b/src/assets/images/page/aboutUs.png differ diff --git a/src/assets/images/page/index.png b/src/assets/images/page/index.png index 259c7c9..c3ce9ab 100644 Binary files a/src/assets/images/page/index.png and b/src/assets/images/page/index.png differ diff --git a/src/assets/images/page/member.png b/src/assets/images/page/member.png index 259c7c9..c0ad74a 100644 Binary files a/src/assets/images/page/member.png and b/src/assets/images/page/member.png differ diff --git a/src/assets/images/page/supplier.png b/src/assets/images/page/supplier.png new file mode 100644 index 0000000..f2689f8 Binary files /dev/null and b/src/assets/images/page/supplier.png differ diff --git a/src/const/modules.js b/src/const/modules.js index 8c606bb..ebe1ca2 100644 --- a/src/const/modules.js +++ b/src/const/modules.js @@ -68,6 +68,104 @@ export default { } ] }, + { + type: 'introduce', + forms: [ + { + type: 'upload', + prop: 'pic', + label: '图片', + required: true, + }, + { + type: 'input', + prop: 'title', + label: '标题', + required: true + }, + { + type: 'link', + prop: 'link', + label: '链接' + }, + { + type: 'textarea', + prop: 'des', + label: '描述' + } + ], + form: { + pic: '', + title: '', + link: { + linkName: '无', + connectionType: 1, + columnId: [], + articleId: '', + linkAddress : '', + site: '', + otherColumnId: [], + otherArticleId: '', + isOpen: 1 + }, + des: '', + isEnable: 1 + }, + list: [ + { + pic: 'https://www.occupationlab.com/images/index/1.png', + title: '职站', + link: { + linkName: '无', + connectionType: 1, + columnId: [], + articleId: '', + linkAddress : '', + site: '', + otherColumnId: [], + otherArticleId: '', + isOpen: 1 + }, + des: '教、学、练、考实验教学平台', + isEnable: 1 + }, + { + pic: 'https://www.occupationlab.com/images/index/1.png', + title: 'Dataforward数据前瞻', + link: { + linkName: '无', + connectionType: 1, + columnId: [], + articleId: '', + linkAddress : '', + site: '', + otherColumnId: [], + otherArticleId: '', + isOpen: 1 + }, + des: '准确海量的数据平台', + isEnable: 1 + }, + { + pic: 'https://www.occupationlab.com/images/index/1.png', + title: '大赛平台', + link: { + linkName: '无', + connectionType: 1, + columnId: [], + articleId: '', + linkAddress : '', + site: '', + otherColumnId: [], + otherArticleId: '', + isOpen: 1 + }, + des: '技能实践的大赛平台', + isEnable: 1 + }, + ], + dialogWidth: '1200px', + }, ], member: [ { @@ -147,19 +245,19 @@ export default { list: [ { pic: 'https://www.occupationlab.com/images/member/icon1.png', - title: '一站式采购', + title: '采购降本', des: '优选高品质低价格产品', isEnable: 1 }, { pic: 'https://www.occupationlab.com/images/member/icon2.png', - title: '精准产品匹配', + title: '精准匹配', des: '体系化产品方案匹配满足不同学科需求', isEnable: 1 }, { pic: 'https://www.occupationlab.com/images/member/icon3.png', - title: '本地化售前顾问', + title: '本地服务', des: '提供项目全流程售前售后支持服务', isEnable: 1 }, @@ -177,7 +275,7 @@ export default { }, { pic: 'https://www.occupationlab.com/images/member/icon6.png', - title: '智能方案生成', + title: '智能方案', des: '内置有实验室配置方案模板只需3分钟即可生成方案', isEnable: 1 }, diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 143ff83..6d0053b 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -189,6 +189,10 @@ export default { { index: '/article', title: '文章管理' + }, + { + index: '/seo', + title: 'SEO管理' } ] } diff --git a/src/pages/article/add/index.vue b/src/pages/article/add/index.vue index ba1d672..ca4daea 100644 --- a/src/pages/article/add/index.vue +++ b/src/pages/article/add/index.vue @@ -1321,7 +1321,7 @@ export default { // 文章名称判重 nameChange () { - const { title, level, id } = this.form + const { title, id } = this.form if (title && title !== this.originalName) { this.$post(this.api.checkIfTheTitleIsRepeat, { siteId: this.site.id, diff --git a/src/pages/column/page/index.vue b/src/pages/column/page/index.vue index c788100..eefdea8 100644 --- a/src/pages/column/page/index.vue +++ b/src/pages/column/page/index.vue @@ -29,6 +29,22 @@
{{ item.des }}
+{{ item.name }}
+{{ item.title }}
{{ item.des }}
diff --git a/src/pages/seo/index.vue b/src/pages/seo/index.vue new file mode 100644 index 0000000..13a3634 --- /dev/null +++ b/src/pages/seo/index.vue @@ -0,0 +1,112 @@ + +SEO管理
+