Commit 6cb12ec6 by 张杰

v1.5.0版本需求

1 parent acc3a083
......@@ -79,7 +79,7 @@
<el-button type="primary" size="small" v-if="showResult && uploadResult.failFile" @click="downloadFail()">导出失败记录</el-button>
</div>
<div class="">
<el-button type="primary" size="small" :loading="loading" :disabled="!uploadFile.name" v-if="!showResult" @click="saveFile()">确认</el-button>
<el-button type="primary" size="small" :loading="aloading" :disabled="!uploadFile.name" v-if="!showResult" @click="saveFile()">确认</el-button>
<el-button type="default" size="small" @click="closeDialog()">关闭</el-button>
</div>
</div>
......@@ -129,6 +129,7 @@ export default {
showPopover: false,
cloading: false,
loading: false,
aloading:false,
isTimeOut: false,
sTime: "",
eTime: "",
......@@ -280,13 +281,13 @@ export default {
return false;
}
console.log(this.uploadFile);
this.loading = true;
this.aloading = true;
this.$refs.elUpload.submit();
},
// 监听文件上传成功
onSuccess(response, file, fileList) {
this.loading = false;
this.aloading = false;
if (response.code != 200) {
showToast({
message: response.message,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!