|
@@ -300,6 +300,26 @@
|
|
<span>建议尺寸:400*400</span>
|
|
<span>建议尺寸:400*400</span>
|
|
</div>
|
|
</div>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="收款二维码" prop="imgUrl">
|
|
|
|
+ <div class="images">
|
|
|
|
+ <div class="main-img">
|
|
|
|
+ <div class="img" v-if="qrcode3_url" @mouseover="qrcode3_hover = true;" @mouseout="qrcode3_hover = false;">
|
|
|
|
+ <el-image ref="qrcode3" :src="qrcode3_url" :preview-src-list="[qrcode3_url]"
|
|
|
|
+ style="width: 120px; height: 120px" fit="contain"></el-image>
|
|
|
|
+ <div class="mask" v-show="qrcode3_hover">
|
|
|
|
+ <i class="el-icon-zoom-in" @click="previewImage('qrcode3')"></i>
|
|
|
|
+ <i class="el-icon-upload2" @click="uploadImage('qrcode3')"></i>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="add" v-else @click="uploadImage('qrcode3')">
|
|
|
|
+ <i class="el-icon-plus avatar-uploader-icon"></i>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="tips">
|
|
|
|
+ <span>建议尺寸:400*400</span>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
<div class="page-footer">
|
|
<div class="page-footer">
|
|
@@ -414,6 +434,8 @@ export default {
|
|
qrcode1_hover: false,
|
|
qrcode1_hover: false,
|
|
qrcode2_url: '',
|
|
qrcode2_url: '',
|
|
qrcode2_hover: false,
|
|
qrcode2_hover: false,
|
|
|
|
+ qrcode3_url: '',
|
|
|
|
+ qrcode3_hover: false,
|
|
|
|
|
|
resetFormVisible: false,
|
|
resetFormVisible: false,
|
|
resetForm: {
|
|
resetForm: {
|
|
@@ -534,6 +556,7 @@ export default {
|
|
this.img3_url = res.data.minLogo3;
|
|
this.img3_url = res.data.minLogo3;
|
|
this.qrcode1_url = res.data.qrcode1;
|
|
this.qrcode1_url = res.data.qrcode1;
|
|
this.qrcode2_url = res.data.qrcode2;
|
|
this.qrcode2_url = res.data.qrcode2;
|
|
|
|
+ this.qrcode3_url = res.data.payQrcode;
|
|
|
|
|
|
this.step3Form.enterpriseId = res.data.corpId;
|
|
this.step3Form.enterpriseId = res.data.corpId;
|
|
this.step3Form.listSecret = res.data.secret2;
|
|
this.step3Form.listSecret = res.data.secret2;
|
|
@@ -776,11 +799,15 @@ export default {
|
|
if (!this.qrcode2_url) {
|
|
if (!this.qrcode2_url) {
|
|
return this.$errorMsg('请上传公众号图片');
|
|
return this.$errorMsg('请上传公众号图片');
|
|
}
|
|
}
|
|
|
|
+ if (!this.qrcode3_url) {
|
|
|
|
+ return this.$errorMsg('请上传收款二维码图片');
|
|
|
|
+ }
|
|
this.formLoading = true;
|
|
this.formLoading = true;
|
|
let params = {
|
|
let params = {
|
|
adminUserId: this.id,
|
|
adminUserId: this.id,
|
|
qrcode1: this.qrcode1_url,
|
|
qrcode1: this.qrcode1_url,
|
|
qrcode2: this.qrcode2_url,
|
|
qrcode2: this.qrcode2_url,
|
|
|
|
+ payQrcode: this.qrcode3_url,
|
|
companyWechatId: this.companyWechatId
|
|
companyWechatId: this.companyWechatId
|
|
}
|
|
}
|
|
editAccount(params).then(res => {
|
|
editAccount(params).then(res => {
|