diff --git a/config/index.js b/config/index.js
index 72e858a..06bdc39 100644
--- a/config/index.js
+++ b/config/index.js
@@ -20,7 +20,11 @@ module.exports = {
// Various Dev Server settings
// host: '192.168.43.94', // can be overwritten by process.env.HOST
+<<<<<<< HEAD
host: IP, // can be overwritten by process.env.HOST
+=======
+ //host: '192.168.43.94', // can be overwritten by process.env.HOST
+>>>>>>> 963d9e51332d845e8277defde878642dd553bf1b
port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
diff --git a/src/api/api_result.js b/src/api/api_result.js
index b98daf2..d6689fb 100644
--- a/src/api/api_result.js
+++ b/src/api/api_result.js
@@ -40,3 +40,17 @@ export const getResultComment = params => {
export const recordIdsSubmit = params => {
return http({url: '/lz_management/user/lzresultrecord/recordIdsSubmit', method: 'post', params})
}
+
+// 获取侧边菜单栏
+export const getUploadFileList = params => {
+ return http({url: '/lz_management/user/lzresultrecord/getUploadFileList', method: 'get', params})
+}
+
+// 获取侧边菜单栏
+export const deleteFile = params => {
+ return http({url: '/lz_management/user/lzresultrecord/deleteFile', method: 'get', params})
+}
+
+export const downZip = params => {
+ return http({url: '/lz_management/file/downZip?ids=' + params, method: 'get'})
+}
diff --git a/src/router/index.js b/src/router/index.js
index ab55eb7..183ab5c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -8,9 +8,10 @@ import Vue from 'vue'
import Router from 'vue-router'
import { apiGetMenuNav } from '@/api/api_menu'
import { isURL } from '@/utils/validate'
-import { clearLoginInfo } from '@/utils'
-import VConsole from 'vconsole';
-let vConsole = new VConsole();
+import {clearLoginInfo} from '@/utils'
+import VConsole from 'vconsole'
+
+let vConsole = new VConsole()
Vue.use(Router)
// 开发环境不使用懒加载, 因为懒加载页面太多的话会造成webpack热更新太慢, 所以只有生产环境使用懒加载
@@ -71,7 +72,7 @@ const router = new Router({
router.beforeEach((to, from, next) => {
// 添加动态(菜单)路由
// 1. 已经添加 or 全局路由, 直接访问
- // 2. 获取菜单列表, 添加并保存本地存储
+ // 2. 获取菜单列表, 添加并保存本地存储
if (router.options.isAddDynamicMenuRoutes || fnCurrentRouteType(to, globalRoutes) === 'global') {
next()
} else {
@@ -109,8 +110,8 @@ function fnCurrentRouteType (route, globalRoutes = []) {
/**
* 判断是否为钉钉打开
- * @param {*} menuList
- * @param {*} routes
+ * @param {*} menuList
+ * @param {*} routes
*/
function isDingtalk () {
if (/(DingTalk)/i.test(navigator.userAgent)) {
@@ -119,6 +120,7 @@ function isDingtalk () {
return false
}
}
+
/**
* 添加动态(菜单)路由
* @param {*} menuList 菜单列表
diff --git a/src/views/modules/result/record/lzresultrecord.vue b/src/views/modules/result/record/lzresultrecord.vue
index 335a174..b222ea5 100644
--- a/src/views/modules/result/record/lzresultrecord.vue
+++ b/src/views/modules/result/record/lzresultrecord.vue
@@ -121,7 +121,6 @@ export default {
formaterDate (val) {
var date = new Date(val)
var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
- var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate()
return date.getFullYear() + '-' + month
},
getStatusStr (status) {
diff --git a/src/views/modules/result/record/lzresultrecordapp.vue b/src/views/modules/result/record/lzresultrecordapp.vue
index f2db1c5..a33bd75 100644
--- a/src/views/modules/result/record/lzresultrecordapp.vue
+++ b/src/views/modules/result/record/lzresultrecordapp.vue
@@ -92,7 +92,6 @@
v-loading="dataListLoading" border fit highlight-current-row
@selection-change="selectionChangeHandle"
:cell-style="cellStyle"
-
style="width: 100%;" >
确认得分
+
+