1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a7b3ebf0"],{"1cbe":function(t,r,n){"use strict";n.d(r,"a",function(){return a}),n.d(r,"d",function(){return c}),n.d(r,"b",function(){return s}),n.d(r,"e",function(){return u}),n.d(r,"c",function(){return l});var e=n("8982"),i="/industryParkApi",o="/wx/SunanPortalManagementController";function a(t){return Object(e["a"])({url:i+o+"/findInfoByPortalType",method:"post",data:t})}function c(t){return Object(e["a"])({url:"/industryParkApi/wx/parkTrain/listForTop",method:"post",data:t})}function s(t){return Object(e["a"])({url:"/industryParkApi/wx/user/getMyPowerById",method:"post",data:t})}function u(t){return Object(e["a"])({url:"/industryParkApi/wx/noticePark/listForTop",method:"post",data:t})}function l(t){return Object(e["a"])({url:"/industryParkApi/wx/parkActivity/listForTop",method:"post",data:t})}},"2f8a":function(t,r,n){"use strict";var e=n("7dac"),i=n.n(e);i.a},"3b8d":function(t,r,n){"use strict";n.d(r,"a",function(){return a});var e=n("795b"),i=n.n(e);function o(t,r,n,e,o,a,c){try{var s=t[a](c),u=s.value}catch(l){return void n(l)}s.done?r(u):i.a.resolve(u).then(e,o)}function a(t){return function(){var r=this,n=arguments;return new i.a(function(e,i){var a=t.apply(r,n);function c(t){o(a,e,i,c,s,"next",t)}function s(t){o(a,e,i,c,s,"throw",t)}c(void 0)})}}},"41ad":function(t,r,n){"use strict";n.d(r,"e",function(){return a}),n.d(r,"c",function(){return c}),n.d(r,"b",function(){return s}),n.d(r,"d",function(){return u}),n.d(r,"f",function(){return l}),n.d(r,"h",function(){return p}),n.d(r,"a",function(){return f}),n.d(r,"g",function(){return h});var e=n("8982"),i="/industryParkApi",o="/wx/parkActivity";function a(t){return Object(e["a"])({url:i+o+"/list",method:"post",data:t})}function c(t,r){return Object(e["a"])({url:i+o+"/getActivityById?id="+t+"&userId="+r,method:"get"})}function s(t){return Object(e["a"])({url:i+o+"/clickCollect",method:"post",data:t})}function u(t){return Object(e["a"])({url:i+o+"/insertRegisSignInfo",method:"post",data:t})}function l(t){return Object(e["a"])({url:i+o+"/listRegisSignInfo",method:"post",data:t})}function p(t){return Object(e["a"])({url:i+o+"/updatePublishStatus",method:"post",data:t})}function f(t){return Object(e["a"])({url:i+o+"/add",method:"post",data:t})}function h(t){return Object(e["a"])({url:i+o+"/richScan",method:"post",data:t})}},"7dac":function(t,r,n){},"96cf":function(t,r,n){var e=function(t){"use strict";var r,n=Object.prototype,e=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,r,n,e){var i=r&&r.prototype instanceof y?r:y,o=Object.create(i.prototype),a=new T(e||[]);return o._invoke=O(t,n,a),o}function u(t,r,n){try{return{type:"normal",arg:t.call(r,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",f="executing",h="completed",d={};function y(){}function v(){}function m(){}var g={};g[o]=function(){return this};var w=Object.getPrototypeOf,b=w&&w(w(_([])));b&&b!==n&&e.call(b,o)&&(g=b);var x=m.prototype=y.prototype=Object.create(g);function k(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function P(t){function r(n,i,o,a){var c=u(t[n],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"===typeof l&&e.call(l,"__await")?Promise.resolve(l.__await).then(function(t){r("next",t,o,a)},function(t){r("throw",t,o,a)}):Promise.resolve(l).then(function(t){s.value=t,o(s)},function(t){return r("throw",t,o,a)})}a(c.arg)}var n;function i(t,e){function i(){return new Promise(function(n,i){r(t,e,n,i)})}return n=n?n.then(i,i):i()}this._invoke=i}function O(t,r,n){var e=l;return function(i,o){if(e===f)throw new Error("Generator is already running");if(e===h){if("throw"===i)throw o;return C()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var c=j(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(e===l)throw e=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);e=f;var s=u(t,r,n);if("normal"===s.type){if(e=n.done?h:p,s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(e=h,n.method="throw",n.arg=s.arg)}}}function j(t,n){var e=t.iterator[n.method];if(e===r){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=r,j(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=u(e,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,d;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,d):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function L(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function E(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function _(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){while(++i<t.length)if(e.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=r,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:r,done:!0}}return v.prototype=x.constructor=m,m.constructor=v,m[c]=v.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var r="function"===typeof t&&t.constructor;return!!r&&(r===v||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},k(P.prototype),P.prototype[a]=function(){return this},t.AsyncIterator=P,t.async=function(r,n,e,i){var o=new P(s(r,n,e,i));return t.isGeneratorFunction(n)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(x),x[c]="Generator",x[o]=function(){return this},x.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var n in t)r.push(n);return r.reverse(),function n(){while(r.length){var e=r.pop();if(e in t)return n.value=e,n.done=!1,n}return n.done=!0,n}},t.values=_,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0],r=t.completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(e,i){return c.type="throw",c.arg=t,n.next=e,i&&(n.method="next",n.arg=r),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=e.call(a,"catchLoc"),u=e.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=r,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),d},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),d}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var e=n.completion;if("throw"===e.type){var i=e.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:_(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=r),d}},t}(t.exports);try{regeneratorRuntime=e}catch(i){Function("r","regeneratorRuntime = r")(e)}},aff2:function(t,r,n){"use strict";var e=function(){var t=this,r=t.$createElement,n=t._self._c||r;return n("div",{staticClass:"apply"},[n("van-popup",{staticClass:"form-popup",model:{value:t.show,callback:function(r){t.show=r},expression:"show"}},[n("div",{staticClass:"popup-body"},[n("div",{staticClass:"popup-header"},[n("div",{staticClass:"title"},[t._v("请填写报名信息")]),n("div",{staticClass:"close",on:{click:t.close}},[n("i",{staticClass:"iconfont icon-guanbi"})])]),n("div",{staticClass:"popup-center"},[n("van-form",[n("van-field",{staticClass:"input-item",attrs:{label:"*公司名称"},model:{value:t.companyName,callback:function(r){t.companyName=r},expression:"companyName"}}),n("van-field",{staticClass:"input-item",attrs:{label:"*参与人姓名"},model:{value:t.participants,callback:function(r){t.participants=r},expression:"participants"}}),n("van-field",{staticClass:"input-item",attrs:{label:"*参与人职位"},model:{value:t.participantsPosition,callback:function(r){t.participantsPosition=r},expression:"participantsPosition"}}),n("van-field",{staticClass:"input-item",attrs:{label:"*联系手机"},model:{value:t.participantsPhone,callback:function(r){t.participantsPhone=r},expression:"participantsPhone"}}),n("van-field",{staticClass:"input-item",attrs:{label:"*说明"},model:{value:t.remark,callback:function(r){t.remark=r},expression:"remark"}})],1)],1),n("div",{staticClass:"popup-foot-but"},[n("div",{staticClass:"gb",on:{click:t.confirm}},[t._v("确认")])])])])],1)},i=[],o=n("41ad"),a=n("5cab"),c=n("3089"),s={props:{referenceId:{type:String,default:""},referenceType:{type:String,default:""}},data:function(){return{show:!1,companyName:"",participants:"",participantsPosition:"",participantsPhone:"",remark:""}},methods:{init:function(){this.show=!0},close:function(){this.show=!1,this.initData()},initData:function(){this.companyName="",this.participants="",this.participantsPosition="",this.participantsPhone="",this.remark=""},confirm:function(){var t=this;if(!this.companyName)return Object(c["Toast"])("请填写公司名称"),!1;if(!this.participants)return Object(c["Toast"])("请填写参与人姓名"),!1;if(!this.participantsPosition)return Object(c["Toast"])("请填写参与人职位"),!1;if(!this.participantsPhone)return Object(c["Toast"])("请填写联系手机"),!1;var r=this;Object(o["d"])({companyName:this.companyName,participants:this.participants,participantsPosition:this.participantsPosition,participantsPhone:this.participantsPhone,remark:this.remark,userId:a["a"].currUser().id,referenceId:this.referenceId,referenceType:this.referenceType}).then(function(n){"报名人数超出限制人数"===n.errmsg?Object(c["Toast"])("报名人数超出限制人数"):(Object(c["Toast"])("报名成功"),t.$router.go(-1),r.show=!1,r.initData())})}}},u=s,l=(n("2f8a"),n("2877")),p=Object(l["a"])(u,e,i,!1,null,"88893b02",null);r["a"]=p.exports}}]);
|