bztang-admin/addons/yun_shop/static/app/js/chunk-0f648fd3.b77517e8.js

1 line
5.3 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0f648fd3"],{"4eb7":function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.i,'.promulgator-manage .reject-content[data-v-9de4458c]{padding:1.125rem;background:#fff;word-break:break-all;text-align:left}.promulgator-manage .republish[data-v-9de4458c]{margin-top:2.1875rem;background:#fff;text-align:right;padding:.875rem}.promulgator-manage .republish-submit[data-v-9de4458c]{display:block;border-radius:100px;background:#4978f8;color:#fff;font-size:.875rem;padding:.7rem .65rem;text-align:center}.promulgator-manage .republish-btn[data-v-9de4458c]{border-radius:100px;background:#4978f8;color:#fff;font-size:.875rem;padding:.3125rem .65rem}.promulgator-manage .record[data-v-9de4458c]{position:fixed;bottom:5rem;right:.75rem;width:4rem;height:4rem;line-height:4rem;background:#4978f8;border-radius:100px;color:#fff;text-align:center}.promulgator-manage .flex-start[data-v-9de4458c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;padding:1.0938rem 1rem 0}.promulgator-manage .required[data-v-9de4458c]{position:relative;text-align:left;margin-bottom:.875rem}.promulgator-manage .required[data-v-9de4458c]:before{position:absolute;left:-.4063rem;color:#ee0a24;font-size:15px;content:"*"}.promulgator-manage .tip[data-v-9de4458c]{font-size:1.1rem;padding:1.1563rem .6563rem;text-align:left;font-weight:500}',""]),e.exports=t},a10b:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"promulgator-manage"},[r("c-title",{attrs:{text:"发布者信息"}}),r("p",{staticClass:"tip"},[e._v("发布者信息")]),r("van-cell-group",[r("van-field",{attrs:{required:"",value:e.realname,label:"姓名"}}),r("van-field",{attrs:{required:"",value:e.mobile,label:"手机号"}}),r("van-field",{attrs:{required:"",value:e.age,label:"年龄"}}),r("van-field",{attrs:{required:"",value:e.address,label:"位置"}}),r("div",{staticClass:"flex-start"},[r("p",{staticClass:"required"},[e._v("上传身份证国微面")]),r("van-image",{attrs:{width:"6.4375rem",height:"6.4375rem",src:e.id_card_reverse},on:{click:function(t){return e.preview(e.id_card_reverse)}}})],1),r("div",{staticClass:"flex-start",staticStyle:{"padding-bottom":"1.25rem"}},[r("p",{staticClass:"required"},[e._v("上传身份证人面像")]),r("van-image",{attrs:{width:"6.4375rem",height:"6.4375rem",src:e.id_card_front},on:{click:function(t){return e.preview(e.id_card_front)}}})],1)],1),e.reason&&1!==e.apply_status?[r("div",{staticClass:"reject"},[r("p",{staticClass:"tip"},[e._v("驳回原因")]),r("div",{staticClass:"reject-content"},[e._v(e._s(e.reason))])]),r("div",{staticClass:"republish"},[r("span",{staticClass:"republish-btn",on:{click:e.submit}},[e._v("重新发布")])])]:[r("div",{staticClass:"republish"},[r("van-button",{attrs:{block:"",round:"",color:"#4978F8"},on:{click:e.confirm}},[e._v("提交")])],1)],r("div",{staticClass:"record",on:{click:e.gotoRecord}},[e._v("申请记录")])],2)},i=[],n=(r("4056"),r("44bf")),o=(r("4662"),r("28a2")),d=(r("ac1f"),r("5319"),r("14d9"),r("99af"),{data:function(){return{realname:"",mobile:"",age:"",address:"",id_card_front:"",id_card_reverse:"",strShow:!1,streetShow_apply:!1,apply_status:null,id_card_front_img:"",id_card_reverse_img:"",province_id:"",city_id:"",district_id:"",street_id:"",reason:""}},activated:function(){this.getData()},methods:{confirm:function(){var e=this,t={identity:1,realname:this.realname,mobile:this.mobile,detail_info:{age:this.age},province_id:this.province_id,city_id:this.city_id,district_id:this.district_id,street_id:this.street_id,annex_file:{id_card_front:this.id_card_front_img,id_card_reverse:this.id_card_reverse_img}};$http.post("plugin.be-within-call.frontend.role-apply.index",{data:t},"").then((function(t){var r=t.result,a=t.msg;e.$toast(a),r&&e.$router.replace(e.fun.getUrl("anytimeMy",{option:"wisdom"}))}))},submit:function(){this.$router.push(this.fun.getUrl("anytimeRoleApply",{apply_for_type:7}))},gotoRecord:function(){this.$router.push(this.fun.getUrl("anytimeMyRecord",{name:"promulgator"}))},getData:function(){var e=this;$http.get("plugin.be-within-call.frontend.role-apply.detail",{role:1},"").then((function(t){if(t.result){var r=t.data;e.apply_status=r.apply_status,e.realname=r.realname,e.mobile=r.mobile,e.age=r.detail_info.age,e.reason=r.reason,e.address="".concat(r.province_name," ").concat(r.city_name," ").concat(r.district_name),e.id_card_front=r.annex_file.id_card_front_url,e.id_card_reverse=r.annex_file.id_card_reverse_url,e.id_card_front_img=r.annex_file.id_card_front,e.id_card_reverse_img=r.annex_file.id_card_reverse,e.province_id=r.province_id,e.city_id=r.city_id,e.district_id=r.district_id,e.street_id=r.street_id}else e.$toast(t.msg)}))},preview:function(e){Object(o["a"])([e])}},components:{VanImage:n["a"]}}),s=d,l=(r("b02e"),r("2877")),c=Object(l["a"])(s,a,i,!1,null,"9de4458c",null);t["default"]=c.exports},b02e:function(e,t,r){"use strict";r("e9d7")},e9d7:function(e,t,r){var a=r("4eb7");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=r("499e").default;i("724445cc",a,!0,{sourceMap:!1,shadowMode:!1})}}]);