| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097 |
- <template>
- <div class="myaqlDeploy">
- <!-- <div class="deplouTitle" style="margin-top: 3%; margin-bottom: 4%">
- <span style="margin-left: 6%">申请人:<span>翟鸡毛</span></span>
- <span style="margin-left: 8%">申请时间:</span><span>2021/8/17</span>
- <span></span>
- </div> -->
- <div class="deployBox">
- <el-steps align-center :active="active" show-icon finish-status="success">
- <el-step title="提交证件资料"></el-step>
- <el-step title="绑定对公账户"></el-step>
- <el-step title="打款验证"></el-step>
- <el-step title="实名审核"></el-step>
- </el-steps>
- <div class="basicInfo" v-if="active === 0">
- <el-container>
- <el-main>
- <el-row class="substance">
- <h4>资料准备:</h4>
- <p>1.统一社会信用代码证;</p>
- <p>2.企业法人身份证件;</p>
- <p>
- 3.经办人身份证件:即当前经办人员身份证件,经办人与企业法人不是同一人时,需提供经办人身份证件,经办人将负责贵司账号的管理及操作员账号管理;
- </p>
- <p>
- 4.经办人授权委托书:经办人与法人不是同一人时,需
- 下载授权委托书模板并根据要求填写内容,加盖公章后上传;
- </p>
- <p>
- 5.经办人手机号码:即与身份证件相符的三大运营商(联通、移动、电信)手机号码,认证账号与经办人账号不是同一人时,所提供手机号码将自动注册为经办人账号;默认登录密码将已短信发送,请注意查收;
- </p>
- <h4>资料上传要求:</h4>
- <p>
- 1.
- 营业执照及身份证请上传最新证件原件的彩色扫描件,如使用复印件请加盖公章上传;
- </p>
- <p>
- 2. 图片支持格式:jpg /jpeg /png /bmp格式,图片大小不超过3M;
- </p>
- <p>
- 3.
- 上传图片后,系统将自动识别并填写相关信息,请核对系统识别结果是否准确;
- </p>
- <p>4. 其他附件上传,非必输项,可作为辅助企业认证相关证明;</p>
- </el-row>
- <el-row style="margin-top: 3%">
- <span style="font-size: 14px"
- ><span class="separation"></span>营业执照</span
- ><span>(请您按下面流程进行操作)</span
- ><span style="color: #005cff">请核对系统识别结果是否正确</span>
- </el-row>
- </el-main>
- <el-container>
- <el-aside style="background-color: #fff">
- <el-upload
- class="ying"
- ref="upload"
- :class="{ uoloadSty: showBtnImg, disUoloadSty: yyzzBtnImg }"
- action=""
- accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
- :http-request="yyzzRequest"
- :on-preview="handlePictureCardPreview"
- :on-remove="beforeRemove"
- :on-change="dealImgChange"
- :before-upload="beforeAvatarUpload"
- multiple
- :limit="1"
- :on-exceed="handleExceed"
- list-type="picture-card"
- :file-list="yyzzList"
- :auto-upload="true"
- >
- <el-button slot="trigger" size="small" type="primary"
- >点击选择</el-button
- >
- </el-upload>
- <!-- <el-button
- style="margin-left: 10px"
- size="small"
- type="success"
- @click="submitUpload"
- >上传到服务器</el-button
- > -->
- </el-aside>
- <el-main>
- <el-row>
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >公司名称:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scyName"
- placeholder="请输入公司名称"
- style="width: 40%"
- clearable
- maxlength="15"
- ></el-input>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- ><span style="width: 50px">统一社会信用代码/营业执照号:</span>
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scySocialCode"
- placeholder="请输入统一社会信用代码"
- clearable
- maxlength="18"
- style="width: 40%"
- ></el-input>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >住所地:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scyAddress"
- placeholder="请输入住所地"
- clearable
- style="width: 40%"
- maxlength="15"
- ></el-input>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >法定代表人:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scyLegal"
- placeholder="请输入法定代表人"
- clearable
- style="width: 40%"
- maxlength="15"
- ></el-input>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >注册资本:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scyRegisteredCapital"
- placeholder="请输入注册资本"
- clearable
- style="width: 40%"
- maxlength="15"
- ></el-input>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- ><span class="demonstration">成立时间:</span>
- </el-col>
- <el-col :span="16">
- <div class="block">
- <!-- <el-date-picker
- v-model="form.scyStartTime"
- align="right"
- type="date"
- placeholder="选择日期"
- :picker-options="pickerOptions"
- >
- </el-date-picker> -->
- <el-date-picker
- v-model="form.scyStartTime"
- value-format="yyyy-MM-dd"
- placeholder="请选择成立时间"
- style="width: 206px"
- type="date"
- ></el-date-picker>
- </div>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px">
- <span class="demonstration">营业期限(止): </span>
- </el-col>
- <el-col :span="16">
- <div class="block">
- <!-- <el-date-picker
- v-model="form.scyEndTime"
- align="right"
- type="date"
- placeholder="选择日期"
- :picker-options="pickerOptions"
- >
- </el-date-picker> -->
- <el-date-picker
- v-if="!term"
- :disabled="term"
- :clearable="false"
- v-model="form.scyEndTime"
- value-format="yyyy-MM-dd"
- placeholder="请选择营业期限"
- type="date"
- style="width: 206px"
- ></el-date-picker>
- <el-date-picker
- v-if="term"
- :disabled="term"
- :clearable="false"
- value-format="yyyy-MM-dd"
- placeholder="请选择营业期限"
- type="date"
- style="width: 206px"
- ></el-date-picker>
- <el-checkbox v-model="term">长期有效</el-checkbox>
- </div>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >企业电话:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scyPhone"
- placeholder="例:0531-58236368"
- style="width: 40%"
- maxlength="15"
- ></el-input>
- </el-col>
- </el-row>
- </el-main>
- </el-container>
- <el-main>
- <el-row style="margin-top: 3%">
- <span style="font-size: 14px"
- ><span class="separation"></span>法定代表人身份证件</span
- ><span>(请按照要求上传法定代表人身份证证件图片)</span
- ><span style="color: #005cff">请核对系统识别结果是否正确</span
- ><el-checkbox v-model="legalHandle">法人亲办</el-checkbox>
- </el-row>
- <el-container>
- <el-aside width="220px" style="background-color: #fff">
- <span style="font-size: 14px"
- ><span class="separation"></span>身份证人像面</span
- >
- <el-upload
- ref="fsfzzload"
- class="upload-demo"
- action=""
- :class="{ fsfzzUoload: showBtnImg, Uoloadfsfzz: fsfzzBtnImg }"
- :on-change="fsfzzImgChange"
- accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
- :http-request="fsfzzRequest"
- :on-preview="fsfzzPictureCardPreview"
- :on-remove="fsfzzRemove"
- :before-upload="beforeAvatarUpload"
- multiple
- :limit="1"
- :on-exceed="fsfzzExceed"
- list-type="picture-card"
- :file-list="fsfzzList"
- :auto-upload="true"
- >
- <el-button slot="trigger" size="small" type="primary"
- >点击选择</el-button
- >
- </el-upload>
- <!-- <el-button
- style="margin-left: 10px"
- size="small"
- type="success"
- @click="fsfzzUpload"
- >上传到服务器</el-button
- > -->
- <span style="font-size: 14px"
- ><span class="separation"></span>身份证国徽面</span
- >
- <el-upload
- ref="fsfzfload"
- class="upload-demo"
- action=""
- :class="{
- uoloadfsfzf: showBtnImg,
- fsfzfUoloadSty: fsfzfBtnImg,
- }"
- :on-change="fsfzfImgChange"
- accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
- :http-request="fsfzfRequest"
- :on-preview="fsfzfPictureCardPreview"
- :on-remove="fsfzfRemove"
- :before-upload="beforeAvatarUpload"
- multiple
- :limit="1"
- :on-exceed="fsfzfExceed"
- list-type="picture-card"
- :file-list="fsfzfList"
- :auto-upload="true"
- >
- <el-button slot="trigger" size="small" type="primary"
- >点击选择</el-button
- >
- </el-upload>
- <!-- <el-button
- style="margin-left: 10px"
- size="small"
- type="success"
- @click="fsfzfUpload"
- >上传到服务器</el-button
- > -->
- </el-aside>
- <el-main>
- <el-row>
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >姓名:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scyLegal"
- placeholder="请输入姓名"
- clearable
- style="width: 60%"
- maxlength="15"
- ></el-input>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >身份证号:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.scyLegalId"
- placeholder="请输入身份证号"
- clearable
- style="width: 60%"
- maxlength="20"
- ></el-input>
- </el-col>
- </el-row>
- </el-main>
- </el-container>
- </el-main>
- <el-main v-show="legalHandle == false">
- <el-row style="margin-top: 3%">
- <span style="font-size: 14px"
- ><span class="separation"></span>账号管理员身份证件</span
- ><span>(请按照要求上传经办人身份证证件图片)</span
- ><span style="color: #005cff">请核对系统识别结果是否正确</span>
- </el-row>
- <el-container>
- <el-aside width="220px" style="background-color: #fff">
- <span style="font-size: 14px"
- ><span class="separation"></span>身份证人像面</span
- >
- <el-upload
- ref="jsfzzload"
- class="upload-demo"
- action=""
- :class="{
- uoloadjsfzz: showBtnImg,
- jsfzzUoloadSty: jsfzzBtnImg,
- }"
- :on-change="jsfzzImgChange"
- accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
- :http-request="jsfzzRequest"
- :on-preview="jsfzzPictureCardPreview"
- :on-remove="jsfzzRemove"
- :before-upload="beforeAvatarUpload"
- multiple
- :limit="1"
- :on-exceed="jsfzzExceed"
- list-type="picture-card"
- :file-list="jsfzzList"
- :auto-upload="true"
- >
- <el-button slot="trigger" size="small" type="primary"
- >点击选择</el-button
- >
- </el-upload>
- <!-- <el-button
- style="margin-left: 10px"
- size="small"
- type="success"
- @click="jsfzzUpload"
- >上传到服务器</el-button
- > -->
- <span style="font-size: 14px"
- ><span class="separation"></span>身份证国徽面</span
- >
- <el-upload
- ref="jsfzfload"
- class="upload-demo"
- action=""
- :class="{
- uoloadjsfzf: showBtnImg,
- jsfzfUoloadSty: jsfzfBtnImg,
- }"
- :on-change="jsfzfImgChange"
- accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
- :http-request="jsfzfRequest"
- :on-preview="jsfzfPictureCardPreview"
- :on-remove="jsfzfRemove"
- :before-upload="beforeAvatarUpload"
- multiple
- :limit="1"
- :on-exceed="jsfzfExceed"
- list-type="picture-card"
- :file-list="jsfzfList"
- :auto-upload="true"
- >
- <el-button slot="trigger" size="small" type="primary"
- >点击选择</el-button
- >
- </el-upload>
- <!-- <el-button
- style="margin-left: 10px"
- size="small"
- type="success"
- @click="jsfzfUpload"
- >上传到服务器</el-button
- > -->
- </el-aside>
- <el-main>
- <el-row>
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >姓名:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.handler"
- placeholder="请输入姓名"
- clearable
- style="width: 60%"
- maxlength="20"
- ></el-input>
- </el-col>
- </el-row>
- <el-row style="margin-top: 2%">
- <el-col :span="8" style="text-align: right; line-height: 35px"
- >身份证号:
- </el-col>
- <el-col :span="16">
- <el-input
- v-model="form.handlerCard"
- placeholder="请输入身份证号"
- clearable
- style="width: 60%"
- maxlength="20"
- ></el-input>
- </el-col>
- </el-row>
- </el-main>
- </el-container>
- </el-main>
- <el-main>
- <el-row style="margin-top: 3%">
- <span style="font-size: 14px"
- ><span class="separation"></span>人员信息</span
- >
- </el-row>
- <el-row v-if="legalHandle">
- <el-col :span="12"
- >复核人员:<el-input
- v-model="form.scyLegal"
- placeholder="请输入复核人员"
- clearable
- style="width: 45%"
- maxlength="20"
- ></el-input>
- <el-tooltip
- class="item"
- effect="light"
- content="即经办人,在金融业务流程中担任业务复核人员"
- placement="right-start"
- >
- <i class="el-icon-question" />
- </el-tooltip>
- </el-col>
- <el-col :span="12"
- >联系电话:<el-input
- v-model="form.phone"
- placeholder="请输入联系电话"
- clearable
- style="width: 45%"
- maxlength="20"
- ></el-input>
- </el-col>
- </el-row>
- <el-row v-if="!legalHandle">
- <el-col :span="12"
- >复核人员:<el-input
- v-model="form.handler"
- placeholder="请输入复核人员"
- clearable
- style="width: 45%"
- maxlength="20"
- ></el-input>
- <el-tooltip
- class="item"
- effect="light"
- content="即经办人,在金融业务流程中担任业务复核人员"
- placement="right-start"
- >
- <i class="el-icon-question" />
- </el-tooltip>
- </el-col>
- <el-col :span="12"
- >联系电话:<el-input
- v-model="form.phone"
- placeholder="请输入联系电话"
- clearable
- style="width: 45%"
- maxlength="11"
- ></el-input>
- <el-tooltip
- class="item"
- effect="light"
- content="以下号段不支持验证:1349(卫星通信号段)、174(卫星通信号段)、141(物联网)、144(物联网)、165(虚拟)、167(虚拟)、1700(虚拟)、
- 1701(虚拟)、1702(虚拟)、1703(虚拟)、1704(虚拟)、1705(虚拟)、1706(虚拟)、1707(虚拟)、1708(虚拟)、
- 1709(虚拟)、(虚拟)"
- placement="right-start"
- >
- <i class="el-icon-question" />
- </el-tooltip>
- </el-col>
- </el-row>
- <el-row style="margin-top: 3%">
- <el-col :span="12"
- >业务操作员:<el-input
- v-model="form.operator"
- placeholder="请输入业务操作员"
- clearable
- style="width: 45%"
- maxlength="20"
- ></el-input>
- </el-col>
- <el-col :span="12"
- >联系电话:<el-input
- v-model="form.number"
- placeholder="请输入联系电话"
- clearable
- style="width: 45%"
- maxlength="11"
- ></el-input>
- </el-col>
- </el-row>
- </el-main>
- <el-main>
- <el-row style="margin-top: 3%" v-if="!legalHandle">
- <span style="font-size: 14px"
- ><span class="separation"></span>法人授权书:</span
- >
- </el-row>
- <el-upload
- v-if="!legalHandle"
- ref="frsqsload"
- class="upload-demo"
- action=""
- :class="{ uoloadfrsqs: showBtnImg, frsqsUoloadSty: frsqsBtnImg }"
- :on-change="frsqsImgChange"
- accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
- :http-request="frsqsRequest"
- :on-preview="frsqsPictureCardPreview"
- :on-remove="frsqsRemove"
- :before-upload="beforeAvatarUpload"
- multiple
- :limit="1"
- :on-exceed="frsqsExceed"
- list-type="picture-card"
- :file-list="frsqsList"
- :auto-upload="true"
- >
- <el-button slot="trigger" size="small" type="primary"
- >点击选择</el-button
- >
- </el-upload>
- <!-- <el-button
- style="margin-left: 10px"
- size="small"
- type="success"
- @click="frsqsUpload"
- >上传到服务器</el-button
- > -->
- </el-main>
- <el-main>
- <el-row style="margin-top: 3%">
- <span style="font-size: 14px"
- ><span class="separation"></span>其他附件上传:</span
- >
- </el-row>
- <el-row>
- <el-upload
- ref="qtfjload"
- class="upload-demo"
- action=""
- :class="{ uoloadqtfj: showBtnImg, qtfjUoloadSty: qtfjBtnImg }"
- :on-change="qtfjImgChange"
- accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
- :http-request="qtfjRequest"
- :on-preview="qtfjPictureCardPreview"
- :on-remove="qtfjRemove"
- :before-upload="beforeAvatarUpload"
- multiple
- :limit="1"
- :on-exceed="qtfjExceed"
- list-type="picture-card"
- :file-list="qtfjList"
- :auto-upload="true"
- >
- <el-button slot="trigger" size="small" type="primary"
- >点击选择</el-button
- >
- </el-upload>
- <!-- <el-button
- style="margin-left: 10px"
- size="small"
- type="success"
- @click="qtfjUpload"
- >上传到服务器</el-button
- > -->
- </el-row>
- </el-main>
- <el-footer>
- <el-checkbox v-model="confirm">我已阅读并同意</el-checkbox
- ><a @click="handle">《xxxxxxxx融信协议》</a>
- </el-footer>
- </el-container>
- <el-dialog :visible.sync="yyzzVisible">
- <img width="100%" :src="yyzzImageUrl" alt="" />
- </el-dialog>
- <el-dialog :visible.sync="fsfzzVisible">
- <img width="100%" :src="fsfzzImageUrl" alt="" />
- </el-dialog>
- <el-dialog :visible.sync="fsfzfVisible">
- <img width="100%" :src="fsfzfImageUrl" alt="" />
- </el-dialog>
- <el-dialog :visible.sync="jsfzzVisible">
- <img width="100%" :src="jsfzzImageUrl" alt="" />
- </el-dialog>
- <el-dialog :visible.sync="jsfzfVisible">
- <img width="100%" :src="jsfzfImageUrl" alt="" />
- </el-dialog>
- <el-dialog :visible.sync="frsqsVisible">
- <img width="100%" :src="frsqsImageUrl" alt="" />
- </el-dialog>
- <el-dialog :visible.sync="szzssqVisible">
- <img width="100%" :src="szzssqImageUrl" alt="" />
- </el-dialog>
- <el-dialog :visible.sync="qtfjVisible">
- <img width="100%" :src="qtfjImageUrl" alt="" />
- </el-dialog>
- </div>
- <div class="basicInfo" v-if="active === 1">
- <el-container>
- <el-main>
- <el-row class="substance">
- <h4>资料准备:</h4>
- <p>
- 1.开户银行:支持银行列表<el-link
- type="info"
- style="font-size: 12px"
- @click="authorizationTemplate"
- >(企业账户验证网联支持银行列表)</el-link
- >;
- </p>
- <p>2. 企业对公账户银行卡号:即银行开户名称对应的银行卡号;</p>
- </el-row>
- </el-main>
- <el-main>
- <el-row>
- <el-col :span="8"
- >银行开户名称:<el-input
- v-model="form.scyName"
- placeholder="请输入银行开户名称"
- :disabled="disabled"
- style="width: 65%"
- maxlength="20"
- ></el-input>
- </el-col>
- <el-col :span="8"
- >开户银行:
- <el-select
- v-model="form.pbaiBankName"
- filterable
- clearable
- remote
- reserve-keyword
- placeholder="请选择开户银行"
- :remote-method="getBankList"
- >
- <el-option
- v-for="(item, index) in bankList"
- :key="index"
- :label="item.zcbiBankName"
- :value="item.zcbiBankName"
- >
- </el-option>
- </el-select>
- </el-col>
- <el-col :span="8"
- >银行账号:<el-input
- v-model="form.pbaiBankaccountId"
- placeholder="请输入银行账号"
- style="width: 65%"
- maxlength="25"
- ></el-input>
- </el-col>
- </el-row>
- </el-main>
- <el-footer> </el-footer>
- </el-container>
- </div>
- <div class="basicInfo" v-if="active === 2">
- <el-container>
- <el-main>
- <el-row>
- <el-col :span="8"
- >打款金额(元):<el-input
- v-model="form.amount"
- placeholder="请输入打款金额(元)"
- style="width: 65%"
- maxlength="4"
- ></el-input>
- </el-col>
- <el-col :span="8"
- ><span style="color: red"
- >打款金额有效期为三天,超过三天后重新打款</span
- >
- </el-col>
- </el-row>
- </el-main>
- <el-footer> </el-footer>
- </el-container>
- </div>
- <div class="basicInfo" v-if="active === 3">
- <el-container>
- <el-main>
- <el-row>
- <el-col :span="8" v-if="legalHandle"
- >经办人姓名:<el-input
- v-model="form.scyLegal"
- placeholder="请输入经办人姓名"
- style="width: 62%"
- :disabled="disabled"
- maxlength="20"
- ></el-input>
- </el-col>
- <el-col :span="8" v-if="!legalHandle"
- >经办人姓名:<el-input
- v-model="form.handler"
- placeholder="请输入经办人姓名"
- style="width: 62%"
- :disabled="disabled"
- maxlength="20"
- ></el-input>
- </el-col>
- <el-col :span="8" v-if="legalHandle"
- >身份证号码:<el-input
- v-model="form.scyLegalId"
- :disabled="disabled"
- placeholder="请输入内容"
- style="width: 62%"
- ></el-input>
- </el-col>
- <el-col :span="8" v-if="!legalHandle"
- >身份证号码:<el-input
- v-model="form.handlerCard"
- :disabled="disabled"
- placeholder="请输入内容"
- style="width: 62%"
- ></el-input>
- </el-col>
- <el-col :span="8"
- >手机号:<el-input
- v-model="form.phone"
- :disabled="disabled"
- placeholder="请输入内容"
- style="width: 62%"
- ></el-input>
- </el-col>
- </el-row>
- <el-row>
- <el-col :span="8" style="margin-top: 3%; margin-left: 1%"
- >验证码:
- <el-tooltip
- class="item"
- effect="light"
- content="无法获取验证码:非不支持号段手机号码无法获取验证码时,请及时联系平台客服0531-8236368"
- placement="right-start"
- >
- <i class="el-icon-question" /> </el-tooltip
- ><el-input
- v-model="form.code"
- placeholder="请输入验证码"
- style="width: 35%"
- ></el-input>
- <el-button
- type="primary"
- @click="submitForm"
- v-if="!verification"
- >获取验证码</el-button
- >
- <el-button v-if="verification">{{ count }}秒后重试</el-button>
- </el-col>
- </el-row>
- </el-main>
- <el-footer> </el-footer>
- </el-container>
- </div>
- <div class="deployBtn">
- <el-button
- style="float: right; margin-top: 12px; margin-right: 1%"
- @click="next"
- v-if="active == 0 || active == 1 || active == 2"
- >下一步</el-button
- >
- <el-button
- style="float: right; margin-top: 12px; margin-right: 1%"
- v-if="active == 2"
- @click="step"
- >上一步</el-button
- >
- <el-button
- style="float: right; margin-top: 12px"
- v-if="active == 2"
- @click="preservation"
- >保存</el-button
- >
- <el-button
- style="float: right; margin-top: 12px; margin-right: 1%"
- v-if="active == 3"
- @click="next"
- >提交</el-button
- >
- </div>
- </div>
- <!-- 合同 -->
- <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
- <div slot="footer" class="dialog-footer">
- <el-button @click="cancel">关闭</el-button>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- getlicense,
- getCard,
- addAuthentication,
- addAccount,
- addVerification,
- verification,
- addCode,
- cashBack,
- listBank,
- corporateTime
- } from "@/api/system/authentication";
- import { uploadFileNew } from "@/api/common/file";
- import { getToken, removeToken } from "@/utils/auth";
- import { getRepeatToken } from "@/utils/common";
- export default {
- name: "GoodsAdd",
- data() {
- return {
- codeShow: true, //判断显示隐藏
- count: "", //显示时的文字内容
- timer: null,
- // 表单参数
- form: {},
- //法人经办
- legalHandle: false,
- //是否长期
- term: false,
- //是否确认
- confirm: false,
- //无法输入
- disabled: true,
- //验证码
- verification: false,
- // 完成跳转
- redirect: undefined,
- // 弹出层标题
- title: "",
- // 是否显示弹出层
- open: false,
- //银行
- bankList: [],
- yyzzImageUrl: "",
- yyzzVisible: false,
- fsfzzImageUrl: "",
- fsfzzVisible: false,
- fsfzfImageUrl: "",
- fsfzfVisible: false,
- jsfzzImageUrl: "",
- jsfzzVisible: false,
- jsfzfImageUrl: "",
- jsfzfVisible: false,
- frsqsImageUrl: "",
- frsqsVisible: false,
- szzssqImageUrl: "",
- szzssqVisible: false,
- qtfjImageUrl: "",
- qtfjVisible: false,
- showBtnImg: false,
- noneBtnImg: false,
- yyzzBtnImg: false,
- fsfzzBtnImg: false,
- fsfzfBtnImg: false,
- jsfzzBtnImg: false,
- jsfzfBtnImg: false,
- frsqsBtnImg: false,
- szzssqBtnImg: false,
- qtfjBtnImg: false,
- limitCountImg: 1,
- contractNodeList: [],
- yyzzList: [],
- fsfzzList: [],
- fsfzfList: [],
- jsfzzList: [],
- jsfzfList: [],
- frsqsList: [],
- szzssqList: [],
- qtfjList: [],
- fileList: [{}],
- imageUrl: "",
- tabPosition: "left",
- active: 0,
- establish: "",
- amount: "",
- input: "",
- corporate: "",
- Bank: "",
- number: "",
- operator: "",
- Phone: "",
- reviewer: "",
- Cad: "",
- name: "",
- namea: "",
- umber: "",
- telephone: "",
- domicile: "",
- capital: "",
- representative: "",
- credit: "",
- queryParams: {
- pageNum: 1,
- pageSize: 10,
- },
- pickerOptions: {
- disabledDate(time) {
- return time.getTime() > Date.now();
- },
- shortcuts: [
- {
- text: "今天",
- onClick(picker) {
- picker.$emit("pick", new Date());
- },
- },
- {
- text: "昨天",
- onClick(picker) {
- const date = new Date();
- date.setTime(date.getTime() - 3600 * 1000 * 24);
- picker.$emit("pick", date);
- },
- },
- {
- text: "一周前",
- onClick(picker) {
- const date = new Date();
- date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
- picker.$emit("pick", date);
- },
- },
- ],
- options: [
- {
- value: "选项1",
- label: "黄金糕",
- },
- {
- value: "选项2",
- label: "双皮奶",
- },
- {
- value: "选项3",
- label: "蚵仔煎",
- },
- {
- value: "选项4",
- label: "龙须面",
- },
- ],
- },
- value1: "",
- value2: "",
- value3: "",
- repeatToken: getRepeatToken(),
- };
- },
- created() {
- this.getList();
- this.getBankList();
- },
- methods: {
- // 表单重置
- reset() {
- this.form = {
- ssName: null,
- ssEmail: null,
- ssPhone: null,
- ssType: null,
- ssJobNum: null,
- ssSiteCompany: null,
- ssSiteDept: null,
- ssPlace: null,
- ssCurrentSalary: null,
- ssProjectManager: null,
- ssCurrentLevel: null,
- ssNation: null,
- ssBirthDate: null,
- ssPolitics: null,
- ssNative: null,
- ssWorkAddress: null,
- ssFamilyAddress: null,
- ssCardId: null,
- ssExpireDate: null,
- ssMarry: null,
- ssEntryDate: null,
- ssQuitDate: null,
- ssCollegesType: null,
- ssFinishSchool: null,
- ssMajor: null,
- ssEducation: null,
- ssDegree: null,
- ssContacts: null,
- ssContactsPhone: null,
- ssBankAcc: null,
- ssBank: null,
- ssState: null,
- roleIds: null,
- ssDeptId: null,
- };
- this.noneBtnImg = false;
- this.yyzzBtnImg = false;
- this.fsfzzBtnImg = false;
- this.fsfzfBtnImg = false;
- this.jsfzzBtnImg = false;
- this.jsfzfBtnImg = false;
- this.frsqsBtnImg = false;
- this.szzssqBtnImg = false;
- this.stfjBtnImg = false;
- this.contractNodeList = [];
- this.yyzzList = [];
- this.fsfzzList = [];
- this.fsfzfList = [];
- this.jsfzzList = [];
- this.jsfzfList = [];
- this.frsqsList = [];
- this.szzssqList = [];
- this.resetForm("form");
- },
- /** 查询企业状态 */
- getList() {
- cashBack()
- .then((response) => {
- if (response.data) {
- this.form = response.data.list;
- if (response.data.list.scyEndTime != null) {
- if (
- response.data.list.scyEndTime == "长期" ||
- response.data.list.scyEndTime == "永久"
- ) {
- this.term = true;
- }
- }
- if (response.data.yyzzUrl) {
- this.yyzzList.push({
- name: "营业执照",
- url: response.data.yyzzUrl + "/" + getToken(),
- });
- this.yyzzBtnImg = true;
- }
- if (response.data.fsfzzUrl) {
- this.fsfzzList.push({
- name: "法人身份证人像面",
- url: response.data.fsfzzUrl + "/" + getToken(),
- });
- this.fsfzzBtnImg = true;
- }
- if (response.data.fsfzzUrl) {
- this.fsfzfList.push({
- name: "法人身份证国徽面",
- url: response.data.fsfzfUrl + "/" + getToken(),
- });
- this.fsfzfBtnImg = true;
- }
- if (response.data.frsqsUrl) {
- this.frsqsList.push({
- name: "法人授权书",
- url: response.data.frsqsUrl + "/" + getToken(),
- });
- this.frsqsBtnImg = true;
- }
- if (response.data.szzssqUrl) {
- this.szzssqList.push({
- name: "数字证书授权与承诺书",
- url: response.data.szzssqUrl + "/" + getToken(),
- });
- this.szzssqBtnImg = true;
- }
- if (response.data.qtfjUrl) {
- this.qtfjList.push({
- name: "其他附件",
- url: response.data.qtfjUrl + "/" + getToken(),
- });
- this.qtfjBtnImg = true;
- }
- if (response.data.jsfzzUrl) {
- this.jsfzzList.push({
- name: "经办人身份证人像面",
- url: response.data.jsfzzUrl + "/" + getToken(),
- });
- this.jsfzzBtnImg = true;
- }
- if (response.data.jsfzfUrl) {
- this.jsfzfList.push({
- name: "经办人身份证国徽面",
- url: response.data.jsfzfUrl + "/" + getToken(),
- });
- this.jsfzfBtnImg = true;
- }
- if (response.data.userCompany) {
- this.$set(
- this.form,
- "handlerCard",
- response.data.userCompany[0].sucrCard
- );
- }
- if (response.data.user) {
- this.$set(this.form, "phone", response.data.user.userName);
- if (response.data.user.nickName == response.data.list.scyLegal) {
- this.legalHandle = true;
- }
- this.$set(this.form, "handler", response.data.user.nickName);
- }
- if (response.data.list.scyStatus == "03") {
- this.active = 1;
- } else if (response.data.list.scyStatus == "05") {
- this.$set(
- this.form,
- "pbaiBankaccountId",
- response.data.data[0].pbaiBankaccountId
- );
- this.$set(
- this.form,
- "pbaiBankName",
- response.data.data[0].pbaiBankName
- );
- this.$set(this.form, "phone", response.data.user.userName);
- this.$set(this.form, "handler", response.data.user.nickName);
- this.$set(
- this.form,
- "handlerCard",
- response.data.userCompany[0].sucrCard
- );
- corporateTime().then((response) => {
- if(response.data=="01"){
- this.$confirm(
- "本次打款验证已失效,请重新核对对公账户后再次打款验证",
- "提示",
- {
- confirmButtonText: "确认",
- cancelButtonText: "关闭",
- type: "warning",
- }
- ).then(() => {
- });
- this.active = 1;
- }
- });
- this.active = 2;
- } else if (response.data.list.scyStatus == "04") {
- this.$set(this.form, "phone", response.data.user.userName);
- this.$set(this.form, "handler", response.data.user.nickName);
- this.$set(
- this.form,
- "handlerCard",
- response.data.userCompany[0].sucrCard
- );
- this.active = 3;
- } else if (response.data.list.scyStatus == "00") {
- this.$store.dispatch("LogOut").then(() => {
- location.href = "/login";
- });
- }
- }
- })
- .catch((response) => {
- if (response == "Error: 登录状态已过期") {
- this.$router.push({ path: this.redirect || "/" });
- }
- });
- },
- //查询银行名称
- getBankList(pbaiBankName) {
- this.queryParams.pbaiBankName = pbaiBankName;
- listBank(this.queryParams).then((response) => {
- this.bankList = response.data;
- });
- },
- //文件移除提示
- beforeRemove(file, yyzzList) {
- for (let i = 0; i < this.yyzzList.length; i++) {
- if (file.uid == this.yyzzList[i].uid) {
- this.yyzzList.splice(i, 1);
- break;
- }
- }
- this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
- },
- handleExceed(file, yyzzList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- fsfzzRemove(file, fsfzzList) {
- for (let i = 0; i < this.fsfzzList.length; i++) {
- if (file.uid == this.fsfzzList[i].uid) {
- this.fsfzzList.splice(i, 1);
- break;
- }
- }
- this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
- },
- fsfzzExceed(file, fsfzzList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- fsfzfRemove(file, fsfzfList) {
- for (let i = 0; i < this.fsfzfList.length; i++) {
- if (file.uid == this.fsfzfList[i].uid) {
- this.fsfzfList.splice(i, 1);
- break;
- }
- }
- this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
- },
- fsfzfExceed(file, fsfzfList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- jsfzzRemove(file, jsfzzList) {
- for (let i = 0; i < this.jsfzzList.length; i++) {
- if (file.uid == thisjsfzzList[i].uid) {
- this.jsfzzList.splice(i, 1);
- break;
- }
- }
- this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
- },
- jsfzzExceed(file, jsfzzList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- jsfzfRemove(file, jsfzfList) {
- for (let i = 0; i < this.jsfzfList.length; i++) {
- if (file.uid == this.jsfzfList[i].uid) {
- this.jsfzfList.splice(i, 1);
- break;
- }
- }
- this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
- },
- jsfzfExceed(file, jsfzfList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- frsqsRemove(file, frsqsList) {
- for (let i = 0; i < this.frsqsList.length; i++) {
- if (file.uid == this.frsqsList[i].uid) {
- this.frsqsList.splice(i, 1);
- break;
- }
- }
- this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
- },
- frsqsExceed(file, frsqsList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- szzssqRemove(file, szzssqList) {
- for (let i = 0; i < this.szzssqList.length; i++) {
- if (file.uid == this.szzssqList[i].uid) {
- this.szzssqList.splice(i, 1);
- break;
- }
- }
- this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
- },
- szzssqExceed(file, yyzzList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- qtfjRemove(file, qtfjList) {
- for (let i = 0; i < this.qtfjList.length; i++) {
- if (file.uid == this.qtfjList[i].uid) {
- this.qtfjList.splice(i, 1);
- break;
- }
- }
- this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
- },
- qtfjExceed(file, qtfjList) {
- this.$message.warning(`当前限制选择 1 个文件`);
- },
- //图片预览
- handlePictureCardPreview(file) {
- this.yyzzImageUrl = file.url;
- this.yyzzVisible = true;
- },
- fsfzzPictureCardPreview(file) {
- this.fsfzzImageUrl = file.url;
- this.fsfzzVisible = true;
- },
- fsfzfPictureCardPreview(file) {
- this.fsfzfImageUrl = file.url;
- this.fsfzfVisible = true;
- },
- jsfzzPictureCardPreview(file) {
- this.jsfzzImageUrl = file.url;
- this.jsfzzVisible = true;
- },
- jsfzfPictureCardPreview(file) {
- this.jsfzfImageUrl = file.url;
- this.jsffzVisible = true;
- },
- frsqsPictureCardPreview(file) {
- this.frsqsImageUrl = file.url;
- this.frsqsVisible = true;
- },
- szzssqPictureCardPreview(file) {
- this.szzssqImageUrl = file.url;
- this.szzssqVisible = true;
- },
- qtfjPictureCardPreview(file) {
- this.qtfjImageUrl = file.url;
- this.qtfjVisible = true;
- },
- dealImgChange(file, yyzzList) {
- this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
- },
- fsfzzImgChange(file, fsfzzList) {
- this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
- },
- fsfzfImgChange(file, fsfzfList) {
- this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
- },
- jsfzzImgChange(file, jsfzzList) {
- this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
- },
- jsfzfImgChange(file, jsfzfList) {
- this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
- },
- frsqsImgChange(file, frsqsList) {
- this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
- },
- szzssqImgChange(file, szzssqList) {
- this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
- },
- qtfjImgChange(file, qtfjList) {
- this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
- },
- //营业执照上传
- submitUpload() {
- this.$refs.upload.submit();
- },
- //法人身份证正面上传
- fsfzzUpload() {
- this.$refs.fsfzzload.submit();
- },
- //法人身份证反面上传
- fsfzfUpload() {
- this.$refs.fsfzfload.submit();
- },
- //经办人身份证正面上传
- jsfzzUpload() {
- this.$refs.jsfzzload.submit();
- },
- //经办人身份证反面上传
- jsfzfUpload() {
- this.$refs.jsfzfload.submit();
- },
- //法人授权书上传
- frsqsUpload() {
- this.$refs.frsqsload.submit();
- },
- //数字证书授权上传
- szzssqUpload() {
- this.$refs.szzssqload.submit();
- },
- //其他附件上传
- qtfjUpload() {
- this.$refs.qtfjload.submit();
- },
- //上传前校验
- beforeAvatarUpload(file) {
- const isJPG =
- file.type === "image/jpeg" ||
- file.type === "image/png" ||
- file.type === "image/bmp";
- const isLt2M = file.size / 1024 / 1024 < 3;
- if (!isJPG) {
- this.$message.error("上传图片只能是 JPG/PNG/BMP 格式");
- }
- if (!isLt2M) {
- this.$message.error("上传图片大小不能超过 3MB");
- }
- return isJPG && isLt2M;
- },
- //营业执照上传
- yyzzRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- getlicense(fd)
- .then((response) => {
- if (response) {
- this.$set(this.form, "scyName", response.data.scyName);
- this.$set(this.form, "scySocialCode", response.data.scySocialCode);
- this.$set(this.form, "scyAddress", response.data.scyAddress);
- this.$set(this.form, "scyLegal", response.data.scyLegal);
- this.$set(
- this.form,
- "scyRegisteredCapital",
- response.data.scyRegisteredCapital
- );
- if (response.data.scyStartTime != null) {
- this.$set(this.form, "scyStartTime", response.data.scyStartTime);
- }
- if (response.data.scyEndTime != null) {
- if (
- response.data.scyEndTime == "长期" ||
- response.data.scyEndTime == "永久"
- ) {
- this.term = true;
- }
- this.$set(this.form, "scyEndTime", response.data.scyEndTime);
- }
- this.$set(
- this.form,
- "scyLicenseFile",
- response.data.scyLicenseFile
- );
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- console.log(response);
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.upload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.upload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- this.yyzzBtnImg = this.yyzzList.length >= this.limitCountImg;
- loading.close();
- });
- },
- //法人身份证正面ocr识别
- fsfzzRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- fd.append("fileType", "00"); // 文件类型
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- getCard(fd)
- .then((response) => {
- if (response) {
- this.$set(this.form, "scyLegalId", response.data.scyLegalId);
- this.$set(this.form, "scyLegal", response.data.scyLegal);
- this.$set(this.form, "fsfzzList", response.data.fsfzzList);
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.fsfzzload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.fsfzzload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- this.fsfzzBtnImg = this.fsfzzList.length >= this.limitCountImg;
- loading.close();
- });
- },
- //法人身份证反面
- fsfzfRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- fd.append("fileType", "02"); //文件类型
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- getCard(fd)
- .then((response) => {
- if (response) {
- this.$set(this.form, "fsfzfList", response.data.fsfzfList);
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.fsfzfload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.fsfzfload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- this.fsfzfBtnImg = this.fsfzfList.length >= this.limitCountImg;
- loading.close();
- });
- },
- //经办人身份证正面
- jsfzzRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- fd.append("fileType", "01"); // 文件类型
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- getCard(fd)
- .then((response) => {
- if (response) {
- this.$set(this.form, "handler", response.data.handler);
- this.$set(this.form, "handlerCard", response.data.handlerCard);
- this.$set(this.form, "jsfzzList", response.data.jsfzzList);
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.jsfzzload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.jsfzzload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- this.jsfzzBtnImg = this.jsfzzList.length >= this.limitCountImg;
- loading.close();
- });
- },
- //经办人身份证反面
- jsfzfRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- fd.append("fileType", "03"); //文件类型
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- getCard(fd)
- .then((response) => {
- if (response) {
- this.$set(this.form, "jsfzfList", response.data.jsfzfList);
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.jsfzfload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.jsfzfload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- this.jsfzfBtnImg = this.jsfzfList.length >= this.limitCountImg;
- loading.close();
- });
- },
- //法人授权书
- frsqsRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- fd.append("fileType", "00"); //文件类型
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- uploadFileNew(fd)
- .then((response) => {
- if (response) {
- this.frsqsList.push({
- uid: response.fileId,
- url: response.url + "/" + getToken(),
- });
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.frsqsload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.frsqsload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- this.frsqsBtnImg = this.frsqsList.length >= this.limitCountImg;
- loading.close();
- });
- },
- //数字证书授权
- szzssqRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- fd.append("fileType", "00"); //文件类型
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- uploadFileNew(fd)
- .then((response) => {
- if (response) {
- this.szzssqList.push({
- uid: response.fileId,
- url: response.url + "/" + getToken(),
- });
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.logisticsUpload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.logisticsUpload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- loading.close();
- });
- },
- //其他附件
- qtfjRequest(param) {
- let fileObj = param.file; // 相当于input里取得的files
- let fd = new FormData(); // FormData 对象
- fd.append("file", fileObj); // 文件对象
- fd.append("fileType", "00"); //文件类型
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- uploadFileNew(fd)
- .then((response) => {
- if (response) {
- this.qtfjList.push({
- uid: response.fileId,
- url: response.url + "/" + getToken(),
- });
- setTimeout(() => {
- loading.close();
- }, 2000);
- }
- })
- .catch((response) => {
- let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
- let idx = this.$refs.qtfjload.uploadFiles.findIndex(
- (item) => item.uid === uid
- ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
- this.$refs.qtfjload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
- this.qtfjBtnImg = this.qtfjList.length >= this.limitCountImg;
- loading.close();
- });
- },
- // 取消按钮
- cancel() {
- this.open = false;
- },
- /** 企业账户验证网联支持银行列表 */
- authorizationTemplate() {
- this.download(
- "system_cc/companyAuth/bankList",
- {},
- `企业账户验证网联支持银行列表.xlsx`
- );
- },
- /** 融信协议 */
- handle() {
- this.open = true;
- this.title = "融信协议";
- },
- /** 发送验证码 */
- submitForm() {
- //点击获取验证码
- const TIME_COUNT = 60; //倒计时60秒
- if (!this.timer) {
- this.count = TIME_COUNT;
- this.codeShow = false;
- this.timer = setInterval(() => {
- if (this.count > 0 && this.count <= TIME_COUNT) {
- this.count--;
- if (this.count == 0) {
- this.verification = false;
- clearInterval(this.timer);
- this.timer = null;
- }
- } else {
- this.codeShow = true;
- clearInterval(this.timer);
- this.timer = null;
- }
- }, 1000);
- }
- this.verification = true;
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- addCode(this.form)
- .then((response) => {
- loading.close();
- this.msgSuccess("发送成功");
- })
- .catch((response) => {
- loading.close();
- });
- },
- //上一步
- step() {
- this.active = 1;
- },
- //保存
- preservation() {
- this.$store.dispatch("LogOut").then(() => {
- location.href = "/login";
- });
- },
- // 下一步
- next() {
- if (this.active == 0) {
- if (!this.confirm) {
- this.$message.error("融信协议未确认!");
- } else {
- this.form.yyzzList = this.yyzzList;
- this.form.frsqsList = this.frsqsList;
- this.form.szzssqList = this.szzssqList;
- this.form.qtfjList = this.qtfjList;
- this.form.repeatToken = this.repeatToken;
- if (this.term) {
- this.form.scyEndTime = "长期";
- } else if (!this.form.scyEndTime) {
- this.form.scyEndTime = null;
- }
- if (!this.legalHandle) {
- this.form.legalHandles = "1";
- } else {
- this.form.legalHandles = "2";
- }
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- addAuthentication(this.form)
- .then((response) => {
- loading.close();
- //前三位
- var phone1 = this.form.phone.substring(0, 4);
- //后四位
- var phone2 = this.form.phone.substring(7);
- var phoney = phone1 + "****" + phone2;
- if (response.data == "skip") {
- this.$confirm(
- "未匹配到有效的企业工商信息,工作人员将致电{经办人手机号" +
- phoney +
- "}线下核实.",
- "提示",
- {
- confirmButtonText: "线下核实并跳过",
- cancelButtonText: "关闭",
- type: "warning",
- }
- ).then(() => {
- this.form.skip = "00";
- addAuthentication(this.form)
- .then((response) => {
- loading.close();
- this.msgSuccess("验证成功");
- this.$set(this.form, "scyId", response.data.scyId);
- this.active++;
- })
- .catch((response) => {
- loading.close();
- });
- });
- } else {
- console.log(response);
- this.msgSuccess("验证成功");
- this.$set(this.form, "scyId", response.data.scyId);
- this.active++;
- }
- })
- .catch((response) => {
- console.log(response);
- loading.close();
- });
- }
- } else if (this.active == 1) {
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- const nowDate = new Date();
- const date = {
- year: nowDate.getFullYear(),
- month: nowDate.getMonth() + 1,
- date: nowDate.getDate(),
- };
- const newmonth = date.month > 10 ? date.month : "0" + date.month;
- const day = date.date > 10 ? date.date : "0" + date.date;
- this.updateTime = date.year + "-" + newmonth + "-" + day;
- const confirmText = [
- "绑定对公账户成功,您于" +
- this.updateTime +
- "提交的对公账户绑定成功,平台将对账户信息打款核验2小时内到款,打款验证有效期:3天",
- "对公账户主体名称:" + this.form.scyName,
- "对公账户开户银行:" + this.form.pbaiBankName,
- "对公账户银行卡号:" + this.form.pbaiBankaccountId,
- ];
- const newDatas = [];
- const h = this.$createElement;
- for (const i in confirmText) {
- newDatas.push(h("p", null, confirmText[i]));
- }
- this.$confirm("提示", {
- title: "提示",
- message: h("div", null, newDatas),
- confirmButtonText: "打款认证",
- cancelButtonText: "关闭",
- type: "warning",
- })
- .then(() => {
- addAccount(this.form)
- .then((response) => {
- loading.close();
- this.msgSuccess("申请成功");
- this.active++;
- })
- .catch((response) => {
- loading.close();
- });
- })
- .catch((response) => {
- loading.close();
- });
- } else if (this.active == 2) {
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- addVerification(this.form)
- .then((response) => {
- loading.close();
- this.msgSuccess("认证成功");
- this.active++;
- })
- .catch((response) => {
- loading.close();
- });
- } else if (this.active == 3) {
- const loading = this.$loading({
- lock: true,
- text: "Loading",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.7)",
- });
- verification(this.form)
- .then((response) => {
- console.log(response);
- loading.close();
- this.msgSuccess("验证成功");
- this.active++;
- this.$router.push({ path: this.redirect || "/" });
- })
- .catch((response) => {
- loading.close();
- });
- } else {
- this.active++;
- }
- },
- handleAvatarSuccess(res, file) {
- this.imageUrl = URL.createObjectURL(file.raw);
- },
- // beforeAvatarUpload(file) {
- // const isJPG = file.type === "image/jpeg";
- // const isLt2M = file.size / 1024 / 1024 < 2;
- // if (!isJPG) {
- // this.$message.error("上传头像图片只能是 JPG 格式!");
- // }
- // if (!isLt2M) {
- // this.$message.error("上传头像图片大小不能超过 2MB!");
- // }
- // return isJPG && isLt2M;
- // },
- },
- };
- </script>
- <style>
- .uoloadSty .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .disUoloadSty .el-upload--picture-card {
- display: none;
- }
- .fsfzzUoload .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .Uoloadfsfzz .el-upload--picture-card {
- display: none;
- }
- .uoloadfsfzf .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .fsfzfUoloadSty .el-upload--picture-card {
- display: none;
- }
- .uoloadjsfzz .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .jsfzzUoloadSty .el-upload--picture-card {
- display: none;
- }
- .uoloadfrsqs .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .frsqsUoloadSty .el-upload--picture-card {
- display: none;
- }
- .uoloadjsfzf .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .jsfzfUoloadSty .el-upload--picture-card {
- display: none;
- }
- .uoloadszzssq .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .szzssqUoloadSty .el-upload--picture-card {
- display: none;
- }
- .uoloadqtfj .el-upload--picture-card {
- width: 110px;
- height: 110px;
- line-height: 110px;
- }
- .qtfjUoloadSty .el-upload--picture-card {
- display: none;
- }
- .substance p {
- font-family: "微软雅黑", sans-serif;
- font-weight: 400;
- font-style: normal;
- font-size: 14px;
- letter-spacing: normal;
- color: #666666;
- line-height: normal;
- margin: 0px;
- text-rendering: optimizeLegibility;
- font-kerning: normal;
- }
- .substance h4 {
- font-family: "微软雅黑", sans-serif;
- font-weight: 700;
- font-style: normal;
- font-size: 14px;
- letter-spacing: normal;
- color: #666666;
- line-height: normal;
- margin: 0px;
- text-rendering: optimizeLegibility;
- font-kerning: normal;
- }
- .separation {
- width: 200px;
- height: 60px;
- margin-top: 10px;
- border-right: 5px solid #005cff;
- }
- .approved {
- height: 150px;
- width: 60%;
- /* background-color: #f2f2f2; */
- text-align: center;
- border: 1px solid #f2f2f2;
- margin-left: 20%;
- }
- .avatar-uploader .el-upload {
- border: 1px dashed #d9d9d9;
- border-radius: 6px;
- cursor: pointer;
- position: relative;
- overflow: hidden;
- }
- .avatar-uploader .el-upload:hover {
- border-color: #409eff;
- }
- .avatar-uploader-icon {
- font-size: 28px;
- color: #8c939d;
- width: 178px;
- height: 178px;
- line-height: 178px;
- text-align: center;
- }
- .avatar {
- width: 178px;
- height: 178px;
- display: block;
- }
- .div-label {
- padding: 20px 0;
- width: 100%;
- }
- .ying .el-upload--picture-card {
- width: 100% !important;
- height: 407px !important;
- }
- .ying.el-upload-list--picture-card .el-upload-list__item {
- width: 100% !important;
- height: 407px !important;
- }
- .ying.el-upload-list--picture-card {
- width: 100% !important;
- height: 407px !important;
- }
- </style>
|