.env.development | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.env.production | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
public/favicon.ico | 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/App.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/layout/components/Navbar.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/utils/graphql.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/student/components/upload-student.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.env.development
@@ -2,4 +2,4 @@ ENV = 'development' # base api VUE_APP_BASE_API = '/dream_test' VUE_APP_BASE_API = '/dream' .env.production
@@ -2,5 +2,5 @@ ENV = 'production' # base api VUE_APP_BASE_API = '/dream_test' VUE_APP_BASE_API = '/dream' public/favicon.icosrc/App.vue
@@ -20,8 +20,8 @@ mounted() { // 关闭浏览器窗口的时候清空浏览器缓存在localStorage的数据 window.onbeforeunload = function (e) { var storage = window.localStorage; storage.clear() // var storage = window.localStorage; // storage.clear() } }, methods: { src/layout/components/Navbar.vue
@@ -13,7 +13,7 @@ <div class="right-menu"> <el-dropdown trigger="click" ref="eldrop" style="margin-right: 20px"> <div class="avatar-wrapper" style="font-size: 20px"> {{ selectStaff.org.name }} {{ selectStaff.org.name }}-{{ selectStaff.role.name }} <i class="el-icon-caret-bottom"></i> </div> <el-dropdown-menu slot="dropdown" align="center"> @@ -22,7 +22,7 @@ @click.native="changeStaff(item)" :key="item.id" > {{ item.org.name }} {{ item.org.name }}-{{ item.role.name }} </el-dropdown-item> </el-dropdown-menu> </el-dropdown> @@ -178,4 +178,9 @@ } } } .el-dropdown-menu { max-height: 400px; /*设置菜单高度为200px*/ overflow-y: auto; /*设置滚动条*/ } </style> src/utils/graphql.js
@@ -6,8 +6,8 @@ // export default apolloClient; // 定义不同请求地址 const EFORMURI = "/dream_test/graphql"; const IOTURI = "/dream_test/graphql"; const EFORMURI = "/dream/graphql"; const IOTURI = "/dream/graphql"; // import ApolloClient from 'apollo-boost' //引入apollo-boost插件 import { ApolloClient } from "apollo-client"; import { createHttpLink } from "apollo-link-http"; src/views/student/components/upload-student.vue
@@ -9,7 +9,7 @@ :staffId="parseInt(staffId)" @fileSuccess="fatherMethod" :type="'AUDIENCE'" :action="'/dream_test/player/importPlayer'" :action="'/dream/player/importPlayer'" > <div class="uploading-btn-to"> <i class="iconfont iconAdd"></i> 上传 @@ -58,7 +58,7 @@ } else if (res.falseLst.length >= 1) { let errortips = ""; res.falseLst.map((item) => { errortips += `${item.cause} \r\n`; errortips += (`${item.playerRoll}`+`${item.cause} \r\n`).replace('[]',''); }); this.$message({ message: `导入数据成功导入${res.successNum}条,错误信息:${errortips}`,