作者 shenhailong

完善 二维码弹出提示信息 获取session strorage 用户名称

@@ -76,11 +76,12 @@ @@ -76,11 +76,12 @@
76 </el-col> 76 </el-col>
77 </el-row> 77 </el-row>
78 <el-dialog 78 <el-dialog
79 - title="扫码支付" 79 + title="扫码支付 "
80 :visible.sync="dialogVisible" 80 :visible.sync="dialogVisible"
81 width="15%" 81 width="15%"
82 > 82 >
83 <template> 83 <template>
  84 + <span style="font-size: 20px"> 请在15分钟内进行支付</span>
84 <div> 85 <div>
85 <qriously :value="Qrcode" :size="200" /> 86 <qriously :value="Qrcode" :size="200" />
86 </div> 87 </div>
@@ -120,7 +121,8 @@ @@ -120,7 +121,8 @@
120 wmId:'', 121 wmId:'',
121 payFees:'', 122 payFees:'',
122 realName:'', 123 realName:'',
123 - userId:'' 124 + userId:'',
  125 + realName:''
124 }, 126 },
125 rules:{ 127 rules:{
126 payType: [ 128 payType: [
@@ -199,6 +201,8 @@ @@ -199,6 +201,8 @@
199 this.$refs.waterForm.validate((valid) => { 201 this.$refs.waterForm.validate((valid) => {
200 if (valid) { 202 if (valid) {
201 this.$confirm('确认充值吗?', '提示', {}).then(() => { 203 this.$confirm('确认充值吗?', '提示', {}).then(() => {
  204 + this.waterForm.realName = loginUserInfo.username;
  205 + console.log(loginUserInfo.username)
202 let para = Object.assign({}, this.waterForm); 206 let para = Object.assign({}, this.waterForm);
203 this.loading=true; 207 this.loading=true;
204 qrCode(para).then((res) => { 208 qrCode(para).then((res) => {