启程易购后端代码
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.
 
 
 
 
 
 
qicheng_shop_backend/public/system/js/chunk-35fd7e40.7ad28470.js

1 lines
15 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35fd7e40"],{"0b65":function(t,e,n){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,n=new Date;n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[n,e])}},{text:"昨天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[n,e])}},{text:"最近7天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近30天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"本月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[n,e])}},{text:"本年",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[n,e])}}]}},"16f2":function(t,e,n){"use strict";n("8ec4")},8492:function(t,e,n){"use strict";n.d(e,"M",(function(){return a})),n.d(e,"K",(function(){return i})),n.d(e,"N",(function(){return o})),n.d(e,"L",(function(){return c})),n.d(e,"I",(function(){return u})),n.d(e,"G",(function(){return s})),n.d(e,"E",(function(){return l})),n.d(e,"T",(function(){return m})),n.d(e,"F",(function(){return f})),n.d(e,"Q",(function(){return d})),n.d(e,"P",(function(){return g})),n.d(e,"g",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"h",(function(){return b})),n.d(e,"f",(function(){return y})),n.d(e,"C",(function(){return v})),n.d(e,"U",(function(){return _})),n.d(e,"X",(function(){return w})),n.d(e,"W",(function(){return k})),n.d(e,"V",(function(){return D})),n.d(e,"J",(function(){return x})),n.d(e,"q",(function(){return F})),n.d(e,"d",(function(){return C})),n.d(e,"p",(function(){return L})),n.d(e,"r",(function(){return $})),n.d(e,"i",(function(){return T})),n.d(e,"n",(function(){return z})),n.d(e,"o",(function(){return M})),n.d(e,"l",(function(){return O})),n.d(e,"fb",(function(){return S})),n.d(e,"H",(function(){return j})),n.d(e,"D",(function(){return V})),n.d(e,"bb",(function(){return q})),n.d(e,"db",(function(){return Y})),n.d(e,"ab",(function(){return E})),n.d(e,"eb",(function(){return W})),n.d(e,"cb",(function(){return I})),n.d(e,"S",(function(){return P})),n.d(e,"R",(function(){return J})),n.d(e,"m",(function(){return R})),n.d(e,"k",(function(){return A})),n.d(e,"j",(function(){return B})),n.d(e,"c",(function(){return N})),n.d(e,"a",(function(){return U})),n.d(e,"b",(function(){return G})),n.d(e,"Y",(function(){return H})),n.d(e,"Z",(function(){return K})),n.d(e,"s",(function(){return Q})),n.d(e,"w",(function(){return X})),n.d(e,"v",(function(){return Z})),n.d(e,"x",(function(){return tt})),n.d(e,"z",(function(){return et})),n.d(e,"B",(function(){return nt})),n.d(e,"A",(function(){return rt})),n.d(e,"y",(function(){return at})),n.d(e,"u",(function(){return it})),n.d(e,"t",(function(){return ot})),n.d(e,"O",(function(){return ct}));var r=n("0c6d");function a(t){return r["a"].get("merchant/menu/lst",t)}function i(){return r["a"].get("merchant/menu/create/form")}function o(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(t){return r["a"].get("system/merchant/detail/".concat(t))}function l(t){return r["a"].post("system/merchant/create",t)}function m(t,e){return r["a"].post("system/merchant/update/".concat(t),e)}function f(t){return r["a"].get("system/merchant/delete/".concat(t,"/form"))}function d(t,e){return r["a"].post("system/merchant/status/".concat(t),{status:e})}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 b(t){return r["a"].get("system/merchant/category/form/".concat(t))}function y(t){return r["a"].delete("system/merchant/category/".concat(t))}function v(t,e){return r["a"].get("merchant/order/lst/".concat(t),e)}function _(t){return r["a"].get("merchant/order/mark/".concat(t,"/form"))}function w(t,e){return r["a"].get("merchant/order/refund/lst/".concat(t),e)}function k(t){return r["a"].get("merchant/order/refund/mark/".concat(t,"/form"))}function D(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 C(t){return r["a"].get("merchant/intention/mark/".concat(t,"/form"))}function L(t){return r["a"].delete("merchant/intention/delete/".concat(t))}function $(t){return r["a"].get("merchant/intention/status/".concat(t,"/form"))}function T(t){return r["a"].get("system/merchant/changecopy/".concat(t,"/form"))}function z(){return r["a"].get("agreement/sys_intention_agree")}function M(t){return r["a"].post("agreement/sys_intention_agree",t)}function O(t){return r["a"].get("agreement/".concat(t))}function S(t,e){return r["a"].post("agreement/".concat(t),e)}function j(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 Y(t){return r["a"].get("merchant/type/lst",t)}function E(){return r["a"].get("merchant/mer_auth")}function W(t,e){return r["a"].post("merchant/type/update/".concat(t),e)}function I(t){return r["a"].delete("merchant/type/delete/".concat(t))}function P(t){return r["a"].get("merchant/type/mark/".concat(t))}function J(t){return r["a"].get("/merchant/type/detail/".concat(t))}function R(){return r["a"].get("merchant/type/options")}function A(){return r["a"].get("system/merchant/category/options")}function B(t){return r["a"].get("system/applyments/lst",t)}function N(t,e){return r["a"].post("system/applyments/status/".concat(t),e)}function U(t){return r["a"].get("system/applyments/detail/".concat(t))}function G(t){return r["a"].get("profitsharing/lst",t)}function H(t){return r["a"].post("profitsharing/again/".concat(t))}function K(t){return r["a"].get("system/applyments/mark/".concat(t,"/form"))}function Q(t){return r["a"].get("profitsharing/export",t)}function X(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 et(t){return r["a"].get("margin/refund/lst",t)}function nt(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 at(t){return r["a"].get("margin/refund/show/".concat(t))}function it(t,e){return r["a"].get("margin/list/".concat(t),e)}function ot(t){return r["a"].get("margin/set/".concat(t,"/form"))}function ct(t,e){return r["a"].get("system/merchant/get_operate_list/".concat(t),e)}},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("div",{staticClass:"selCard"},[n("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:!0}},[n("el-form-item",{attrs:{label:"状态:",prop:"status"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"待审核",value:"0"}}),t._v(" "),n("el-option",{attrs:{label:"审核通过",value:"1"}}),t._v(" "),n("el-option",{attrs:{label:"审核未通过",value:"-1"}})],1)],1),t._v(" "),n("el-form-item",{attrs:{label:"选择时间:"}},[n("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"daterange",placeholder:"选择日期",format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","picker-options":t.pickerOptions},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:"商户分类:",prop:"category_id"}},[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:"店铺类型:",prop:"type_id"}},[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:"关键字:",prop:"keyword"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商户名称关键字/联系电话",clearable:""},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"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),n("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),n("el-card",{staticClass:"mt14"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"switchTable",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":"150",fixed:"right"},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:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},a=[],i=n("8492"),o=n("e572"),c=n("83d6"),u=n("0b65"),s={name:"MerchantApplication",data:function(){return{props:{emitPath:!1},pickerOptions:u["a"],fromList:o["a"],statusList:o["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:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},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(i["k"])().then((function(e){t.merCateList=e.data})).catch((function(e){t.$message.error(e.message)}))},getStoreType:function(){var t=this;Object(i["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(i["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(i["r"])(t)).then((function(){return e.getList("")}))},onEdit:function(t){var e=this;this.$modalForm(Object(i["d"])(t)).then((function(){return e.getList("")}))},handleDelete:function(t){var e=this;this.$deleteSure().then((function(){Object(i["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)}))}))}}},l=s,m=(n("16f2"),n("2877")),f=Object(m["a"])(l,r,a,!1,null,"679ab8bc",null);e["default"]=f.exports},"8ec4":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 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"}]}}}]);