(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-71ca3d77"],{"48b4":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"brand_indentlist"},[a("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"trademark",metaName:"originmanage_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)},r=[],i=a("06d3"),o=a("c1df"),s=a.n(o),d=a("7e1e"),c={components:{BizTable:i["a"]},data:function(){return{}},mounted:function(){},methods:{onexec:function(e,t){var a=this;"detail"===e?this.$router.push({name:"originmanage_detail",query:{id:t.id}}):"down"===e?Object(d["f"])("/web/trademark/trademarkCtl/update",{id:t.id,publish_status:"lowershelf"}).then((function(e){a.$Message.success("发布成功"),a.$refs.bt.fetchData()})).catch((function(e){a.$Message.error("发布出错")})):"excel"===e?this.$router.push("/originmanage/originmanage_excelupload"):"search"===e&&this.$router.push("/originmanage/originmanage_brandsearch")},formatCol:function(e,t,a){var n=e[t];if("created_at"===t)n=s()(n).format("YYYY-MM-DD");else{if("pic_url"===t)return'<img style="width: 50px;height: 50px" src="'.concat(e[t],'"/>');"deadline"===t&&(n=s()(e["tm_start_day"]||0).format("YYYY-MM-DD")+"至"+s()(e["tm_end_day"]||0).format("YYYY-MM-DD"))}return n}}},f=c,u=(a("e33f"),a("2877")),l=Object(u["a"])(f,n,r,!1,null,"2f62bbaa",null);t["default"]=l.exports},9949:function(e,t,a){},e33f:function(e,t,a){"use strict";var n=a("9949"),r=a.n(n);r.a}}]);