(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-52fa27db"],{1397:function(t,e,a){},3220:function(t,e,a){"use strict";a("1397")},"8bbf":function(t,e,a){"use strict";a.d(e,"h",(function(){return o})),a.d(e,"k",(function(){return r})),a.d(e,"f",(function(){return i})),a.d(e,"n",(function(){return l})),a.d(e,"d",(function(){return c})),a.d(e,"c",(function(){return s})),a.d(e,"o",(function(){return u})),a.d(e,"m",(function(){return d})),a.d(e,"l",(function(){return p})),a.d(e,"e",(function(){return m})),a.d(e,"g",(function(){return f})),a.d(e,"i",(function(){return h})),a.d(e,"b",(function(){return b})),a.d(e,"a",(function(){return g})),a.d(e,"j",(function(){return v}));var n=a("b775");function o(){return Object(n["a"])({url:"/admin/platform/pay/component/register/register/check",method:"get"})}function r(t){return Object(n["a"])({url:"/admin/platform/pay/component/register/apply",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/admin/platform/pay/component/draftproduct/draft/list",method:"get",params:t})}function l(t){return Object(n["a"])({url:"/admin/platform/pay/component/product/list",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/admin/platform/pay/component/cat/get/list",method:"get",params:t})}function s(t){return Object(n["a"])({url:"/admin/platform/pay/component/shop/category/audit",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/admin/pay/component/product/listing/".concat(t),method:"post"})}function d(t){return Object(n["a"])({url:"/admin/pay/component/product/delisting/".concat(t),method:"post"})}function p(t){return Object(n["a"])({url:"/admin/pay/component/product/delete/".concat(t),method:"post"})}function m(t){return Object(n["a"])({url:"/admin/platform/pay/component/draftproduct/draft/get/".concat(t),method:"get"})}function f(t){return Object(n["a"])({url:"/admin/platform/pay/component/draftproduct/review",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/admin/platform/pay/component/shop/img/upload",method:"post",data:t})}function b(t){return Object(n["a"])({url:"/admin/platform/pay/component/shop/brand/list",method:"get",data:t})}function g(t){return Object(n["a"])({url:"/admin/platform/pay/component/shop/audit/result",method:"post",data:t})}function v(t){return Object(n["a"])({url:"/admin/platform/pay/component/shop/brand/audit",method:"post",data:t})}},d884:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["platform:pay:component:product:list"],expression:"['platform:pay:component:product:list']"}],staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"container"},[a("el-form",{attrs:{inline:""}},[a("el-form-item",{attrs:{label:"商品ID:"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品ID"},model:{value:t.tableFrom.proId,callback:function(e){t.$set(t.tableFrom,"proId","string"===typeof e?e.trim():e)},expression:"tableFrom.proId"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商品名称:"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称",clearable:""},model:{value:t.tableFrom.search,callback:function(e){t.$set(t.tableFrom,"search","string"===typeof e?e.trim():e)},expression:"tableFrom.search"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1)],1)],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","header-cell-style":{fontWeight:"bold"}}},[a("el-table-column",{attrs:{prop:"id",label:"ID","min-width":"50"}}),t._v(" "),a("el-table-column",{attrs:{label:"名称",prop:"title","min-width":"300"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-popover",{attrs:{trigger:"hover",placement:"right","open-delay":800}},[a("div",{staticClass:"text_overflow",attrs:{slot:"reference"},slot:"reference"},[t._v(t._s(e.row.title))]),t._v(" "),a("div",{staticClass:"pup_card"},[t._v(t._s(e.row.title))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"商品图片","min-width":"80",align:"center"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:JSON.parse(t.row.headImg)[0],"preview-src-list":JSON.parse(t.row.headImg)}})],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"componentProductId",label:"视频号商品ID","min-width":"150",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"类目","min-width":"150",prop:"thirdCatName",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"获得积分",prop:"giveIntegral","min-width":"100",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"sales",label:"销量","min-width":"90",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"库存","min-width":"90",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"sales",label:"状态","min-width":"90",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("videoStatusFilter")(e.row.status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间",prop:"createTime","min-width":"150"}})],1),t._v(" "),a("div",{staticClass:"block mb20"},[a("el-pagination",{attrs:{"page-sizes":[10,20,30,40],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},o=[],r=a("8bbf"),i=a("e350"),l={name:"videoList",data:function(){return{listLoading:!1,tableData:{data:[],total:0},tableFrom:{page:1,limit:20,proId:"",search:""}}},mounted:function(){Object(i["a"])(["platform:pay:component:product:list"])&&this.getList()},methods:{checkPermi:i["a"],upChange:function(t){var e=this;Object(r["o"])(t).then((function(){e.$message.success("上架成功"),e.getList()}))},downChange:function(t){var e=this;Object(r["m"])(t).then((function(){e.$message.success("下架成功"),e.getList()}))},handleDelete:function(t,e){var a=this;this.$modalSure("删除吗?此操作不可逆,请谨慎操作!").then((function(){Object(r["l"])(t).then((function(){a.$message.success("删除成功"),a.tableData.data.splice(e,1)}))}))},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(r["n"])(this.tableFrom).then((function(t){e.tableData.data=t.list,e.tableData.total=t.total,e.listLoading=!1})).catch((function(t){e.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()}}},c=l,s=(a("3220"),a("2877")),u=Object(s["a"])(c,n,o,!1,null,"662ad284",null);e["default"]=u.exports}}]);