certification.vue 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097
  1. <template>
  2. <div class="myaqlDeploy">
  3. <!-- <div class="deplouTitle" style="margin-top: 3%; margin-bottom: 4%">
  4. <span style="margin-left: 6%">申请人:<span>翟鸡毛</span></span>
  5. <span style="margin-left: 8%">申请时间:</span><span>2021/8/17</span>
  6. <span></span>
  7. </div> -->
  8. <div class="deployBox">
  9. <el-steps align-center :active="active" show-icon finish-status="success">
  10. <el-step title="提交证件资料"></el-step>
  11. <el-step title="绑定对公账户"></el-step>
  12. <el-step title="打款验证"></el-step>
  13. <el-step title="实名审核"></el-step>
  14. </el-steps>
  15. <div class="basicInfo" v-if="active === 0">
  16. <el-container>
  17. <el-main>
  18. <el-row class="substance">
  19. <h4>资料准备:</h4>
  20. <p>1.统一社会信用代码证;</p>
  21. <p>2.企业法人身份证件;</p>
  22. <p>
  23. 3.经办人身份证件:即当前经办人员身份证件,经办人与企业法人不是同一人时,需提供经办人身份证件,经办人将负责贵司账号的管理及操作员账号管理;
  24. </p>
  25. <p>
  26. 4.经办人授权委托书:经办人与法人不是同一人时,需
  27. 下载授权委托书模板并根据要求填写内容,加盖公章后上传;
  28. </p>
  29. <p>
  30. 5.经办人手机号码:即与身份证件相符的三大运营商(联通、移动、电信)手机号码,认证账号与经办人账号不是同一人时,所提供手机号码将自动注册为经办人账号;默认登录密码将已短信发送,请注意查收;
  31. </p>
  32. <h4>资料上传要求:</h4>
  33. <p>
  34. 1.
  35. 营业执照及身份证请上传最新证件原件的彩色扫描件,如使用复印件请加盖公章上传;
  36. </p>
  37. <p>
  38. 2. 图片支持格式:jpg /jpeg /png /bmp格式,图片大小不超过3M;
  39. </p>
  40. <p>
  41. 3.
  42. 上传图片后,系统将自动识别并填写相关信息,请核对系统识别结果是否准确;
  43. </p>
  44. <p>4. 其他附件上传,非必输项,可作为辅助企业认证相关证明;</p>
  45. </el-row>
  46. <el-row style="margin-top: 3%">
  47. <span style="font-size: 14px"
  48. ><span class="separation"></span>营业执照</span
  49. ><span>(请您按下面流程进行操作)</span
  50. ><span style="color: #005cff">请核对系统识别结果是否正确</span>
  51. </el-row>
  52. </el-main>
  53. <el-container>
  54. <el-aside style="background-color: #fff">
  55. <el-upload
  56. class="ying"
  57. ref="upload"
  58. :class="{ uoloadSty: showBtnImg, disUoloadSty: yyzzBtnImg }"
  59. action=""
  60. accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
  61. :http-request="yyzzRequest"
  62. :on-preview="handlePictureCardPreview"
  63. :on-remove="beforeRemove"
  64. :on-change="dealImgChange"
  65. :before-upload="beforeAvatarUpload"
  66. multiple
  67. :limit="1"
  68. :on-exceed="handleExceed"
  69. list-type="picture-card"
  70. :file-list="yyzzList"
  71. :auto-upload="true"
  72. >
  73. <el-button slot="trigger" size="small" type="primary"
  74. >点击选择</el-button
  75. >
  76. </el-upload>
  77. <!-- <el-button
  78. style="margin-left: 10px"
  79. size="small"
  80. type="success"
  81. @click="submitUpload"
  82. >上传到服务器</el-button
  83. > -->
  84. </el-aside>
  85. <el-main>
  86. <el-row>
  87. <el-col :span="8" style="text-align: right; line-height: 35px"
  88. >公司名称:
  89. </el-col>
  90. <el-col :span="16">
  91. <el-input
  92. v-model="form.scyName"
  93. placeholder="请输入公司名称"
  94. style="width: 40%"
  95. clearable
  96. maxlength="15"
  97. ></el-input>
  98. </el-col>
  99. </el-row>
  100. <el-row style="margin-top: 2%">
  101. <el-col :span="8" style="text-align: right; line-height: 35px"
  102. ><span style="width: 50px">统一社会信用代码/营业执照号:</span>
  103. </el-col>
  104. <el-col :span="16">
  105. <el-input
  106. v-model="form.scySocialCode"
  107. placeholder="请输入统一社会信用代码"
  108. clearable
  109. maxlength="18"
  110. style="width: 40%"
  111. ></el-input>
  112. </el-col>
  113. </el-row>
  114. <el-row style="margin-top: 2%">
  115. <el-col :span="8" style="text-align: right; line-height: 35px"
  116. >住所地:
  117. </el-col>
  118. <el-col :span="16">
  119. <el-input
  120. v-model="form.scyAddress"
  121. placeholder="请输入住所地"
  122. clearable
  123. style="width: 40%"
  124. maxlength="15"
  125. ></el-input>
  126. </el-col>
  127. </el-row>
  128. <el-row style="margin-top: 2%">
  129. <el-col :span="8" style="text-align: right; line-height: 35px"
  130. >法定代表人:
  131. </el-col>
  132. <el-col :span="16">
  133. <el-input
  134. v-model="form.scyLegal"
  135. placeholder="请输入法定代表人"
  136. clearable
  137. style="width: 40%"
  138. maxlength="15"
  139. ></el-input>
  140. </el-col>
  141. </el-row>
  142. <el-row style="margin-top: 2%">
  143. <el-col :span="8" style="text-align: right; line-height: 35px"
  144. >注册资本:
  145. </el-col>
  146. <el-col :span="16">
  147. <el-input
  148. v-model="form.scyRegisteredCapital"
  149. placeholder="请输入注册资本"
  150. clearable
  151. style="width: 40%"
  152. maxlength="15"
  153. ></el-input>
  154. </el-col>
  155. </el-row>
  156. <el-row style="margin-top: 2%">
  157. <el-col :span="8" style="text-align: right; line-height: 35px"
  158. ><span class="demonstration">成立时间:</span>
  159. </el-col>
  160. <el-col :span="16">
  161. <div class="block">
  162. <!-- <el-date-picker
  163. v-model="form.scyStartTime"
  164. align="right"
  165. type="date"
  166. placeholder="选择日期"
  167. :picker-options="pickerOptions"
  168. >
  169. </el-date-picker> -->
  170. <el-date-picker
  171. v-model="form.scyStartTime"
  172. value-format="yyyy-MM-dd"
  173. placeholder="请选择成立时间"
  174. style="width: 206px"
  175. type="date"
  176. ></el-date-picker>
  177. </div>
  178. </el-col>
  179. </el-row>
  180. <el-row style="margin-top: 2%">
  181. <el-col :span="8" style="text-align: right; line-height: 35px">
  182. <span class="demonstration">营业期限(止): </span>
  183. </el-col>
  184. <el-col :span="16">
  185. <div class="block">
  186. <!-- <el-date-picker
  187. v-model="form.scyEndTime"
  188. align="right"
  189. type="date"
  190. placeholder="选择日期"
  191. :picker-options="pickerOptions"
  192. >
  193. </el-date-picker> -->
  194. <el-date-picker
  195. v-if="!term"
  196. :disabled="term"
  197. :clearable="false"
  198. v-model="form.scyEndTime"
  199. value-format="yyyy-MM-dd"
  200. placeholder="请选择营业期限"
  201. type="date"
  202. style="width: 206px"
  203. ></el-date-picker>
  204. <el-date-picker
  205. v-if="term"
  206. :disabled="term"
  207. :clearable="false"
  208. value-format="yyyy-MM-dd"
  209. placeholder="请选择营业期限"
  210. type="date"
  211. style="width: 206px"
  212. ></el-date-picker>
  213. <el-checkbox v-model="term">长期有效</el-checkbox>
  214. </div>
  215. </el-col>
  216. </el-row>
  217. <el-row style="margin-top: 2%">
  218. <el-col :span="8" style="text-align: right; line-height: 35px"
  219. >企业电话:
  220. </el-col>
  221. <el-col :span="16">
  222. <el-input
  223. v-model="form.scyPhone"
  224. placeholder="例:0531-58236368"
  225. style="width: 40%"
  226. maxlength="15"
  227. ></el-input>
  228. </el-col>
  229. </el-row>
  230. </el-main>
  231. </el-container>
  232. <el-main>
  233. <el-row style="margin-top: 3%">
  234. <span style="font-size: 14px"
  235. ><span class="separation"></span>法定代表人身份证件</span
  236. ><span>(请按照要求上传法定代表人身份证证件图片)</span
  237. ><span style="color: #005cff">请核对系统识别结果是否正确</span
  238. ><el-checkbox v-model="legalHandle">法人亲办</el-checkbox>
  239. </el-row>
  240. <el-container>
  241. <el-aside width="220px" style="background-color: #fff">
  242. <span style="font-size: 14px"
  243. ><span class="separation"></span>身份证人像面</span
  244. >
  245. <el-upload
  246. ref="fsfzzload"
  247. class="upload-demo"
  248. action=""
  249. :class="{ fsfzzUoload: showBtnImg, Uoloadfsfzz: fsfzzBtnImg }"
  250. :on-change="fsfzzImgChange"
  251. accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
  252. :http-request="fsfzzRequest"
  253. :on-preview="fsfzzPictureCardPreview"
  254. :on-remove="fsfzzRemove"
  255. :before-upload="beforeAvatarUpload"
  256. multiple
  257. :limit="1"
  258. :on-exceed="fsfzzExceed"
  259. list-type="picture-card"
  260. :file-list="fsfzzList"
  261. :auto-upload="true"
  262. >
  263. <el-button slot="trigger" size="small" type="primary"
  264. >点击选择</el-button
  265. >
  266. </el-upload>
  267. <!-- <el-button
  268. style="margin-left: 10px"
  269. size="small"
  270. type="success"
  271. @click="fsfzzUpload"
  272. >上传到服务器</el-button
  273. > -->
  274. <span style="font-size: 14px"
  275. ><span class="separation"></span>身份证国徽面</span
  276. >
  277. <el-upload
  278. ref="fsfzfload"
  279. class="upload-demo"
  280. action=""
  281. :class="{
  282. uoloadfsfzf: showBtnImg,
  283. fsfzfUoloadSty: fsfzfBtnImg,
  284. }"
  285. :on-change="fsfzfImgChange"
  286. accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
  287. :http-request="fsfzfRequest"
  288. :on-preview="fsfzfPictureCardPreview"
  289. :on-remove="fsfzfRemove"
  290. :before-upload="beforeAvatarUpload"
  291. multiple
  292. :limit="1"
  293. :on-exceed="fsfzfExceed"
  294. list-type="picture-card"
  295. :file-list="fsfzfList"
  296. :auto-upload="true"
  297. >
  298. <el-button slot="trigger" size="small" type="primary"
  299. >点击选择</el-button
  300. >
  301. </el-upload>
  302. <!-- <el-button
  303. style="margin-left: 10px"
  304. size="small"
  305. type="success"
  306. @click="fsfzfUpload"
  307. >上传到服务器</el-button
  308. > -->
  309. </el-aside>
  310. <el-main>
  311. <el-row>
  312. <el-col :span="8" style="text-align: right; line-height: 35px"
  313. >姓名:
  314. </el-col>
  315. <el-col :span="16">
  316. <el-input
  317. v-model="form.scyLegal"
  318. placeholder="请输入姓名"
  319. clearable
  320. style="width: 60%"
  321. maxlength="15"
  322. ></el-input>
  323. </el-col>
  324. </el-row>
  325. <el-row style="margin-top: 2%">
  326. <el-col :span="8" style="text-align: right; line-height: 35px"
  327. >身份证号:
  328. </el-col>
  329. <el-col :span="16">
  330. <el-input
  331. v-model="form.scyLegalId"
  332. placeholder="请输入身份证号"
  333. clearable
  334. style="width: 60%"
  335. maxlength="20"
  336. ></el-input>
  337. </el-col>
  338. </el-row>
  339. </el-main>
  340. </el-container>
  341. </el-main>
  342. <el-main v-show="legalHandle == false">
  343. <el-row style="margin-top: 3%">
  344. <span style="font-size: 14px"
  345. ><span class="separation"></span>账号管理员身份证件</span
  346. ><span>(请按照要求上传经办人身份证证件图片)</span
  347. ><span style="color: #005cff">请核对系统识别结果是否正确</span>
  348. </el-row>
  349. <el-container>
  350. <el-aside width="220px" style="background-color: #fff">
  351. <span style="font-size: 14px"
  352. ><span class="separation"></span>身份证人像面</span
  353. >
  354. <el-upload
  355. ref="jsfzzload"
  356. class="upload-demo"
  357. action=""
  358. :class="{
  359. uoloadjsfzz: showBtnImg,
  360. jsfzzUoloadSty: jsfzzBtnImg,
  361. }"
  362. :on-change="jsfzzImgChange"
  363. accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
  364. :http-request="jsfzzRequest"
  365. :on-preview="jsfzzPictureCardPreview"
  366. :on-remove="jsfzzRemove"
  367. :before-upload="beforeAvatarUpload"
  368. multiple
  369. :limit="1"
  370. :on-exceed="jsfzzExceed"
  371. list-type="picture-card"
  372. :file-list="jsfzzList"
  373. :auto-upload="true"
  374. >
  375. <el-button slot="trigger" size="small" type="primary"
  376. >点击选择</el-button
  377. >
  378. </el-upload>
  379. <!-- <el-button
  380. style="margin-left: 10px"
  381. size="small"
  382. type="success"
  383. @click="jsfzzUpload"
  384. >上传到服务器</el-button
  385. > -->
  386. <span style="font-size: 14px"
  387. ><span class="separation"></span>身份证国徽面</span
  388. >
  389. <el-upload
  390. ref="jsfzfload"
  391. class="upload-demo"
  392. action=""
  393. :class="{
  394. uoloadjsfzf: showBtnImg,
  395. jsfzfUoloadSty: jsfzfBtnImg,
  396. }"
  397. :on-change="jsfzfImgChange"
  398. accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
  399. :http-request="jsfzfRequest"
  400. :on-preview="jsfzfPictureCardPreview"
  401. :on-remove="jsfzfRemove"
  402. :before-upload="beforeAvatarUpload"
  403. multiple
  404. :limit="1"
  405. :on-exceed="jsfzfExceed"
  406. list-type="picture-card"
  407. :file-list="jsfzfList"
  408. :auto-upload="true"
  409. >
  410. <el-button slot="trigger" size="small" type="primary"
  411. >点击选择</el-button
  412. >
  413. </el-upload>
  414. <!-- <el-button
  415. style="margin-left: 10px"
  416. size="small"
  417. type="success"
  418. @click="jsfzfUpload"
  419. >上传到服务器</el-button
  420. > -->
  421. </el-aside>
  422. <el-main>
  423. <el-row>
  424. <el-col :span="8" style="text-align: right; line-height: 35px"
  425. >姓名:
  426. </el-col>
  427. <el-col :span="16">
  428. <el-input
  429. v-model="form.handler"
  430. placeholder="请输入姓名"
  431. clearable
  432. style="width: 60%"
  433. maxlength="20"
  434. ></el-input>
  435. </el-col>
  436. </el-row>
  437. <el-row style="margin-top: 2%">
  438. <el-col :span="8" style="text-align: right; line-height: 35px"
  439. >身份证号:
  440. </el-col>
  441. <el-col :span="16">
  442. <el-input
  443. v-model="form.handlerCard"
  444. placeholder="请输入身份证号"
  445. clearable
  446. style="width: 60%"
  447. maxlength="20"
  448. ></el-input>
  449. </el-col>
  450. </el-row>
  451. </el-main>
  452. </el-container>
  453. </el-main>
  454. <el-main>
  455. <el-row style="margin-top: 3%">
  456. <span style="font-size: 14px"
  457. ><span class="separation"></span>人员信息</span
  458. >
  459. </el-row>
  460. <el-row v-if="legalHandle">
  461. <el-col :span="12"
  462. >复核人员:<el-input
  463. v-model="form.scyLegal"
  464. placeholder="请输入复核人员"
  465. clearable
  466. style="width: 45%"
  467. maxlength="20"
  468. ></el-input>
  469. <el-tooltip
  470. class="item"
  471. effect="light"
  472. content="即经办人,在金融业务流程中担任业务复核人员"
  473. placement="right-start"
  474. >
  475. <i class="el-icon-question" />
  476. </el-tooltip>
  477. </el-col>
  478. <el-col :span="12"
  479. >联系电话:<el-input
  480. v-model="form.phone"
  481. placeholder="请输入联系电话"
  482. clearable
  483. style="width: 45%"
  484. maxlength="20"
  485. ></el-input>
  486. </el-col>
  487. </el-row>
  488. <el-row v-if="!legalHandle">
  489. <el-col :span="12"
  490. >复核人员:<el-input
  491. v-model="form.handler"
  492. placeholder="请输入复核人员"
  493. clearable
  494. style="width: 45%"
  495. maxlength="20"
  496. ></el-input>
  497. <el-tooltip
  498. class="item"
  499. effect="light"
  500. content="即经办人,在金融业务流程中担任业务复核人员"
  501. placement="right-start"
  502. >
  503. <i class="el-icon-question" />
  504. </el-tooltip>
  505. </el-col>
  506. <el-col :span="12"
  507. >联系电话:<el-input
  508. v-model="form.phone"
  509. placeholder="请输入联系电话"
  510. clearable
  511. style="width: 45%"
  512. maxlength="11"
  513. ></el-input>
  514. <el-tooltip
  515. class="item"
  516. effect="light"
  517. content="以下号段不支持验证:1349(卫星通信号段)、174(卫星通信号段)、141(物联网)、144(物联网)、165(虚拟)、167(虚拟)、1700(虚拟)、
  518. 1701(虚拟)、1702(虚拟)、1703(虚拟)、1704(虚拟)、1705(虚拟)、1706(虚拟)、1707(虚拟)、1708(虚拟)、
  519. 1709(虚拟)、(虚拟)"
  520. placement="right-start"
  521. >
  522. <i class="el-icon-question" />
  523. </el-tooltip>
  524. </el-col>
  525. </el-row>
  526. <el-row style="margin-top: 3%">
  527. <el-col :span="12"
  528. >业务操作员:<el-input
  529. v-model="form.operator"
  530. placeholder="请输入业务操作员"
  531. clearable
  532. style="width: 45%"
  533. maxlength="20"
  534. ></el-input>
  535. </el-col>
  536. <el-col :span="12"
  537. >联系电话:<el-input
  538. v-model="form.number"
  539. placeholder="请输入联系电话"
  540. clearable
  541. style="width: 45%"
  542. maxlength="11"
  543. ></el-input>
  544. </el-col>
  545. </el-row>
  546. </el-main>
  547. <el-main>
  548. <el-row style="margin-top: 3%" v-if="!legalHandle">
  549. <span style="font-size: 14px"
  550. ><span class="separation"></span>法人授权书:</span
  551. >
  552. </el-row>
  553. <el-upload
  554. v-if="!legalHandle"
  555. ref="frsqsload"
  556. class="upload-demo"
  557. action=""
  558. :class="{ uoloadfrsqs: showBtnImg, frsqsUoloadSty: frsqsBtnImg }"
  559. :on-change="frsqsImgChange"
  560. accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
  561. :http-request="frsqsRequest"
  562. :on-preview="frsqsPictureCardPreview"
  563. :on-remove="frsqsRemove"
  564. :before-upload="beforeAvatarUpload"
  565. multiple
  566. :limit="1"
  567. :on-exceed="frsqsExceed"
  568. list-type="picture-card"
  569. :file-list="frsqsList"
  570. :auto-upload="true"
  571. >
  572. <el-button slot="trigger" size="small" type="primary"
  573. >点击选择</el-button
  574. >
  575. </el-upload>
  576. <!-- <el-button
  577. style="margin-left: 10px"
  578. size="small"
  579. type="success"
  580. @click="frsqsUpload"
  581. >上传到服务器</el-button
  582. > -->
  583. </el-main>
  584. <el-main>
  585. <el-row style="margin-top: 3%">
  586. <span style="font-size: 14px"
  587. ><span class="separation"></span>其他附件上传:</span
  588. >
  589. </el-row>
  590. <el-row>
  591. <el-upload
  592. ref="qtfjload"
  593. class="upload-demo"
  594. action=""
  595. :class="{ uoloadqtfj: showBtnImg, qtfjUoloadSty: qtfjBtnImg }"
  596. :on-change="qtfjImgChange"
  597. accept=".jpg, .jpeg, .png, .JPG, .JPEG, .PNG"
  598. :http-request="qtfjRequest"
  599. :on-preview="qtfjPictureCardPreview"
  600. :on-remove="qtfjRemove"
  601. :before-upload="beforeAvatarUpload"
  602. multiple
  603. :limit="1"
  604. :on-exceed="qtfjExceed"
  605. list-type="picture-card"
  606. :file-list="qtfjList"
  607. :auto-upload="true"
  608. >
  609. <el-button slot="trigger" size="small" type="primary"
  610. >点击选择</el-button
  611. >
  612. </el-upload>
  613. <!-- <el-button
  614. style="margin-left: 10px"
  615. size="small"
  616. type="success"
  617. @click="qtfjUpload"
  618. >上传到服务器</el-button
  619. > -->
  620. </el-row>
  621. </el-main>
  622. <el-footer>
  623. <el-checkbox v-model="confirm">我已阅读并同意</el-checkbox
  624. ><a @click="handle">《xxxxxxxx融信协议》</a>
  625. </el-footer>
  626. </el-container>
  627. <el-dialog :visible.sync="yyzzVisible">
  628. <img width="100%" :src="yyzzImageUrl" alt="" />
  629. </el-dialog>
  630. <el-dialog :visible.sync="fsfzzVisible">
  631. <img width="100%" :src="fsfzzImageUrl" alt="" />
  632. </el-dialog>
  633. <el-dialog :visible.sync="fsfzfVisible">
  634. <img width="100%" :src="fsfzfImageUrl" alt="" />
  635. </el-dialog>
  636. <el-dialog :visible.sync="jsfzzVisible">
  637. <img width="100%" :src="jsfzzImageUrl" alt="" />
  638. </el-dialog>
  639. <el-dialog :visible.sync="jsfzfVisible">
  640. <img width="100%" :src="jsfzfImageUrl" alt="" />
  641. </el-dialog>
  642. <el-dialog :visible.sync="frsqsVisible">
  643. <img width="100%" :src="frsqsImageUrl" alt="" />
  644. </el-dialog>
  645. <el-dialog :visible.sync="szzssqVisible">
  646. <img width="100%" :src="szzssqImageUrl" alt="" />
  647. </el-dialog>
  648. <el-dialog :visible.sync="qtfjVisible">
  649. <img width="100%" :src="qtfjImageUrl" alt="" />
  650. </el-dialog>
  651. </div>
  652. <div class="basicInfo" v-if="active === 1">
  653. <el-container>
  654. <el-main>
  655. <el-row class="substance">
  656. <h4>资料准备:</h4>
  657. <p>
  658. 1.开户银行:支持银行列表<el-link
  659. type="info"
  660. style="font-size: 12px"
  661. @click="authorizationTemplate"
  662. >(企业账户验证网联支持银行列表)</el-link
  663. >;
  664. </p>
  665. <p>2. 企业对公账户银行卡号:即银行开户名称对应的银行卡号;</p>
  666. </el-row>
  667. </el-main>
  668. <el-main>
  669. <el-row>
  670. <el-col :span="8"
  671. >银行开户名称:<el-input
  672. v-model="form.scyName"
  673. placeholder="请输入银行开户名称"
  674. :disabled="disabled"
  675. style="width: 65%"
  676. maxlength="20"
  677. ></el-input>
  678. </el-col>
  679. <el-col :span="8"
  680. >开户银行:
  681. <el-select
  682. v-model="form.pbaiBankName"
  683. filterable
  684. clearable
  685. remote
  686. reserve-keyword
  687. placeholder="请选择开户银行"
  688. :remote-method="getBankList"
  689. >
  690. <el-option
  691. v-for="(item, index) in bankList"
  692. :key="index"
  693. :label="item.zcbiBankName"
  694. :value="item.zcbiBankName"
  695. >
  696. </el-option>
  697. </el-select>
  698. </el-col>
  699. <el-col :span="8"
  700. >银行账号:<el-input
  701. v-model="form.pbaiBankaccountId"
  702. placeholder="请输入银行账号"
  703. style="width: 65%"
  704. maxlength="25"
  705. ></el-input>
  706. </el-col>
  707. </el-row>
  708. </el-main>
  709. <el-footer> </el-footer>
  710. </el-container>
  711. </div>
  712. <div class="basicInfo" v-if="active === 2">
  713. <el-container>
  714. <el-main>
  715. <el-row>
  716. <el-col :span="8"
  717. >打款金额(元):<el-input
  718. v-model="form.amount"
  719. placeholder="请输入打款金额(元)"
  720. style="width: 65%"
  721. maxlength="4"
  722. ></el-input>
  723. </el-col>
  724. <el-col :span="8"
  725. ><span style="color: red"
  726. >打款金额有效期为三天,超过三天后重新打款</span
  727. >
  728. </el-col>
  729. </el-row>
  730. </el-main>
  731. <el-footer> </el-footer>
  732. </el-container>
  733. </div>
  734. <div class="basicInfo" v-if="active === 3">
  735. <el-container>
  736. <el-main>
  737. <el-row>
  738. <el-col :span="8" v-if="legalHandle"
  739. >经办人姓名:<el-input
  740. v-model="form.scyLegal"
  741. placeholder="请输入经办人姓名"
  742. style="width: 62%"
  743. :disabled="disabled"
  744. maxlength="20"
  745. ></el-input>
  746. </el-col>
  747. <el-col :span="8" v-if="!legalHandle"
  748. >经办人姓名:<el-input
  749. v-model="form.handler"
  750. placeholder="请输入经办人姓名"
  751. style="width: 62%"
  752. :disabled="disabled"
  753. maxlength="20"
  754. ></el-input>
  755. </el-col>
  756. <el-col :span="8" v-if="legalHandle"
  757. >身份证号码:<el-input
  758. v-model="form.scyLegalId"
  759. :disabled="disabled"
  760. placeholder="请输入内容"
  761. style="width: 62%"
  762. ></el-input>
  763. </el-col>
  764. <el-col :span="8" v-if="!legalHandle"
  765. >身份证号码:<el-input
  766. v-model="form.handlerCard"
  767. :disabled="disabled"
  768. placeholder="请输入内容"
  769. style="width: 62%"
  770. ></el-input>
  771. </el-col>
  772. <el-col :span="8"
  773. >手机号:<el-input
  774. v-model="form.phone"
  775. :disabled="disabled"
  776. placeholder="请输入内容"
  777. style="width: 62%"
  778. ></el-input>
  779. </el-col>
  780. </el-row>
  781. <el-row>
  782. <el-col :span="8" style="margin-top: 3%; margin-left: 1%"
  783. >验证码:
  784. <el-tooltip
  785. class="item"
  786. effect="light"
  787. content="无法获取验证码:非不支持号段手机号码无法获取验证码时,请及时联系平台客服0531-8236368"
  788. placement="right-start"
  789. >
  790. <i class="el-icon-question" /> </el-tooltip
  791. ><el-input
  792. v-model="form.code"
  793. placeholder="请输入验证码"
  794. style="width: 35%"
  795. ></el-input>
  796. <el-button
  797. type="primary"
  798. @click="submitForm"
  799. v-if="!verification"
  800. >获取验证码</el-button
  801. >
  802. <el-button v-if="verification">{{ count }}秒后重试</el-button>
  803. </el-col>
  804. </el-row>
  805. </el-main>
  806. <el-footer> </el-footer>
  807. </el-container>
  808. </div>
  809. <div class="deployBtn">
  810. <el-button
  811. style="float: right; margin-top: 12px; margin-right: 1%"
  812. @click="next"
  813. v-if="active == 0 || active == 1 || active == 2"
  814. >下一步</el-button
  815. >
  816. <el-button
  817. style="float: right; margin-top: 12px; margin-right: 1%"
  818. v-if="active == 2"
  819. @click="step"
  820. >上一步</el-button
  821. >
  822. <el-button
  823. style="float: right; margin-top: 12px"
  824. v-if="active == 2"
  825. @click="preservation"
  826. >保存</el-button
  827. >
  828. <el-button
  829. style="float: right; margin-top: 12px; margin-right: 1%"
  830. v-if="active == 3"
  831. @click="next"
  832. >提交</el-button
  833. >
  834. </div>
  835. </div>
  836. <!-- 合同 -->
  837. <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
  838. <div slot="footer" class="dialog-footer">
  839. <el-button @click="cancel">关闭</el-button>
  840. </div>
  841. </el-dialog>
  842. </div>
  843. </template>
  844. <script>
  845. import {
  846. getlicense,
  847. getCard,
  848. addAuthentication,
  849. addAccount,
  850. addVerification,
  851. verification,
  852. addCode,
  853. cashBack,
  854. listBank,
  855. corporateTime
  856. } from "@/api/system/authentication";
  857. import { uploadFileNew } from "@/api/common/file";
  858. import { getToken, removeToken } from "@/utils/auth";
  859. import { getRepeatToken } from "@/utils/common";
  860. export default {
  861. name: "GoodsAdd",
  862. data() {
  863. return {
  864. codeShow: true, //判断显示隐藏
  865. count: "", //显示时的文字内容
  866. timer: null,
  867. // 表单参数
  868. form: {},
  869. //法人经办
  870. legalHandle: false,
  871. //是否长期
  872. term: false,
  873. //是否确认
  874. confirm: false,
  875. //无法输入
  876. disabled: true,
  877. //验证码
  878. verification: false,
  879. // 完成跳转
  880. redirect: undefined,
  881. // 弹出层标题
  882. title: "",
  883. // 是否显示弹出层
  884. open: false,
  885. //银行
  886. bankList: [],
  887. yyzzImageUrl: "",
  888. yyzzVisible: false,
  889. fsfzzImageUrl: "",
  890. fsfzzVisible: false,
  891. fsfzfImageUrl: "",
  892. fsfzfVisible: false,
  893. jsfzzImageUrl: "",
  894. jsfzzVisible: false,
  895. jsfzfImageUrl: "",
  896. jsfzfVisible: false,
  897. frsqsImageUrl: "",
  898. frsqsVisible: false,
  899. szzssqImageUrl: "",
  900. szzssqVisible: false,
  901. qtfjImageUrl: "",
  902. qtfjVisible: false,
  903. showBtnImg: false,
  904. noneBtnImg: false,
  905. yyzzBtnImg: false,
  906. fsfzzBtnImg: false,
  907. fsfzfBtnImg: false,
  908. jsfzzBtnImg: false,
  909. jsfzfBtnImg: false,
  910. frsqsBtnImg: false,
  911. szzssqBtnImg: false,
  912. qtfjBtnImg: false,
  913. limitCountImg: 1,
  914. contractNodeList: [],
  915. yyzzList: [],
  916. fsfzzList: [],
  917. fsfzfList: [],
  918. jsfzzList: [],
  919. jsfzfList: [],
  920. frsqsList: [],
  921. szzssqList: [],
  922. qtfjList: [],
  923. fileList: [{}],
  924. imageUrl: "",
  925. tabPosition: "left",
  926. active: 0,
  927. establish: "",
  928. amount: "",
  929. input: "",
  930. corporate: "",
  931. Bank: "",
  932. number: "",
  933. operator: "",
  934. Phone: "",
  935. reviewer: "",
  936. Cad: "",
  937. name: "",
  938. namea: "",
  939. umber: "",
  940. telephone: "",
  941. domicile: "",
  942. capital: "",
  943. representative: "",
  944. credit: "",
  945. queryParams: {
  946. pageNum: 1,
  947. pageSize: 10,
  948. },
  949. pickerOptions: {
  950. disabledDate(time) {
  951. return time.getTime() > Date.now();
  952. },
  953. shortcuts: [
  954. {
  955. text: "今天",
  956. onClick(picker) {
  957. picker.$emit("pick", new Date());
  958. },
  959. },
  960. {
  961. text: "昨天",
  962. onClick(picker) {
  963. const date = new Date();
  964. date.setTime(date.getTime() - 3600 * 1000 * 24);
  965. picker.$emit("pick", date);
  966. },
  967. },
  968. {
  969. text: "一周前",
  970. onClick(picker) {
  971. const date = new Date();
  972. date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
  973. picker.$emit("pick", date);
  974. },
  975. },
  976. ],
  977. options: [
  978. {
  979. value: "选项1",
  980. label: "黄金糕",
  981. },
  982. {
  983. value: "选项2",
  984. label: "双皮奶",
  985. },
  986. {
  987. value: "选项3",
  988. label: "蚵仔煎",
  989. },
  990. {
  991. value: "选项4",
  992. label: "龙须面",
  993. },
  994. ],
  995. },
  996. value1: "",
  997. value2: "",
  998. value3: "",
  999. repeatToken: getRepeatToken(),
  1000. };
  1001. },
  1002. created() {
  1003. this.getList();
  1004. this.getBankList();
  1005. },
  1006. methods: {
  1007. // 表单重置
  1008. reset() {
  1009. this.form = {
  1010. ssName: null,
  1011. ssEmail: null,
  1012. ssPhone: null,
  1013. ssType: null,
  1014. ssJobNum: null,
  1015. ssSiteCompany: null,
  1016. ssSiteDept: null,
  1017. ssPlace: null,
  1018. ssCurrentSalary: null,
  1019. ssProjectManager: null,
  1020. ssCurrentLevel: null,
  1021. ssNation: null,
  1022. ssBirthDate: null,
  1023. ssPolitics: null,
  1024. ssNative: null,
  1025. ssWorkAddress: null,
  1026. ssFamilyAddress: null,
  1027. ssCardId: null,
  1028. ssExpireDate: null,
  1029. ssMarry: null,
  1030. ssEntryDate: null,
  1031. ssQuitDate: null,
  1032. ssCollegesType: null,
  1033. ssFinishSchool: null,
  1034. ssMajor: null,
  1035. ssEducation: null,
  1036. ssDegree: null,
  1037. ssContacts: null,
  1038. ssContactsPhone: null,
  1039. ssBankAcc: null,
  1040. ssBank: null,
  1041. ssState: null,
  1042. roleIds: null,
  1043. ssDeptId: null,
  1044. };
  1045. this.noneBtnImg = false;
  1046. this.yyzzBtnImg = false;
  1047. this.fsfzzBtnImg = false;
  1048. this.fsfzfBtnImg = false;
  1049. this.jsfzzBtnImg = false;
  1050. this.jsfzfBtnImg = false;
  1051. this.frsqsBtnImg = false;
  1052. this.szzssqBtnImg = false;
  1053. this.stfjBtnImg = false;
  1054. this.contractNodeList = [];
  1055. this.yyzzList = [];
  1056. this.fsfzzList = [];
  1057. this.fsfzfList = [];
  1058. this.jsfzzList = [];
  1059. this.jsfzfList = [];
  1060. this.frsqsList = [];
  1061. this.szzssqList = [];
  1062. this.resetForm("form");
  1063. },
  1064. /** 查询企业状态 */
  1065. getList() {
  1066. cashBack()
  1067. .then((response) => {
  1068. if (response.data) {
  1069. this.form = response.data.list;
  1070. if (response.data.list.scyEndTime != null) {
  1071. if (
  1072. response.data.list.scyEndTime == "长期" ||
  1073. response.data.list.scyEndTime == "永久"
  1074. ) {
  1075. this.term = true;
  1076. }
  1077. }
  1078. if (response.data.yyzzUrl) {
  1079. this.yyzzList.push({
  1080. name: "营业执照",
  1081. url: response.data.yyzzUrl + "/" + getToken(),
  1082. });
  1083. this.yyzzBtnImg = true;
  1084. }
  1085. if (response.data.fsfzzUrl) {
  1086. this.fsfzzList.push({
  1087. name: "法人身份证人像面",
  1088. url: response.data.fsfzzUrl + "/" + getToken(),
  1089. });
  1090. this.fsfzzBtnImg = true;
  1091. }
  1092. if (response.data.fsfzzUrl) {
  1093. this.fsfzfList.push({
  1094. name: "法人身份证国徽面",
  1095. url: response.data.fsfzfUrl + "/" + getToken(),
  1096. });
  1097. this.fsfzfBtnImg = true;
  1098. }
  1099. if (response.data.frsqsUrl) {
  1100. this.frsqsList.push({
  1101. name: "法人授权书",
  1102. url: response.data.frsqsUrl + "/" + getToken(),
  1103. });
  1104. this.frsqsBtnImg = true;
  1105. }
  1106. if (response.data.szzssqUrl) {
  1107. this.szzssqList.push({
  1108. name: "数字证书授权与承诺书",
  1109. url: response.data.szzssqUrl + "/" + getToken(),
  1110. });
  1111. this.szzssqBtnImg = true;
  1112. }
  1113. if (response.data.qtfjUrl) {
  1114. this.qtfjList.push({
  1115. name: "其他附件",
  1116. url: response.data.qtfjUrl + "/" + getToken(),
  1117. });
  1118. this.qtfjBtnImg = true;
  1119. }
  1120. if (response.data.jsfzzUrl) {
  1121. this.jsfzzList.push({
  1122. name: "经办人身份证人像面",
  1123. url: response.data.jsfzzUrl + "/" + getToken(),
  1124. });
  1125. this.jsfzzBtnImg = true;
  1126. }
  1127. if (response.data.jsfzfUrl) {
  1128. this.jsfzfList.push({
  1129. name: "经办人身份证国徽面",
  1130. url: response.data.jsfzfUrl + "/" + getToken(),
  1131. });
  1132. this.jsfzfBtnImg = true;
  1133. }
  1134. if (response.data.userCompany) {
  1135. this.$set(
  1136. this.form,
  1137. "handlerCard",
  1138. response.data.userCompany[0].sucrCard
  1139. );
  1140. }
  1141. if (response.data.user) {
  1142. this.$set(this.form, "phone", response.data.user.userName);
  1143. if (response.data.user.nickName == response.data.list.scyLegal) {
  1144. this.legalHandle = true;
  1145. }
  1146. this.$set(this.form, "handler", response.data.user.nickName);
  1147. }
  1148. if (response.data.list.scyStatus == "03") {
  1149. this.active = 1;
  1150. } else if (response.data.list.scyStatus == "05") {
  1151. this.$set(
  1152. this.form,
  1153. "pbaiBankaccountId",
  1154. response.data.data[0].pbaiBankaccountId
  1155. );
  1156. this.$set(
  1157. this.form,
  1158. "pbaiBankName",
  1159. response.data.data[0].pbaiBankName
  1160. );
  1161. this.$set(this.form, "phone", response.data.user.userName);
  1162. this.$set(this.form, "handler", response.data.user.nickName);
  1163. this.$set(
  1164. this.form,
  1165. "handlerCard",
  1166. response.data.userCompany[0].sucrCard
  1167. );
  1168. corporateTime().then((response) => {
  1169. if(response.data=="01"){
  1170. this.$confirm(
  1171. "本次打款验证已失效,请重新核对对公账户后再次打款验证",
  1172. "提示",
  1173. {
  1174. confirmButtonText: "确认",
  1175. cancelButtonText: "关闭",
  1176. type: "warning",
  1177. }
  1178. ).then(() => {
  1179. });
  1180. this.active = 1;
  1181. }
  1182. });
  1183. this.active = 2;
  1184. } else if (response.data.list.scyStatus == "04") {
  1185. this.$set(this.form, "phone", response.data.user.userName);
  1186. this.$set(this.form, "handler", response.data.user.nickName);
  1187. this.$set(
  1188. this.form,
  1189. "handlerCard",
  1190. response.data.userCompany[0].sucrCard
  1191. );
  1192. this.active = 3;
  1193. } else if (response.data.list.scyStatus == "00") {
  1194. this.$store.dispatch("LogOut").then(() => {
  1195. location.href = "/login";
  1196. });
  1197. }
  1198. }
  1199. })
  1200. .catch((response) => {
  1201. if (response == "Error: 登录状态已过期") {
  1202. this.$router.push({ path: this.redirect || "/" });
  1203. }
  1204. });
  1205. },
  1206. //查询银行名称
  1207. getBankList(pbaiBankName) {
  1208. this.queryParams.pbaiBankName = pbaiBankName;
  1209. listBank(this.queryParams).then((response) => {
  1210. this.bankList = response.data;
  1211. });
  1212. },
  1213. //文件移除提示
  1214. beforeRemove(file, yyzzList) {
  1215. for (let i = 0; i < this.yyzzList.length; i++) {
  1216. if (file.uid == this.yyzzList[i].uid) {
  1217. this.yyzzList.splice(i, 1);
  1218. break;
  1219. }
  1220. }
  1221. this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
  1222. },
  1223. handleExceed(file, yyzzList) {
  1224. this.$message.warning(`当前限制选择 1 个文件`);
  1225. },
  1226. fsfzzRemove(file, fsfzzList) {
  1227. for (let i = 0; i < this.fsfzzList.length; i++) {
  1228. if (file.uid == this.fsfzzList[i].uid) {
  1229. this.fsfzzList.splice(i, 1);
  1230. break;
  1231. }
  1232. }
  1233. this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
  1234. },
  1235. fsfzzExceed(file, fsfzzList) {
  1236. this.$message.warning(`当前限制选择 1 个文件`);
  1237. },
  1238. fsfzfRemove(file, fsfzfList) {
  1239. for (let i = 0; i < this.fsfzfList.length; i++) {
  1240. if (file.uid == this.fsfzfList[i].uid) {
  1241. this.fsfzfList.splice(i, 1);
  1242. break;
  1243. }
  1244. }
  1245. this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
  1246. },
  1247. fsfzfExceed(file, fsfzfList) {
  1248. this.$message.warning(`当前限制选择 1 个文件`);
  1249. },
  1250. jsfzzRemove(file, jsfzzList) {
  1251. for (let i = 0; i < this.jsfzzList.length; i++) {
  1252. if (file.uid == thisjsfzzList[i].uid) {
  1253. this.jsfzzList.splice(i, 1);
  1254. break;
  1255. }
  1256. }
  1257. this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
  1258. },
  1259. jsfzzExceed(file, jsfzzList) {
  1260. this.$message.warning(`当前限制选择 1 个文件`);
  1261. },
  1262. jsfzfRemove(file, jsfzfList) {
  1263. for (let i = 0; i < this.jsfzfList.length; i++) {
  1264. if (file.uid == this.jsfzfList[i].uid) {
  1265. this.jsfzfList.splice(i, 1);
  1266. break;
  1267. }
  1268. }
  1269. this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
  1270. },
  1271. jsfzfExceed(file, jsfzfList) {
  1272. this.$message.warning(`当前限制选择 1 个文件`);
  1273. },
  1274. frsqsRemove(file, frsqsList) {
  1275. for (let i = 0; i < this.frsqsList.length; i++) {
  1276. if (file.uid == this.frsqsList[i].uid) {
  1277. this.frsqsList.splice(i, 1);
  1278. break;
  1279. }
  1280. }
  1281. this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
  1282. },
  1283. frsqsExceed(file, frsqsList) {
  1284. this.$message.warning(`当前限制选择 1 个文件`);
  1285. },
  1286. szzssqRemove(file, szzssqList) {
  1287. for (let i = 0; i < this.szzssqList.length; i++) {
  1288. if (file.uid == this.szzssqList[i].uid) {
  1289. this.szzssqList.splice(i, 1);
  1290. break;
  1291. }
  1292. }
  1293. this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
  1294. },
  1295. szzssqExceed(file, yyzzList) {
  1296. this.$message.warning(`当前限制选择 1 个文件`);
  1297. },
  1298. qtfjRemove(file, qtfjList) {
  1299. for (let i = 0; i < this.qtfjList.length; i++) {
  1300. if (file.uid == this.qtfjList[i].uid) {
  1301. this.qtfjList.splice(i, 1);
  1302. break;
  1303. }
  1304. }
  1305. this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
  1306. },
  1307. qtfjExceed(file, qtfjList) {
  1308. this.$message.warning(`当前限制选择 1 个文件`);
  1309. },
  1310. //图片预览
  1311. handlePictureCardPreview(file) {
  1312. this.yyzzImageUrl = file.url;
  1313. this.yyzzVisible = true;
  1314. },
  1315. fsfzzPictureCardPreview(file) {
  1316. this.fsfzzImageUrl = file.url;
  1317. this.fsfzzVisible = true;
  1318. },
  1319. fsfzfPictureCardPreview(file) {
  1320. this.fsfzfImageUrl = file.url;
  1321. this.fsfzfVisible = true;
  1322. },
  1323. jsfzzPictureCardPreview(file) {
  1324. this.jsfzzImageUrl = file.url;
  1325. this.jsfzzVisible = true;
  1326. },
  1327. jsfzfPictureCardPreview(file) {
  1328. this.jsfzfImageUrl = file.url;
  1329. this.jsffzVisible = true;
  1330. },
  1331. frsqsPictureCardPreview(file) {
  1332. this.frsqsImageUrl = file.url;
  1333. this.frsqsVisible = true;
  1334. },
  1335. szzssqPictureCardPreview(file) {
  1336. this.szzssqImageUrl = file.url;
  1337. this.szzssqVisible = true;
  1338. },
  1339. qtfjPictureCardPreview(file) {
  1340. this.qtfjImageUrl = file.url;
  1341. this.qtfjVisible = true;
  1342. },
  1343. dealImgChange(file, yyzzList) {
  1344. this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
  1345. },
  1346. fsfzzImgChange(file, fsfzzList) {
  1347. this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
  1348. },
  1349. fsfzfImgChange(file, fsfzfList) {
  1350. this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
  1351. },
  1352. jsfzzImgChange(file, jsfzzList) {
  1353. this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
  1354. },
  1355. jsfzfImgChange(file, jsfzfList) {
  1356. this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
  1357. },
  1358. frsqsImgChange(file, frsqsList) {
  1359. this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
  1360. },
  1361. szzssqImgChange(file, szzssqList) {
  1362. this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
  1363. },
  1364. qtfjImgChange(file, qtfjList) {
  1365. this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
  1366. },
  1367. //营业执照上传
  1368. submitUpload() {
  1369. this.$refs.upload.submit();
  1370. },
  1371. //法人身份证正面上传
  1372. fsfzzUpload() {
  1373. this.$refs.fsfzzload.submit();
  1374. },
  1375. //法人身份证反面上传
  1376. fsfzfUpload() {
  1377. this.$refs.fsfzfload.submit();
  1378. },
  1379. //经办人身份证正面上传
  1380. jsfzzUpload() {
  1381. this.$refs.jsfzzload.submit();
  1382. },
  1383. //经办人身份证反面上传
  1384. jsfzfUpload() {
  1385. this.$refs.jsfzfload.submit();
  1386. },
  1387. //法人授权书上传
  1388. frsqsUpload() {
  1389. this.$refs.frsqsload.submit();
  1390. },
  1391. //数字证书授权上传
  1392. szzssqUpload() {
  1393. this.$refs.szzssqload.submit();
  1394. },
  1395. //其他附件上传
  1396. qtfjUpload() {
  1397. this.$refs.qtfjload.submit();
  1398. },
  1399. //上传前校验
  1400. beforeAvatarUpload(file) {
  1401. const isJPG =
  1402. file.type === "image/jpeg" ||
  1403. file.type === "image/png" ||
  1404. file.type === "image/bmp";
  1405. const isLt2M = file.size / 1024 / 1024 < 3;
  1406. if (!isJPG) {
  1407. this.$message.error("上传图片只能是 JPG/PNG/BMP 格式");
  1408. }
  1409. if (!isLt2M) {
  1410. this.$message.error("上传图片大小不能超过 3MB");
  1411. }
  1412. return isJPG && isLt2M;
  1413. },
  1414. //营业执照上传
  1415. yyzzRequest(param) {
  1416. let fileObj = param.file; // 相当于input里取得的files
  1417. let fd = new FormData(); // FormData 对象
  1418. fd.append("file", fileObj); // 文件对象
  1419. const loading = this.$loading({
  1420. lock: true,
  1421. text: "Loading",
  1422. spinner: "el-icon-loading",
  1423. background: "rgba(0, 0, 0, 0.7)",
  1424. });
  1425. getlicense(fd)
  1426. .then((response) => {
  1427. if (response) {
  1428. this.$set(this.form, "scyName", response.data.scyName);
  1429. this.$set(this.form, "scySocialCode", response.data.scySocialCode);
  1430. this.$set(this.form, "scyAddress", response.data.scyAddress);
  1431. this.$set(this.form, "scyLegal", response.data.scyLegal);
  1432. this.$set(
  1433. this.form,
  1434. "scyRegisteredCapital",
  1435. response.data.scyRegisteredCapital
  1436. );
  1437. if (response.data.scyStartTime != null) {
  1438. this.$set(this.form, "scyStartTime", response.data.scyStartTime);
  1439. }
  1440. if (response.data.scyEndTime != null) {
  1441. if (
  1442. response.data.scyEndTime == "长期" ||
  1443. response.data.scyEndTime == "永久"
  1444. ) {
  1445. this.term = true;
  1446. }
  1447. this.$set(this.form, "scyEndTime", response.data.scyEndTime);
  1448. }
  1449. this.$set(
  1450. this.form,
  1451. "scyLicenseFile",
  1452. response.data.scyLicenseFile
  1453. );
  1454. setTimeout(() => {
  1455. loading.close();
  1456. }, 2000);
  1457. }
  1458. })
  1459. .catch((response) => {
  1460. console.log(response);
  1461. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1462. let idx = this.$refs.upload.uploadFiles.findIndex(
  1463. (item) => item.uid === uid
  1464. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1465. this.$refs.upload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1466. this.yyzzBtnImg = this.yyzzList.length >= this.limitCountImg;
  1467. loading.close();
  1468. });
  1469. },
  1470. //法人身份证正面ocr识别
  1471. fsfzzRequest(param) {
  1472. let fileObj = param.file; // 相当于input里取得的files
  1473. let fd = new FormData(); // FormData 对象
  1474. fd.append("file", fileObj); // 文件对象
  1475. fd.append("fileType", "00"); // 文件类型
  1476. const loading = this.$loading({
  1477. lock: true,
  1478. text: "Loading",
  1479. spinner: "el-icon-loading",
  1480. background: "rgba(0, 0, 0, 0.7)",
  1481. });
  1482. getCard(fd)
  1483. .then((response) => {
  1484. if (response) {
  1485. this.$set(this.form, "scyLegalId", response.data.scyLegalId);
  1486. this.$set(this.form, "scyLegal", response.data.scyLegal);
  1487. this.$set(this.form, "fsfzzList", response.data.fsfzzList);
  1488. setTimeout(() => {
  1489. loading.close();
  1490. }, 2000);
  1491. }
  1492. })
  1493. .catch((response) => {
  1494. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1495. let idx = this.$refs.fsfzzload.uploadFiles.findIndex(
  1496. (item) => item.uid === uid
  1497. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1498. this.$refs.fsfzzload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1499. this.fsfzzBtnImg = this.fsfzzList.length >= this.limitCountImg;
  1500. loading.close();
  1501. });
  1502. },
  1503. //法人身份证反面
  1504. fsfzfRequest(param) {
  1505. let fileObj = param.file; // 相当于input里取得的files
  1506. let fd = new FormData(); // FormData 对象
  1507. fd.append("file", fileObj); // 文件对象
  1508. fd.append("fileType", "02"); //文件类型
  1509. const loading = this.$loading({
  1510. lock: true,
  1511. text: "Loading",
  1512. spinner: "el-icon-loading",
  1513. background: "rgba(0, 0, 0, 0.7)",
  1514. });
  1515. getCard(fd)
  1516. .then((response) => {
  1517. if (response) {
  1518. this.$set(this.form, "fsfzfList", response.data.fsfzfList);
  1519. setTimeout(() => {
  1520. loading.close();
  1521. }, 2000);
  1522. }
  1523. })
  1524. .catch((response) => {
  1525. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1526. let idx = this.$refs.fsfzfload.uploadFiles.findIndex(
  1527. (item) => item.uid === uid
  1528. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1529. this.$refs.fsfzfload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1530. this.fsfzfBtnImg = this.fsfzfList.length >= this.limitCountImg;
  1531. loading.close();
  1532. });
  1533. },
  1534. //经办人身份证正面
  1535. jsfzzRequest(param) {
  1536. let fileObj = param.file; // 相当于input里取得的files
  1537. let fd = new FormData(); // FormData 对象
  1538. fd.append("file", fileObj); // 文件对象
  1539. fd.append("fileType", "01"); // 文件类型
  1540. const loading = this.$loading({
  1541. lock: true,
  1542. text: "Loading",
  1543. spinner: "el-icon-loading",
  1544. background: "rgba(0, 0, 0, 0.7)",
  1545. });
  1546. getCard(fd)
  1547. .then((response) => {
  1548. if (response) {
  1549. this.$set(this.form, "handler", response.data.handler);
  1550. this.$set(this.form, "handlerCard", response.data.handlerCard);
  1551. this.$set(this.form, "jsfzzList", response.data.jsfzzList);
  1552. setTimeout(() => {
  1553. loading.close();
  1554. }, 2000);
  1555. }
  1556. })
  1557. .catch((response) => {
  1558. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1559. let idx = this.$refs.jsfzzload.uploadFiles.findIndex(
  1560. (item) => item.uid === uid
  1561. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1562. this.$refs.jsfzzload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1563. this.jsfzzBtnImg = this.jsfzzList.length >= this.limitCountImg;
  1564. loading.close();
  1565. });
  1566. },
  1567. //经办人身份证反面
  1568. jsfzfRequest(param) {
  1569. let fileObj = param.file; // 相当于input里取得的files
  1570. let fd = new FormData(); // FormData 对象
  1571. fd.append("file", fileObj); // 文件对象
  1572. fd.append("fileType", "03"); //文件类型
  1573. const loading = this.$loading({
  1574. lock: true,
  1575. text: "Loading",
  1576. spinner: "el-icon-loading",
  1577. background: "rgba(0, 0, 0, 0.7)",
  1578. });
  1579. getCard(fd)
  1580. .then((response) => {
  1581. if (response) {
  1582. this.$set(this.form, "jsfzfList", response.data.jsfzfList);
  1583. setTimeout(() => {
  1584. loading.close();
  1585. }, 2000);
  1586. }
  1587. })
  1588. .catch((response) => {
  1589. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1590. let idx = this.$refs.jsfzfload.uploadFiles.findIndex(
  1591. (item) => item.uid === uid
  1592. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1593. this.$refs.jsfzfload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1594. this.jsfzfBtnImg = this.jsfzfList.length >= this.limitCountImg;
  1595. loading.close();
  1596. });
  1597. },
  1598. //法人授权书
  1599. frsqsRequest(param) {
  1600. let fileObj = param.file; // 相当于input里取得的files
  1601. let fd = new FormData(); // FormData 对象
  1602. fd.append("file", fileObj); // 文件对象
  1603. fd.append("fileType", "00"); //文件类型
  1604. const loading = this.$loading({
  1605. lock: true,
  1606. text: "Loading",
  1607. spinner: "el-icon-loading",
  1608. background: "rgba(0, 0, 0, 0.7)",
  1609. });
  1610. uploadFileNew(fd)
  1611. .then((response) => {
  1612. if (response) {
  1613. this.frsqsList.push({
  1614. uid: response.fileId,
  1615. url: response.url + "/" + getToken(),
  1616. });
  1617. setTimeout(() => {
  1618. loading.close();
  1619. }, 2000);
  1620. }
  1621. })
  1622. .catch((response) => {
  1623. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1624. let idx = this.$refs.frsqsload.uploadFiles.findIndex(
  1625. (item) => item.uid === uid
  1626. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1627. this.$refs.frsqsload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1628. this.frsqsBtnImg = this.frsqsList.length >= this.limitCountImg;
  1629. loading.close();
  1630. });
  1631. },
  1632. //数字证书授权
  1633. szzssqRequest(param) {
  1634. let fileObj = param.file; // 相当于input里取得的files
  1635. let fd = new FormData(); // FormData 对象
  1636. fd.append("file", fileObj); // 文件对象
  1637. fd.append("fileType", "00"); //文件类型
  1638. const loading = this.$loading({
  1639. lock: true,
  1640. text: "Loading",
  1641. spinner: "el-icon-loading",
  1642. background: "rgba(0, 0, 0, 0.7)",
  1643. });
  1644. uploadFileNew(fd)
  1645. .then((response) => {
  1646. if (response) {
  1647. this.szzssqList.push({
  1648. uid: response.fileId,
  1649. url: response.url + "/" + getToken(),
  1650. });
  1651. setTimeout(() => {
  1652. loading.close();
  1653. }, 2000);
  1654. }
  1655. })
  1656. .catch((response) => {
  1657. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1658. let idx = this.$refs.logisticsUpload.uploadFiles.findIndex(
  1659. (item) => item.uid === uid
  1660. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1661. this.$refs.logisticsUpload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1662. loading.close();
  1663. });
  1664. },
  1665. //其他附件
  1666. qtfjRequest(param) {
  1667. let fileObj = param.file; // 相当于input里取得的files
  1668. let fd = new FormData(); // FormData 对象
  1669. fd.append("file", fileObj); // 文件对象
  1670. fd.append("fileType", "00"); //文件类型
  1671. const loading = this.$loading({
  1672. lock: true,
  1673. text: "Loading",
  1674. spinner: "el-icon-loading",
  1675. background: "rgba(0, 0, 0, 0.7)",
  1676. });
  1677. uploadFileNew(fd)
  1678. .then((response) => {
  1679. if (response) {
  1680. this.qtfjList.push({
  1681. uid: response.fileId,
  1682. url: response.url + "/" + getToken(),
  1683. });
  1684. setTimeout(() => {
  1685. loading.close();
  1686. }, 2000);
  1687. }
  1688. })
  1689. .catch((response) => {
  1690. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1691. let idx = this.$refs.qtfjload.uploadFiles.findIndex(
  1692. (item) => item.uid === uid
  1693. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1694. this.$refs.qtfjload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1695. this.qtfjBtnImg = this.qtfjList.length >= this.limitCountImg;
  1696. loading.close();
  1697. });
  1698. },
  1699. // 取消按钮
  1700. cancel() {
  1701. this.open = false;
  1702. },
  1703. /** 企业账户验证网联支持银行列表 */
  1704. authorizationTemplate() {
  1705. this.download(
  1706. "system_cc/companyAuth/bankList",
  1707. {},
  1708. `企业账户验证网联支持银行列表.xlsx`
  1709. );
  1710. },
  1711. /** 融信协议 */
  1712. handle() {
  1713. this.open = true;
  1714. this.title = "融信协议";
  1715. },
  1716. /** 发送验证码 */
  1717. submitForm() {
  1718. //点击获取验证码
  1719. const TIME_COUNT = 60; //倒计时60秒
  1720. if (!this.timer) {
  1721. this.count = TIME_COUNT;
  1722. this.codeShow = false;
  1723. this.timer = setInterval(() => {
  1724. if (this.count > 0 && this.count <= TIME_COUNT) {
  1725. this.count--;
  1726. if (this.count == 0) {
  1727. this.verification = false;
  1728. clearInterval(this.timer);
  1729. this.timer = null;
  1730. }
  1731. } else {
  1732. this.codeShow = true;
  1733. clearInterval(this.timer);
  1734. this.timer = null;
  1735. }
  1736. }, 1000);
  1737. }
  1738. this.verification = true;
  1739. const loading = this.$loading({
  1740. lock: true,
  1741. text: "Loading",
  1742. spinner: "el-icon-loading",
  1743. background: "rgba(0, 0, 0, 0.7)",
  1744. });
  1745. addCode(this.form)
  1746. .then((response) => {
  1747. loading.close();
  1748. this.msgSuccess("发送成功");
  1749. })
  1750. .catch((response) => {
  1751. loading.close();
  1752. });
  1753. },
  1754. //上一步
  1755. step() {
  1756. this.active = 1;
  1757. },
  1758. //保存
  1759. preservation() {
  1760. this.$store.dispatch("LogOut").then(() => {
  1761. location.href = "/login";
  1762. });
  1763. },
  1764. // 下一步
  1765. next() {
  1766. if (this.active == 0) {
  1767. if (!this.confirm) {
  1768. this.$message.error("融信协议未确认!");
  1769. } else {
  1770. this.form.yyzzList = this.yyzzList;
  1771. this.form.frsqsList = this.frsqsList;
  1772. this.form.szzssqList = this.szzssqList;
  1773. this.form.qtfjList = this.qtfjList;
  1774. this.form.repeatToken = this.repeatToken;
  1775. if (this.term) {
  1776. this.form.scyEndTime = "长期";
  1777. } else if (!this.form.scyEndTime) {
  1778. this.form.scyEndTime = null;
  1779. }
  1780. if (!this.legalHandle) {
  1781. this.form.legalHandles = "1";
  1782. } else {
  1783. this.form.legalHandles = "2";
  1784. }
  1785. const loading = this.$loading({
  1786. lock: true,
  1787. text: "Loading",
  1788. spinner: "el-icon-loading",
  1789. background: "rgba(0, 0, 0, 0.7)",
  1790. });
  1791. addAuthentication(this.form)
  1792. .then((response) => {
  1793. loading.close();
  1794. //前三位
  1795. var phone1 = this.form.phone.substring(0, 4);
  1796. //后四位
  1797. var phone2 = this.form.phone.substring(7);
  1798. var phoney = phone1 + "****" + phone2;
  1799. if (response.data == "skip") {
  1800. this.$confirm(
  1801. "未匹配到有效的企业工商信息,工作人员将致电{经办人手机号" +
  1802. phoney +
  1803. "}线下核实.",
  1804. "提示",
  1805. {
  1806. confirmButtonText: "线下核实并跳过",
  1807. cancelButtonText: "关闭",
  1808. type: "warning",
  1809. }
  1810. ).then(() => {
  1811. this.form.skip = "00";
  1812. addAuthentication(this.form)
  1813. .then((response) => {
  1814. loading.close();
  1815. this.msgSuccess("验证成功");
  1816. this.$set(this.form, "scyId", response.data.scyId);
  1817. this.active++;
  1818. })
  1819. .catch((response) => {
  1820. loading.close();
  1821. });
  1822. });
  1823. } else {
  1824. console.log(response);
  1825. this.msgSuccess("验证成功");
  1826. this.$set(this.form, "scyId", response.data.scyId);
  1827. this.active++;
  1828. }
  1829. })
  1830. .catch((response) => {
  1831. console.log(response);
  1832. loading.close();
  1833. });
  1834. }
  1835. } else if (this.active == 1) {
  1836. const loading = this.$loading({
  1837. lock: true,
  1838. text: "Loading",
  1839. spinner: "el-icon-loading",
  1840. background: "rgba(0, 0, 0, 0.7)",
  1841. });
  1842. const nowDate = new Date();
  1843. const date = {
  1844. year: nowDate.getFullYear(),
  1845. month: nowDate.getMonth() + 1,
  1846. date: nowDate.getDate(),
  1847. };
  1848. const newmonth = date.month > 10 ? date.month : "0" + date.month;
  1849. const day = date.date > 10 ? date.date : "0" + date.date;
  1850. this.updateTime = date.year + "-" + newmonth + "-" + day;
  1851. const confirmText = [
  1852. "绑定对公账户成功,您于" +
  1853. this.updateTime +
  1854. "提交的对公账户绑定成功,平台将对账户信息打款核验2小时内到款,打款验证有效期:3天",
  1855. "对公账户主体名称:" + this.form.scyName,
  1856. "对公账户开户银行:" + this.form.pbaiBankName,
  1857. "对公账户银行卡号:" + this.form.pbaiBankaccountId,
  1858. ];
  1859. const newDatas = [];
  1860. const h = this.$createElement;
  1861. for (const i in confirmText) {
  1862. newDatas.push(h("p", null, confirmText[i]));
  1863. }
  1864. this.$confirm("提示", {
  1865. title: "提示",
  1866. message: h("div", null, newDatas),
  1867. confirmButtonText: "打款认证",
  1868. cancelButtonText: "关闭",
  1869. type: "warning",
  1870. })
  1871. .then(() => {
  1872. addAccount(this.form)
  1873. .then((response) => {
  1874. loading.close();
  1875. this.msgSuccess("申请成功");
  1876. this.active++;
  1877. })
  1878. .catch((response) => {
  1879. loading.close();
  1880. });
  1881. })
  1882. .catch((response) => {
  1883. loading.close();
  1884. });
  1885. } else if (this.active == 2) {
  1886. const loading = this.$loading({
  1887. lock: true,
  1888. text: "Loading",
  1889. spinner: "el-icon-loading",
  1890. background: "rgba(0, 0, 0, 0.7)",
  1891. });
  1892. addVerification(this.form)
  1893. .then((response) => {
  1894. loading.close();
  1895. this.msgSuccess("认证成功");
  1896. this.active++;
  1897. })
  1898. .catch((response) => {
  1899. loading.close();
  1900. });
  1901. } else if (this.active == 3) {
  1902. const loading = this.$loading({
  1903. lock: true,
  1904. text: "Loading",
  1905. spinner: "el-icon-loading",
  1906. background: "rgba(0, 0, 0, 0.7)",
  1907. });
  1908. verification(this.form)
  1909. .then((response) => {
  1910. console.log(response);
  1911. loading.close();
  1912. this.msgSuccess("验证成功");
  1913. this.active++;
  1914. this.$router.push({ path: this.redirect || "/" });
  1915. })
  1916. .catch((response) => {
  1917. loading.close();
  1918. });
  1919. } else {
  1920. this.active++;
  1921. }
  1922. },
  1923. handleAvatarSuccess(res, file) {
  1924. this.imageUrl = URL.createObjectURL(file.raw);
  1925. },
  1926. // beforeAvatarUpload(file) {
  1927. // const isJPG = file.type === "image/jpeg";
  1928. // const isLt2M = file.size / 1024 / 1024 < 2;
  1929. // if (!isJPG) {
  1930. // this.$message.error("上传头像图片只能是 JPG 格式!");
  1931. // }
  1932. // if (!isLt2M) {
  1933. // this.$message.error("上传头像图片大小不能超过 2MB!");
  1934. // }
  1935. // return isJPG && isLt2M;
  1936. // },
  1937. },
  1938. };
  1939. </script>
  1940. <style>
  1941. .uoloadSty .el-upload--picture-card {
  1942. width: 110px;
  1943. height: 110px;
  1944. line-height: 110px;
  1945. }
  1946. .disUoloadSty .el-upload--picture-card {
  1947. display: none;
  1948. }
  1949. .fsfzzUoload .el-upload--picture-card {
  1950. width: 110px;
  1951. height: 110px;
  1952. line-height: 110px;
  1953. }
  1954. .Uoloadfsfzz .el-upload--picture-card {
  1955. display: none;
  1956. }
  1957. .uoloadfsfzf .el-upload--picture-card {
  1958. width: 110px;
  1959. height: 110px;
  1960. line-height: 110px;
  1961. }
  1962. .fsfzfUoloadSty .el-upload--picture-card {
  1963. display: none;
  1964. }
  1965. .uoloadjsfzz .el-upload--picture-card {
  1966. width: 110px;
  1967. height: 110px;
  1968. line-height: 110px;
  1969. }
  1970. .jsfzzUoloadSty .el-upload--picture-card {
  1971. display: none;
  1972. }
  1973. .uoloadfrsqs .el-upload--picture-card {
  1974. width: 110px;
  1975. height: 110px;
  1976. line-height: 110px;
  1977. }
  1978. .frsqsUoloadSty .el-upload--picture-card {
  1979. display: none;
  1980. }
  1981. .uoloadjsfzf .el-upload--picture-card {
  1982. width: 110px;
  1983. height: 110px;
  1984. line-height: 110px;
  1985. }
  1986. .jsfzfUoloadSty .el-upload--picture-card {
  1987. display: none;
  1988. }
  1989. .uoloadszzssq .el-upload--picture-card {
  1990. width: 110px;
  1991. height: 110px;
  1992. line-height: 110px;
  1993. }
  1994. .szzssqUoloadSty .el-upload--picture-card {
  1995. display: none;
  1996. }
  1997. .uoloadqtfj .el-upload--picture-card {
  1998. width: 110px;
  1999. height: 110px;
  2000. line-height: 110px;
  2001. }
  2002. .qtfjUoloadSty .el-upload--picture-card {
  2003. display: none;
  2004. }
  2005. .substance p {
  2006. font-family: "微软雅黑", sans-serif;
  2007. font-weight: 400;
  2008. font-style: normal;
  2009. font-size: 14px;
  2010. letter-spacing: normal;
  2011. color: #666666;
  2012. line-height: normal;
  2013. margin: 0px;
  2014. text-rendering: optimizeLegibility;
  2015. font-kerning: normal;
  2016. }
  2017. .substance h4 {
  2018. font-family: "微软雅黑", sans-serif;
  2019. font-weight: 700;
  2020. font-style: normal;
  2021. font-size: 14px;
  2022. letter-spacing: normal;
  2023. color: #666666;
  2024. line-height: normal;
  2025. margin: 0px;
  2026. text-rendering: optimizeLegibility;
  2027. font-kerning: normal;
  2028. }
  2029. .separation {
  2030. width: 200px;
  2031. height: 60px;
  2032. margin-top: 10px;
  2033. border-right: 5px solid #005cff;
  2034. }
  2035. .approved {
  2036. height: 150px;
  2037. width: 60%;
  2038. /* background-color: #f2f2f2; */
  2039. text-align: center;
  2040. border: 1px solid #f2f2f2;
  2041. margin-left: 20%;
  2042. }
  2043. .avatar-uploader .el-upload {
  2044. border: 1px dashed #d9d9d9;
  2045. border-radius: 6px;
  2046. cursor: pointer;
  2047. position: relative;
  2048. overflow: hidden;
  2049. }
  2050. .avatar-uploader .el-upload:hover {
  2051. border-color: #409eff;
  2052. }
  2053. .avatar-uploader-icon {
  2054. font-size: 28px;
  2055. color: #8c939d;
  2056. width: 178px;
  2057. height: 178px;
  2058. line-height: 178px;
  2059. text-align: center;
  2060. }
  2061. .avatar {
  2062. width: 178px;
  2063. height: 178px;
  2064. display: block;
  2065. }
  2066. .div-label {
  2067. padding: 20px 0;
  2068. width: 100%;
  2069. }
  2070. .ying .el-upload--picture-card {
  2071. width: 100% !important;
  2072. height: 407px !important;
  2073. }
  2074. .ying.el-upload-list--picture-card .el-upload-list__item {
  2075. width: 100% !important;
  2076. height: 407px !important;
  2077. }
  2078. .ying.el-upload-list--picture-card {
  2079. width: 100% !important;
  2080. height: 407px !important;
  2081. }
  2082. </style>