Bladeren bron

fix: 修复错误作用域问题

zhangyuhan 3 jaren geleden
bovenliggende
commit
558f077db3

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/big-member/css/unit_portrayal.css

@@ -430,7 +430,7 @@
 }
 .client .c-time{
     /*flex: 1;*/
-    /*width: 1.1rem;*/
+    width: 1.5rem;
     font-size: .22rem;
     text-align: center;
 }

+ 3 - 4
src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_partner.html

@@ -159,7 +159,6 @@
       },
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
-        let _this = this
         this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
@@ -167,11 +166,11 @@
           }
           if (r && r.error_msg === '' && r.data) {
             if(r.data.phone != '') {
-              _this.vercodecor = true
-              _this.setcodeShow = false
+              this.vercodecor = true
+              this.setcodeShow = false
               sessionStorage.setItem('strud_phone', r.data.phone)
             } else {
-              _this.setcodeShow = true
+              this.setcodeShow = true
             }
             this.setEchoInfo(r.data)
             var result = checkRequiredKeys(['name', 'phone'], r.data)

+ 3 - 4
src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_strud.html

@@ -421,7 +421,6 @@
       },
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
-        let _this = this
         this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {source: this.ajaxParams.source}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
@@ -429,11 +428,11 @@
           }
           if (r && r.error_msg === '' && r.data) {
             if(r.data.phone != '') {
-              _this.vercodecor = true
-              _this.setcodeShow = false
+              this.vercodecor = true
+              this.setcodeShow = false
               sessionStorage.setItem('strud_phone', r.data.phone)
             } else {
-              _this.setcodeShow = true
+              this.setcodeShow = true
             }
             this.setEchoInfo(r.data)
             var result = checkRequiredKeys(['name', 'phone', 'company', 'mail', 'position', 'branch'], r.data)

+ 1 - 1
src/web/templates/big-member/wx/page_unit_portrayal.html

@@ -290,7 +290,7 @@
         }
         .client .c-time{
           /*flex: 1;*/
-          /*width: 1.1rem;*/
+          width: 1.5rem;
           font-size: .22rem;
           text-align: center;
         }

+ 3 - 4
src/web/templates/frontRouter/wx/bigmember/free/perfect_info_strud.html

@@ -436,7 +436,6 @@
       },
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
-        let _this = this
         this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {source: this.ajaxParams.source}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
@@ -444,11 +443,11 @@
           }
           if (r && r.error_msg === '' && r.data) {
             if(r.data.phone != '') {
-              _this.vercodecor = true
-              _this.setcodeShow = false
+              this.vercodecor = true
+              this.setcodeShow = false
               sessionStorage.setItem('strud_phone', r.data.phone)
             } else {
-              _this.setcodeShow = true
+              this.setcodeShow = true
             }
             this.setEchoInfo(r.data)
             var result = checkRequiredKeys(['name', 'phone', 'company', 'mail', 'position', 'branch'], r.data)