diff --git a/package-lock.json b/package-lock.json index 485e485..df9d192 100644 --- a/package-lock.json +++ b/package-lock.json @@ -995,6 +995,11 @@ } } }, + "@tinymce/tinymce-vue": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/@tinymce/tinymce-vue/-/tinymce-vue-3.2.8.tgz", + "integrity": "sha512-jEz+NZ0g+FZFz273OEUWz9QkwPMyjc5AJYyxOgu51O1Y5UaJ/6IUddXTX6A20mwCleEv5ebwNYdalviafx4fnA==" + }, "@types/color-name": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", diff --git a/package.json b/package.json index 9d7275d..0061f32 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "vue-cli-service build" }, "dependencies": { + "@tinymce/tinymce-vue": "^3.2.8", "axios": "^0.18.0", "babel-polyfill": "^6.26.0", "echarts": "^4.8.0", diff --git a/src/api/index.js b/src/api/index.js index 758d637..ae325ff 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,6 +1,6 @@ import Setting from '@/setting' const host = Setting.apiBaseURL -const host1 = 'http://192.168.31.136:10000/' +const host1 = 'http://192.168.31.151:10000/' export default { logins: `iasf/sys/user/login`, @@ -13,7 +13,7 @@ export default { depts: `iasf/sys/dept/tree`, users: `iasf/sys/users`, user: `iasf/sys/user`, - staffTemplate: `http://192.168.31.137:10000/iasf/sysFiles/preview/1559385019981807617`, + staffTemplate: `http://192.168.31.136/用户导入模板.xlsx`, checkJobNumber: `iasf/sys/checkJobNumber`, checkUsername: `iasf/sys/checkUsername`, resetPwd: `iasf/sys/resetPwd`, @@ -34,6 +34,7 @@ export default { findColumn: `${host1}iasf/sysColumn/findById`, deleteColumn: `${host1}iasf/sysColumn/delete`, sameLevelJudgment: `${host1}iasf/sysColumn/sameLevelJudgment`, + sortByColumn: `${host1}iasf/sysColumn/sortByColumn`, checkIfTheTitleIsRepeat: `${host1}iasf/sysContent/checkIfTheTitleIsRepeat`, deleteArticle: `${host1}iasf/sysContent/delete`, findArticle: `${host1}iasf/sysContent/findById`, diff --git a/src/assets/img/list3.png b/src/assets/img/list3.png new file mode 100644 index 0000000..da8e548 Binary files /dev/null and b/src/assets/img/list3.png differ diff --git a/src/const/column.js b/src/const/column.js index acd5a28..e851b8a 100644 --- a/src/const/column.js +++ b/src/const/column.js @@ -33,37 +33,34 @@ export default { name: '文库' }, ], - // 站点 - sites: [ + // 列表样式 + listStyle: [ { id: 1, - name: '粒子研究院英文站点', - domain: 'www.iasf.ac.cn' + name: '图片列表' }, { id: 2, - name: '粒子研究院中文站点', - domain: 'www.iasf.ac.cn' + name: '新闻列表' }, { id: 3, - name: 'SFEL中文站点', - domain: 'www.iasf.ac.cn' - }, + name: '出版物列表' + } + ], + // 详情样式 + detailStyle: [ { - id: 4, - name: 'SFEL英文站点', - domain: 'www.iasf.ac.cn' + id: 1, + name: '视频详情' }, { - id: 5, - name: 'SRL中文站点', - domain: 'www.iasf.ac.cn' + id: 2, + name: '富文本' }, { - id: 6, - name: 'SRL英文站点', - domain: 'www.iasf.ac.cn' - }, + id: 3, + name: '链接' + } ], } \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 28c2299..53392d9 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -15,14 +15,14 @@ 切换站点 - {{ site.name }} + {{ site.siteName }}
- + {{userName}}
@@ -35,12 +35,12 @@