certification.vue 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808
  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 v-model="form.pbaiBankName" filterable clearable remote reserve-keyword placeholder="请选择银行姓名" :remote-method="getBankList" >
  665. <el-option v-for="(item,index) in bankList" :key="index" :label="item.zcbiBankName" :value="item.zcbiId" >
  666. </el-option>
  667. </el-select>
  668. </el-col>
  669. <el-col :span="8"
  670. >银行账号:<el-input
  671. v-model="form.pbaiBankaccountId"
  672. placeholder="请输入银行账号"
  673. style="width: 65%"
  674. maxlength="25"
  675. ></el-input>
  676. </el-col>
  677. </el-row>
  678. </el-main>
  679. <el-footer> </el-footer>
  680. </el-container>
  681. </div>
  682. <div class="basicInfo" v-if="active === 2">
  683. <el-container>
  684. <el-main>
  685. <el-row>
  686. <el-col :span="8"
  687. >打款金额(元):<el-input
  688. v-model="form.amount"
  689. placeholder="请输入打款金额(元)"
  690. style="width: 65%"
  691. maxlength="4"
  692. ></el-input>
  693. </el-col>
  694. <el-col :span="8"
  695. ><span style="color: red"
  696. >打款金额有效期为三天,超过三天后重新打款</span
  697. >
  698. </el-col>
  699. </el-row>
  700. </el-main>
  701. <el-footer> </el-footer>
  702. </el-container>
  703. </div>
  704. <div class="basicInfo" v-if="active === 3">
  705. <el-container>
  706. <el-main>
  707. <el-row>
  708. <el-col :span="8" v-if="legalHandle"
  709. >经办人姓名:<el-input
  710. v-model="form.scyLegal"
  711. placeholder="请输入经办人姓名"
  712. style="width: 62%"
  713. :disabled='disabled'
  714. maxlength="20"
  715. ></el-input>
  716. </el-col>
  717. <el-col :span="8" v-if="!legalHandle"
  718. >经办人姓名:<el-input
  719. v-model="form.handler"
  720. placeholder="请输入经办人姓名"
  721. style="width: 62%"
  722. :disabled='disabled'
  723. maxlength="20"
  724. ></el-input>
  725. </el-col>
  726. <el-col :span="8" v-if="legalHandle"
  727. >身份证号码:<el-input
  728. v-model="form.scyLegalId"
  729. :disabled='disabled'
  730. placeholder="请输入内容"
  731. style="width: 62%"
  732. ></el-input>
  733. </el-col>
  734. <el-col :span="8" v-if="!legalHandle"
  735. >身份证号码:<el-input
  736. v-model="form.handlerCard"
  737. :disabled='disabled'
  738. placeholder="请输入内容"
  739. style="width: 62%"
  740. ></el-input>
  741. </el-col>
  742. <el-col :span="8"
  743. >手机号:<el-input
  744. v-model="form.phone"
  745. :disabled='disabled'
  746. placeholder="请输入内容"
  747. style="width: 62%"
  748. ></el-input>
  749. </el-col>
  750. </el-row>
  751. <el-row>
  752. <el-col :span="8" style="margin-top: 3%; margin-left: 2%"
  753. >验证码:<el-input
  754. v-model="form.code"
  755. placeholder="请输入内容"
  756. style="width: 62%"
  757. ></el-input>
  758. <el-button type="primary" @click="submitForm" v-if="!verification"
  759. >获取验证码</el-button
  760. >
  761. <el-button v-if="verification">{{count}}秒后重试</el-button>
  762. </el-col>
  763. </el-row>
  764. </el-main>
  765. <el-footer> </el-footer>
  766. </el-container>
  767. </div>
  768. <div class="deployBtn">
  769. <el-button
  770. style="float: right; margin-top: 12px; margin-right: 1%"
  771. @click="next"
  772. v-if="active == 0 || active == 1 || active == 2"
  773. >下一步</el-button
  774. >
  775. <el-button
  776. style="float: right; margin-top: 12px; margin-right: 1%"
  777. v-if="active == 2"
  778. @click="step"
  779. >上一步</el-button
  780. >
  781. <el-button
  782. style="float: right; margin-top: 12px"
  783. v-if="active == 2"
  784. @click="preservation"
  785. >保存</el-button
  786. >
  787. <el-button
  788. style="float: right; margin-top: 12px; margin-right: 1%"
  789. v-if="active == 3"
  790. @click="next"
  791. >提交</el-button
  792. >
  793. </div>
  794. </div>
  795. <!-- 合同 -->
  796. <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
  797. <div slot="footer" class="dialog-footer">
  798. <el-button @click="cancel">关闭</el-button>
  799. </div>
  800. </el-dialog>
  801. </div>
  802. </template>
  803. <script>
  804. import {
  805. getlicense,
  806. getCard,
  807. addAuthentication,
  808. addAccount,
  809. addVerification,
  810. verification,
  811. addCode,
  812. cashBack,
  813. listBank
  814. } from "@/api/system/authentication";
  815. import { uploadFileNew } from "@/api/common/file";
  816. import { getToken } from "@/utils/auth";
  817. export default {
  818. name: "GoodsAdd",
  819. data() {
  820. return {
  821. codeShow: true, //判断显示隐藏
  822. count: '', //显示时的文字内容
  823. timer: null,
  824. // 表单参数
  825. form: {},
  826. //法人经办
  827. legalHandle:false,
  828. //是否长期
  829. term:false,
  830. //是否确认
  831. confirm:false,
  832. //无法输入
  833. disabled: true,
  834. //验证码
  835. verification:false,
  836. // 完成跳转
  837. redirect: undefined,
  838. // 弹出层标题
  839. title: "",
  840. // 是否显示弹出层
  841. open: false,
  842. //银行
  843. bankList: [],
  844. yyzzImageUrl: "",
  845. yyzzVisible: false,
  846. fsfzzImageUrl: "",
  847. fsfzzVisible: false,
  848. fsfzfImageUrl: "",
  849. fsfzfVisible: false,
  850. jsfzzImageUrl: "",
  851. jsfzzVisible: false,
  852. jsfzfImageUrl: "",
  853. jsfzfVisible: false,
  854. frsqsImageUrl: "",
  855. frsqsVisible: false,
  856. szzssqImageUrl: "",
  857. szzssqVisible: false,
  858. qtfjImageUrl: "",
  859. qtfjVisible: false,
  860. showBtnImg: false,
  861. noneBtnImg: false,
  862. yyzzBtnImg: false,
  863. fsfzzBtnImg: false,
  864. fsfzfBtnImg: false,
  865. jsfzzBtnImg: false,
  866. jsfzfBtnImg: false,
  867. frsqsBtnImg: false,
  868. szzssqBtnImg: false,
  869. qtfjBtnImg: false,
  870. limitCountImg: 1,
  871. contractNodeList: [],
  872. yyzzList: [],
  873. fsfzzList: [],
  874. fsfzfList: [],
  875. jsfzzList: [],
  876. jsfzfList: [],
  877. frsqsList: [],
  878. szzssqList: [],
  879. qtfjList: [],
  880. fileList: [{}],
  881. imageUrl: "",
  882. tabPosition: "left",
  883. active: 0,
  884. establish: "",
  885. amount: "",
  886. input: "",
  887. corporate: "",
  888. Bank: "",
  889. number: "",
  890. operator: "",
  891. Phone: "",
  892. reviewer: "",
  893. Cad: "",
  894. name: "",
  895. namea: "",
  896. umber: "",
  897. telephone: "",
  898. domicile: "",
  899. capital: "",
  900. representative: "",
  901. credit: "",
  902. queryParams: {
  903. pageNum: 1,
  904. pageSize: 10,
  905. },
  906. pickerOptions: {
  907. disabledDate(time) {
  908. return time.getTime() > Date.now();
  909. },
  910. shortcuts: [
  911. {
  912. text: "今天",
  913. onClick(picker) {
  914. picker.$emit("pick", new Date());
  915. },
  916. },
  917. {
  918. text: "昨天",
  919. onClick(picker) {
  920. const date = new Date();
  921. date.setTime(date.getTime() - 3600 * 1000 * 24);
  922. picker.$emit("pick", date);
  923. },
  924. },
  925. {
  926. text: "一周前",
  927. onClick(picker) {
  928. const date = new Date();
  929. date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
  930. picker.$emit("pick", date);
  931. },
  932. },
  933. ],
  934. options: [
  935. {
  936. value: "选项1",
  937. label: "黄金糕",
  938. },
  939. {
  940. value: "选项2",
  941. label: "双皮奶",
  942. },
  943. {
  944. value: "选项3",
  945. label: "蚵仔煎",
  946. },
  947. {
  948. value: "选项4",
  949. label: "龙须面",
  950. },
  951. ],
  952. },
  953. value1: "",
  954. value2: "",
  955. value3: "",
  956. };
  957. },
  958. created() {
  959. this.getList();
  960. this.getBankList();
  961. },
  962. methods: {
  963. // 表单重置
  964. reset() {
  965. this.form = {
  966. ssName: null,
  967. ssEmail: null,
  968. ssPhone: null,
  969. ssType: null,
  970. ssJobNum: null,
  971. ssSiteCompany: null,
  972. ssSiteDept: null,
  973. ssPlace: null,
  974. ssCurrentSalary: null,
  975. ssProjectManager: null,
  976. ssCurrentLevel: null,
  977. ssNation: null,
  978. ssBirthDate: null,
  979. ssPolitics: null,
  980. ssNative: null,
  981. ssWorkAddress: null,
  982. ssFamilyAddress: null,
  983. ssCardId: null,
  984. ssExpireDate: null,
  985. ssMarry: null,
  986. ssEntryDate: null,
  987. ssQuitDate: null,
  988. ssCollegesType: null,
  989. ssFinishSchool: null,
  990. ssMajor: null,
  991. ssEducation: null,
  992. ssDegree: null,
  993. ssContacts: null,
  994. ssContactsPhone: null,
  995. ssBankAcc: null,
  996. ssBank: null,
  997. ssState: null,
  998. roleIds: null,
  999. ssDeptId: null,
  1000. };
  1001. this.noneBtnImg = false;
  1002. this.yyzzBtnImg = false;
  1003. this.fsfzzBtnImg = false;
  1004. this.fsfzfBtnImg = false;
  1005. this.jsfzzBtnImg = false;
  1006. this.jsfzfBtnImg = false;
  1007. this.frsqsBtnImg = false;
  1008. this.szzssqBtnImg = false;
  1009. this.stfjBtnImg = false;
  1010. this.contractNodeList = [];
  1011. this.yyzzList = [];
  1012. this.fsfzzList = [];
  1013. this.fsfzfList = [];
  1014. this.jsfzzList = [];
  1015. this.jsfzfList = [];
  1016. this.frsqsList = [];
  1017. this.szzssqList = [];
  1018. this.resetForm("form");
  1019. },
  1020. /** 查询企业状态 */
  1021. getList() {
  1022. cashBack().then((response) => {
  1023. console.log("data"+response.data)
  1024. if(response.data) {
  1025. this.form = response.data.list;
  1026. if (response.data.list.scyEndTime != null) {
  1027. if(response.data.list.scyEndTime=="长期"){
  1028. this.term = true
  1029. }
  1030. }
  1031. console.log("list"+response.data.list)
  1032. if (response.data.list.scyStatus == "03") {
  1033. console.log("scyStatus"+response.data.scyStatus)
  1034. this.$set(
  1035. this.form,
  1036. "pbaiBankaccountId",
  1037. response.data.data[0].pbaiBankaccountId
  1038. );
  1039. this.$set(
  1040. this.form,
  1041. "pbaiBankName",
  1042. response.data.data[0].pbaiBankName
  1043. );
  1044. this.$set(
  1045. this.form,
  1046. "phone",
  1047. response.data.user.userName
  1048. );
  1049. this.$set(
  1050. this.form,
  1051. "handler",
  1052. response.data.user.nickName
  1053. );
  1054. this.$set(
  1055. this.form,
  1056. "handlerCard",
  1057. response.data.userCompany[0].sucrCard
  1058. );
  1059. if(response.data){
  1060. }
  1061. this.active = 1;
  1062. }else if(response.data.list.scyStatus == "04"){
  1063. this.$set(
  1064. this.form,
  1065. "phone",
  1066. response.data.user.userName
  1067. );
  1068. this.$set(
  1069. this.form,
  1070. "handler",
  1071. response.data.user.nickName
  1072. );
  1073. this.$set(
  1074. this.form,
  1075. "handlerCard",
  1076. response.data.userCompany[0].sucrCard
  1077. );
  1078. this.active = 3;
  1079. }
  1080. }
  1081. });
  1082. },
  1083. //查询银行名称
  1084. getBankList(query){
  1085. console.log(query)
  1086. this.queryParams.pbaiBankName = query;
  1087. listBank(this.queryParams).then((response) => {
  1088. this.bankList = response.data;
  1089. });
  1090. },
  1091. //文件移除提示
  1092. beforeRemove(file, yyzzList) {
  1093. for (let i = 0; i < this.yyzzList.length; i++) {
  1094. if (file.uid == this.yyzzList[i].uid) {
  1095. this.yyzzList.splice(i, 1);
  1096. break;
  1097. }
  1098. }
  1099. this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
  1100. },
  1101. handleExceed(file, yyzzList) {
  1102. this.$message.warning(`当前限制选择 1 个文件`);
  1103. },
  1104. fsfzzRemove(file, fsfzzList) {
  1105. for (let i = 0; i < this.fsfzzList.length; i++) {
  1106. if (file.uid == this.fsfzzList[i].uid) {
  1107. this.fsfzzList.splice(i, 1);
  1108. break;
  1109. }
  1110. }
  1111. this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
  1112. },
  1113. fsfzzExceed(file, fsfzzList) {
  1114. this.$message.warning(`当前限制选择 1 个文件`);
  1115. },
  1116. fsfzfRemove(file, fsfzfList) {
  1117. for (let i = 0; i < this.fsfzfList.length; i++) {
  1118. if (file.uid == this.fsfzfList[i].uid) {
  1119. this.fsfzfList.splice(i, 1);
  1120. break;
  1121. }
  1122. }
  1123. this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
  1124. },
  1125. fsfzfExceed(file, fsfzfList) {
  1126. this.$message.warning(`当前限制选择 1 个文件`);
  1127. },
  1128. jsfzzRemove(file, jsfzzList) {
  1129. for (let i = 0; i < this.jsfzzList.length; i++) {
  1130. if (file.uid == thisjsfzzList[i].uid) {
  1131. this.jsfzzList.splice(i, 1);
  1132. break;
  1133. }
  1134. }
  1135. this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
  1136. },
  1137. jsfzzExceed(file, jsfzzList) {
  1138. this.$message.warning(`当前限制选择 1 个文件`);
  1139. },
  1140. jsfzfRemove(file, jsfzfList) {
  1141. for (let i = 0; i < this.jsfzfList.length; i++) {
  1142. if (file.uid == this.jsfzfList[i].uid) {
  1143. this.jsfzfList.splice(i, 1);
  1144. break;
  1145. }
  1146. }
  1147. this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
  1148. },
  1149. jsfzfExceed(file, jsfzfList) {
  1150. this.$message.warning(`当前限制选择 1 个文件`);
  1151. },
  1152. frsqsRemove(file, frsqsList) {
  1153. for (let i = 0; i < this.frsqsList.length; i++) {
  1154. if (file.uid == this.frsqsList[i].uid) {
  1155. this.frsqsList.splice(i, 1);
  1156. break;
  1157. }
  1158. }
  1159. this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
  1160. },
  1161. frsqsExceed(file, frsqsList) {
  1162. this.$message.warning(`当前限制选择 1 个文件`);
  1163. },
  1164. szzssqRemove(file, szzssqList) {
  1165. for (let i = 0; i < this.szzssqList.length; i++) {
  1166. if (file.uid == this.szzssqList[i].uid) {
  1167. this.szzssqList.splice(i, 1);
  1168. break;
  1169. }
  1170. }
  1171. this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
  1172. },
  1173. szzssqExceed(file, yyzzList) {
  1174. this.$message.warning(`当前限制选择 1 个文件`);
  1175. },
  1176. qtfjRemove(file, qtfjList) {
  1177. for (let i = 0; i < this.qtfjList.length; i++) {
  1178. if (file.uid == this.qtfjList[i].uid) {
  1179. this.qtfjList.splice(i, 1);
  1180. break;
  1181. }
  1182. }
  1183. this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
  1184. },
  1185. qtfjExceed(file, qtfjList) {
  1186. this.$message.warning(`当前限制选择 1 个文件`);
  1187. },
  1188. //图片预览
  1189. handlePictureCardPreview(file) {
  1190. this.yyzzImageUrl = file.url;
  1191. this.yyzzVisible = true;
  1192. },
  1193. fsfzzPictureCardPreview(file) {
  1194. this.fsfzzImageUrl = file.url;
  1195. this.fsfzzVisible = true;
  1196. },
  1197. fsfzfPictureCardPreview(file) {
  1198. this.fsfzfImageUrl = file.url;
  1199. this.fsfzfVisible = true;
  1200. },
  1201. jsfzzPictureCardPreview(file) {
  1202. this.jsfzzImageUrl = file.url;
  1203. this.jsfzzVisible = true;
  1204. },
  1205. jsfzfPictureCardPreview(file) {
  1206. this.jsfzfImageUrl = file.url;
  1207. this.jsffzVisible = true;
  1208. },
  1209. frsqsPictureCardPreview(file) {
  1210. this.frsqsImageUrl = file.url;
  1211. this.frsqsVisible = true;
  1212. },
  1213. szzssqPictureCardPreview(file) {
  1214. this.szzssqImageUrl = file.url;
  1215. this.szzssqVisible = true;
  1216. },
  1217. qtfjPictureCardPreview(file) {
  1218. this.qtfjImageUrl = file.url;
  1219. this.qtfjVisible = true;
  1220. },
  1221. dealImgChange(file, yyzzList) {
  1222. this.yyzzBtnImg = yyzzList.length >= this.limitCountImg;
  1223. },
  1224. fsfzzImgChange(file, fsfzzList) {
  1225. this.fsfzzBtnImg = fsfzzList.length >= this.limitCountImg;
  1226. },
  1227. fsfzfImgChange(file, fsfzfList) {
  1228. this.fsfzfBtnImg = fsfzfList.length >= this.limitCountImg;
  1229. },
  1230. jsfzzImgChange(file, jsfzzList) {
  1231. this.jsfzzBtnImg = jsfzzList.length >= this.limitCountImg;
  1232. },
  1233. jsfzfImgChange(file, jsfzfList) {
  1234. this.jsfzfBtnImg = jsfzfList.length >= this.limitCountImg;
  1235. },
  1236. frsqsImgChange(file, frsqsList) {
  1237. this.frsqsBtnImg = frsqsList.length >= this.limitCountImg;
  1238. },
  1239. szzssqImgChange(file, szzssqList) {
  1240. this.szzssqBtnImg = szzssqList.length >= this.limitCountImg;
  1241. },
  1242. qtfjImgChange(file, qtfjList) {
  1243. this.qtfjBtnImg = qtfjList.length >= this.limitCountImg;
  1244. },
  1245. //营业执照上传
  1246. submitUpload() {
  1247. this.$refs.upload.submit();
  1248. },
  1249. //法人身份证正面上传
  1250. fsfzzUpload() {
  1251. this.$refs.fsfzzload.submit();
  1252. },
  1253. //法人身份证反面上传
  1254. fsfzfUpload() {
  1255. this.$refs.fsfzfload.submit();
  1256. },
  1257. //经办人身份证正面上传
  1258. jsfzzUpload() {
  1259. this.$refs.jsfzzload.submit();
  1260. },
  1261. //经办人身份证反面上传
  1262. jsfzfUpload() {
  1263. this.$refs.jsfzfload.submit();
  1264. },
  1265. //法人授权书上传
  1266. frsqsUpload() {
  1267. this.$refs.frsqsload.submit();
  1268. },
  1269. //数字证书授权上传
  1270. szzssqUpload() {
  1271. this.$refs.szzssqload.submit();
  1272. },
  1273. //其他附件上传
  1274. qtfjUpload() {
  1275. this.$refs.qtfjload.submit();
  1276. },
  1277. //营业执照上传
  1278. yyzzRequest(param) {
  1279. let fileObj = param.file; // 相当于input里取得的files
  1280. let fd = new FormData(); // FormData 对象
  1281. fd.append("file", fileObj); // 文件对象
  1282. const loading = this.$loading({
  1283. lock: true,
  1284. text: "Loading",
  1285. spinner: "el-icon-loading",
  1286. background: "rgba(0, 0, 0, 0.7)",
  1287. });
  1288. getlicense(fd).then((response) => {
  1289. if (response) {
  1290. console.log(response.data)
  1291. this.$set(this.form, "scyName", response.data.scyName);
  1292. this.$set(this.form, "scySocialCode", response.data.scySocialCode);
  1293. this.$set(this.form, "scyAddress", response.data.scyAddress);
  1294. this.$set(this.form, "scyLegal", response.data.scyLegal);
  1295. this.$set(
  1296. this.form,
  1297. "scyRegisteredCapital",
  1298. response.data.scyRegisteredCapital
  1299. );
  1300. if (response.data.scyStartTime != null) {
  1301. this.$set(this.form, "scyStartTime", response.data.scyStartTime);
  1302. }
  1303. if (response.data.scyEndTime != null) {
  1304. this.$set(this.form, "scyEndTime", response.data.scyEndTime);
  1305. if(response.data.scyEndTime=="长期"){
  1306. this.term = true
  1307. }
  1308. }
  1309. this.$set(this.form, "scyLicenseFile", response.data.scyLicenseFile);
  1310. setTimeout(() => {
  1311. loading.close();
  1312. }, 2000);
  1313. }
  1314. });
  1315. },
  1316. //法人身份证正面ocr识别
  1317. fsfzzRequest(param) {
  1318. let fileObj = param.file; // 相当于input里取得的files
  1319. let fd = new FormData(); // FormData 对象
  1320. fd.append("file", fileObj); // 文件对象
  1321. fd.append("fileType", "00"); // 文件类型
  1322. const loading = this.$loading({
  1323. lock: true,
  1324. text: "Loading",
  1325. spinner: "el-icon-loading",
  1326. background: "rgba(0, 0, 0, 0.7)",
  1327. });
  1328. getCard(fd).then((response) => {
  1329. if (response) {
  1330. this.$set(this.form, "scyLegalId", response.data.scyLegalId);
  1331. this.$set(this.form, "scyLegal", response.data.scyLegal);
  1332. this.$set(this.form, "fsfzzList", response.data.fsfzzList);
  1333. setTimeout(() => {
  1334. loading.close();
  1335. }, 2000);
  1336. }
  1337. });
  1338. },
  1339. //法人身份证反面
  1340. fsfzfRequest(param) {
  1341. let fileObj = param.file; // 相当于input里取得的files
  1342. let fd = new FormData(); // FormData 对象
  1343. fd.append("file", fileObj); // 文件对象
  1344. fd.append("fileType", "00"); //文件类型
  1345. const loading = this.$loading({
  1346. lock: true,
  1347. text: "Loading",
  1348. spinner: "el-icon-loading",
  1349. background: "rgba(0, 0, 0, 0.7)",
  1350. });
  1351. uploadFileNew(fd).then((response) => {
  1352. if (response) {
  1353. this.fsfzfList.push({
  1354. uid: response.fileId,
  1355. url: response.url + "/" + getToken(),
  1356. });
  1357. setTimeout(() => {
  1358. loading.close();
  1359. }, 2000);
  1360. }
  1361. });
  1362. },
  1363. //经办人身份证正面
  1364. jsfzzRequest(param) {
  1365. let fileObj = param.file; // 相当于input里取得的files
  1366. let fd = new FormData(); // FormData 对象
  1367. fd.append("file", fileObj); // 文件对象
  1368. fd.append("fileType", "01"); // 文件类型
  1369. const loading = this.$loading({
  1370. lock: true,
  1371. text: "Loading",
  1372. spinner: "el-icon-loading",
  1373. background: "rgba(0, 0, 0, 0.7)",
  1374. });
  1375. getCard(fd).then((response) => {
  1376. if (response) {
  1377. this.$set(this.form, "handler", response.data.handler);
  1378. this.$set(this.form, "handlerCard", response.data.handlerCard);
  1379. this.$set(this.form, "jsfzzList", response.data.jsfzzList);
  1380. setTimeout(() => {
  1381. loading.close();
  1382. }, 2000);
  1383. }
  1384. });
  1385. },
  1386. //经办人身份证反面
  1387. jsfzfRequest(param) {
  1388. let fileObj = param.file; // 相当于input里取得的files
  1389. let fd = new FormData(); // FormData 对象
  1390. fd.append("file", fileObj); // 文件对象
  1391. fd.append("fileType", "00"); //文件类型
  1392. const loading = this.$loading({
  1393. lock: true,
  1394. text: "Loading",
  1395. spinner: "el-icon-loading",
  1396. background: "rgba(0, 0, 0, 0.7)",
  1397. });
  1398. uploadFileNew(fd).then((response) => {
  1399. if (response) {
  1400. this.jsfzfList.push({
  1401. uid: response.fileId,
  1402. url: response.url + "/" + getToken(),
  1403. });
  1404. setTimeout(() => {
  1405. loading.close();
  1406. }, 2000);
  1407. }
  1408. });
  1409. },
  1410. //法人授权书
  1411. frsqsRequest(param) {
  1412. let fileObj = param.file; // 相当于input里取得的files
  1413. let fd = new FormData(); // FormData 对象
  1414. fd.append("file", fileObj); // 文件对象
  1415. fd.append("fileType", "00"); //文件类型
  1416. const loading = this.$loading({
  1417. lock: true,
  1418. text: "Loading",
  1419. spinner: "el-icon-loading",
  1420. background: "rgba(0, 0, 0, 0.7)",
  1421. });
  1422. uploadFileNew(fd).then((response) => {
  1423. if (response) {
  1424. this.frsqsList.push({
  1425. uid: response.fileId,
  1426. url: response.url + "/" + getToken(),
  1427. });
  1428. setTimeout(() => {
  1429. loading.close();
  1430. }, 2000);
  1431. }
  1432. });
  1433. },
  1434. //数字证书授权
  1435. szzssqRequest(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.szzssqList.push({
  1449. uid: response.fileId,
  1450. url: response.url + "/" + getToken(),
  1451. });
  1452. setTimeout(() => {
  1453. loading.close();
  1454. }, 2000);
  1455. }
  1456. });
  1457. },
  1458. //其他附件
  1459. qtfjRequest(param) {
  1460. let fileObj = param.file; // 相当于input里取得的files
  1461. let fd = new FormData(); // FormData 对象
  1462. fd.append("file", fileObj); // 文件对象
  1463. fd.append("fileType", "00"); //文件类型
  1464. const loading = this.$loading({
  1465. lock: true,
  1466. text: "Loading",
  1467. spinner: "el-icon-loading",
  1468. background: "rgba(0, 0, 0, 0.7)",
  1469. });
  1470. uploadFileNew(fd).then((response) => {
  1471. if (response) {
  1472. this.qtfjList.push({
  1473. uid: response.fileId,
  1474. url: response.url + "/" + getToken(),
  1475. });
  1476. setTimeout(() => {
  1477. loading.close();
  1478. }, 2000);
  1479. }
  1480. });
  1481. },
  1482. // 取消按钮
  1483. cancel() {
  1484. this.open = false;
  1485. },
  1486. /** 融信协议 */
  1487. handle(){
  1488. this.open = true;
  1489. this.title = "融信协议";
  1490. },
  1491. /** 发送验证码 */
  1492. submitForm() {
  1493. //点击获取验证码
  1494. const TIME_COUNT = 5; //倒计时60秒
  1495. console.log(TIME_COUNT)
  1496. if (!this.timer) {
  1497. this.count = TIME_COUNT;
  1498. this.codeShow = false;
  1499. console.log(this.count)
  1500. this.timer = setInterval(() => {
  1501. if (this.count > 0 && this.count <= TIME_COUNT) {
  1502. this.count--;
  1503. if(this.count==0){
  1504. this.verification =false;
  1505. clearInterval(this.timer);
  1506. this.timer = null;
  1507. }
  1508. } else {
  1509. this.codeShow = true;
  1510. clearInterval(this.timer);
  1511. this.timer = null;
  1512. }
  1513. }, 1000);
  1514. }
  1515. this.verification =true;
  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. addCode(this.form)
  1523. .then((response) => {
  1524. loading.close();
  1525. this.msgSuccess("发送成功");
  1526. })
  1527. .catch((response) => {
  1528. loading.close();
  1529. });
  1530. },
  1531. // 下载本地文件
  1532. download() {
  1533. window.location.href = "http://localhost:8080/template/template.xlsx";
  1534. },
  1535. //上一步
  1536. step(){
  1537. this.active=1;
  1538. },
  1539. //保存
  1540. preservation(){
  1541. this.$router.push({ path: this.redirect || "/" });
  1542. },
  1543. // 下一步
  1544. next() {
  1545. if (this.active == 0) {
  1546. if(!this.confirm){
  1547. this.$message.error("融信协议未确认!");
  1548. }else{
  1549. this.form.yyzzList = this.yyzzList;
  1550. this.form.fsfzfList = this.fsfzfList;
  1551. this.form.jsfzfList = this.jsfzfList;
  1552. this.form.frsqsList = this.frsqsList;
  1553. this.form.szzssqList = this.szzssqList;
  1554. this.form.qtfjList = this.qtfjList;
  1555. if(this.term){
  1556. this.form.scyEndTime="长期";
  1557. }
  1558. if(!this.legalHandle){
  1559. this.form.legalHandle="1";
  1560. }else{
  1561. this.form.legalHandle="2";
  1562. }
  1563. const loading = this.$loading({
  1564. lock: true,
  1565. text: "Loading",
  1566. spinner: "el-icon-loading",
  1567. background: "rgba(0, 0, 0, 0.7)",
  1568. });
  1569. addAuthentication(this.form)
  1570. .then((response) => {
  1571. loading.close();
  1572. this.msgSuccess("验证成功");
  1573. this.$set(this.form, "scyId", response.data.scyId);
  1574. this.active++;
  1575. })
  1576. .catch((response) => {
  1577. loading.close();
  1578. });
  1579. }
  1580. } else if (this.active == 1) {
  1581. const loading = this.$loading({
  1582. lock: true,
  1583. text: "Loading",
  1584. spinner: "el-icon-loading",
  1585. background: "rgba(0, 0, 0, 0.7)",
  1586. });
  1587. addAccount(this.form)
  1588. .then((response) => {
  1589. loading.close();
  1590. this.msgSuccess("开户成功");
  1591. this.active++;
  1592. })
  1593. .catch((response) => {
  1594. loading.close();
  1595. });
  1596. } else if (this.active == 2) {
  1597. const loading = this.$loading({
  1598. lock: true,
  1599. text: "Loading",
  1600. spinner: "el-icon-loading",
  1601. background: "rgba(0, 0, 0, 0.7)",
  1602. });
  1603. addVerification(this.form)
  1604. .then((response) => {
  1605. loading.close();
  1606. this.msgSuccess("认证成功");
  1607. this.active++;
  1608. })
  1609. .catch((response) => {
  1610. loading.close();
  1611. });
  1612. } else if (this.active == 3) {
  1613. const loading = this.$loading({
  1614. lock: true,
  1615. text: "Loading",
  1616. spinner: "el-icon-loading",
  1617. background: "rgba(0, 0, 0, 0.7)",
  1618. });
  1619. verification(this.form)
  1620. .then((response) => {
  1621. loading.close();
  1622. this.msgSuccess("验证成功");
  1623. this.active++;
  1624. this.$router.push({ path: this.redirect || "/" });
  1625. })
  1626. .catch((response) => {
  1627. loading.close();
  1628. });
  1629. } else {
  1630. this.active++;
  1631. }
  1632. },
  1633. handleAvatarSuccess(res, file) {
  1634. this.imageUrl = URL.createObjectURL(file.raw);
  1635. },
  1636. beforeAvatarUpload(file) {
  1637. const isJPG = file.type === "image/jpeg";
  1638. const isLt2M = file.size / 1024 / 1024 < 2;
  1639. if (!isJPG) {
  1640. this.$message.error("上传头像图片只能是 JPG 格式!");
  1641. }
  1642. if (!isLt2M) {
  1643. this.$message.error("上传头像图片大小不能超过 2MB!");
  1644. }
  1645. return isJPG && isLt2M;
  1646. },
  1647. },
  1648. };
  1649. </script>
  1650. <style>
  1651. .uoloadSty .el-upload--picture-card {
  1652. width: 110px;
  1653. height: 110px;
  1654. line-height: 110px;
  1655. }
  1656. .disUoloadSty .el-upload--picture-card {
  1657. display: none;
  1658. }
  1659. .fsfzzUoload .el-upload--picture-card {
  1660. width: 110px;
  1661. height: 110px;
  1662. line-height: 110px;
  1663. }
  1664. .Uoloadfsfzz .el-upload--picture-card {
  1665. display: none;
  1666. }
  1667. .uoloadfsfzf .el-upload--picture-card {
  1668. width: 110px;
  1669. height: 110px;
  1670. line-height: 110px;
  1671. }
  1672. .fsfzfUoloadSty .el-upload--picture-card {
  1673. display: none;
  1674. }
  1675. .uoloadjsfzz .el-upload--picture-card {
  1676. width: 110px;
  1677. height: 110px;
  1678. line-height: 110px;
  1679. }
  1680. .jsfzzUoloadSty .el-upload--picture-card {
  1681. display: none;
  1682. }
  1683. .uoloadfrsqs .el-upload--picture-card {
  1684. width: 110px;
  1685. height: 110px;
  1686. line-height: 110px;
  1687. }
  1688. .frsqsUoloadSty .el-upload--picture-card {
  1689. display: none;
  1690. }
  1691. .uoloadjsfzf .el-upload--picture-card {
  1692. width: 110px;
  1693. height: 110px;
  1694. line-height: 110px;
  1695. }
  1696. .jsfzfUoloadSty .el-upload--picture-card {
  1697. display: none;
  1698. }
  1699. .uoloadszzssq .el-upload--picture-card {
  1700. width: 110px;
  1701. height: 110px;
  1702. line-height: 110px;
  1703. }
  1704. .szzssqUoloadSty .el-upload--picture-card {
  1705. display: none;
  1706. }
  1707. .uoloadqtfj .el-upload--picture-card {
  1708. width: 110px;
  1709. height: 110px;
  1710. line-height: 110px;
  1711. }
  1712. .qtfjUoloadSty .el-upload--picture-card {
  1713. display: none;
  1714. }
  1715. .substance p {
  1716. font-family: "微软雅黑", sans-serif;
  1717. font-weight: 400;
  1718. font-style: normal;
  1719. font-size: 14px;
  1720. letter-spacing: normal;
  1721. color: #666666;
  1722. line-height: normal;
  1723. margin: 0px;
  1724. text-rendering: optimizeLegibility;
  1725. font-kerning: normal;
  1726. }
  1727. .substance h4 {
  1728. font-family: "微软雅黑", sans-serif;
  1729. font-weight: 700;
  1730. font-style: normal;
  1731. font-size: 14px;
  1732. letter-spacing: normal;
  1733. color: #666666;
  1734. line-height: normal;
  1735. margin: 0px;
  1736. text-rendering: optimizeLegibility;
  1737. font-kerning: normal;
  1738. }
  1739. .separation {
  1740. width: 200px;
  1741. height: 60px;
  1742. margin-top: 10px;
  1743. border-right: 5px solid #005cff;
  1744. }
  1745. .approved {
  1746. height: 150px;
  1747. width: 60%;
  1748. /* background-color: #f2f2f2; */
  1749. text-align: center;
  1750. border: 1px solid #f2f2f2;
  1751. margin-left: 20%;
  1752. }
  1753. .avatar-uploader .el-upload {
  1754. border: 1px dashed #d9d9d9;
  1755. border-radius: 6px;
  1756. cursor: pointer;
  1757. position: relative;
  1758. overflow: hidden;
  1759. }
  1760. .avatar-uploader .el-upload:hover {
  1761. border-color: #409eff;
  1762. }
  1763. .avatar-uploader-icon {
  1764. font-size: 28px;
  1765. color: #8c939d;
  1766. width: 178px;
  1767. height: 178px;
  1768. line-height: 178px;
  1769. text-align: center;
  1770. }
  1771. .avatar {
  1772. width: 178px;
  1773. height: 178px;
  1774. display: block;
  1775. }
  1776. .div-label {
  1777. padding: 20px 0;
  1778. width: 100%;
  1779. }
  1780. .ying .el-upload--picture-card {
  1781. width: 100% !important;
  1782. height: 407px !important;
  1783. }
  1784. .ying.el-upload-list--picture-card .el-upload-list__item {
  1785. width: 100% !important;
  1786. height: 407px !important;
  1787. }
  1788. .ying.el-upload-list--picture-card {
  1789. width: 100% !important;
  1790. height: 407px !important;
  1791. }
  1792. </style>