From f2938f127005cc1a44e5d6af68942ab7fd4d71c6 Mon Sep 17 00:00:00 2001 From: "DESKTOP-00SUCB6\\Administrator" Date: Wed, 24 Mar 2021 15:34:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E4=B8=9A=E8=81=94=E7=9B=9F=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=B3=BB=E7=BB=9F=20=E7=BB=88=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 6 +- src/api/company.js | 19 +- src/utils/lineHeight.js | 10 + src/views/layout/components/Sidebar/index.vue | 10 +- src/views/layout/components/header.vue | 4 +- src/views/login/userInfo.vue | 4 +- src/views/systemManage/attendee/attendee.vue | 11 +- src/views/systemManage/company/company.vue | 40 ++- src/views/systemManage/meet/meeting.vue | 6 +- src/views/systemManage/meet/meetingDetail.vue | 67 ++-- .../systemManage/notice/noticeDetail.vue | 305 ++++++++++++++++-- 11 files changed, 372 insertions(+), 110 deletions(-) create mode 100644 src/utils/lineHeight.js diff --git a/public/config.js b/public/config.js index 1f4ad25..bef568e 100644 --- a/public/config.js +++ b/public/config.js @@ -5,9 +5,9 @@ // SHOW_URL: "http://www.fatoaniic.com/ftpfile/", // } config = { - API_URL: 'http://172.119.50.51:8082', - UPLOAD_URL: "http://172.119.50.51:8082/attachment/uploadOne", - DOWNLOAD_URL: "http://172.119.50.51:8082/api-ftp/ftp/download?filename=", + API_URL: 'http://61.135.192.42:8082', + UPLOAD_URL: "http://61.135.192.42:8082/attachment/uploadOne", + DOWNLOAD_URL: "http://61.135.192.42:8082/api-ftp/ftp/download?filename=", SHOW_URL: "http://www.fatoaniic.com/ftpfile/", } \ No newline at end of file diff --git a/src/api/company.js b/src/api/company.js index ffd2402..69e0eee 100644 --- a/src/api/company.js +++ b/src/api/company.js @@ -59,7 +59,14 @@ export function getSmallIndustryList(params) { method: 'get' }); } - +//审核企业信息 +export function approveEnterprise(params) { + return request({ + url: '/company/audit', + method: 'post', + data:params + }); +} @@ -84,14 +91,8 @@ export function disableEnterprise(params) { } -//审核 -export function approveEnterprise(params) { - return request({ - url: '/api-enterprise/enApply/approve', - method: 'put', - data:params - }); -} + + //企业审核列表 export function enApplyList(params) { return request({ diff --git a/src/utils/lineHeight.js b/src/utils/lineHeight.js new file mode 100644 index 0000000..05cca14 --- /dev/null +++ b/src/utils/lineHeight.js @@ -0,0 +1,10 @@ +import Quill from "quill"; +let Parchment = Quill.import("parchment"); +console.log(Parchment); +class lineHeightAttributor extends Parchment.Attributor.Style {} +const lineHeightStyle = new lineHeightAttributor("lineHeight", "line-height", { + scope: Parchment.Scope.INLINE, + whitelist: ["initial", "1", "1.5", "1.75", "2", "3", "4"] +}); + +export { lineHeightStyle }; \ No newline at end of file diff --git a/src/views/layout/components/Sidebar/index.vue b/src/views/layout/components/Sidebar/index.vue index dcdcd49..78c52bb 100644 --- a/src/views/layout/components/Sidebar/index.vue +++ b/src/views/layout/components/Sidebar/index.vue @@ -40,11 +40,11 @@ data(){ return { routes:[ - { - path: 'menu', - name: 'menuManage', - meta: {title: '菜单管理', icon: 'table', noCache: true}, - }, + // { + // path: 'menu', + // name: 'menuManage', + // meta: {title: '菜单管理', icon: 'table', noCache: true}, + // }, { path: 'company', name: 'companyManage', diff --git a/src/views/layout/components/header.vue b/src/views/layout/components/header.vue index 25f654f..db5abe3 100644 --- a/src/views/layout/components/header.vue +++ b/src/views/layout/components/header.vue @@ -23,9 +23,9 @@ - + 修改密码 diff --git a/src/views/login/userInfo.vue b/src/views/login/userInfo.vue index cff556b..93354a2 100644 --- a/src/views/login/userInfo.vue +++ b/src/views/login/userInfo.vue @@ -2,9 +2,9 @@
- + {{ param.userName }} diff --git a/src/views/systemManage/attendee/attendee.vue b/src/views/systemManage/attendee/attendee.vue index 57b2b22..fb8f94a 100644 --- a/src/views/systemManage/attendee/attendee.vue +++ b/src/views/systemManage/attendee/attendee.vue @@ -5,6 +5,9 @@ + + + 查询 @@ -17,7 +20,7 @@ - + @@ -54,7 +57,8 @@ export default { data() { return { formSearch: {//模糊搜索 - name: '' + name: '', + conferenceTitle:'' }, currentPage: 1, //当前页 pageSize: 10, //每页条数 @@ -78,7 +82,8 @@ export default { pageNum: this.currentPage, pageSize: this.pageSize, search:{ - companyName: this.formSearch.name.trim() + companyName: this.formSearch.name.trim(), + conferenceTitle:this.formSearch.conferenceTitle.trim() }, sort:'' } diff --git a/src/views/systemManage/company/company.vue b/src/views/systemManage/company/company.vue index 9471279..8cad5d5 100644 --- a/src/views/systemManage/company/company.vue +++ b/src/views/systemManage/company/company.vue @@ -30,24 +30,20 @@ {{ scope.row.createTime }} - + + + - +