(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54a8b5be"],{"0139":function(e,t,s){e.exports=s.p+"img/placeholder.756a7125.svg"},"01e7":function(e,t,s){},"391e":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},a=[],i=s("6db5"),n=i["a"],o=s("2877"),c=Object(o["a"])(n,r,a,!1,null,null,null);t["a"]=c.exports},"6db5":function(e,t,s){"use strict";(function(e){s("c5f6");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var s=e("#framediv"),r=s.get()[0],a=window.innerHeight-r.offsetTop-t.advalue;t.frameHeight=a,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,s("1157"))},"87dc":function(e,t,s){"use strict";var r=s("01e7"),a=s.n(r);a.a},b228:function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"brand_content"},[s("div",{staticClass:"brand_header"},[s("span",{on:{click:e.goBack}},[s("Icon",{attrs:{type:"md-arrow-back",size:"18",color:"#1890FF"}})],1),s("span",[e._v("检索上传")])]),s("PageSpace",[s("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"search",metaName:"search_info",packageName:"trademark",tblheight:e.adjustHeight-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}})],1),s("editForm",{ref:"ed",on:{onrefselect:e.refresh}})],1)},a=[],i=(s("c1df"),s("7e1e")),n=s("c276"),o=s("06d3"),c=s("391e"),f=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("Modal",{attrs:{title:"","ok-text":"发布","cancel-text":"取消"},on:{"on-ok":e.okselects},model:{value:e.isshowref,callback:function(t){e.isshowref=t},expression:"isshowref"}},[s("Forms",{ref:"forminfo",staticStyle:{height:"100%"},attrs:{fminfo:e.forminfo,isSearchForm:!1}})],1)],1)},l=[],u=(s("7f7f"),s("0086")),d={name:"reftable_window",data:function(){return{item:{},isshowref:!1,forminfo:{name:"",main:[{title:"",cols:1,ctls:[{type:"input",label:"设置价格",prop:"business_quoted_price",style:"width:80%",rules:[{required:!0,message:"请设置价格",trigger:"blur"},{pattern:/^[+]{0,1}(\d+)$/,message:"格式不正确",trigger:"blur"}]},{type:"input",label:"联系人",prop:"contacts",style:"width:80%",rules:[{required:!0,message:"请填写联系人",trigger:"blur"}]},{type:"input",label:"联系电话",prop:"mobile",style:"width:80%",rules:[{required:!0,message:"请填写联系电话",trigger:"blur"},{pattern:/^1[3456789]\d{9}$/,message:"手机号码格式不正确",trigger:"blur"}]}]}]}}},props:[],components:{BizTable:o["a"],Forms:u["a"]},mounted:function(){},methods:{showrefwindow:function(e){this.item=e,this.isshowref=!0,this.$refs.forminfo.resetForm()},okselects:function(){var e=this;this.$refs.forminfo.validate((function(t){if(t){var s=e.item.map((function(t){return t.business_quoted_price=e.$refs.forminfo.formModel.business_quoted_price,t.contacts=e.$refs.forminfo.formModel.contacts,t.mobile=e.$refs.forminfo.formModel.mobile,t.channel_name=e.$store.state.user.userobj.company.name,t.channel_code=e.$store.state.user.userobj.company.id,t.execlName=t.sbmc,Object(n["b"])(t)}));Object(i["f"])("/web/trademark/trademarkCtl/publish",s).then((function(t){0==t.data.status?e.$Message.success(t.data.msg):e.$Message.error(t.data.msg)}))}else e.isshowref=!0})),this.$emit("onrefselect")}}},h=d,m=s("2877"),b=Object(m["a"])(h,f,l,!1,null,null,null),g=b.exports,p=s("0139"),w=s.n(p),v={components:{BizTable:o["a"],PageSpace:c["a"],editForm:g},data:function(){return{selectnumber:0,checked:!1,placeholder:w.a}},methods:{goBack:function(){this.$router.go(-1)},onexec:function(e,t){var s=this;"bulkpublish"===e?0===this.$refs.bt.currentSels.length?this.$Message.warning("请选择要发布的商标"):this.$refs.ed.showrefwindow(this.$refs.bt.currentSels):"publish"===e&&this.$refs.bt.$refs.edform.validate((function(e){if(e){var r=[Object(n["b"])(t)];Object(i["f"])("/web/trademark/trademarkCtl/publish",r).then((function(e){0==e.data.status?(s.$refs.bt.fetchData(s.$refs.bt.searchModel),s.$Message.success(e.data.msg)):s.$Message.error(e.data.msg)}))}}))},formatCol:function(e,t,s){var r=e[t];return"logo"===t?'<img style="width: 100%;height: 100%" src="'.concat(e[t]||w.a,'"/>'):r},refresh:function(){this.$refs.bt.fetchData(this.$refs.bt.searchModel)},checkchange:function(){this.checked=!this.checked,this.$refs.bt.handleSelectAll(this.checked)}},mounted:function(){},watch:{}},$=v,k=(s("87dc"),Object(m["a"])($,r,a,!1,null,"81fa80b4",null));t["default"]=k.exports}}]);