|
|
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5cd0cb96"],{c3d3:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shop-list"},[n("x-crud",{on:{load:e.onLoad}})],1)},a=[],l=n("6abc"),c=(n("5b12"),n("9b5f"),n("5880")),i={data:function(){return{crud:null}},computed:Object(l["a"])({},Object(c["mapGetters"])(["shopInfo"])),methods:{onLoad:function(e){var t=this,n=e.ctx,o=e.app;this.crud=o,n.service({page:function(e){return t.$service.shop.list(e).then((function(t){return{list:t.list,pagination:{page:e.page,size:20,total:0}}}))}}).set("table",{columns:[{label:"ID",prop:"id",align:"center"},{label:"名称",prop:"shopName",align:"center"},{label:"营业时间",prop:"openTime",align:"center"},{label:"联系电话",prop:"telephone",align:"center"},{label:"累计收入",prop:"totalIncome",align:"center"},{label:"地址",prop:"fullAddress",align:"center"}],op:{visible:!0,props:{width:250,align:"center",fixed:"right",label:"操作"},layout:[]}}).set("layout",[["flex1","refresh-btn"],["data-table"]]).on("info",(function(e,t){var n=t.done;console.log(e),n(Object(l["a"])(Object(l["a"])({},e),{},{openTime:e.openTime.split("-"),provinceCity:[e.province,e.city]}))})).done(),o.refresh()}}},r=i,p=(n("fcea"),n("5d22")),s=Object(p["a"])(r,o,a,!1,null,"58257349",null);t["default"]=s.exports},fc29:function(e,t,n){},fcea:function(e,t,n){"use strict";n("fc29")}}]);
|