瀏覽代碼

Merge branch 'dev4.6.1.8' of http://192.168.3.207:8080/qmx/jy into dev4.6.1.8

zhangxinlei1996 3 年之前
父節點
當前提交
77c14c9801
共有 1 個文件被更改,包括 16 次插入2 次删除
  1. 16 2
      src/web/templates/frontRouter/wx/bigmember/free/perfect_info.html

+ 16 - 2
src/web/templates/frontRouter/wx/bigmember/free/perfect_info.html

@@ -645,13 +645,23 @@
         } else {
           document.title = '完善信息'
         }
+
         if (source == 'bid_document_Introduction_page') {
           var hideType = ['email', 'class', 'companyType', 'workScope', 'partnerNeeds', 'agree']
           for (var k in this.moduleShow) {
-            if (hideType.indexOf(k) !== -1)
+            if (hideType.indexOf(k) !== -1) {
+              this.moduleShow[k] = false
+            }
+          }
+        } else if (source === 'doubleEleven') {
+          var hideType = ['area', 'class', 'companyType', 'workScope', 'partnerNeeds', 'agree']
+          for (var k in this.moduleShow) {
+            if (hideType.indexOf(k) !== -1) {
               this.moduleShow[k] = false
+            }
           }
         }
+
         return infoText || ''
       },
       getPopHeight () {
@@ -1124,7 +1134,11 @@
                   location.replace(sessionData.url)
                 } else {
                   sessionStorage.setItem('salesBackStatus', 'true')
-                  history.back()
+                  if (r.url) {
+                    location.replace(r.url)
+                  } else {
+                    history.back()
+                  }
                 }
               }
             } else {