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

1

parent 4998f66d
...@@ -433,7 +433,8 @@ ...@@ -433,7 +433,8 @@
</el-row> </el-row>
</div> </div>
<div slot="footer" class="dialog-footer"> <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> </div>
</fieldset> </fieldset>
</div> </div>
...@@ -472,7 +473,8 @@ export default { ...@@ -472,7 +473,8 @@ export default {
canCancel1:false, canCancel1:false,
canCancel2:false, canCancel2:false,
canCancel3:false, canCancel3:false,
canCancel4:false canCancel4:false,
loading: false,
}; };
}, },
mounted() { mounted() {
...@@ -510,6 +512,7 @@ export default { ...@@ -510,6 +512,7 @@ export default {
this.$refs['my-upload'].clearFiles(); this.$refs['my-upload'].clearFiles();
return; return;
} }
this.loading = true
//上传 //上传
let newArr = []; let newArr = [];
newArr.push(file.file); newArr.push(file.file);
...@@ -518,8 +521,7 @@ export default { ...@@ -518,8 +521,7 @@ export default {
this.UploadSelfFileT(path, newArr, x => { this.UploadSelfFileT(path, newArr, x => {
this.attach = this.domainManager().ViittoFileUrl + x.data.FilePath; this.attach = this.domainManager().ViittoFileUrl + x.data.FilePath;
this.$message.success(this.$t("tips.scchenggong")); this.$message.success(this.$t("tips.scchenggong"));
}, err=>{ this.loading = false
}); });
}, },
init(id) { 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