Эх сурвалжийг харах

fix: 修复接口变动,参数未调整引起的问题

zhangyuhan 3 жил өмнө
parent
commit
9fbbfecc37
20 өөрчлөгдсөн 20 нэмэгдсэн , 18 устгасан
  1. 1 1
      src/jfw/modules/app/src/web/templates/common/baiducc.html
  2. 1 1
      src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info.html
  3. 1 1
      src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_partner.html
  4. 1 1
      src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_push.html
  5. 1 1
      src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_solution.html
  6. 1 1
      src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_strud.html
  7. 1 0
      src/jfw/modules/app/src/web/templates/weixin/historypush.html
  8. 1 1
      src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html
  9. 1 1
      src/web/staticres/common-module/keep-tags/keep-tags-template.js
  10. 1 1
      src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js
  11. 1 1
      src/web/staticres/frontRouter/pc/bidedoc/js/index-pc.js
  12. 1 1
      src/web/staticres/frontRouter/pc/solution/js/pc-collect-solution-info.js
  13. 1 1
      src/web/staticres/js/pc-collect-bid-info.js
  14. 1 1
      src/web/staticres/js/pc-collect-partner-info.js
  15. 1 1
      src/web/staticres/js/pc-collect-user-info.js
  16. 1 1
      src/web/templates/frontRouter/wx/bigmember/free/perfect_info.html
  17. 1 1
      src/web/templates/frontRouter/wx/bigmember/free/perfect_info_partner.html
  18. 1 1
      src/web/templates/frontRouter/wx/bigmember/free/perfect_info_solution.html
  19. 1 1
      src/web/templates/frontRouter/wx/bigmember/free/perfect_info_strud.html
  20. 1 0
      src/web/templates/weixin/historypush.html

+ 1 - 1
src/jfw/modules/app/src/web/templates/common/baiducc.html

@@ -35,7 +35,7 @@ function adv_statistics(e){
        JyObj.openExternalLink($(e).find("a").attr("ad_link"),ad_title);
     }
     if ($(e).find("a").attr("openurl")!=undefined){//app三级页调用打开方法
-      $.post('/salesLeads/retainedCapital', { source: 'article_original' }).done(function (r) {
+      $.post('/salesLeads/retainedCapital'+ '?source=article_original').done(function (r) {
         // 判断当前信息否在其他页面留资  如果全部留资 直接弹窗提交成功
         var checkKeys = ['name', 'phone', 'company', 'branch', 'position']
         var result = checkRequiredKeys(checkKeys, r.info)

+ 1 - 1
src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info.html

@@ -1223,7 +1223,7 @@
         },
         ajaxGetEchoInfo() {
           this.isEchoInfoLoading = true
-          this.ajaxFn('/salesLeads/retainedCapital', { source: this.ajaxParams.source }, function (r) {
+          this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {}, function (r) {
             this.isEchoInfoLoading = false
             if (r && r.info) {
               r.data = r.info

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

@@ -160,7 +160,7 @@
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
         let _this = this
-        this.ajaxFn('/salesLeads/retainedCapital', {source: this.ajaxParams.source}, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

+ 1 - 1
src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_push.html

@@ -302,7 +302,7 @@
       },
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
-        this.ajaxFn('/salesLeads/retainedCapital', {source: this.ajaxParams.source}, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

+ 1 - 1
src/jfw/modules/app/src/web/templates/frontRouter/bigmember/free/perfect_info_solution.html

@@ -316,7 +316,7 @@
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
         let _this = this
-        this.ajaxFn('/salesLeads/retainedCapital', {source: this.ajaxParams.source}, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

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

@@ -422,7 +422,7 @@
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
         let _this = this
-        this.ajaxFn('/salesLeads/retainedCapital', {source: this.ajaxParams.source}, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {source: this.ajaxParams.source}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

+ 1 - 0
src/jfw/modules/app/src/web/templates/weixin/historypush.html

@@ -736,6 +736,7 @@
 //   是否需要留资
   function isNeedSales (callback) {
       $.ajax({
+          type: 'GET',
           url: '/salesLeads/retainedCapital',
           data: { source: 'jypush_see10_plus_app' },
           async: false,

+ 1 - 1
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -2712,7 +2712,7 @@
     function isReservedInfo(callback){
       $.ajax({
         url: '/salesLeads/retainedCapital',
-        type: 'POST',
+        type: 'GET',
         timeout: 5000,
         data: {
           source: 'article_attach_freeuser'

+ 1 - 1
src/web/staticres/common-module/keep-tags/keep-tags-template.js

@@ -407,7 +407,7 @@ Vue.component('keep-component', {
         _this.ajaxAddKeepFn(id, type)
       }
       if (type) {
-        $.post('/salesLeads/retainedCapital', { source: 'article_collection' }).done(function (r) {
+        $.post('/salesLeads/retainedCapital' + '?source=article_collection', { source: 'article_collection' }).done(function (r) {
           var checkKeys = ['name', 'phone', 'company', 'mail', 'branch', 'position']
           var result = checkRequiredKeys(checkKeys, r.info)
           // 判断当前信息否在其他页面留资  如果全部留资 直接弹窗提交成功

+ 1 - 1
src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js

@@ -434,7 +434,7 @@ var vm = new Vue({
       this.logAjax(source)
       var _this = this
       $.ajax({
-        type:'POST',
+        type:'GET',
         url:'/salesLeads/retainedCapital',
         data: {
           source: source

+ 1 - 1
src/web/staticres/frontRouter/pc/bidedoc/js/index-pc.js

@@ -72,7 +72,7 @@ var vm = new Vue({
     isNeedSubmit: function() {
       var _this = this
       $.ajax({
-        type:'POST',
+        type:'GET',
         url:'/salesLeads/retainedCapital',
         data: {
           source: _this.source

+ 1 - 1
src/web/staticres/frontRouter/pc/solution/js/pc-collect-solution-info.js

@@ -327,7 +327,7 @@ var vmSolution = new Vue({
       this.source = source
       var _this = this
       $.ajax({
-        type:'POST',
+        type:'GET',
         url:'/salesLeads/retainedCapital',
         data: {
           source: source

+ 1 - 1
src/web/staticres/js/pc-collect-bid-info.js

@@ -334,7 +334,7 @@ var vmbid = new Vue({
       this.source = source
       var _this = this
       $.ajax({
-        type:'POST',
+        type:'GET',
         url:'/salesLeads/retainedCapital',
         data: {
           source: source

+ 1 - 1
src/web/staticres/js/pc-collect-partner-info.js

@@ -257,7 +257,7 @@ var vmPartner = new Vue({
       var _this = this
       $.ajax({
         type:'POST',
-        url:'/salesLeads/retainedCapital',
+        url:'/salesLeads/retainedCapital' + '?source=' + source,
         data: {
           source: source
         },

+ 1 - 1
src/web/staticres/js/pc-collect-user-info.js

@@ -539,7 +539,7 @@ var vm = new Vue({
       var _this = this
 
       $.ajax({
-        type:'POST',
+        type:'GET',
         url:'/salesLeads/retainedCapital',
         data: {
           source: source

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

@@ -900,7 +900,7 @@
       },
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
-        this.ajaxFn('/salesLeads/retainedCapital', { source: this.ajaxParams.source }, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, { source: this.ajaxParams.source }, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

+ 1 - 1
src/web/templates/frontRouter/wx/bigmember/free/perfect_info_partner.html

@@ -204,7 +204,7 @@
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
         let _this = this
-        this.ajaxFn('/salesLeads/retainedCapital', {source: this.ajaxParams.source}, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {source: this.ajaxParams.source}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

+ 1 - 1
src/web/templates/frontRouter/wx/bigmember/free/perfect_info_solution.html

@@ -335,7 +335,7 @@
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
         let _this = this
-        this.ajaxFn('/salesLeads/retainedCapital', {source: this.ajaxParams.source}, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {source: this.ajaxParams.source}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

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

@@ -437,7 +437,7 @@
       ajaxGetEchoInfo() {
         this.isEchoInfoLoading = true
         let _this = this
-        this.ajaxFn('/salesLeads/retainedCapital', {source: this.ajaxParams.source}, function (r) {
+        this.ajaxFn('/salesLeads/retainedCapital' + '?source=' + this.ajaxParams.source, {source: this.ajaxParams.source}, function (r) {
           this.isEchoInfoLoading = false
           if (r && r.info) {
             r.data = r.info

+ 1 - 0
src/web/templates/weixin/historypush.html

@@ -1466,6 +1466,7 @@
       //   是否需要留资
      function isNeedSales (callback) {
       $.ajax({
+          type: 'GET',
           url: '/salesLeads/retainedCapital',
           data: { source: 'jypush_see10_plus_wx' },
           async: false,