From 9d7c08ec3d504eff9ed790b09d1abf2939c8c872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=AD=A6=E5=9D=A4?= <1107410514@qq.com> Date: Tue, 12 Nov 2019 21:18:24 +0800 Subject: [PATCH] kun 2019/11/12 21:19 --- package.json | 2 - src/components/PagingDevice.vue | 109 ------ src/components/RichText.vue | 59 --- src/components/RichTextFour.vue | 49 --- src/components/RichTextTwo.vue | 59 --- src/main.js | 8 - src/router.js | 69 ---- src/views/InformationQuery.vue | 224 ++++------- src/views/Login.vue | 3 - src/views/home/ApplyFor.vue | 56 ++- src/views/home/HomePage.vue | 103 +++-- src/views/home/NewsDetails.vue | 39 +- src/views/home/NewsList.vue | 54 ++- src/views/personal/Declare.vue | 4 +- src/views/personal/PersonalZte.vue | 38 +- src/views/project/Application.vue | 587 ++++++++++++++--------------- src/views/project/Project.vue | 160 ++++---- src/views/project/Schedule.vue | 75 ++-- 18 files changed, 620 insertions(+), 1078 deletions(-) delete mode 100644 src/components/PagingDevice.vue delete mode 100644 src/components/RichText.vue delete mode 100644 src/components/RichTextFour.vue delete mode 100644 src/components/RichTextTwo.vue diff --git a/package.json b/package.json index 4cd8ab8..435a5cd 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,10 @@ "element-ui": "^2.12.0", "html2canvas": "^1.0.0-rc.5", "jspdf": "^1.5.3", - "mavon-editor": "^2.7.6", "node-sass": "^4.12.0", "sass-loader": "^8.0.0", "swiper": "^5.0.2", "vue": "^2.6.10", - "vue-quill-editor": "^3.0.6", "vue-router": "^3.0.3", "vuex": "^3.0.1", "wangeditor": "^2.1.23" diff --git a/src/components/PagingDevice.vue b/src/components/PagingDevice.vue deleted file mode 100644 index 069c495..0000000 --- a/src/components/PagingDevice.vue +++ /dev/null @@ -1,109 +0,0 @@ - - - - - diff --git a/src/components/RichText.vue b/src/components/RichText.vue deleted file mode 100644 index 7c8f40e..0000000 --- a/src/components/RichText.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/src/components/RichTextFour.vue b/src/components/RichTextFour.vue deleted file mode 100644 index b002e8f..0000000 --- a/src/components/RichTextFour.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - - diff --git a/src/components/RichTextTwo.vue b/src/components/RichTextTwo.vue deleted file mode 100644 index a044f14..0000000 --- a/src/components/RichTextTwo.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - diff --git a/src/main.js b/src/main.js index 2edac4e..9c08804 100644 --- a/src/main.js +++ b/src/main.js @@ -6,14 +6,8 @@ import http from './http' import tool from '../static/js/tool' import ElementUI from 'element-ui' import md5 from 'js-md5' -import VueQuillEditor from 'vue-quill-editor' -import mavonEditor from 'mavon-editor' import htmlToPdf from './htmlToPdf' -import 'mavon-editor/dist/css/index.css' -import 'quill/dist/quill.core.css' -import 'quill/dist/quill.snow.css' -import 'quill/dist/quill.bubble.css' import '../static/css/reset.css' import '../static/css/swiper.css' import '../static/fonts/iconfont.css' @@ -41,8 +35,6 @@ Vue.prototype.$jP = function (url, queryters) { } Vue.use(htmlToPdf) -Vue.use(mavonEditor) -Vue.use(VueQuillEditor) Vue.use(ElementUI) Vue.config.productionTip = false diff --git a/src/router.js b/src/router.js index 46ca108..d8a7a6a 100644 --- a/src/router.js +++ b/src/router.js @@ -1,18 +1,6 @@ import Vue from 'vue' import Router from 'vue-router' -/** 头部导航 */ -import HeaderNav from './components/HeaderNav' -/** 尾部导航 */ -import FooterNav from './components/FooterNav' -/** 分页器 */ -import PagingDevice from './components/PagingDevice' -/** 富文本 */ -import RichText from './components/RichText' -import RichTextOne from './components/RichTextOne' -import RichTextTwo from './components/RichTextTwo' -import RichTextFour from './components/RichTextFour' - /** 首页 */ import HomePage from './views/home/HomePage' /** 党组织申请 */ @@ -50,55 +38,11 @@ export default new Router({ mode: 'hash', base: process.env.BASE_URL, routes: [ - /** 头部导航 */ - { - path: '/headerNav', - name: 'headerNav', - component: HeaderNav - }, - /** 富文本零 */ - { - path: '/richText', - name: 'richText', - component: RichText - }, - /** 富文本er */ - { - path: '/richTextTwo', - name: 'richTextTwo', - component: RichTextTwo - }, - /** 富文本er */ - { - path: '/richTextOne', - name: 'richTextOne', - component: RichTextOne - }, - /** 富文本er */ - { - path: '/richTextFour', - name: 'richTextFour', - component: RichTextFour - }, - /** 尾部导航 */ - { - path: '/footerNav', - name: 'footerNav', - component: FooterNav - }, - /** 分页器 */ - { - path: '/pagingDevice', - name: 'pagingDevice', - component: PagingDevice - }, - /** 信息查询 */ { path: '/informationQuery', name: 'informationQuery', component: InformationQuery }, - /** 修改密码 */ { path: '/modify', name: 'modify', @@ -107,7 +51,6 @@ export default new Router({ }, component: Modify }, - /** 项目申报 */ { path: '/declare', name: 'declare', @@ -116,7 +59,6 @@ export default new Router({ }, component: Declare }, - /** 我的收藏 */ { path: '/collection', name: 'collection', @@ -125,7 +67,6 @@ export default new Router({ }, component: Collection }, - /** 党组织申请 */ { path: '/apply', name: 'apply', @@ -134,7 +75,6 @@ export default new Router({ }, component: Apply }, - /** 个人中心 */ { path: '/personalZte', name: 'personalZte', @@ -143,7 +83,6 @@ export default new Router({ }, component: PersonalZte }, - /** 项目创建 */ { path: '/application', name: 'application', @@ -152,7 +91,6 @@ export default new Router({ }, component: Application }, - /** 项目进度 */ { path: '/schedule:id', name: 'schedule', @@ -161,7 +99,6 @@ export default new Router({ }, component: Schedule }, - /** 项目管理 */ { path: '/project', name: 'project', @@ -170,31 +107,26 @@ export default new Router({ }, component: Project }, - /** 注册 */ { path: '/registered', name: 'registered', component: Registered }, - /** 登录 */ { path: '/login', name: 'login', component: Login }, - /** 新闻列表 */ { path: '/newsList', name: 'newsList', component: NewsList }, - /** 新闻详情 */ { path: '/newsDetails', name: 'newsDetails', component: NewsDetails }, - /** 党组织申请 */ { path: '/applyFor', name: 'applyFor', @@ -203,7 +135,6 @@ export default new Router({ }, component: ApplyFor }, - /** 首页 */ { path: '/', name: 'homePage', diff --git a/src/views/InformationQuery.vue b/src/views/InformationQuery.vue index fdb4158..83a4a2a 100644 --- a/src/views/InformationQuery.vue +++ b/src/views/InformationQuery.vue @@ -125,10 +125,8 @@