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.
 
 
 
 
 
crmeb_php/public/system/js/chunk-69e6a846.11211540.js

1 lines
11 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69e6a846"],{"6e3a":function(t,e,n){"use strict";n("a06f")},"90e7":function(t,e,n){"use strict";n.d(e,"x",(function(){return a})),n.d(e,"H",(function(){return o})),n.d(e,"K",(function(){return i})),n.d(e,"I",(function(){return u})),n.d(e,"J",(function(){return s})),n.d(e,"e",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"i",(function(){return f})),n.d(e,"d",(function(){return m})),n.d(e,"h",(function(){return d})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return p})),n.d(e,"u",(function(){return b})),n.d(e,"L",(function(){return h})),n.d(e,"S",(function(){return v})),n.d(e,"w",(function(){return y})),n.d(e,"n",(function(){return _})),n.d(e,"D",(function(){return F})),n.d(e,"T",(function(){return x})),n.d(e,"P",(function(){return w})),n.d(e,"O",(function(){return k})),n.d(e,"N",(function(){return L})),n.d(e,"p",(function(){return C})),n.d(e,"q",(function(){return S})),n.d(e,"l",(function(){return z})),n.d(e,"Q",(function(){return $})),n.d(e,"m",(function(){return D})),n.d(e,"M",(function(){return V})),n.d(e,"s",(function(){return j})),n.d(e,"Z",(function(){return M})),n.d(e,"b",(function(){return T})),n.d(e,"j",(function(){return O})),n.d(e,"k",(function(){return N})),n.d(e,"Y",(function(){return P})),n.d(e,"o",(function(){return J})),n.d(e,"G",(function(){return A})),n.d(e,"F",(function(){return B})),n.d(e,"y",(function(){return E})),n.d(e,"A",(function(){return G})),n.d(e,"a",(function(){return U})),n.d(e,"B",(function(){return W})),n.d(e,"z",(function(){return q})),n.d(e,"C",(function(){return H})),n.d(e,"U",(function(){return I})),n.d(e,"V",(function(){return K})),n.d(e,"t",(function(){return Q})),n.d(e,"R",(function(){return R})),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 o(){return r["a"].get("system/role/create/form")}function i(t){return r["a"].get("system/role/update/form/".concat(t))}function u(t){return r["a"].delete("system/role/delete/".concat(t))}function s(t,e){return r["a"].post("system/role/status/".concat(t),{status:e})}function c(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 m(t){return r["a"].delete("system/admin/delete/".concat(t))}function d(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 b(){return r["a"].get("serve/user/is_login")}function h(){return r["a"].get("serve/user/info")}function v(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 F(t){return r["a"].get("serve/paymeal",t)}function x(t){return r["a"].get("sms/record",t)}function w(t){return r["a"].get("serve/record",t)}function k(t){return r["a"].get("serve/us_lst",t)}function L(t){return r["a"].post("serve/open",t)}function C(){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 $(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 j(){return r["a"].get("serve/config")}function M(t){return r["a"].post("serve/config",t)}function T(){return r["a"].get("serve/meal/create/form")}function O(t){return r["a"].get("serve/meal/lst",t)}function N(t,e){return r["a"].post("serve/meal/status/".concat(t),e)}function P(t){return r["a"].get("serve/meal/update/".concat(t,"/form"))}function J(t){return r["a"].delete("serve/meal/detele/".concat(t))}function A(t){return r["a"].get("serve/paylst",t)}function B(t){return r["a"].get("serve/mer/paylst",t)}function E(t){return r["a"].get("serve/mer/lst",t)}function G(t){return r["a"].get("notice/config/lst",t)}function U(){return r["a"].get("notice/config/create/form")}function W(t){return r["a"].get("notice/config/update/".concat(t,"/form"))}function q(t){return r["a"].get("notice/config/change/".concat(t,"/form"))}function H(t,e){return r["a"].post("notice/config/status/".concat(t),e)}function I(){return r["a"].get("wechat/template/min/sync")}function K(){return r["a"].get("wechat/template/sync")}function Q(){return r["a"].get("change/color")}function R(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)}},a06f:function(t,e,n){},c7de:function(t,e,n){t.exports=n.p+"system/img/ren.c7bc0d99.png"},cef9: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("el-tabs",{on:{"tab-click":function(e){return t.getList(1)}},model:{value:t.tableFrom.sys,callback:function(e){t.$set(t.tableFrom,"sys",e)},expression:"tableFrom.sys"}},t._l(t.headeNum,(function(t,e){return n("el-tab-pane",{key:e,attrs:{name:t.type.toString(),label:t.title}})})),1),t._v(" "),n("div",{staticClass:"demo-input-suffix acea-row"},[0==t.tableFrom.sys?n("el-form",{attrs:{inline:"",size:"small"}},[n("el-form-item",{attrs:{label:"时间选择:"}},[n("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,r){return n("el-radio-button",{key:r,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),n("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"购买类型:"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.purchaseList,(function(t){return n("el-option",{key:t.type,attrs:{label:t.name,value:t.type}})})),1)],1),t._v(" "),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):t._e()],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(" "),0==t.tableFrom.sys?n("el-table-column",{key:"1",attrs:{prop:"merchant.mer_name",label:"商户名称","min-width":"150"}}):t._e(),t._v(" "),n("el-table-column",{attrs:{label:"购买记录","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.order_info&&0==t.tableFrom.sys?n("span",[t._v(t._s(e.row.order_info.price)+"元 / "+t._s(e.row.order_info.num)+"次")]):t._e(),t._v(" "),1==t.tableFrom.sys?n("span",[t._v(t._s(e.row.mark))]):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"购买类型","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==t.tableFrom.sys?n("span",[t._v(t._s(t._f("purchaseType")(e.row.type)))]):0==t.tableFrom.sys?n("span",[t._v(t._s(1==e.row.type?"商品采集":"电子面单"))]):t._e()]}}])}),t._v(" "),1==t.tableFrom.sys?n("el-table-column",{key:"4",attrs:{prop:"add_time",label:"购买时间","min-width":"180"}}):t._e()],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=[],o=n("90e7"),i=n("c4c8"),u=n("e572"),s=n("83d6"),c={name:"serviceSetting",data:function(){return{smsAccount:"tangkai",imgUrl:n("c7de"),headeNum:[{type:1,title:"平台购买记录"},{type:0,title:"商户购买记录"}],purchaseList:[{name:"商品采集",type:1},{name:"电子面单",type:2}],merSelect:[],listLoading:!0,tableData:{data:[],total:0},fromList:u["a"],timeVal:[],fullscreenLoading:!1,tableFrom:{page:1,limit:20,sys:"1",type:"",mer_id:"",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,"1"==this.tableFrom.sys?Object(o["G"])(this.tableFrom).then((function(t){e.tableData.data=t.data.data,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message),e.$router.push(s["roterPre"]+"/setting/sms/sms_config/index")})):Object(o["F"])(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),e.$router.push(s["roterPre"]+"/setting/sms/sms_config/index")}))},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(i["P"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))}}},l=c,f=(n("6e3a"),n("2877")),m=Object(f["a"])(l,r,a,!1,null,"3856b50c",null);e["default"]=m.exports},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 o}));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"}]},o={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}}}]);