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