You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
8.7 KiB
1 lines
8.7 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-016a1717"],{"0e2a":function(t,e,n){"use strict";n("138b")},"138b":function(t,e,n){},"5bf3":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"filter-container"},[n("div",{staticClass:"demo-input-suffix acea-row"},[n("el-form",{attrs:{inline:"",size:"small"}},[n("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:"商户名称:"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){t.getList(1),t.getCardList()}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return n("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1)],1)],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"small"}},[n("el-table-column",{attrs:{label:"序号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"mer_name",label:"商户名称","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"copy_product_num",label:"复制商品剩余次数","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"export_dump_num",label:"电子面单剩余次数","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"购买时间","min-width":"180"}})],1),t._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"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)},a=[],i=n("90e7"),u=n("c4c8"),o=n("e572"),c={name:"serviceSetting",data:function(){return{smsAccount:"tangkai",imgUrl:n("c7de"),headeNum:[{type:1,title:"平台购买记录"},{type:2,title:"商户购买记录"}],purchaseList:[{name:"短信",type:1},{name:"电子面单",type:2},{name:"商品采集",type:3},{name:"物流查询",type:4}],merSelect:[],listLoading:!0,tableData:{data:[],total:0},fromList:o["a"],timeVal:[],fullscreenLoading:!1,tableFrom:{page:1,limit:20,way:"1",type:"",mer_id:"",keyword:"",date:""}}},mounted:function(){this.getList(""),this.getMerSelect()},methods:{selectChange:function(t){this.tableFrom.date=t,this.tableFrom.page=1,this.timeVal=[],this.getList(1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList(1)},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["y"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(1)},getMerSelect:function(){var t=this;Object(u["P"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))}}},s=c,l=(n("0e2a"),n("2877")),f=Object(l["a"])(s,r,a,!1,null,"e67e62a0",null);e["default"]=f.exports},"90e7":function(t,e,n){"use strict";n.d(e,"x",(function(){return a})),n.d(e,"H",(function(){return i})),n.d(e,"K",(function(){return u})),n.d(e,"I",(function(){return o})),n.d(e,"J",(function(){return c})),n.d(e,"e",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"i",(function(){return f})),n.d(e,"d",(function(){return d})),n.d(e,"h",(function(){return m})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return p})),n.d(e,"u",(function(){return v})),n.d(e,"L",(function(){return h})),n.d(e,"S",(function(){return b})),n.d(e,"w",(function(){return y})),n.d(e,"n",(function(){return _})),n.d(e,"D",(function(){return x})),n.d(e,"T",(function(){return w})),n.d(e,"P",(function(){return L})),n.d(e,"O",(function(){return F})),n.d(e,"N",(function(){return C})),n.d(e,"p",(function(){return k})),n.d(e,"q",(function(){return S})),n.d(e,"l",(function(){return z})),n.d(e,"Q",(function(){return j})),n.d(e,"m",(function(){return D})),n.d(e,"M",(function(){return V})),n.d(e,"s",(function(){return $})),n.d(e,"Z",(function(){return O})),n.d(e,"b",(function(){return T})),n.d(e,"j",(function(){return J})),n.d(e,"k",(function(){return M})),n.d(e,"Y",(function(){return N})),n.d(e,"o",(function(){return A})),n.d(e,"G",(function(){return B})),n.d(e,"F",(function(){return E})),n.d(e,"y",(function(){return P})),n.d(e,"A",(function(){return U})),n.d(e,"a",(function(){return q})),n.d(e,"B",(function(){return G})),n.d(e,"z",(function(){return H})),n.d(e,"C",(function(){return I})),n.d(e,"U",(function(){return K})),n.d(e,"V",(function(){return Q})),n.d(e,"t",(function(){return R})),n.d(e,"R",(function(){return W})),n.d(e,"v",(function(){return Y})),n.d(e,"r",(function(){return Z})),n.d(e,"E",(function(){return X}));var r=n("0c6d");function a(t){return r["a"].get("system/role/lst",t)}function i(){return r["a"].get("system/role/create/form")}function u(t){return r["a"].get("system/role/update/form/".concat(t))}function o(t){return r["a"].delete("system/role/delete/".concat(t))}function c(t,e){return r["a"].post("system/role/status/".concat(t),{status:e})}function s(t){return r["a"].get("system/admin/lst",t)}function l(){return r["a"].get("/system/admin/create/form")}function f(t){return r["a"].get("system/admin/update/form/".concat(t))}function d(t){return r["a"].delete("system/admin/delete/".concat(t))}function m(t,e){return r["a"].post("system/admin/status/".concat(t),{status:e})}function g(t){return r["a"].get("system/admin/password/form/".concat(t))}function p(t){return r["a"].get("system/admin/log",t)}function v(){return r["a"].get("serve/user/is_login")}function h(){return r["a"].get("serve/user/info")}function b(t){return r["a"].get("serve/mealList/".concat(t))}function y(){return r["a"].get("sms/logout")}function _(t){return r["a"].post("serve/login",t)}function x(t){return r["a"].get("serve/paymeal",t)}function w(t){return r["a"].get("sms/record",t)}function L(t){return r["a"].get("serve/record",t)}function F(t){return r["a"].get("serve/us_lst",t)}function C(t){return r["a"].post("serve/open",t)}function k(){return r["a"].get("serve/expr/lst")}function S(t){return r["a"].get("serve/expr/temps",t)}function z(t){return r["a"].get("serve/captcha/".concat(t))}function j(t){return r["a"].post("serve/change_sign",t)}function D(t){return r["a"].post("serve/captcha",t)}function V(t){return r["a"].post("serve/change_password",t)}function $(){return r["a"].get("serve/config")}function O(t){return r["a"].post("serve/config",t)}function T(){return r["a"].get("serve/meal/create/form")}function J(t){return r["a"].get("serve/meal/lst",t)}function M(t,e){return r["a"].post("serve/meal/status/".concat(t),e)}function N(t){return r["a"].get("serve/meal/update/".concat(t,"/form"))}function A(t){return r["a"].delete("serve/meal/detele/".concat(t))}function B(t){return r["a"].get("serve/paylst",t)}function E(t){return r["a"].get("serve/mer/paylst",t)}function P(t){return r["a"].get("serve/mer/lst",t)}function U(t){return r["a"].get("notice/config/lst",t)}function q(){return r["a"].get("notice/config/create/form")}function G(t){return r["a"].get("notice/config/update/".concat(t,"/form"))}function H(t){return r["a"].get("notice/config/change/".concat(t,"/form"))}function I(t,e){return r["a"].post("notice/config/status/".concat(t),e)}function K(){return r["a"].get("wechat/template/min/sync")}function Q(){return r["a"].get("wechat/template/sync")}function R(){return r["a"].get("change/color")}function W(t){return r["a"].post("change/color",t)}function Y(){return r["a"].get("agreement/keylst")}function Z(t){return r["a"].get("agreement/".concat(t))}function X(t,e){return r["a"].post("agreement/".concat(t),e)}},c7de:function(t,e,n){t.exports=n.p+"system/img/ren.c7bc0d99.png"},e572:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i}));var r=[{label:"开启",value:1},{label:"关闭",value:0}],a={title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},i={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}}}]); |