فهرست منبع

二维码加上水印;代客录单报价加上userId

lihongxiao 2 سال پیش
والد
کامیت
ff77f97af4
1فایلهای تغییر یافته به همراه11 افزوده شده و 4 حذف شده
  1. 11 4
      src/views/Task/daikeComponents/KtLetter.vue

+ 11 - 4
src/views/Task/daikeComponents/KtLetter.vue

@@ -22,7 +22,7 @@
           </el-col>
           <el-col :span="5">
             <el-form-item label="工号类型">
-              <el-select v-model="userform.usertype">
+              <el-select v-model="userform.usertype" >
                 <el-option label="业务员" value="A"></el-option>
                 <el-option label="代理人" value="B"></el-option>
               </el-select>
@@ -1439,7 +1439,7 @@
     </el-dialog>
     <!--第一种 二维码 -->
     <el-dialog :visible.sync="codedialogVisible" width="430px" top="10vh" class="saomazhifucodeClass">
-      <div class="ORcodebody">
+      <div class="ORcodebody" v-watermark="qrCodeId"  >
         <div slot="title" class="dialog-title">
           <span>扫码付款</span>
         </div>
@@ -1506,6 +1506,7 @@
         <el-button size="small" style="width:100px;border-color:#D42426;color:#D42426 "
           @click="codedialogVisible = false">关闭</el-button>
       </span>
+
     </el-dialog>
     <!--第二种 二维码 -->
     <el-dialog :visible.sync="codedialogVisiblePro" width="660px" class="proSaomazhifucodeClass" top="10vh" title="扫码付款">
@@ -2154,6 +2155,8 @@ export default {
       }
     };
     return {
+      qrCodeId:'',
+      watermarkedImage:'',
       redictInfoMsg: [],
       redictInfodialogVisible: false,
       qrcodeWidth: "180",
@@ -4385,6 +4388,7 @@ export default {
     //   });
     // },
     Payment(id, item) {
+      this.qrCodeId=item.id
       this.carcode(id, item);
     },
     //选择协议  val:协议id  row:协议列表  index:下标  item:保险公司数据集合
@@ -5843,7 +5847,8 @@ export default {
         cqryCdeSy: this.cqryCdeSy,
         renewalCodeJq: this.renewalCodeJq,
         renewalCodeSy: this.renewalCodeSy,
-        agreementId: this.totalCompanyList[num].agreementId
+        agreementId: this.totalCompanyList[num].agreementId,
+        userId:this.userId
       };
       this.$api.letter.bohaiquote(params).then(res => {
         this.totalCompanyList[num].msg = res.msg;
@@ -5929,6 +5934,7 @@ export default {
         accidentalDrivingVo: this[ccidenttype + "accidentalDrivingVo"],
         orderNo: this.orderno,
         companyId: id,
+        userId:this.userId,
         agreementId: this.totalCompanyList[num].agreementId
       };
       if (namesimple == "中国人寿" && this.lastCompanyId) {
@@ -8028,7 +8034,8 @@ export default {
 
 .ORcodebody {
   height: auto;
-  background: url(../../../assets/image/group.png) #fff;
+  background-color: #fff;
+  //background: url(../../../assets/image/group.png) #fff;
   padding: 16px;
 }