From fc47e6148d189917cf7c26fa014ea94f849f7ed6 Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Thu, 25 Aug 2022 13:30:01 +0800 Subject: [PATCH] emm --- src/views/modules/communityService/worklog/workLog.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/modules/communityService/worklog/workLog.vue b/src/views/modules/communityService/worklog/workLog.vue index fbf20cd25..a43f22d7a 100644 --- a/src/views/modules/communityService/worklog/workLog.vue +++ b/src/views/modules/communityService/worklog/workLog.vue @@ -610,8 +610,8 @@ export default { //清空上传列表 this.$refs['upload'].clearFiles() - // var url = '/heart/workdiaryService/record/import' - var url = 'http://yapi.elinkservice.cn/mock/245/heart/workdiaryService/record/import' + var url = '/heart/workdiaryService/record/import' + // var url = 'http://yapi.elinkservice.cn/mock/245/heart/workdiaryService/record/import' let fileFormData = new FormData(); fileFormData.append('file', this.files);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名 @@ -622,13 +622,10 @@ export default { message: "导入中,请到系统管理-导入记录中查看进度", duration: 0, }); - this.loadTable() } else { this.$message.error(msg) } - - }, handleSizeChange (val) {