certification.vue 61 KB

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