Pārlūkot izejas kodu

feat:留资提交增加origin字段

yangfeng 2 gadi atpakaļ
vecāks
revīzija
f7eb4679d8

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

@@ -121,7 +121,8 @@
         "name": "",
         "phone": "",
         "source": utils.getParam('source'), // 推送消息点进来的
-        "company": ""
+        "company": "",
+        origin: location.origin
       }
     },
     mounted() {

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

@@ -207,7 +207,8 @@
         "mail": "",
         "company": "",
         "position": "",
-        "branch": ""
+        "branch": "",
+        origin: location.origin
       },
       jobJson: [
         '总裁',

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

@@ -250,7 +250,8 @@
         "companyType": "",
         "position": "",
         'platform': 'app',
-        "branch": ''
+        "branch": '',
+        origin: location.origin
       },
       jobJson: [
         '总裁',

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

@@ -277,7 +277,8 @@
         "company": "",
         "companyType": "",
         "position": "",
-        "branch": ''
+        "branch": '',
+        origin: location.origin
       },
       jobJson: [
         '总裁',

+ 2 - 1
src/web/staticres/common-module/perfect-info/js/perfect-info.js

@@ -190,7 +190,8 @@ var vNode = {
       company_size: '',
       workScope: '',
       partnerNeeds: '',
-      branch: ''
+      branch: '',
+      origin: location.origin
     },
     // 默认为隐藏,需要展示则需判断
     moduleShow: {

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

@@ -379,7 +379,8 @@ var vmbid = new Vue({
         phone: this.form.phone,
         company: this.form.companyName, // 公司名称
         position: this.form.job == '其他' ? ('其他/' + this.form.otherJob) : this.form.job,
-        branch: this.form.branch.indexOf('总裁') > -1 || this.form.branch.indexOf('总经理') > -1 ?  '' : this.form.branch
+        branch: this.form.branch.indexOf('总裁') > -1 || this.form.branch.indexOf('总经理') > -1 ?  '' : this.form.branch,
+        origin: location.origin
       }
       var _this = this
       $.ajax({

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

@@ -318,6 +318,7 @@ var vmPartner = new Vue({
         phone: this.form.phone,
         company: this.form.companyName, // 公司名称
         platform: "pc",
+        origin: location.origin
       }
       if (info) {
         params = info

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

@@ -711,7 +711,8 @@ var vm = new Vue({
         // workScope: this.form.business,
         // partnerNeeds: this.form.need,
         // agree: this.form.agreeChecked,
-        branch: this.form.branch.indexOf('总裁') > -1 || this.form.branch.indexOf('总经理') > -1 ?  '' : this.form.branch
+        branch: this.form.branch.indexOf('总裁') > -1 || this.form.branch.indexOf('总经理') > -1 ?  '' : this.form.branch,
+        origin: location.origin
       }
       if (infoid != "" && isProDetail != -1){
         params.publish_id = infoid

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

@@ -153,7 +153,8 @@
         "name": "",
         "phone": "",
         "source": utils.getParam('source'), // 推送消息点进来的
-        "company": ""
+        "company": "",
+        origin: location.origin
       }
     },
     created(){

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

@@ -259,7 +259,8 @@
         "companyType": "",
         "position": "",
         'platform': 'wx',
-        "branch": ''
+        "branch": '',
+        origin: location.origin
       },
       jobJson: [
         '总裁',

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

@@ -288,7 +288,8 @@
         "company": "",
         "companyType": "",
         "position": "",
-        "branch": ''
+        "branch": '',
+        origin: location.origin
       },
       jobJson: [
         '总裁',