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.9 KiB
1 lines
8.9 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2edc1ff1"],{"09a3":function(t,n,e){},"1b28":function(t,n,e){"use strict";e("09a3")},8492:function(t,n,e){"use strict";e.d(n,"M",(function(){return u})),e.d(n,"K",(function(){return a})),e.d(n,"N",(function(){return c})),e.d(n,"L",(function(){return o})),e.d(n,"I",(function(){return i})),e.d(n,"G",(function(){return s})),e.d(n,"E",(function(){return f})),e.d(n,"T",(function(){return d})),e.d(n,"F",(function(){return m})),e.d(n,"Q",(function(){return l})),e.d(n,"P",(function(){return g})),e.d(n,"g",(function(){return h})),e.d(n,"e",(function(){return p})),e.d(n,"h",(function(){return y})),e.d(n,"f",(function(){return b})),e.d(n,"C",(function(){return _})),e.d(n,"U",(function(){return v})),e.d(n,"X",(function(){return w})),e.d(n,"W",(function(){return k})),e.d(n,"V",(function(){return L})),e.d(n,"J",(function(){return x})),e.d(n,"q",(function(){return C})),e.d(n,"d",(function(){return D})),e.d(n,"p",(function(){return z})),e.d(n,"r",(function(){return S})),e.d(n,"i",(function(){return $})),e.d(n,"n",(function(){return j})),e.d(n,"o",(function(){return O})),e.d(n,"l",(function(){return F})),e.d(n,"fb",(function(){return A})),e.d(n,"H",(function(){return E})),e.d(n,"D",(function(){return N})),e.d(n,"bb",(function(){return J})),e.d(n,"db",(function(){return M})),e.d(n,"ab",(function(){return B})),e.d(n,"eb",(function(){return K})),e.d(n,"cb",(function(){return P})),e.d(n,"S",(function(){return q})),e.d(n,"R",(function(){return G})),e.d(n,"m",(function(){return H})),e.d(n,"k",(function(){return I})),e.d(n,"j",(function(){return Q})),e.d(n,"c",(function(){return R})),e.d(n,"a",(function(){return T})),e.d(n,"b",(function(){return U})),e.d(n,"Y",(function(){return V})),e.d(n,"Z",(function(){return W})),e.d(n,"s",(function(){return X})),e.d(n,"w",(function(){return Y})),e.d(n,"v",(function(){return Z})),e.d(n,"x",(function(){return tt})),e.d(n,"z",(function(){return nt})),e.d(n,"B",(function(){return et})),e.d(n,"A",(function(){return rt})),e.d(n,"y",(function(){return ut})),e.d(n,"u",(function(){return at})),e.d(n,"t",(function(){return ct})),e.d(n,"O",(function(){return ot}));var r=e("0c6d");function u(t){return r["a"].get("merchant/menu/lst",t)}function a(){return r["a"].get("merchant/menu/create/form")}function c(t){return r["a"].get("merchant/menu/update/form/".concat(t))}function o(t){return r["a"].delete("merchant/menu/delete/".concat(t))}function i(t){return r["a"].get("system/merchant/lst",t)}function s(t){return r["a"].get("system/merchant/detail/".concat(t))}function f(t){return r["a"].post("system/merchant/create",t)}function d(t,n){return r["a"].post("system/merchant/update/".concat(t),n)}function m(t){return r["a"].get("system/merchant/delete/".concat(t,"/form"))}function l(t,n){return r["a"].post("system/merchant/status/".concat(t),{status:n})}function g(t){return r["a"].get("system/merchant/password/form/".concat(t))}function h(t){return r["a"].get("system/merchant/category/lst",t)}function p(){return r["a"].get("system/merchant/category/form")}function y(t){return r["a"].get("system/merchant/category/form/".concat(t))}function b(t){return r["a"].delete("system/merchant/category/".concat(t))}function _(t,n){return r["a"].get("merchant/order/lst/".concat(t),n)}function v(t){return r["a"].get("merchant/order/mark/".concat(t,"/form"))}function w(t,n){return r["a"].get("merchant/order/refund/lst/".concat(t),n)}function k(t){return r["a"].get("merchant/order/refund/mark/".concat(t,"/form"))}function L(t,n){return r["a"].post("merchant/order/reconciliation/create/".concat(t),n)}function x(t){return r["a"].post("system/merchant/login/".concat(t))}function C(t){return r["a"].get("merchant/intention/lst",t)}function D(t){return r["a"].get("merchant/intention/mark/".concat(t,"/form"))}function z(t){return r["a"].delete("merchant/intention/delete/".concat(t))}function S(t){return r["a"].get("merchant/intention/status/".concat(t,"/form"))}function $(t){return r["a"].get("system/merchant/changecopy/".concat(t,"/form"))}function j(){return r["a"].get("agreement/sys_intention_agree")}function O(t){return r["a"].post("agreement/sys_intention_agree",t)}function F(t){return r["a"].get("agreement/".concat(t))}function A(t,n){return r["a"].post("agreement/".concat(t),n)}function E(t,n){return r["a"].post("system/merchant/close/".concat(t),{status:n})}function N(){return r["a"].get("system/merchant/count")}function J(t){return r["a"].post("merchant/type/create",t)}function M(t){return r["a"].get("merchant/type/lst",t)}function B(){return r["a"].get("merchant/mer_auth")}function K(t,n){return r["a"].post("merchant/type/update/".concat(t),n)}function P(t){return r["a"].delete("merchant/type/delete/".concat(t))}function q(t){return r["a"].get("merchant/type/mark/".concat(t))}function G(t){return r["a"].get("/merchant/type/detail/".concat(t))}function H(){return r["a"].get("merchant/type/options")}function I(){return r["a"].get("system/merchant/category/options")}function Q(t){return r["a"].get("system/applyments/lst",t)}function R(t,n){return r["a"].post("system/applyments/status/".concat(t),n)}function T(t){return r["a"].get("system/applyments/detail/".concat(t))}function U(t){return r["a"].get("profitsharing/lst",t)}function V(t){return r["a"].post("profitsharing/again/".concat(t))}function W(t){return r["a"].get("system/applyments/mark/".concat(t,"/form"))}function X(t){return r["a"].get("profitsharing/export",t)}function Y(t){return r["a"].get("margin/lst",t)}function Z(t){return r["a"].get("margin/make_up",t)}function tt(t){return r["a"].get("margin/local/".concat(t,"/form"))}function nt(t){return r["a"].get("margin/refund/lst",t)}function et(t){return r["a"].get("margin/refund/status/".concat(t,"/form"))}function rt(t){return r["a"].get("margin/refund/mark/".concat(t,"/form"))}function ut(t){return r["a"].get("margin/refund/show/".concat(t))}function at(t,n){return r["a"].get("margin/list/".concat(t),n)}function ct(t){return r["a"].get("margin/set/".concat(t,"/form"))}function ot(t,n){return r["a"].get("system/merchant/get_operate_list/".concat(t),n)}},"8dbb":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("el-card",[e("div",{staticClass:"mb20"},[e("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(n){return t.onAdd(0)}}},[t._v("添加菜单")])],1),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small","row-key":"menu_id","default-expand-all":!1,"tree-props":{children:"children",hasChildren:"hasChildren"}}},[e("el-table-column",{attrs:{label:"菜单名称","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.menu_name+" [ "+n.row.menu_id+" ]"))])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"route",label:"菜单地址","min-width":"150"}}),t._v(" "),e("el-table-column",{attrs:{label:"菜单图标","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("div",{staticClass:"listPic"},[e("i",{class:"el-icon-"+t.row.icon,staticStyle:{"font-size":"20px"}})])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"create_time",label:"创建时间","min-width":"150"}}),t._v(" "),e("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-button",{attrs:{type:"text",size:"small",disabled:t.isChecked},on:{click:function(e){return t.onAdd(n.row.menu_id)}}},[t._v("添加子菜单")]),t._v(" "),e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.onEdit(n.row.menu_id)}}},[t._v("编辑")]),t._v(" "),e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handleDelete(n.row.menu_id,n.$index)}}},[t._v("删除")])]}}])})],1)],1)],1)},u=[],a=(e("c5f6"),e("8492")),c={name:"MerchantSystem",data:function(){return{isChecked:!1,listLoading:!0,tableData:{data:[],total:0},tableFrom:{page:1,limit:20}}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(a["M"])(this.tableFrom).then((function(n){t.tableData.data=n.data.list,t.tableData.total=n.data.count,t.listLoading=!1})).catch((function(n){t.listLoading=!1,t.$message.error(n.message)}))},pageChange:function(t){this.tableData.page=t,this.getList()},handleSizeChange:function(t){this.tableData.limit=t,this.getList()},onAdd:function(t){var n=this,e={};Number(t)>0&&(e.formData={pid:t}),this.$modalForm(Object(a["K"])(),e).then((function(){return n.getList()}))},onEdit:function(t){var n=this;this.$modalForm(Object(a["N"])(t)).then((function(){return n.getList()}))},handleDelete:function(t){var n=this;this.$modalSure().then((function(){Object(a["L"])(t).then((function(t){var e=t.message;n.$message.success(e),n.getList()})).catch((function(t){var e=t.message;n.$message.error(e)}))}))}}},o=c,i=(e("1b28"),e("2877")),s=Object(i["a"])(o,r,u,!1,null,"964ed0d2",null);n["default"]=s.exports}}]); |