pages-user-joinMedia.be472516.js 8.0 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-joinMedia"],{"0a55":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"table"},[i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"left"},[t._v("姓名")]),i("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"left"},[t._v("联系电话")]),i("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入联系电话"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"left"},[t._v("职务")]),i("v-uni-picker",{staticClass:"input",attrs:{range:t.choosePost},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindPickerType.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"box-right",class:{hui:""==t.post}},[t._v(t._s(t.post||"请选择职务"))])],1)],1),-1!=t.post.indexOf("董事长")||-1!=t.post.indexOf("总经理")?[i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"left"},[t._v("学历")]),i("v-uni-picker",{staticClass:"input",attrs:{range:t.xlList},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindXl.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"box-right",class:{hui:""==t.xl}},[t._v(t._s(t.xl||"请选择学历"))])],1)],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"left"},[t._v("生日")]),i("v-uni-picker",{staticClass:"input",attrs:{mode:"date"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindBrith.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"box-right",class:{hui:""==t.brith}},[t._v(t._s(t.brith||"请选择生日"))])],1)],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"left"},[t._v("职称")]),i("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入职称(如高级工程师)"},model:{value:t.zc,callback:function(e){t.zc=e},expression:"zc"}})],1)]:t._e(),i("v-uni-view",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.commit()}}},[t._v("提交")])],2)},r=[]},"17b1":function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=r,e.changeInformation=s,e.enterprise=u,e.getUserInfo=o,e.spreadBanner=l,e.getAddressList=d,e.addressEdit=c,e.addressDel=f,e.setAddressDefault=p,e.getCartList=h,e.getCartNum=v,e.cartDel=m,e.getcollectList=g,e.delcollect=b,e.spread=x,e.stylelist=w,e.postlist=y,e.joinSubmit=_,e.auth=C,e.subscribe=k,e.enDetails=E,e.my_reply=T,e.to_my_reply=$,e.getCyType=L;var n=a(i("6150"));function r(t){return(0,n.default)({url:"/api/order/data",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/enterprise/edit",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/enterprise/rate",method:"get",data:t})}function o(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/spread/banner",method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/address/list",method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/address/edit",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/address/del",method:"post",data:t})}function p(t){return(0,n.default)({url:"/api/address/default/set",method:"post",data:t})}function h(t){return(0,n.default)({url:"/api/cart/list",method:"get",data:t})}function v(t){return(0,n.default)({url:"/api/cart/num",method:"post",data:t})}function m(t){return(0,n.default)({url:"/api/cart/del",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/collect/user",method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function x(t){return(0,n.default)({url:"/api/spread/people",method:"POST",data:t})}function w(t){return(0,n.default)({url:"/api/enterprise/stylelist",method:"GET",data:t})}function y(t){return(0,n.default)({url:"/api/enterprise/job/list",method:"GET",data:t})}function _(t){return(0,n.default)({url:"/api/enterprise/apply/add",method:"GET",data:t})}function C(t){return(0,n.default)({url:"/api/user/auth",method:"POST",data:t})}function k(t){return(0,n.default)({url:"/api/user/subscribe",method:"GET",data:t})}function E(t){return(0,n.default)({url:"/api/enterprise/details",method:"GET",data:t})}function T(t){return(0,n.default)({url:"/api/article/my_reply",method:"GET",data:t})}function $(t){return(0,n.default)({url:"/api/article/to_my_reply",method:"GET",data:t})}function L(t){return(0,n.default)({url:"/api/enterprise/category",method:"GET",data:t})}},3425:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.table[data-v-78d57e00]{width:%?750?%;background:#fff}.table-title[data-v-78d57e00]{display:flex;align-items:center}.table-title .gg[data-v-78d57e00]{margin-left:%?30?%;width:%?3?%;height:%?30?%;background:#ff6061;border-radius:2px}.table-title .title[data-v-78d57e00]{margin-left:%?15?%;font-size:%?30?%;font-weight:700;color:#333;line-height:%?80?%}.content[data-v-78d57e00]{border-top:%?2?% solid #f3f3f3;display:flex;align-items:center;line-height:%?80?%}.content .left[data-v-78d57e00]{width:%?120?%;margin:0 %?30?%;font-size:%?28?%;font-weight:700;color:#333}.content uni-input[data-v-78d57e00]{margin:0}.content .input[data-v-78d57e00]{margin:0}.button[data-v-78d57e00]{margin:%?100?% auto;width:%?650?%;height:%?80?%;background:#fe5341;border-radius:%?38?%;font-size:%?30?%;font-weight:500;color:#fff;line-height:%?80?%;text-align:center}.hui[data-v-78d57e00]{color:#999!important}',""]),t.exports=e},"3e81":function(t,e,i){"use strict";var a=i("9f69"),n=i.n(a);n.a},"5ba2":function(t,e,i){"use strict";i("4160"),i("c975"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("17b1"),n={data:function(){return{id:"",name:"",phone:"",post:"",choosePost:[],postList:[],index:"",xlList:["博士","硕士","本科","专科","大专","高中","小学","其他"],xl:"",brith:"",zc:""}},onLoad:function(t){var e=this;this.id=t.id,(0,a.postlist)().then((function(t){var i=t.data;e.postList=i,i.forEach((function(t){e.choosePost.push(t.title)})),console.log(i,"123456")}))},methods:{commit:function(){if(""==this.name)return this.$api.msg("请输入姓名");if(""==this.post)return this.$api.msg("请选择职务");if(""==this.phone)return this.$api.msg("请输入联系电话");if(-1!=this.post.indexOf("董事长")||-1!=this.post.indexOf("总经理")){if(""==this.xl)return this.$api.msg("请选择学历");if(""==this.brith)return this.$api.msg("请选择生日");if(""==this.zc)return this.$api.msg("请输入职称")}(0,a.joinSubmit)({merId:this.id,applyUserName:this.name,applyUserMobile:this.phone,applyJobId:this.index,edu:this.xl,birthday:this.brith,title:this.zc}).then((function(t){uni.navigateBack({delta:1})}))},bindPickerType:function(t){this.post=this.choosePost[t.target.value],this.index=this.postList[t.target.value].id,console.log(this.index)},bindXl:function(t){this.xl=this.xlList[t.target.value]},bindBrith:function(t){this.brith=t.detail.value}}};e.default=n},"5f66":function(t,e,i){"use strict";i.r(e);var a=i("0a55"),n=i("6509");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("3e81");var s,u=i("f0c5"),o=Object(u["a"])(n["default"],a["b"],a["c"],!1,null,"78d57e00",null,!1,a["a"],s);e["default"]=o.exports},6509:function(t,e,i){"use strict";i.r(e);var a=i("5ba2"),n=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"9f69":function(t,e,i){var a=i("3425");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("52c863df",a,!0,{sourceMap:!1,shadowMode:!1})}}]);