Commit 6e884b63 authored by 华国豪's avatar 华国豪 🙄

1

parent 4998f66d
......@@ -433,7 +433,8 @@
</el-row>
</div>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="setprogress">确认提交</button>
<button v-if="loading" style="background: #909399;border: 1px solid #909399;cursor: no-drop;" class="normalBtn" type="info">确认提交</button>
<button v-else class="normalBtn" type="primary" @click="setprogress">确认提交</button>
</div>
</fieldset>
</div>
......@@ -472,7 +473,8 @@ export default {
canCancel1:false,
canCancel2:false,
canCancel3:false,
canCancel4:false
canCancel4:false,
loading: false,
};
},
mounted() {
......@@ -510,6 +512,7 @@ export default {
this.$refs['my-upload'].clearFiles();
return;
}
this.loading = true
//上传
let newArr = [];
newArr.push(file.file);
......@@ -518,8 +521,7 @@ export default {
this.UploadSelfFileT(path, newArr, x => {
this.attach = this.domainManager().ViittoFileUrl + x.data.FilePath;
this.$message.success(this.$t("tips.scchenggong"));
}, err=>{
this.loading = false
});
},
init(id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment