diff --git a/src/api/operation/swiper/index.js b/src/api/operation/swiper/index.js index a13babd..1947dc2 100644 --- a/src/api/operation/swiper/index.js +++ b/src/api/operation/swiper/index.js @@ -20,16 +20,16 @@ export function swiperDel(params) { export function swiperInsert(params) { return httpService({ url: `/user/homepageCarousel/insert`, - method: 'get', - params: params, + method: 'post', + data: params, }) } // 修改 export function swiperUpdate(params) { return httpService({ url: `/user/homepageCarousel/update`, - method: 'get', - params: params, + method: 'post', + data: params, }) } diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue index 1990ca6..3654125 100644 --- a/src/components/upload/index.vue +++ b/src/components/upload/index.vue @@ -61,7 +61,6 @@ export default { this.previewVisible = false; }, handleChange({ fileList }) { - console.log(fileList); this.$emit('handleChange',fileList) }, } diff --git a/src/router/operation.js b/src/router/operation.js index 5010047..12c3eb0 100644 --- a/src/router/operation.js +++ b/src/router/operation.js @@ -8,31 +8,59 @@ */ export default [ { - path: '/clientSet', - name: "clientSet", + path: '/ClientSet', + name: "ClientSet", title: "用户端设置", icon: 'setting', hide: false, - component: resolve => require(['@/views/Operation/clientSet'], resolve), + component: resolve => require(['@/views/Operation/ClientSet'], resolve), meta: {title: '用户端设置'}, }, + { + path: '/Activity', + name: "Activity", + title: "活动", + icon: 'form', + hide: false, + component: resolve => require(['@/views/Operation/Activity'], resolve), + redirect: '/Activity/ActivityManage', + meta: {title: '活动'}, + children: [ + { + path: '/Activity/ActivityManage', + name: "ActivityManage", + title: "活动管理", + hide: false, + component: resolve => require(['@/views/Operation/Activity/_activityManage'], resolve), + meta: {title: '活动管理'}, + }, + { + path: '/Activity/Organizers', + name: "Organizers", + title: "活动主办方", + hide: false, + component: resolve => require(['@/views/Operation/Activity/_organizers'], resolve), + meta: {title: '活动主办方'}, + }, + ] + }, { path: '/TaskManage', name: "TaskManage", - title: "任务管理", + title: "任务", icon: 'form', hide: false, component: resolve => require(['@/views/Operation/TaskManage'], resolve), redirect: '/TaskManage/TaskList', - meta: {title: '任务管理'}, + meta: {title: '任务'}, children: [ { path: '/TaskManage/TaskList', name: "TaskList", - title: "任务列表", + title: "任务管理", hide: false, component: resolve => require(['@/views/Operation/TaskManage/_taskList'], resolve), - meta: {title: '任务列表'}, + meta: {title: '任务管理'}, }, { path: '/TaskManage/TaskSet', @@ -47,12 +75,12 @@ export default [ { path: '/BBS', name: "BBS", - title: "社区管理", + title: "社区", icon: 'home', hide: false, component: resolve => require(['@/views/Operation/BBS'], resolve), redirect: '/BBS/Dynamic', - meta: {title: '社区管理'}, + meta: {title: '社区'}, children: [ { path: '/BBS/Dynamic', diff --git a/src/views/Operation/Activity/_activityManage/index.vue b/src/views/Operation/Activity/_activityManage/index.vue new file mode 100644 index 0000000..dd7092b --- /dev/null +++ b/src/views/Operation/Activity/_activityManage/index.vue @@ -0,0 +1,13 @@ + + + + + + + \ No newline at end of file diff --git a/src/views/Operation/Activity/_organizers/index.vue b/src/views/Operation/Activity/_organizers/index.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/Operation/Activity/index.vue b/src/views/Operation/Activity/index.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/Operation/BBS/_topic/index.vue b/src/views/Operation/BBS/_topic/index.vue index 41e9d3b..16578ac 100644 --- a/src/views/Operation/BBS/_topic/index.vue +++ b/src/views/Operation/BBS/_topic/index.vue @@ -56,7 +56,7 @@ \ No newline at end of file + diff --git a/src/views/Operation/clientSet/depend/tableConfig.js b/src/views/Operation/clientSet/depend/tableConfig.js index f1233a1..14efb2c 100644 --- a/src/views/Operation/clientSet/depend/tableConfig.js +++ b/src/views/Operation/clientSet/depend/tableConfig.js @@ -74,5 +74,14 @@ export const columns = { width: "8%", dataIndex: "viewsNum", }, - ] + ], + news: [], + notice: [], + active:[] +} +export const pagination = { + current: 1, + total: 0, + pageSize: 5, + showTotal: (total) => `共 ${total} 条`, } \ No newline at end of file diff --git a/src/views/Operation/clientSet/index.vue b/src/views/Operation/clientSet/index.vue index e7e82e4..c005446 100644 --- a/src/views/Operation/clientSet/index.vue +++ b/src/views/Operation/clientSet/index.vue @@ -2,13 +2,55 @@