|
@@ -27,7 +27,7 @@
|
|
|
<!--<el-input v-if="isModifyMode" v-model="authentication.mobile"></el-input>-->
|
|
|
<!--<!–<span v-if="!isModifyMode">{{authentication.name}}</span>–>-->
|
|
|
<!--</el-form-item>-->
|
|
|
- <el-form-item label="对公账户" prop="bankAccount">
|
|
|
+ <el-form-item label="银行卡账户" prop="bankAccount">
|
|
|
<el-input size="small" v-if="isModifyMode" v-model="authentication.bankAccount"></el-input>
|
|
|
<!--<span v-if="!isModifyMode">{{authentication.bankAccount}}</span>-->
|
|
|
</el-form-item>
|
|
@@ -285,6 +285,7 @@ export default {
|
|
|
},
|
|
|
//上传文件,此处为上传图片
|
|
|
uploadFile (param) {
|
|
|
+ this.showLoading()
|
|
|
const formData = new FormData()
|
|
|
let config = {
|
|
|
//添加请求头
|
|
@@ -292,11 +293,13 @@ export default {
|
|
|
}
|
|
|
formData.append('file', param.file)
|
|
|
Http.upload(Apis.FILE.UPLOAD_IMAGE.replace('{userId}', this.user.userVO.id), formData, config).then((res) => {
|
|
|
- console.log('上传成功')
|
|
|
+ this.hideLoading()
|
|
|
this.authentication.agencyPhoto = res.data
|
|
|
console.log(res.data)
|
|
|
notify('success', '上传成功')
|
|
|
+ this.$refs['authentication'].validateField('agencyPhoto');
|
|
|
}).catch(error => {
|
|
|
+ this.hideLoading()
|
|
|
notify('error', error.data.msg)
|
|
|
})
|
|
|
},
|