|
@@ -159,9 +159,14 @@ export default {
|
|
|
message: '提交中'
|
|
|
})
|
|
|
this.go=false;
|
|
|
+ // console.log("55")
|
|
|
+ var that=this;
|
|
|
+
|
|
|
addSuperShopApplication(params).then(res => {
|
|
|
this.$toast.clear()
|
|
|
- this.go=true;
|
|
|
+ setTimeout(function() {
|
|
|
+ that.go=true;
|
|
|
+ }, 2000);
|
|
|
// this.$toast.success('提交成功')
|
|
|
this.$dialog.alert({
|
|
|
title: '提示',
|
|
@@ -169,7 +174,12 @@ export default {
|
|
|
confirmButtonText: "我知道了",
|
|
|
confirmButtonColor:'#3F90F7',
|
|
|
}).then(() => {
|
|
|
- // on close
|
|
|
+ that.shopName=''
|
|
|
+ that.contactor=''
|
|
|
+ that.contactorPhone=''
|
|
|
+ that.address=''
|
|
|
+ that.file=[]
|
|
|
+ that.businessLicense=''
|
|
|
});
|
|
|
}, err => {
|
|
|
this.$toast.clear()
|
|
@@ -204,6 +214,7 @@ export default {
|
|
|
file.message = '上传中...'
|
|
|
|
|
|
}) */
|
|
|
+ console.log(file)
|
|
|
const params = new FormData()
|
|
|
params.append('file', file.file)
|
|
|
console.log(params)
|
|
@@ -212,6 +223,7 @@ export default {
|
|
|
forbidClick: true,
|
|
|
message: '上传中'
|
|
|
})
|
|
|
+
|
|
|
uploads(params, {
|
|
|
timeout: 864000,
|
|
|
headers: { 'Content-Type': 'multipart/form-data', id: this.$store.getters.id }
|