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
14 KiB
1 lines
14 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f5ed2050"],{6953:function(t,e,n){"use strict";n("ab63")},8492:function(t,e,n){"use strict";n.d(e,"J",(function(){return a})),n.d(e,"H",(function(){return o})),n.d(e,"K",(function(){return i})),n.d(e,"I",(function(){return c})),n.d(e,"F",(function(){return u})),n.d(e,"C",(function(){return s})),n.d(e,"P",(function(){return l})),n.d(e,"D",(function(){return m})),n.d(e,"M",(function(){return f})),n.d(e,"L",(function(){return d})),n.d(e,"g",(function(){return h})),n.d(e,"e",(function(){return g})),n.d(e,"h",(function(){return p})),n.d(e,"f",(function(){return b})),n.d(e,"A",(function(){return y})),n.d(e,"Q",(function(){return v})),n.d(e,"T",(function(){return _})),n.d(e,"S",(function(){return w})),n.d(e,"R",(function(){return k})),n.d(e,"G",(function(){return x})),n.d(e,"q",(function(){return F})),n.d(e,"d",(function(){return L})),n.d(e,"p",(function(){return C})),n.d(e,"r",(function(){return $})),n.d(e,"i",(function(){return z})),n.d(e,"n",(function(){return S})),n.d(e,"o",(function(){return T})),n.d(e,"l",(function(){return j})),n.d(e,"bb",(function(){return O})),n.d(e,"E",(function(){return D})),n.d(e,"B",(function(){return V})),n.d(e,"X",(function(){return q})),n.d(e,"Z",(function(){return M})),n.d(e,"W",(function(){return E})),n.d(e,"ab",(function(){return I})),n.d(e,"Y",(function(){return P})),n.d(e,"O",(function(){return W})),n.d(e,"N",(function(){return J})),n.d(e,"m",(function(){return A})),n.d(e,"k",(function(){return B})),n.d(e,"j",(function(){return N})),n.d(e,"c",(function(){return U})),n.d(e,"a",(function(){return G})),n.d(e,"b",(function(){return H})),n.d(e,"U",(function(){return K})),n.d(e,"V",(function(){return Q})),n.d(e,"s",(function(){return R})),n.d(e,"v",(function(){return X})),n.d(e,"x",(function(){return Y})),n.d(e,"z",(function(){return Z})),n.d(e,"y",(function(){return tt})),n.d(e,"w",(function(){return et})),n.d(e,"u",(function(){return nt})),n.d(e,"t",(function(){return rt}));var r=n("0c6d");function a(t){return r["a"].get("merchant/menu/lst",t)}function o(){return r["a"].get("merchant/menu/create/form")}function i(t){return r["a"].get("merchant/menu/update/form/".concat(t))}function c(t){return r["a"].delete("merchant/menu/delete/".concat(t))}function u(t){return r["a"].get("system/merchant/lst",t)}function s(){return r["a"].get("system/merchant/create/form")}function l(t){return r["a"].get("system/merchant/update/form/".concat(t))}function m(t){return r["a"].delete("system/merchant/delete/".concat(t))}function f(t,e){return r["a"].post("system/merchant/status/".concat(t),{status:e})}function d(t){return r["a"].get("system/merchant/password/form/".concat(t))}function h(t){return r["a"].get("system/merchant/category/lst",t)}function g(){return r["a"].get("system/merchant/category/form")}function p(t){return r["a"].get("system/merchant/category/form/".concat(t))}function b(t){return r["a"].delete("system/merchant/category/".concat(t))}function y(t,e){return r["a"].get("merchant/order/lst/".concat(t),e)}function v(t){return r["a"].get("merchant/order/mark/".concat(t,"/form"))}function _(t,e){return r["a"].get("merchant/order/refund/lst/".concat(t),e)}function w(t){return r["a"].get("merchant/order/refund/mark/".concat(t,"/form"))}function k(t,e){return r["a"].post("merchant/order/reconciliation/create/".concat(t),e)}function x(t){return r["a"].post("system/merchant/login/".concat(t))}function F(t){return r["a"].get("merchant/intention/lst",t)}function L(t){return r["a"].get("merchant/intention/mark/".concat(t,"/form"))}function C(t){return r["a"].delete("merchant/intention/delete/".concat(t))}function $(t){return r["a"].get("merchant/intention/status/".concat(t,"/form"))}function z(t){return r["a"].get("system/merchant/changecopy/".concat(t,"/form"))}function S(){return r["a"].get("agreement/sys_intention_agree")}function T(t){return r["a"].post("agreement/sys_intention_agree",t)}function j(t){return r["a"].get("agreement/".concat(t))}function O(t,e){return r["a"].post("agreement/".concat(t),e)}function D(t,e){return r["a"].post("system/merchant/close/".concat(t),{status:e})}function V(){return r["a"].get("system/merchant/count")}function q(t){return r["a"].post("merchant/type/create",t)}function M(t){return r["a"].get("merchant/type/lst",t)}function E(){return r["a"].get("merchant/mer_auth")}function I(t,e){return r["a"].post("merchant/type/update/".concat(t),e)}function P(t){return r["a"].delete("merchant/type/delete/".concat(t))}function W(t){return r["a"].get("merchant/type/mark/".concat(t))}function J(t){return r["a"].get("/merchant/type/detail/".concat(t))}function A(){return r["a"].get("merchant/type/options")}function B(){return r["a"].get("system/merchant/category/options")}function N(t){return r["a"].get("system/applyments/lst",t)}function U(t,e){return r["a"].post("system/applyments/status/".concat(t),e)}function G(t){return r["a"].get("system/applyments/detail/".concat(t))}function H(t){return r["a"].get("profitsharing/lst",t)}function K(t){return r["a"].post("profitsharing/again/".concat(t))}function Q(t){return r["a"].get("system/applyments/mark/".concat(t,"/form"))}function R(t){return r["a"].get("profitsharing/export",t)}function X(t){return r["a"].get("margin/lst",t)}function Y(t){return r["a"].get("margin/refund/lst",t)}function Z(t){return r["a"].get("margin/refund/status/".concat(t,"/form"))}function tt(t){return r["a"].get("margin/refund/mark/".concat(t,"/form"))}function et(t){return r["a"].get("margin/refund/show/".concat(t))}function nt(t,e){return r["a"].get("margin/list/".concat(t),e)}function rt(t){return r["a"].get("margin/set/".concat(t,"/form"))}},8770: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:"clearfix",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"container"},[n("el-form",{attrs:{size:"small","label-width":"100px",inline:!0}},[n("el-form-item",{staticStyle:{width:"100%"},attrs:{label:"选择时间:"}},[n("el-radio-group",{attrs:{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",{attrs:{type:"daterange",placeholder:"选择日期",format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","range-separator":"至","start-placeholder":"开始日期","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-radio-group",{attrs:{size:"small"},on:{change:function(e){return t.statusChange(t.tableFrom.status)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},t._l(t.statusList.fromTxt,(function(e,r){return n("el-radio-button",{key:r,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1)],1),t._v(" "),n("el-form-item",{attrs:{label:"商户分类:"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.category_id,callback:function(e){t.$set(t.tableFrom,"category_id",e)},expression:"tableFrom.category_id"}},t._l(t.merCateList,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),n("el-form-item",{attrs:{label:"店铺类型:"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.type_id,callback:function(e){t.$set(t.tableFrom,"type_id",e)},expression:"tableFrom.type_id"}},t._l(t.storeType,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),n("el-form-item",{attrs:{label:"关键字:"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商户名称关键字/联系电话"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}},[n("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1)],1)],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"switchTable",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[n("el-table-column",{attrs:{prop:"mer_intention_id",label:"ID","min-width":"60"}}),t._v(" "),n("el-table-column",{attrs:{prop:"mer_name",label:"商户名称","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"category_name",label:"商户分类","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"type_name",label:"店铺类型","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"商户姓名","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"phone",label:"联系方式","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"申请时间","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"资质图片","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"demo-image__preview"},t._l(e.row.images,(function(t,e){return n("el-image",{key:e,staticClass:"mr5",attrs:{src:t,"preview-src-list":[t]}})})),1)]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"状态","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.status?n("el-tag",{attrs:{type:"success"}},[t._v("通过")]):t._e(),t._v(" "),0==e.row.status?n("el-tag",{attrs:{type:"info"}},[t._v("未处理")]):t._e(),t._v(" "),2==e.row.status?n("el-tag",{attrs:{type:"warning"}},[t._v("未通过")]):t._e(),t._v(" "),2==e.row.status?n("div",[t._v("原因:"+t._s(e.row.fail_msg))]):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"mark",label:"备注","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{label:"操作","min-width":"280",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.status?n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.onchangeIsShow(e.row.mer_intention_id)}}},[t._v("审核")]):t._e(),t._v(" "),n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.onEdit(e.row.mer_intention_id)}}},[t._v("备注")]),t._v(" "),n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.handleDelete(e.row.mer_intention_id)}}},[t._v("删除")])]}}])})],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("8492"),i=(n("c4c8"),n("e572")),c=n("83d6"),u={name:"MerchantApplication",data:function(){return{props:{emitPath:!1},fromList:i["a"],statusList:i["b"],roterPre:c["roterPre"],isChecked:!1,listLoading:!0,merCateList:[],storeType:[],tableData:{data:[],total:0},tableFrom:{page:1,limit:20,date:"",status:this.$route.query.status?this.$route.query.status:"",keyword:"",mer_intention_id:this.$route.query.id?this.$route.query.id:"",category_id:"",type_id:""},mer_id:this.$route.query.id?this.$route.query.id:"",autoUpdate:!0,timeVal:[]}},watch:{mer_id:function(t,e){this.getList("")}},mounted:function(){this.getMerCategory(),this.getStoreType(),this.getList("")},methods:{selectChange:function(t){this.tableFrom.date=t,this.timeVal=[],this.tableFrom.page=1,this.getList("")},statusChange:function(t){this.tableFrom.status=t,this.tableFrom.page=1,this.getList("")},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=this.timeVal?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList("")},getMerCategory:function(){var t=this;Object(o["k"])().then((function(e){t.merCateList=e.data})).catch((function(e){t.$message.error(e.message)}))},getStoreType:function(){var t=this;Object(o["m"])().then((function(e){t.storeType=e.data})).catch((function(e){t.$message.error(e.message)}))},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(o["q"])(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)},onchangeIsShow:function(t){var e=this;this.$modalForm(Object(o["r"])(t)).then((function(){return e.getList("")}))},onEdit:function(t){var e=this;this.$modalForm(Object(o["d"])(t)).then((function(){return e.getList("")}))},handleDelete:function(t){var e=this;this.$deleteSure().then((function(){Object(o["p"])(t).then((function(t){var n=t.message;e.$message.success(n),e.getList("")})).catch((function(t){var n=t.message;e.$message.error(n)}))}))}}},s=u,l=(n("6953"),n("2877")),m=Object(l["a"])(s,r,a,!1,null,"49f32526",null);e["default"]=m.exports},ab63:function(t,e,n){},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"}]}}}]); |