certification.vue 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931
  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="xxx-xxxxxxxx"
  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="11"
  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="11"
  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 == "05") {
  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 == "04") {
  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. } else if (response.data.list.scyStatus == "00") {
  1155. this.$store.dispatch("LogOut").then(() => {
  1156. location.href = "/login";
  1157. });
  1158. }
  1159. }
  1160. })
  1161. .catch((response) => {
  1162. if (response == "Error: 登录状态已过期") {
  1163. this.$router.push({ path: this.redirect || "/" });
  1164. }
  1165. });
  1166. },
  1167. //查询银行名称
  1168. getBankList(pbaiBankName) {
  1169. this.queryParams.pbaiBankName = pbaiBankName;
  1170. listBank(this.queryParams).then((response) => {
  1171. this.bankList = response.data;
  1172. });
  1173. },
  1174. //文件移除提示
  1175. beforeRemove(file, yyzzList) {
  1176. for (let i = 0; i < this.yyzzList.length; i++) {
  1177. if (file.uid == this.yyzzList[i].uid) {
  1178. this.yyzzList.splice(i, 1);
  1179. break;
  1180. }
  1181. }
  1182. this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
  1183. },
  1184. handleExceed(file, yyzzList) {
  1185. this.$message.warning(`当前限制选择 1 个文件`);
  1186. },
  1187. fsfzzRemove(file, fsfzzList) {
  1188. for (let i = 0; i < this.fsfzzList.length; i++) {
  1189. if (file.uid == this.fsfzzList[i].uid) {
  1190. this.fsfzzList.splice(i, 1);
  1191. break;
  1192. }
  1193. }
  1194. this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
  1195. },
  1196. fsfzzExceed(file, fsfzzList) {
  1197. this.$message.warning(`当前限制选择 1 个文件`);
  1198. },
  1199. fsfzfRemove(file, fsfzfList) {
  1200. for (let i = 0; i < this.fsfzfList.length; i++) {
  1201. if (file.uid == this.fsfzfList[i].uid) {
  1202. this.fsfzfList.splice(i, 1);
  1203. break;
  1204. }
  1205. }
  1206. this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
  1207. },
  1208. fsfzfExceed(file, fsfzfList) {
  1209. this.$message.warning(`当前限制选择 1 个文件`);
  1210. },
  1211. jsfzzRemove(file, jsfzzList) {
  1212. for (let i = 0; i < this.jsfzzList.length; i++) {
  1213. if (file.uid == thisjsfzzList[i].uid) {
  1214. this.jsfzzList.splice(i, 1);
  1215. break;
  1216. }
  1217. }
  1218. this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
  1219. },
  1220. jsfzzExceed(file, jsfzzList) {
  1221. this.$message.warning(`当前限制选择 1 个文件`);
  1222. },
  1223. jsfzfRemove(file, jsfzfList) {
  1224. for (let i = 0; i < this.jsfzfList.length; i++) {
  1225. if (file.uid == this.jsfzfList[i].uid) {
  1226. this.jsfzfList.splice(i, 1);
  1227. break;
  1228. }
  1229. }
  1230. this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
  1231. },
  1232. jsfzfExceed(file, jsfzfList) {
  1233. this.$message.warning(`当前限制选择 1 个文件`);
  1234. },
  1235. frsqsRemove(file, frsqsList) {
  1236. for (let i = 0; i < this.frsqsList.length; i++) {
  1237. if (file.uid == this.frsqsList[i].uid) {
  1238. this.frsqsList.splice(i, 1);
  1239. break;
  1240. }
  1241. }
  1242. this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
  1243. },
  1244. frsqsExceed(file, frsqsList) {
  1245. this.$message.warning(`当前限制选择 1 个文件`);
  1246. },
  1247. szzssqRemove(file, szzssqList) {
  1248. for (let i = 0; i < this.szzssqList.length; i++) {
  1249. if (file.uid == this.szzssqList[i].uid) {
  1250. this.szzssqList.splice(i, 1);
  1251. break;
  1252. }
  1253. }
  1254. this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
  1255. },
  1256. szzssqExceed(file, yyzzList) {
  1257. this.$message.warning(`当前限制选择 1 个文件`);
  1258. },
  1259. qtfjRemove(file, qtfjList) {
  1260. for (let i = 0; i < this.qtfjList.length; i++) {
  1261. if (file.uid == this.qtfjList[i].uid) {
  1262. this.qtfjList.splice(i, 1);
  1263. break;
  1264. }
  1265. }
  1266. this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
  1267. },
  1268. qtfjExceed(file, qtfjList) {
  1269. this.$message.warning(`当前限制选择 1 个文件`);
  1270. },
  1271. //图片预览
  1272. handlePictureCardPreview(file) {
  1273. this.yyzzImageUrl = file.url;
  1274. this.yyzzVisible = true;
  1275. },
  1276. fsfzzPictureCardPreview(file) {
  1277. this.fsfzzImageUrl = file.url;
  1278. this.fsfzzVisible = true;
  1279. },
  1280. fsfzfPictureCardPreview(file) {
  1281. this.fsfzfImageUrl = file.url;
  1282. this.fsfzfVisible = true;
  1283. },
  1284. jsfzzPictureCardPreview(file) {
  1285. this.jsfzzImageUrl = file.url;
  1286. this.jsfzzVisible = true;
  1287. },
  1288. jsfzfPictureCardPreview(file) {
  1289. this.jsfzfImageUrl = file.url;
  1290. this.jsffzVisible = true;
  1291. },
  1292. frsqsPictureCardPreview(file) {
  1293. this.frsqsImageUrl = file.url;
  1294. this.frsqsVisible = true;
  1295. },
  1296. szzssqPictureCardPreview(file) {
  1297. this.szzssqImageUrl = file.url;
  1298. this.szzssqVisible = true;
  1299. },
  1300. qtfjPictureCardPreview(file) {
  1301. this.qtfjImageUrl = file.url;
  1302. this.qtfjVisible = true;
  1303. },
  1304. dealImgChange(file, yyzzList) {
  1305. this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
  1306. },
  1307. fsfzzImgChange(file, fsfzzList) {
  1308. this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
  1309. },
  1310. fsfzfImgChange(file, fsfzfList) {
  1311. this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
  1312. },
  1313. jsfzzImgChange(file, jsfzzList) {
  1314. this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
  1315. },
  1316. jsfzfImgChange(file, jsfzfList) {
  1317. this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
  1318. },
  1319. frsqsImgChange(file, frsqsList) {
  1320. this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
  1321. },
  1322. szzssqImgChange(file, szzssqList) {
  1323. this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
  1324. },
  1325. qtfjImgChange(file, qtfjList) {
  1326. this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
  1327. },
  1328. //营业执照上传
  1329. submitUpload() {
  1330. this.$refs.upload.submit();
  1331. },
  1332. //法人身份证正面上传
  1333. fsfzzUpload() {
  1334. this.$refs.fsfzzload.submit();
  1335. },
  1336. //法人身份证反面上传
  1337. fsfzfUpload() {
  1338. this.$refs.fsfzfload.submit();
  1339. },
  1340. //经办人身份证正面上传
  1341. jsfzzUpload() {
  1342. this.$refs.jsfzzload.submit();
  1343. },
  1344. //经办人身份证反面上传
  1345. jsfzfUpload() {
  1346. this.$refs.jsfzfload.submit();
  1347. },
  1348. //法人授权书上传
  1349. frsqsUpload() {
  1350. this.$refs.frsqsload.submit();
  1351. },
  1352. //数字证书授权上传
  1353. szzssqUpload() {
  1354. this.$refs.szzssqload.submit();
  1355. },
  1356. //其他附件上传
  1357. qtfjUpload() {
  1358. this.$refs.qtfjload.submit();
  1359. },
  1360. //营业执照上传
  1361. yyzzRequest(param) {
  1362. let fileObj = param.file; // 相当于input里取得的files
  1363. const isLt2M = fileObj.size / 1024 / 1024 < 2;
  1364. if (!isLt2M) {
  1365. this.$message.error("上传图片大小不能超过 2MB!");
  1366. loading.close();
  1367. }
  1368. let fd = new FormData(); // FormData 对象
  1369. fd.append("file", fileObj); // 文件对象
  1370. const loading = this.$loading({
  1371. lock: true,
  1372. text: "Loading",
  1373. spinner: "el-icon-loading",
  1374. background: "rgba(0, 0, 0, 0.7)",
  1375. });
  1376. getlicense(fd).then((response) => {
  1377. if (response) {
  1378. this.$set(this.form, "scyName", response.data.scyName);
  1379. this.$set(this.form, "scySocialCode", response.data.scySocialCode);
  1380. this.$set(this.form, "scyAddress", response.data.scyAddress);
  1381. this.$set(this.form, "scyLegal", response.data.scyLegal);
  1382. this.$set(
  1383. this.form,
  1384. "scyRegisteredCapital",
  1385. response.data.scyRegisteredCapital
  1386. );
  1387. if (response.data.scyStartTime != null) {
  1388. this.$set(this.form, "scyStartTime", response.data.scyStartTime);
  1389. }
  1390. if (response.data.scyEndTime != null) {
  1391. if (
  1392. response.data.scyEndTime == "长期" ||
  1393. response.data.scyEndTime == "永久"
  1394. ) {
  1395. this.term = true;
  1396. }
  1397. this.$set(this.form, "scyEndTime", response.data.scyEndTime);
  1398. }
  1399. this.$set(this.form, "scyLicenseFile", response.data.scyLicenseFile);
  1400. setTimeout(() => {
  1401. loading.close();
  1402. }, 2000);
  1403. }
  1404. });
  1405. },
  1406. //法人身份证正面ocr识别
  1407. fsfzzRequest(param) {
  1408. let fileObj = param.file; // 相当于input里取得的files
  1409. const isLt2M = fileObj.size / 1024 / 1024 < 2;
  1410. if (!isLt2M) {
  1411. this.$message.error("上传图片大小不能超过 2MB!");
  1412. loading.close();
  1413. }
  1414. let fd = new FormData(); // FormData 对象
  1415. fd.append("file", fileObj); // 文件对象
  1416. fd.append("fileType", "00"); // 文件类型
  1417. const loading = this.$loading({
  1418. lock: true,
  1419. text: "Loading",
  1420. spinner: "el-icon-loading",
  1421. background: "rgba(0, 0, 0, 0.7)",
  1422. });
  1423. getCard(fd).then((response) => {
  1424. if (response) {
  1425. this.$set(this.form, "scyLegalId", response.data.scyLegalId);
  1426. this.$set(this.form, "scyLegal", response.data.scyLegal);
  1427. this.$set(this.form, "fsfzzList", response.data.fsfzzList);
  1428. setTimeout(() => {
  1429. loading.close();
  1430. }, 2000);
  1431. }
  1432. });
  1433. },
  1434. //法人身份证反面
  1435. fsfzfRequest(param) {
  1436. let fileObj = param.file; // 相当于input里取得的files
  1437. let fd = new FormData(); // FormData 对象
  1438. fd.append("file", fileObj); // 文件对象
  1439. fd.append("fileType", "00"); //文件类型
  1440. const loading = this.$loading({
  1441. lock: true,
  1442. text: "Loading",
  1443. spinner: "el-icon-loading",
  1444. background: "rgba(0, 0, 0, 0.7)",
  1445. });
  1446. uploadFileNew(fd).then((response) => {
  1447. if (response) {
  1448. this.fsfzfList.push({
  1449. uid: response.fileId,
  1450. url: response.url + "/" + getToken(),
  1451. });
  1452. setTimeout(() => {
  1453. loading.close();
  1454. }, 2000);
  1455. }
  1456. });
  1457. },
  1458. //经办人身份证正面
  1459. jsfzzRequest(param) {
  1460. let fileObj = param.file; // 相当于input里取得的files
  1461. const isLt2M = fileObj.size / 1024 / 1024 < 2;
  1462. if (!isLt2M) {
  1463. this.$message.error("上传图片大小不能超过 2MB!");
  1464. loading.close();
  1465. }
  1466. let fd = new FormData(); // FormData 对象
  1467. fd.append("file", fileObj); // 文件对象
  1468. fd.append("fileType", "01"); // 文件类型
  1469. const loading = this.$loading({
  1470. lock: true,
  1471. text: "Loading",
  1472. spinner: "el-icon-loading",
  1473. background: "rgba(0, 0, 0, 0.7)",
  1474. });
  1475. getCard(fd).then((response) => {
  1476. if (response) {
  1477. this.$set(this.form, "handler", response.data.handler);
  1478. this.$set(this.form, "handlerCard", response.data.handlerCard);
  1479. this.$set(this.form, "jsfzzList", response.data.jsfzzList);
  1480. setTimeout(() => {
  1481. loading.close();
  1482. }, 2000);
  1483. }
  1484. });
  1485. },
  1486. //经办人身份证反面
  1487. jsfzfRequest(param) {
  1488. let fileObj = param.file; // 相当于input里取得的files
  1489. let fd = new FormData(); // FormData 对象
  1490. fd.append("file", fileObj); // 文件对象
  1491. fd.append("fileType", "00"); //文件类型
  1492. const loading = this.$loading({
  1493. lock: true,
  1494. text: "Loading",
  1495. spinner: "el-icon-loading",
  1496. background: "rgba(0, 0, 0, 0.7)",
  1497. });
  1498. uploadFileNew(fd).then((response) => {
  1499. if (response) {
  1500. this.jsfzfList.push({
  1501. uid: response.fileId,
  1502. url: response.url + "/" + getToken(),
  1503. });
  1504. setTimeout(() => {
  1505. loading.close();
  1506. }, 2000);
  1507. }
  1508. });
  1509. },
  1510. //法人授权书
  1511. frsqsRequest(param) {
  1512. let fileObj = param.file; // 相当于input里取得的files
  1513. let fd = new FormData(); // FormData 对象
  1514. fd.append("file", fileObj); // 文件对象
  1515. fd.append("fileType", "00"); //文件类型
  1516. const loading = this.$loading({
  1517. lock: true,
  1518. text: "Loading",
  1519. spinner: "el-icon-loading",
  1520. background: "rgba(0, 0, 0, 0.7)",
  1521. });
  1522. uploadFileNew(fd).then((response) => {
  1523. if (response) {
  1524. this.frsqsList.push({
  1525. uid: response.fileId,
  1526. url: response.url + "/" + getToken(),
  1527. });
  1528. setTimeout(() => {
  1529. loading.close();
  1530. }, 2000);
  1531. }
  1532. });
  1533. },
  1534. //数字证书授权
  1535. szzssqRequest(param) {
  1536. let fileObj = param.file; // 相当于input里取得的files
  1537. let fd = new FormData(); // FormData 对象
  1538. fd.append("file", fileObj); // 文件对象
  1539. fd.append("fileType", "00"); //文件类型
  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. uploadFileNew(fd).then((response) => {
  1547. if (response) {
  1548. this.szzssqList.push({
  1549. uid: response.fileId,
  1550. url: response.url + "/" + getToken(),
  1551. });
  1552. setTimeout(() => {
  1553. loading.close();
  1554. }, 2000);
  1555. }
  1556. });
  1557. },
  1558. //其他附件
  1559. qtfjRequest(param) {
  1560. let fileObj = param.file; // 相当于input里取得的files
  1561. let fd = new FormData(); // FormData 对象
  1562. fd.append("file", fileObj); // 文件对象
  1563. fd.append("fileType", "00"); //文件类型
  1564. const loading = this.$loading({
  1565. lock: true,
  1566. text: "Loading",
  1567. spinner: "el-icon-loading",
  1568. background: "rgba(0, 0, 0, 0.7)",
  1569. });
  1570. uploadFileNew(fd).then((response) => {
  1571. if (response) {
  1572. this.qtfjList.push({
  1573. uid: response.fileId,
  1574. url: response.url + "/" + getToken(),
  1575. });
  1576. setTimeout(() => {
  1577. loading.close();
  1578. }, 2000);
  1579. }
  1580. });
  1581. },
  1582. // 取消按钮
  1583. cancel() {
  1584. this.open = false;
  1585. },
  1586. /** 融信协议 */
  1587. handle() {
  1588. this.open = true;
  1589. this.title = "融信协议";
  1590. },
  1591. /** 发送验证码 */
  1592. submitForm() {
  1593. //点击获取验证码
  1594. const TIME_COUNT = 60; //倒计时60秒
  1595. if (!this.timer) {
  1596. this.count = TIME_COUNT;
  1597. this.codeShow = false;
  1598. this.timer = setInterval(() => {
  1599. if (this.count > 0 && this.count <= TIME_COUNT) {
  1600. this.count--;
  1601. if (this.count == 0) {
  1602. this.verification = false;
  1603. clearInterval(this.timer);
  1604. this.timer = null;
  1605. }
  1606. } else {
  1607. this.codeShow = true;
  1608. clearInterval(this.timer);
  1609. this.timer = null;
  1610. }
  1611. }, 1000);
  1612. }
  1613. this.verification = true;
  1614. const loading = this.$loading({
  1615. lock: true,
  1616. text: "Loading",
  1617. spinner: "el-icon-loading",
  1618. background: "rgba(0, 0, 0, 0.7)",
  1619. });
  1620. addCode(this.form)
  1621. .then((response) => {
  1622. loading.close();
  1623. this.msgSuccess("发送成功");
  1624. })
  1625. .catch((response) => {
  1626. loading.close();
  1627. });
  1628. },
  1629. // 下载本地文件
  1630. download() {
  1631. window.location.href = "http://localhost:8080/template/template.xlsx";
  1632. },
  1633. //上一步
  1634. step() {
  1635. this.active = 1;
  1636. },
  1637. //保存
  1638. preservation() {
  1639. this.$store.dispatch("LogOut").then(() => {
  1640. location.href = "/login";
  1641. });
  1642. },
  1643. // 下一步
  1644. next() {
  1645. if (this.active == 0) {
  1646. if (!this.confirm) {
  1647. this.$message.error("融信协议未确认!");
  1648. } else {
  1649. this.form.yyzzList = this.yyzzList;
  1650. this.form.fsfzfList = this.fsfzfList;
  1651. this.form.jsfzfList = this.jsfzfList;
  1652. this.form.frsqsList = this.frsqsList;
  1653. this.form.szzssqList = this.szzssqList;
  1654. this.form.qtfjList = this.qtfjList;
  1655. this.form.repeatToken = this.repeatToken;
  1656. if (this.term) {
  1657. this.form.scyEndTime = "长期";
  1658. }
  1659. if (!this.legalHandle) {
  1660. this.form.legalHandles = "1";
  1661. } else {
  1662. this.form.legalHandles = "2";
  1663. }
  1664. const loading = this.$loading({
  1665. lock: true,
  1666. text: "Loading",
  1667. spinner: "el-icon-loading",
  1668. background: "rgba(0, 0, 0, 0.7)",
  1669. });
  1670. addAuthentication(this.form)
  1671. .then((response) => {
  1672. loading.close();
  1673. if (response.data == "skip") {
  1674. this.$confirm("四要素未通过,是否跳过?", "提示", {
  1675. confirmButtonText: "跳过",
  1676. cancelButtonText: "不跳过",
  1677. type: "warning",
  1678. }).then(() => {
  1679. this.form.skip = "00";
  1680. addAuthentication(this.form)
  1681. .then((response) => {
  1682. loading.close();
  1683. this.msgSuccess("验证成功");
  1684. this.$set(this.form, "scyId", response.data.scyId);
  1685. this.active++;
  1686. })
  1687. .catch((response) => {
  1688. loading.close();
  1689. });
  1690. });
  1691. } else {
  1692. console.log(response);
  1693. this.msgSuccess("验证成功");
  1694. this.$set(this.form, "scyId", response.data.scyId);
  1695. this.active++;
  1696. }
  1697. })
  1698. .catch((response) => {
  1699. console.log(response);
  1700. loading.close();
  1701. });
  1702. }
  1703. } else if (this.active == 1) {
  1704. const loading = this.$loading({
  1705. lock: true,
  1706. text: "Loading",
  1707. spinner: "el-icon-loading",
  1708. background: "rgba(0, 0, 0, 0.7)",
  1709. });
  1710. addAccount(this.form)
  1711. .then((response) => {
  1712. loading.close();
  1713. this.msgSuccess("开户成功");
  1714. this.active++;
  1715. })
  1716. .catch((response) => {
  1717. loading.close();
  1718. });
  1719. } else if (this.active == 2) {
  1720. const loading = this.$loading({
  1721. lock: true,
  1722. text: "Loading",
  1723. spinner: "el-icon-loading",
  1724. background: "rgba(0, 0, 0, 0.7)",
  1725. });
  1726. addVerification(this.form)
  1727. .then((response) => {
  1728. loading.close();
  1729. this.msgSuccess("认证成功");
  1730. this.active++;
  1731. })
  1732. .catch((response) => {
  1733. loading.close();
  1734. });
  1735. } else if (this.active == 3) {
  1736. const loading = this.$loading({
  1737. lock: true,
  1738. text: "Loading",
  1739. spinner: "el-icon-loading",
  1740. background: "rgba(0, 0, 0, 0.7)",
  1741. });
  1742. verification(this.form)
  1743. .then((response) => {
  1744. console.log(response);
  1745. loading.close();
  1746. this.msgSuccess("验证成功");
  1747. this.active++;
  1748. this.$router.push({ path: this.redirect || "/" });
  1749. })
  1750. .catch((response) => {
  1751. loading.close();
  1752. });
  1753. } else {
  1754. this.active++;
  1755. }
  1756. },
  1757. handleAvatarSuccess(res, file) {
  1758. this.imageUrl = URL.createObjectURL(file.raw);
  1759. },
  1760. beforeAvatarUpload(file) {
  1761. const isJPG = file.type === "image/jpeg";
  1762. const isLt2M = file.size / 1024 / 1024 < 2;
  1763. if (!isJPG) {
  1764. this.$message.error("上传头像图片只能是 JPG 格式!");
  1765. }
  1766. if (!isLt2M) {
  1767. this.$message.error("上传头像图片大小不能超过 2MB!");
  1768. }
  1769. return isJPG && isLt2M;
  1770. },
  1771. },
  1772. };
  1773. </script>
  1774. <style>
  1775. .uoloadSty .el-upload--picture-card {
  1776. width: 110px;
  1777. height: 110px;
  1778. line-height: 110px;
  1779. }
  1780. .disUoloadSty .el-upload--picture-card {
  1781. display: none;
  1782. }
  1783. .fsfzzUoload .el-upload--picture-card {
  1784. width: 110px;
  1785. height: 110px;
  1786. line-height: 110px;
  1787. }
  1788. .Uoloadfsfzz .el-upload--picture-card {
  1789. display: none;
  1790. }
  1791. .uoloadfsfzf .el-upload--picture-card {
  1792. width: 110px;
  1793. height: 110px;
  1794. line-height: 110px;
  1795. }
  1796. .fsfzfUoloadSty .el-upload--picture-card {
  1797. display: none;
  1798. }
  1799. .uoloadjsfzz .el-upload--picture-card {
  1800. width: 110px;
  1801. height: 110px;
  1802. line-height: 110px;
  1803. }
  1804. .jsfzzUoloadSty .el-upload--picture-card {
  1805. display: none;
  1806. }
  1807. .uoloadfrsqs .el-upload--picture-card {
  1808. width: 110px;
  1809. height: 110px;
  1810. line-height: 110px;
  1811. }
  1812. .frsqsUoloadSty .el-upload--picture-card {
  1813. display: none;
  1814. }
  1815. .uoloadjsfzf .el-upload--picture-card {
  1816. width: 110px;
  1817. height: 110px;
  1818. line-height: 110px;
  1819. }
  1820. .jsfzfUoloadSty .el-upload--picture-card {
  1821. display: none;
  1822. }
  1823. .uoloadszzssq .el-upload--picture-card {
  1824. width: 110px;
  1825. height: 110px;
  1826. line-height: 110px;
  1827. }
  1828. .szzssqUoloadSty .el-upload--picture-card {
  1829. display: none;
  1830. }
  1831. .uoloadqtfj .el-upload--picture-card {
  1832. width: 110px;
  1833. height: 110px;
  1834. line-height: 110px;
  1835. }
  1836. .qtfjUoloadSty .el-upload--picture-card {
  1837. display: none;
  1838. }
  1839. .substance p {
  1840. font-family: "微软雅黑", sans-serif;
  1841. font-weight: 400;
  1842. font-style: normal;
  1843. font-size: 14px;
  1844. letter-spacing: normal;
  1845. color: #666666;
  1846. line-height: normal;
  1847. margin: 0px;
  1848. text-rendering: optimizeLegibility;
  1849. font-kerning: normal;
  1850. }
  1851. .substance h4 {
  1852. font-family: "微软雅黑", sans-serif;
  1853. font-weight: 700;
  1854. font-style: normal;
  1855. font-size: 14px;
  1856. letter-spacing: normal;
  1857. color: #666666;
  1858. line-height: normal;
  1859. margin: 0px;
  1860. text-rendering: optimizeLegibility;
  1861. font-kerning: normal;
  1862. }
  1863. .separation {
  1864. width: 200px;
  1865. height: 60px;
  1866. margin-top: 10px;
  1867. border-right: 5px solid #005cff;
  1868. }
  1869. .approved {
  1870. height: 150px;
  1871. width: 60%;
  1872. /* background-color: #f2f2f2; */
  1873. text-align: center;
  1874. border: 1px solid #f2f2f2;
  1875. margin-left: 20%;
  1876. }
  1877. .avatar-uploader .el-upload {
  1878. border: 1px dashed #d9d9d9;
  1879. border-radius: 6px;
  1880. cursor: pointer;
  1881. position: relative;
  1882. overflow: hidden;
  1883. }
  1884. .avatar-uploader .el-upload:hover {
  1885. border-color: #409eff;
  1886. }
  1887. .avatar-uploader-icon {
  1888. font-size: 28px;
  1889. color: #8c939d;
  1890. width: 178px;
  1891. height: 178px;
  1892. line-height: 178px;
  1893. text-align: center;
  1894. }
  1895. .avatar {
  1896. width: 178px;
  1897. height: 178px;
  1898. display: block;
  1899. }
  1900. .div-label {
  1901. padding: 20px 0;
  1902. width: 100%;
  1903. }
  1904. .ying .el-upload--picture-card {
  1905. width: 100% !important;
  1906. height: 407px !important;
  1907. }
  1908. .ying.el-upload-list--picture-card .el-upload-list__item {
  1909. width: 100% !important;
  1910. height: 407px !important;
  1911. }
  1912. .ying.el-upload-list--picture-card {
  1913. width: 100% !important;
  1914. height: 407px !important;
  1915. }
  1916. </style>