启程易购后端代码
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-742815d0.81fd28ef.js

1 lines
29 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-742815d0"],{"0b65":function(t,e,a){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,a=new Date;a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[a,e])}},{text:"昨天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.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",[a,e])}},{text:"最近7天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近30天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"本月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[a,e])}},{text:"本年",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[a,e])}}]}},"2cbf":function(t,e,a){},8492:function(t,e,a){"use strict";a.d(e,"M",(function(){return n})),a.d(e,"K",(function(){return s})),a.d(e,"N",(function(){return r})),a.d(e,"L",(function(){return o})),a.d(e,"I",(function(){return c})),a.d(e,"G",(function(){return l})),a.d(e,"E",(function(){return _})),a.d(e,"T",(function(){return u})),a.d(e,"F",(function(){return d})),a.d(e,"Q",(function(){return m})),a.d(e,"P",(function(){return f})),a.d(e,"g",(function(){return v})),a.d(e,"e",(function(){return p})),a.d(e,"h",(function(){return g})),a.d(e,"f",(function(){return b})),a.d(e,"C",(function(){return h})),a.d(e,"U",(function(){return C})),a.d(e,"X",(function(){return y})),a.d(e,"W",(function(){return V})),a.d(e,"V",(function(){return w})),a.d(e,"J",(function(){return x})),a.d(e,"q",(function(){return k})),a.d(e,"d",(function(){return z})),a.d(e,"p",(function(){return D})),a.d(e,"r",(function(){return F})),a.d(e,"i",(function(){return S})),a.d(e,"n",(function(){return L})),a.d(e,"o",(function(){return T})),a.d(e,"l",(function(){return q})),a.d(e,"fb",(function(){return $})),a.d(e,"H",(function(){return M})),a.d(e,"D",(function(){return P})),a.d(e,"bb",(function(){return j})),a.d(e,"db",(function(){return O})),a.d(e,"ab",(function(){return Y})),a.d(e,"eb",(function(){return I})),a.d(e,"cb",(function(){return U})),a.d(e,"S",(function(){return A})),a.d(e,"R",(function(){return J})),a.d(e,"m",(function(){return N})),a.d(e,"k",(function(){return R})),a.d(e,"j",(function(){return B})),a.d(e,"c",(function(){return E})),a.d(e,"a",(function(){return Q})),a.d(e,"b",(function(){return W})),a.d(e,"Y",(function(){return Z})),a.d(e,"Z",(function(){return G})),a.d(e,"s",(function(){return H})),a.d(e,"w",(function(){return K})),a.d(e,"v",(function(){return X})),a.d(e,"x",(function(){return tt})),a.d(e,"z",(function(){return et})),a.d(e,"B",(function(){return at})),a.d(e,"A",(function(){return it})),a.d(e,"y",(function(){return nt})),a.d(e,"u",(function(){return st})),a.d(e,"t",(function(){return rt})),a.d(e,"O",(function(){return ot}));var i=a("0c6d");function n(t){return i["a"].get("merchant/menu/lst",t)}function s(){return i["a"].get("merchant/menu/create/form")}function r(t){return i["a"].get("merchant/menu/update/form/".concat(t))}function o(t){return i["a"].delete("merchant/menu/delete/".concat(t))}function c(t){return i["a"].get("system/merchant/lst",t)}function l(t){return i["a"].get("system/merchant/detail/".concat(t))}function _(t){return i["a"].post("system/merchant/create",t)}function u(t,e){return i["a"].post("system/merchant/update/".concat(t),e)}function d(t){return i["a"].get("system/merchant/delete/".concat(t,"/form"))}function m(t,e){return i["a"].post("system/merchant/status/".concat(t),{status:e})}function f(t){return i["a"].get("system/merchant/password/form/".concat(t))}function v(t){return i["a"].get("system/merchant/category/lst",t)}function p(){return i["a"].get("system/merchant/category/form")}function g(t){return i["a"].get("system/merchant/category/form/".concat(t))}function b(t){return i["a"].delete("system/merchant/category/".concat(t))}function h(t,e){return i["a"].get("merchant/order/lst/".concat(t),e)}function C(t){return i["a"].get("merchant/order/mark/".concat(t,"/form"))}function y(t,e){return i["a"].get("merchant/order/refund/lst/".concat(t),e)}function V(t){return i["a"].get("merchant/order/refund/mark/".concat(t,"/form"))}function w(t,e){return i["a"].post("merchant/order/reconciliation/create/".concat(t),e)}function x(t){return i["a"].post("system/merchant/login/".concat(t))}function k(t){return i["a"].get("merchant/intention/lst",t)}function z(t){return i["a"].get("merchant/intention/mark/".concat(t,"/form"))}function D(t){return i["a"].delete("merchant/intention/delete/".concat(t))}function F(t){return i["a"].get("merchant/intention/status/".concat(t,"/form"))}function S(t){return i["a"].get("system/merchant/changecopy/".concat(t,"/form"))}function L(){return i["a"].get("agreement/sys_intention_agree")}function T(t){return i["a"].post("agreement/sys_intention_agree",t)}function q(t){return i["a"].get("agreement/".concat(t))}function $(t,e){return i["a"].post("agreement/".concat(t),e)}function M(t,e){return i["a"].post("system/merchant/close/".concat(t),{status:e})}function P(){return i["a"].get("system/merchant/count")}function j(t){return i["a"].post("merchant/type/create",t)}function O(t){return i["a"].get("merchant/type/lst",t)}function Y(){return i["a"].get("merchant/mer_auth")}function I(t,e){return i["a"].post("merchant/type/update/".concat(t),e)}function U(t){return i["a"].delete("merchant/type/delete/".concat(t))}function A(t){return i["a"].get("merchant/type/mark/".concat(t))}function J(t){return i["a"].get("/merchant/type/detail/".concat(t))}function N(){return i["a"].get("merchant/type/options")}function R(){return i["a"].get("system/merchant/category/options")}function B(t){return i["a"].get("system/applyments/lst",t)}function E(t,e){return i["a"].post("system/applyments/status/".concat(t),e)}function Q(t){return i["a"].get("system/applyments/detail/".concat(t))}function W(t){return i["a"].get("profitsharing/lst",t)}function Z(t){return i["a"].post("profitsharing/again/".concat(t))}function G(t){return i["a"].get("system/applyments/mark/".concat(t,"/form"))}function H(t){return i["a"].get("profitsharing/export",t)}function K(t){return i["a"].get("margin/lst",t)}function X(t){return i["a"].get("margin/make_up",t)}function tt(t){return i["a"].get("margin/local/".concat(t,"/form"))}function et(t){return i["a"].get("margin/refund/lst",t)}function at(t){return i["a"].get("margin/refund/status/".concat(t,"/form"))}function it(t){return i["a"].get("margin/refund/mark/".concat(t,"/form"))}function nt(t){return i["a"].get("margin/refund/show/".concat(t))}function st(t,e){return i["a"].get("margin/list/".concat(t),e)}function rt(t){return i["a"].get("margin/set/".concat(t,"/form"))}function ot(t,e){return i["a"].get("system/merchant/get_operate_list/".concat(t),e)}},bc45:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard"},[a("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:!0}},[a("el-form-item",{staticClass:"width100",attrs:{label:"状态:",prop:"status"}},[a("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,(function(e,i){return a("el-radio-button",{key:i,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"选择时间:"}},[a("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(" "),a("el-form-item",{attrs:{label:"商户名称:",prop:"mer_id"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},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 a("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),a("el-card",{staticClass:"mt14"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"mer_applyments_id",label:"ID","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"applyment_id",label:"微信支付申请单号","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"out_request_no",label:"业务申请编号","min-width":"260"}}),t._v(" "),a("el-table-column",{attrs:{prop:"merchant.mer_name",label:"商户名","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"sub_mchid",label:"分账商户ID","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{prop:"message",label:"审核结果","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"申请时间","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{label:"状态","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.status?a("div",[t._v("待审核")]):t._e(),t._v(" "),-1==e.row.status?a("div",[t._v("平台驳回")]):t._e(),t._v(" "),10==e.row.status?a("div",[t._v("平台提交审核中")]):t._e(),t._v(" "),1==e.row.status?a("div",[t._v("商户验证")]):t._e(),t._v(" "),20==e.row.status?a("div",[t._v("已完成")]):t._e(),t._v(" "),30==e.row.status?a("div",[t._v("已冻结")]):t._e(),t._v(" "),40==e.row.status?a("div",[t._v("微信驳回")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mark",label:"备注","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"120",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleMark(e.row.mer_applyments_id)}}},[t._v("备注")]),t._v(" "),0==e.row.status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleDetail(e.row.mer_id)}}},[t._v("审核")]):t._e(),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleDetail(e.row.mer_id)}}},[t._v("详情")])]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("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),t._v(" "),a("el-drawer",{staticClass:"dia",attrs:{title:"商户分账详情",visible:t.visible,size:"800px","before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[a("div",{staticClass:"box-container"},[a("div",[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("基本信息")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("业务申请编号:")]),t._v(t._s(t.formValidate.out_request_no))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("主体类型:")]),t._v(t._s(t._f("organizationType")(t.formValidate.organization_type)))])])]),t._v(" "),2401!=t.formValidate.organization_type&&2500!=t.formValidate.organization_type?a("div",{staticClass:"section"},[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v(t._s(2==t.formValidate.organization_type||4==t.formValidate.organization_type?"营业执照信息":"登记证书信息"))]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("证件扫描件:")]),t._v(" "),a("span",{staticClass:"img"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.formValidate.business_license_copy&&t.formValidate.business_license_copy["dir"]},on:{click:function(e){return t.getPicture(t.formValidate.business_license_copy["dir"])}}})])]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("证件注册号:")]),t._v(t._s(t.formValidate.business_license_number))]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("商户名称:")]),t._v(t._s(t.formValidate.merchant_name))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("经营者/法定代表人姓名:")]),t._v(t._s(t.formValidate.legal_person))]),t._v(" "),t.formValidate.company_address?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("注册地址:")]),t._v(t._s(t.formValidate.company_address))]):t._e(),t._v(" "),t.formValidate.business_time?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("营业期限:")]),t._v(t._s(t.formValidate.business_start+"-"+t.formValidate.business_end))]):t._e()])]):t._e(),t._v(" "),t.formValidate.organization_cert_info?a("div",{staticClass:"section"},[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("组织机构代码证信息:")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("组织机构代码证照片:")]),t._v(" "),a("span",{staticClass:"img"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.formValidate.organization_copy&&t.formValidate.organization_copy["dir"]},on:{click:function(e){return t.getPicture(t.formValidate.organization_copy["dir"])}}})])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("组织机构代码:")]),t._v(t._s(t.formValidate.organization_number))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("组织机构代码有效期限:")]),t._v(t._s(t.formValidate.start_time+"-"+t.formValidate.end_time))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("经营者/法人证件类型:")]),t._v(t._s(t._f("id_docType")(t.formValidate.id_doc_type)))])])]):t._e(),t._v(" "),1==t.formValidate.id_doc_type?a("div",{staticClass:"section"},[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("经营者/法人身份证信息:")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("身份证人像面照片:")]),t._v(" "),a("span",{staticClass:"img"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.formValidate.id_card_copy&&t.formValidate.id_card_copy["dir"]},on:{click:function(e){return t.getPicture(t.formValidate.id_card_copy["dir"])}}})])]),t._v(" "),a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("身份证国徽面照片:")]),t._v(" "),a("span",{staticClass:"img"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.formValidate.id_card_national&&t.formValidate.id_card_national["dir"]},on:{click:function(e){return t.getPicture(t.formValidate.id_card_national["dir"])}}})])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("身份证姓名:")]),t._v(t._s(t.formValidate.id_card_name))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("身份证号码:")]),t._v(t._s(t.formValidate.id_card_number))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("身份证有效期限:")]),t._v(t._s(t.formValidate.id_card_valid_time))])])]):a("div",{staticClass:"section"},[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("经营者/法人其他类型证件信息:")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("证件姓名:")]),t._v(t._s(t.formValidate.id_doc_name))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("证件号码:")]),t._v(t._s(t.formValidate.id_doc_number))]),t._v(" "),a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("证件照片:")]),t._v(" "),a("span",{staticClass:"img"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.formValidate.id_doc_copy&&t.formValidate.id_doc_copy["dir"]},on:{click:function(e){return t.getPicture(t.formValidate.id_doc_copy["dir"])}}})])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("证件结束日期:")]),t._v(t._s(t.formValidate.doc_period_end))])])]),t._v(" "),a("div",{staticClass:"section"},[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("结算银行账户:")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("账户类型:")]),t._v(t._s(74==t.formValidate.bank_account_type?"对公账户":"对私账户"))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("开户银行:")]),t._v(t._s(t.formValidate.account_bank))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("开户名称:")]),t._v(t._s(t.formValidate.account_name))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("开户银行省市编码:")]),t._v(t._s(t.formValidate.bank_address_code))]),t._v(" "),t.formValidate.bank_branch_id?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("开户银行联行号:")]),t._v(t._s(t.formValidate.bank_branch_id))]):t._e(),t._v(" "),t.formValidate.bank_name?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("开户银行全称 (含支行):")]),t._v(t._s(t.formValidate.bank_name))]):t._e(),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("银行帐号:")]),t._v(t._s(t.formValidate.account_number))])])]),t._v(" "),a("div",{staticClass:"section"},[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("超级管理员信息:")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("超级管理员类型:")]),t._v(t._s(65==t.formValidate.contact_type?"经营者/法人":"负责人"))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("超级管理员姓名:")]),t._v(t._s(t.formValidate.contact_name))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("超级管理员身份证件号码:")]),t._v(t._s(t.formValidate.contact_id_card_number))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("超级管理员手机:")]),t._v(t._s(t.formValidate.mobile_phone))]),t._v(" "),t.formValidate.contact_email?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("超级管理员邮箱:")]),t._v(t._s(t.formValidate.contact_email))]):t._e()])]),t._v(" "),a("div",{staticClass:"section"},[a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("店铺信息:")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("店铺名称:")]),t._v(t._s(t.formValidate.store_name))]),t._v(" "),t.formValidate.store_url?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("店铺链接:")]),t._v(t._s(t.formValidate.store_url))]):t._e(),t._v(" "),t.formValidate.store_qr_code?a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("店铺二维码:")]),t._v(" "),a("span",{staticClass:"img"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.formValidate.store_qr_code&&t.formValidate.store_qr_code["dir"]},on:{click:function(e){return t.getPicture(t.formValidate.store_qr_code["dir"])}}})])]):t._e(),t._v(" "),t.formValidate.mini_program_sub_appid?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("小程序AppID:")]),t._v(t._s(t.formValidate.mini_program_sub_appid))]):t._e(),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商户简称:")]),t._v(t._s(t.formValidate.merchant_shortname))]),t._v(" "),t.formValidate.qualifications&&t.formValidate.qualifications.length>0?a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("特殊资质:")]),t._v(" "),a("span",{staticClass:"img"},t._l(t.formValidate.qualifications,(function(e,i){return a("img",{key:i,staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:e["dir"]},on:{click:function(a){return t.getPicture(e.dir)}}})})),0)]):t._e(),t._v(" "),t.formValidate.business_addition_pics&&t.formValidate.business_addition_pics.length>0?a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("补充材料:")]),t._v(" "),a("span",{staticClass:"img"},t._l(t.formValidate.business_addition_pics,(function(e,i){return a("img",{key:i,staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:e["dir"]},on:{click:function(a){return t.getPicture(e.dir)}}})})),0)]):t._e(),t._v(" "),t.formValidate.business_addition_desc?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("补充说明:")]),t._v(t._s(t.formValidate.business_addition_desc))]):t._e(),t._v(" "),t.formValidate.message?a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v(t._s(-1==t.formValidate.status||40==t.formValidate.status?"驳回原因":11==t.formValidate.status?"需验证操作":"审核结果")+":")]),t._v(t._s(t.formValidate.message))]):t._e()])])]),t._v(" "),0==t.formValidate.status?a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"审核状态",prop:"status"}},[a("el-radio-group",{model:{value:t.ruleForm.status,callback:function(e){t.$set(t.ruleForm,"status",e)},expression:"ruleForm.status"}},[a("el-radio",{attrs:{label:10}},[t._v("通过")]),t._v(" "),a("el-radio",{attrs:{label:-1}},[t._v("拒绝")])],1)],1),t._v(" "),-1===t.ruleForm.status?a("el-form-item",{attrs:{label:"原因",prop:"refusal"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入原因"},model:{value:t.ruleForm.message,callback:function(e){t.$set(t.ruleForm,"message",e)},expression:"ruleForm.message"}})],1):t._e(),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("提交")])],1)],1):t._e()],1)]),t._v(" "),t.pictureVisible?a("el-dialog",{attrs:{visible:t.pictureVisible,width:"700px"},on:{"update:visible":function(e){t.pictureVisible=e}}},[a("img",{staticClass:"pictures",attrs:{src:t.pictureUrl}})]):t._e()],1)},n=[],s=a("8492"),r=a("c4c8"),o=a("e572"),c=a("83d6"),l=a("0b65"),_={name:"MerchantApplyMents",data:function(){return{props:{emitPath:!1},pickerOptions:l["a"],fromList:o["a"],merSelect:[],statusList:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"平台驳回",val:"-1"},{text:"审核中",val:"10"},{text:"商户验证",val:"11"},{text:"已完成",val:"20"},{text:"已冻结",val:"30"},{text:"微信驳回",val:"40"}],roterPre:c["roterPre"],listLoading:!0,loading:!0,storeType:[],tableData:{data:[],total:0},tableFrom:{page:1,limit:20,date:"",status:"",mer_id:""},timeVal:[],visible:!1,formValidate:{},ruleForm:{message:"",status:10},rules:{status:[{required:!0,message:"请选择审核状态",trigger:"change"}],message:[{required:!0,message:"请填写拒绝原因",trigger:"blur"}]},pictureVisible:!1,pictureUrl:""}},watch:{},mounted:function(){this.getMerSelect(),this.getList("")},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},getMerSelect:function(){var t=this;Object(r["Q"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},getPicture:function(t){this.pictureVisible=!0,this.pictureUrl=t},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("")},handleClose:function(){this.visible=!1},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(s["j"])(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)},onSubmit:function(){var t=this;Object(s["c"])(this.formValidate.mer_applyments_id,this.ruleForm).then((function(e){t.$message.success(e.message),t.visible=!1,t.getList("")})).catch((function(e){t.$message.error(e.message)}))},handleMark:function(t){var e=this;this.$modalForm(Object(s["Z"])(t)).then((function(){return e.getList("")}))},handleDetail:function(t){var e=this;this.loading=!0,this.formValidate={},Object(s["a"])(t).then((function(t){e.visible=!0,e.loading=!1;var a=t.data.info;e.formValidate={mer_applyments_id:t.data.mer_applyments_id,status:t.data.status,message:t.data.message,id_doc_type:a.id_doc_type,out_request_no:a.out_request_no,organization_type:a.organization_type,business_license_copy:a.business_license_info?a.business_license_info.business_license_copy:"",business_license_number:a.business_license_info?a.business_license_info.business_license_number:"",merchant_name:a.business_license_info?a.business_license_info.merchant_name:"",legal_person:a.business_license_info?a.business_license_info.legal_person:"",company_address:a.business_license_info?a.business_license_info.company_address:"",organization_cert_info:a.organization_cert_info,organization_copy:a.organization_cert_info?a.organization_cert_info.organization_copy:"",organization_number:a.organization_cert_info?a.organization_cert_info.organization_number:"",need_account_info:a.need_account_info,contact_type:a.contact_info?a.contact_info.contact_type:65,contact_name:a.contact_info?a.contact_info.contact_name:"",contact_id_card_number:a.contact_info?a.contact_info.contact_id_card_number:"",mobile_phone:a.contact_info?a.contact_info.mobile_phone:"",contact_email:a.contact_info?a.contact_info.contact_email:"",store_name:a.sales_scene_info?a.sales_scene_info.store_name:"",store_url:a.sales_scene_info?a.sales_scene_info.store_url:"",store_qr_code:a.sales_scene_info?a.sales_scene_info.store_qr_code:"",mini_program_sub_appid:a.sales_scene_info?a.sales_scene_info.mini_program_sub_appid:"",merchant_shortname:a.merchant_shortname,qualifications:a.qualifications?a.qualifications:[],business_addition_pics:a.business_addition_pics?a.business_addition_pics:[],business_addition_desc:a.business_addition_desc,business_time:a.business_license_info?a.business_license_info.business_time:"",business_start:a.business_license_info&&a.business_license_info.business_time?a.business_license_info.business_time[0]:"",business_end:a.business_license_info&&a.business_license_info.business_time?a.business_license_info.business_time[1]:"",start_time:a.organization_cert_info&&a.organization_cert_info.organization_time?a.organization_cert_info.organization_time[0]:"",end_time:a.organization_cert_info&&a.organization_cert_info.organization_time?a.organization_cert_info.organization_time[1]:"",bank_account_type:a.account_info&&a.account_info.bank_account_type||74,account_bank:a.account_info?a.account_info.account_bank:"",account_name:a.account_info?a.account_info.account_name:"",bank_address_code:a.account_info?a.account_info.bank_address_code:"",bank_branch_id:a.account_info?a.account_info.bank_branch_id:"",bank_name:a.account_info?a.account_info.bank_name:"",account_number:a.account_info?a.account_info.account_number:""},1==a.id_doc_type?(e.formValidate.id_card_copy=a.id_card_info&&a.id_card_info.id_card_copy||[],e.formValidate.id_card_national=a.id_card_info&&a.id_card_info.id_card_national||"",e.formValidate.id_card_name=a.id_card_info&&a.id_card_info.id_card_name||"",e.formValidate.id_card_number=a.id_card_info&&a.id_card_info.id_card_number||"",e.formValidate.id_card_valid_time=a.id_card_info&&a.id_card_info.id_card_valid_time||""):(e.formValidate.id_doc_name=a.id_doc_info&&a.id_doc_info.id_doc_name||"",e.formValidate.id_doc_number=a.id_doc_info&&a.id_doc_info.id_doc_number||"",e.formValidate.id_doc_copy=a.id_doc_info&&a.id_doc_info.id_doc_copy||"",e.formValidate.doc_period_end=a.id_doc_info&&a.id_doc_info.doc_period_end||"")})).catch((function(t){}))}}},u=_,d=(a("f16e"),a("2877")),m=Object(d["a"])(u,i,n,!1,null,"67a18af4",null);e["default"]=m.exports},e572:function(t,e,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n})),a.d(e,"b",(function(){return s}));var i=[{label:"开启",value:1},{label:"关闭",value:0}],n={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"}]},s={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}},f16e:function(t,e,a){"use strict";a("2cbf")}}]);