\r\n \r\n \r\n\t\t\t\r\n\t\t\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=268684aa&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\n\r\nVue.use(Router)\r\nexport default new Router({\r\n routes: [{\r\n path: '/login',\r\n name: 'login',\r\n component: () => import('./views/Login.vue'),\r\n show: 0,\r\n },\r\n {\r\n path: '/index/index',\r\n name: '首页',\r\n icon: 'el-icon-s-home',\r\n component: () => import('./views/Home.vue'),\r\n show: 1,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/index/index',\r\n component: () => import('./views/Index.vue'),\r\n name: '首页'\r\n }, ]\r\n },\r\n {\r\n path: '/message/message',\r\n name: '消息管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/message/message',\r\n component: () => import('./views/message/Message.vue'),\r\n name: '消息管理'\r\n }, ]\r\n },\r\n {\r\n path: '/journal/journal',\r\n name: '中科院全刊',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/journal/journal',\r\n component: () => import('./views/journalQun/Journal.vue'),\r\n name: '中科院全刊'\r\n }, ]\r\n },\r\n {\r\n path: '/journal/organizer',\r\n name: '主办单位',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/journal/organizer',\r\n component: () => import('./views/journalQun/Organizer.vue'),\r\n name: '主办单位'\r\n }, ]\r\n },\r\n {\r\n path: '/journal/subject',\r\n name: '学科',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/journal/subject',\r\n component: () => import('./views/journalQun/Subject.vue'),\r\n name: '学科'\r\n }, ]\r\n },\r\n {\r\n path: '/learning/activity',\r\n name: '活动管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/learning/activity',\r\n component: () => import('./views/message/Message.vue'),\r\n name: '活动管理'\r\n }, ]\r\n },\r\n {\r\n path: '/article/article',\r\n name: '文章管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/article/article',\r\n component: () => import('./views/message/Message.vue'),\r\n name: '文章管理'\r\n }, ]\r\n },\r\n {\r\n path: '/conference/conference',\r\n name: '会议管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/conference/conference',\r\n component: () => import('./views/conference/Manage.vue'),\r\n name: '会议管理'\r\n }, \r\n {\r\n path: '/conference/conference/add',\r\n component: () => import('./views/conference/AddConference.vue'),\r\n name: '新增会议'\r\n }, \r\n ]\r\n },\r\n {\r\n path: '/conference/signup',\r\n name: '报名管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/conference/signup',\r\n component: () => import('./views/message/Message.vue'),\r\n name: '报名管理'\r\n }, ]\r\n },\r\n {\r\n path: '/conference/checker',\r\n name: '核销员管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/conference/checker',\r\n component: () => import('./views/message/Message.vue'),\r\n name: '核销员管理'\r\n }, ]\r\n },\r\n {\r\n path: '/conference/hotel',\r\n name: '酒店管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/conference/hotel',\r\n component: () => import('./views/message/Message.vue'),\r\n name: '酒店管理'\r\n }, ]\r\n },\r\n // {\r\n // path: '/message/survey',\r\n // name: '调查问卷',\r\n // icon: 'el-icon-chat-dot-square',\r\n // component: () => import('./views/Home.vue'),\r\n // show: 0,\r\n // isLeaf: 1,\r\n // children: [{\r\n // path: '/message/survey',\r\n // component: () => import('./views/message/investigation.vue'),\r\n // name: '调查问卷'\r\n // }, ]\r\n // },\r\n {\r\n path: '/message/template',\r\n name: '问卷模板',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/message/template',\r\n component: () => import('./views/message/templateList.vue'),\r\n name: '问卷模板'\r\n }, {\r\n path: '/message/template/add',\r\n component: () => import('./views/message/modelForm.vue'),\r\n name: '新增表单'\r\n }]\r\n },\r\n {\r\n path: '/system/account',\r\n name: '账号管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/system/account',\r\n component: () => import('./views/system/Account.vue'),\r\n name: '消息管理'\r\n }, ]\r\n },\r\n {\r\n path: '/system/role',\r\n name: '角色管理',\r\n icon: 'el-icon-chat-dot-square',\r\n component: () => import('./views/Home.vue'),\r\n show: 0,\r\n isLeaf: 1,\r\n children: [{\r\n path: '/system/role',\r\n component: () => import('./views/system/Role.vue'),\r\n name: '角色管理'\r\n }, ]\r\n },\r\n ]\r\n})","import Vue from 'vue'\r\nimport Vuex from \"vuex\"\r\nvar baseURL = '';\r\nimport axios from 'axios';\r\nVue.use(Vuex)\r\n// let store = {\r\n// area:[],\r\n// categorys:[],\r\n// enterprise_id:'',\r\n// getDefault:function(){\r\n// axios.get(`${baseURL}/api/admin/getdefault`).then(res=>{\r\n// this.area=res.data.data.areas;\r\n// this.categorys=res.data.data.categorys;\r\n// })\r\n// },\r\n// mutations:{\r\n// setId(state,id){\r\n// state.enterprise_id = id;\r\n// }\r\n// },\r\n// getters:{\r\n// getId(state){\r\n// return state.enterprise_id\r\n// }\r\n// }\r\n// }\r\n// store.getDefault();\r\nconst store = {\r\n state: {\r\n inDate: ''\r\n },\r\n mutations:{\r\n setInDate(state,inDate){\r\n state.inDate = inDate;\r\n }\r\n },\r\n getters:{\r\n\r\n }\r\n}\r\nexport default new Vuex.Store(store); \r\n","import axios from 'axios';\r\n// var baseURL='https://www.scxjc.club'\r\nvar baseURL = ''\r\naxios.interceptors.request.use(\r\n\tconfig => {\r\n\t\tconst token = localStorage.getItem('token');\r\n\t\t// if (config.url.indexOf('downloadzip') >= 0) {\r\n\t\t\tif (token) { // 判断是否存在token,如果存在的话,则每个http header都加上token \r\n\t\t\t\tconfig.headers.Authorization = `${token}`; \r\n\t\t\t} else {\r\n\t\t\t\t//未登录\r\n\t\t\t\twindow.location.hash = \"/login\";\r\n\t\t\t}\r\n\t\t// } \r\n\t\treturn config;\r\n\t},\r\n\terr => {\r\n\t\treturn Promise.reject(err);\r\n\t});\r\naxios.interceptors.response.use(function (response) {\r\n\t// console.log(response.headers)\r\n\t// IE 8-9 \r\n\tif (response.data == null && response.config.responseType === 'json' && response.request.responseText != null) {\r\n\t\ttry {\r\n\t\t\t// eslint-disable-next-line no-param-reassign\r\n\t\t\tresponse.data = JSON.parse(response.request.responseText);\r\n\t\t} catch (e) {\r\n\t\t\t// ignored\r\n\t\t}\r\n\t}\r\n\t// 对响应数据做点什么\r\n\tif (response.data.code == 401) {\r\n\t\twindow.location.hash = \"/login\";\r\n\t}\r\n\tif (response.data.code == 305) {\r\n\t\twindow.location.hash = \"/\";\r\n\t}\r\n\treturn response;\r\n}, function (error) {\r\n\t// 对响应错误做点什么\r\n\tif (error.request.status == 403) {\r\n\t\twindow.location.hash = \"/login\";\r\n\t}\r\n\t// console.log(Object.getOwnPropertyNames(error))\r\n\t// console.log(error.request,error.message)\r\n\treturn Promise.reject(error);\r\n});\r\nexport default {\r\n\t//登录\r\n\tlogin: params => {\r\n\t\treturn axios.post(`${baseURL}/api/account/login`, params);\r\n\t},\r\n\tlogout: params => {\r\n\t\treturn axios.post(`${baseURL}/api/account/logout`, params);\r\n\t},\r\n\t// 全局账号信息\r\n\tgetAccountInfo: params => {\r\n\t\treturn axios.get(`${baseURL}/api/account/info`)\r\n\t},\r\n\t// 验证码\r\n\tgetCode: params => {\r\n\t\treturn axios.get(`${baseURL}/api/account/imgcode`)\r\n\t},\r\n\t// 账号\r\n\tgetUserList: params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/user/list`,{params:params})\r\n\t},\r\n\tgetAllSysUserList: params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/user/all`,{params:params})\r\n\t},\r\n\t// 获取用户待选期刊列表\r\n\tgetUserJournals:() => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/user/journals`)\r\n\t},\r\n\t// 获取用户待选角色列表\r\n\tgetUserRoles:() => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/user/roles`)\r\n\t},\r\n\t//新增管理员\r\n\taddUser:params => {\r\n\t\treturn axios.post(`${baseURL}/api/admin/user`, params);\r\n\t},\r\n\t// 修改管理员\r\n\teditUser:params => {\r\n\t\treturn axios.put(`${baseURL}/api/admin/user`, params);\r\n\t},\r\n\t// 删除管理员\r\n\tdelUser:params => {\r\n\t\treturn axios.delete(`${baseURL}/api/admin/user`, {params:params});\r\n\t},\r\n\t// 获取角色权限\r\n\tgetUserPermissions:() => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/user/permissions`)\r\n\t},\r\n\t// 新增表单模板\r\n\taddTemplate:params => {\r\n\t\treturn axios.post(`${baseURL}/api/admin/message/template`, params);\r\n\t},\r\n\t// 编辑表单模板\r\n\teditTemplate:params => {\r\n\t\treturn axios.put(`${baseURL}/api/admin/message/template`, params);\r\n\t},\r\n\t// 删除表单模板\r\n\tdelTemplate:params => {\r\n\t\treturn axios.delete(`${baseURL}/api/admin/message/template`, {params:params});\r\n\t},\r\n\t// 获取模板详情\r\n\tgetTemplate:params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/message/template`, {params:params});\r\n\t},\r\n\t// 获取模板列表\r\n\tgetTemplateList: params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/message/template/list`,{params:params})\r\n\t},\r\n\t//获取所有模板列表\r\n\tgetAllTemplateList: params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/message/template/all`,{params:params})\r\n\t},\r\n\t// 新增角色\r\n\taddRole:params => {\r\n\t\treturn axios.post(`${baseURL}/api/admin/role`, params);\r\n\t},\r\n\t// 修改角色\r\n\teditRole:params => {\r\n\t\treturn axios.put(`${baseURL}/api/admin/role`, params);\r\n\t},\r\n\tdelRole:params => {\r\n\t\treturn axios.delete(`${baseURL}/api/admin/role`, {params:params});\r\n\t},\r\n\t// 获取角色列表\r\n\tgetRoleList:params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/role/list`, {params:params});\r\n\t},\r\n\t// 获取角色详情\r\n\tgetRoleInfo:params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/role`, {params:params});\r\n\t},\r\n\t// 消息管理\r\n\taddMessage:params => {\r\n\t\treturn axios.post(`${baseURL}/api/admin/message`, params);\r\n\t},\r\n\teditMessage:params => {\r\n\t\treturn axios.put(`${baseURL}/api/admin/message`, params);\r\n\t},\r\n\tgetMessageList:params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/message/list`, {params:params});\r\n\t},\r\n\tgetMessageInfo:params => {\r\n\t\treturn axios.get(`${baseURL}/api/admin/message`, {params:params});\r\n\t},\r\n\tdelMessageInfo:params => {\r\n\t\treturn axios.delete(`${baseURL}/api/admin/message`, {params:params});\r\n\t}\r\n}","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from './router'\r\nimport store from './store'\r\nimport ElementUI from 'element-ui';\r\nimport 'element-ui/lib/theme-chalk/index.css';\r\nimport 'font-awesome/css/font-awesome.css'\r\nimport api from './api';\r\n// import echarts from 'echarts';\r\nimport 'echarts/theme/dark.js'\r\n// import BaiduMap from 'vue-baidu-map'\r\n// Vue.use(BaiduMap, {\r\n// ak: '1hqg34NFaCw9jcv0xG82cI7uINFaXGGM'\r\n// })\r\n\r\nVue.use(ElementUI);\r\n// Vue.prototype.$echarts = echarts\r\nVue.prototype.$api = api;\r\nVue.config.productionTip = false\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: h => h(App)\r\n}).$mount('#app')\r\n\r\n\r\n"],"sourceRoot":""}