TaskUploadData.vue 141 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842
  1. <template>
  2. <div>
  3. <a-spin :spinning="uploading" size="large" tip="正在提交资料,请勿关闭当前网页...">
  4. <a-page-header
  5. style="background-color: #FFFFFF;margin-bottom:10px"
  6. title="上传资料"
  7. sub-title=""
  8. @back="goBack"
  9. >
  10. <a-form-model
  11. ref="form"
  12. :model="infoModel"
  13. :rules="rules"
  14. >
  15. <a-card style="margin-bottom:10px;color: #000000d9;font-size: 15px;line-height: 2.5;">
  16. <div>
  17. <span>1.请选择客户类型</span>
  18. </div>
  19. <a-radio-group style="position: relative;left: 30px"
  20. @change="controlChange" prop='customType' v-model:value="infoModel.customType">
  21. <a-radio :value="0">一类客户(党政军、大型企事业单位)</a-radio>
  22. <a-radio :value="1">二类客户(其余用户)</a-radio>
  23. </a-radio-group>
  24. <div>
  25. <span style="display: block">2.请选择使用场景</span>
  26. <a-radio-group style="position: relative;left: 30px;"
  27. @change="controlChange" v-model:value="infoModel.scene" prop='scene'>
  28. <a-radio :value="'0'">办公自用</a-radio>
  29. <a-radio :value="'1'">自用型呼叫中心</a-radio>
  30. <a-radio :value="'2'">经营型呼叫中心</a-radio>
  31. <a-radio :value="'3'">经营型会议电话</a-radio>
  32. </a-radio-group>
  33. </div>
  34. </a-card>
  35. <a-card style="margin-bottom:10px;color: #000000d9;font-size: 15px;line-height: 2.5;">
  36. <a-row>
  37. <a-col :span="6">
  38. <a-form-model-item label="客户编号"prop="customerNo" v-bind="labelCol4" >
  39. <a-input v-model="infoModel.customerNo" placeholder="客户编号" :disabled='true'></a-input>
  40. </a-form-model-item>
  41. </a-col>
  42. <!-- <a-col :span="6">-->
  43. <!-- <a-form-model-item label="用户编号" v-bind="labelCol4" >-->
  44. <!-- <a-input v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>-->
  45. <!-- </a-form-model-item>-->
  46. <!-- </a-col>-->
  47. <a-col :span="6">
  48. <a-form-model-item label="用户发展员工" prop="staffNo" v-bind="labelCol4">
  49. <a-input :disabled='true' v-model="infoModel.staffNo" placeholder="用户发展员工" ></a-input>
  50. </a-form-model-item>
  51. </a-col>
  52. <a-col :span="6">
  53. <a-form-model-item label="发展员工姓名" prop="staffNo" v-bind="labelCol4">
  54. <a-input :disabled='true' v-model="infoModel.staffName" placeholder="发展员工姓名" ></a-input>
  55. </a-form-model-item>
  56. </a-col>
  57. <!-- <a-col :span="6">-->
  58. <!-- <a-form-model-item label="用户号码" prop="userCode" v-bind="labelCol4">-->
  59. <!-- <a-input :disabled='true' v-model="infoModel.userCode" placeholder="用户号码" ></a-input>-->
  60. <!-- </a-form-model-item>-->
  61. <!-- </a-col>-->
  62. <a-col :span="6">
  63. <a-form-model-item label="用户编号" v-bind="labelCol4" >
  64. <a-input v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>
  65. </a-form-model-item>
  66. </a-col>
  67. <a-col :span="6">
  68. <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">
  69. <a-input :disabled='true' v-model="infoModel.userState" placeholder="用户状态" ></a-input>
  70. </a-form-model-item>
  71. </a-col>
  72. <a-col :span="6">
  73. <a-form-model-item label="入网时间" prop="networkAccessTime" v-bind="labelCol4" >
  74. <a-input v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
  75. </a-form-model-item>
  76. </a-col>
  77. <a-col :span="6">
  78. <a-form-model-item label="首次激活时间" prop="firstActivationDate" v-bind="labelCol4">
  79. <a-input :disabled='true' v-model="infoModel.firstActivationDate" placeholder="首次激活时间"></a-input>
  80. </a-form-model-item>
  81. </a-col>
  82. <a-col :span="6">
  83. <a-form-model-item label="账户编码" prop="accountCode" v-bind="labelCol4">
  84. <a-input :disabled='true' v-model="infoModel.accountCode" placeholder="账户编码"></a-input>
  85. </a-form-model-item>
  86. </a-col>
  87. <a-col :span="6">
  88. <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
  89. <a-input v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
  90. </a-form-model-item>
  91. </a-col>
  92. <a-col :span="6">
  93. <a-form-model-item label="楼宇名称" prop="floorName" v-bind="labelCol4">
  94. <a-input v-model="infoModel.floorName" placeholder="楼宇名称"></a-input>
  95. </a-form-model-item>
  96. </a-col>
  97. <a-col :span="6">
  98. <a-form-model-item label="楼宇编号" prop="floorCode" v-bind="labelCol4">
  99. <a-input v-model="infoModel.floorCode" placeholder="楼宇编号"></a-input>
  100. </a-form-model-item>
  101. </a-col>
  102. <a-col :span="6">
  103. <a-form-model-item label="客户经理手机号" prop="managePhone" v-bind="labelCol4">
  104. <a-input v-model="infoModel.managePhone" placeholder="客户经理手机号"></a-input>
  105. </a-form-model-item>
  106. </a-col>
  107. <a-col :span="6">
  108. <a-form-model-item label="实际装机地址" prop="installationAddress" v-bind="labelCol4">
  109. <a-input v-model="infoModel.installationAddress" placeholder="实际装机地址"></a-input>
  110. </a-form-model-item>
  111. </a-col>
  112. <!--风险评估等级(非办公自用需提供)-->
  113. <a-col :span="9" v-if='infoModel.contractDateIs==="" || infoModel.contractDateIs===null || infoModel.contractDateIs==="1" '>
  114. <a-form-model-item label="合同到期时间是否长期" prop="contractDateIs" v-bind="labelCol5">
  115. <a-radio-group v-model="infoModel.contractDateIs" button-style="solid" >
  116. <a-radio-button value="0">否</a-radio-button>
  117. <a-radio-button value="1">是</a-radio-button>
  118. </a-radio-group>
  119. </a-form-model-item>
  120. </a-col>
  121. <a-col :span="9" v-if='infoModel.contractDateIs==="0" ' >
  122. <a-form-model-item label="合同到期时间" prop="contractDate" v-bind="labelCol6">
  123. <a-date-picker style="min-width:50px; width: 67% " v-model="infoModel.contractDate"
  124. format="YYYY-MM-DD"
  125. showTime valueFormat="YYYY-MM-DD"/>
  126. <a-button @click="back('contractDate')" >长期</a-button>
  127. </a-form-model-item>
  128. </a-col>
  129. <a-col :span="9" v-if='infoModel.businessLicenseDateIs==="" || infoModel.businessLicenseDateIs===null || infoModel.businessLicenseDateIs==="1" '>
  130. <a-form-model-item label="营业执照有效期是否长期" prop="businessLicenseDateIs" v-bind="labelCol5">
  131. <a-radio-group v-model="infoModel.businessLicenseDateIs" button-style="solid" >
  132. <a-radio-button value="0">否</a-radio-button>
  133. <a-radio-button value="1">是</a-radio-button>
  134. </a-radio-group>
  135. </a-form-model-item>
  136. </a-col>
  137. <a-col :span="9" v-if='infoModel.businessLicenseDateIs==="0"'>
  138. <a-form-model-item label="营业执照到期时间" prop="businessLicenseDate" v-bind="labelCol4">
  139. <a-date-picker style="min-width:50px; width: 67% " v-model="infoModel.businessLicenseDate"
  140. format="YYYY-MM-DD"
  141. showTime valueFormat="YYYY-MM-DD"/>
  142. <a-button @click="back('businessLicenseDate')" >长期</a-button>
  143. </a-form-model-item>
  144. </a-col>
  145. <!-- (第一类客户办公自用除外,不需提供)-->
  146. <a-col :span="10">
  147. <a-form-model-item label="房屋租赁合同到期时间" :prop='infoModel.customType===0 && infoModel.scene==="0" ?"houseDate":""' v-bind="labelCol4">
  148. <a-date-picker style="width: 210px" v-model="infoModel.houseDate"
  149. format="YYYY-MM-DD"
  150. showTime valueFormat="YYYY-MM-DD"/>
  151. </a-form-model-item>
  152. </a-col>
  153. <a-col :span="11">
  154. <a-form-model-item label="经营型呼叫中心增值许可证到期日 " prop="zZBusinessLicenseDate" v-bind="labelCol4">
  155. <a-date-picker style="width: 210px" v-model="infoModel.zZBusinessLicenseDate"
  156. format="YYYY-MM-DD"
  157. showTime valueFormat="YYYY-MM-DD"/>
  158. </a-form-model-item>
  159. </a-col>
  160. <a-col :span="13">
  161. <a-form-model-item label="风险评估等级(非办公自用需提供)" prop="riskGrade" v-bind="labelCol4">
  162. <a-radio-group v-model="infoModel.riskGrade" button-style="solid" >
  163. <a-radio-button value="0">较低风险</a-radio-button>
  164. <a-radio-button value="1">低风险</a-radio-button>
  165. <a-radio-button value="2">中风险</a-radio-button>
  166. <a-radio-button value="3">高风险</a-radio-button>
  167. </a-radio-group>
  168. </a-form-model-item>
  169. </a-col>
  170. </a-row>
  171. </a-card>
  172. </a-form-model>
  173. </a-page-header>
  174. </a-spin>
  175. <!-- 步骤条-->
  176. <a-card style="margin-bottom:10px;width: 15%;float: left">
  177. <a-steps direction="vertical" :current="steps.current" size="small" @change="stepsClick">
  178. <a-step v-for="item in steps.stepsNow" :key="item.title" :title="item.title" :status="item.status"/>
  179. </a-steps>
  180. <a-button @click="addIsStaging" style="width: 100%" type="warn">暂存</a-button>
  181. <a-button @click="submitAuditLot" style="width: 100%;position: relative;top: 10px" type="primary">提交申请</a-button>
  182. </a-card>
  183. <!-- 入网申请签报 -->
  184. <a-card v-if="steps.currentId === 'applySign'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  185. <div slot="title">
  186. <span style="float: left;position: relative;top: 4px">入网申请签报</span>
  187. <!-- 操作按钮-->
  188. <div style="position: relative;left: 10px">
  189. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  190. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  191. </div>
  192. </div>
  193. <div style="width: 40%">
  194. <div class="markdown" style="position: relative;top:10px;left: 10%">
  195. <ul>
  196. <li style='color: #ee9900'>1)18年9月以后入网的需要</li>
  197. </ul>
  198. </div>
  199. </div>
  200. <div style="width: 85%;float:left;">
  201. <div>
  202. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  203. <a-textarea style="height: 77px"
  204. v-model="infoModel.applySignRemark"
  205. @change="textareaChange('applySign','applySignRemark')"
  206. placeholder="如没有上传资料备注,需要说明原因"
  207. />
  208. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  209. </a-form-model-item>
  210. </div>
  211. <div style="height: 70%">
  212. <div class="thumb-example">
  213. <a-upload
  214. name="file"
  215. :multiple="true"
  216. :action="importMinioUploadAction"
  217. :customRequest="e => selfUploadContract(e, 'applySign')"
  218. :headers="tokenHeader"
  219. :showUploadList="false"
  220. :beforeUpload="importBeforeUpload"
  221. @change="importHandleChange"
  222. style='margin-left: 125px;line-height: 50px'
  223. >
  224. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  225. </a-upload>
  226. <!-- swiper1 -->
  227. <swiper
  228. class="swiper gallery-top"
  229. :options="swiperOptionTop"
  230. ref="swiperTop"
  231. >
  232. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.applySign" :key="item.id">
  233. <iframe
  234. v-if="item.urlBase"
  235. frameborder="1"
  236. :src="item.urlBase"
  237. ref="ifr"
  238. width="100%"
  239. height="445px"
  240. scrolling="auto">
  241. </iframe>
  242. <img style="width:800px;height: 300px;border: 1px solid;"
  243. v-if="!item.urlBase" :src="noDataPng" border="1">
  244. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  245. danger @click="removeFile(item,'applySign')">移除
  246. </a-button>
  247. </swiper-slide>
  248. <div
  249. class="swiper-button-next swiper-button-white"
  250. slot="button-next"
  251. ></div>
  252. <div
  253. class="swiper-button-prev swiper-button-white"
  254. slot="button-prev"
  255. ></div>
  256. </swiper>
  257. <!-- swiper2 Thumbs -->
  258. <swiper
  259. class="swiper gallery-thumbs"
  260. :options="swiperOptionThumbs"
  261. ref="swiperThumbs"
  262. >
  263. <swiper-slide
  264. class="slide"
  265. style="width:100px;height:100px;"
  266. v-for="(item, index) in infoModel.applySign"
  267. :key="item.id"
  268. >
  269. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  270. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  271. </div>
  272. <img style="width: 100%;height: 96px"
  273. v-if="!item.urlBase" :src="noDataPng" border="1">
  274. </swiper-slide>
  275. <!-- 点我上传文件按钮-->
  276. <div class="clearfix">
  277. <a-upload
  278. listType="picture-card"
  279. name="file"
  280. :multiple="false"
  281. :action="importMinioUploadAction"
  282. :customRequest="e => selfUploadContract(e, 'applySign')"
  283. :headers="tokenHeader"
  284. :showUploadList="false"
  285. :beforeUpload="importBeforeUpload"
  286. @change="importHandleChange"
  287. >
  288. <div>
  289. <a-icon type="plus"/>
  290. <div class="ant-upload-text">点我上传</div>
  291. </div>
  292. </a-upload>
  293. </div>
  294. <div class="swiper-button-next swiper-button-white" slot="button-next">
  295. <div>
  296. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  297. </div>
  298. </div>
  299. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  300. <div>
  301. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  302. </div>
  303. </div>
  304. </swiper>
  305. </div>
  306. </div>
  307. </div>
  308. </a-card>
  309. <!-- 三张现场照片 -->
  310. <a-card v-if="steps.currentId === 'threePhotos'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  311. <div slot="title">
  312. <span style="float: left;position: relative;top: 4px">三张现场照片</span>
  313. <!-- 操作按钮-->
  314. <div style="position: relative;left: 10px">
  315. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  316. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  317. </div>
  318. </div>
  319. <div style="width: 40%">
  320. <div class="markdown" style="position: relative;top:10px;left: 10%">
  321. <ul>
  322. <li style='color: #ee9900'>门头LOGO、座席、机房和,照片需有客户经理</li>
  323. </ul>
  324. </div>
  325. </div>
  326. <div style="width: 85%;float:left;">
  327. <div>
  328. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  329. <a-textarea style="height: 77px"
  330. v-model="infoModel.threePhotosRemark"
  331. @change="textareaChange('threePhotos','threePhotosRemark')"
  332. placeholder="如没有上传资料备注,需要说明原因"
  333. />
  334. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  335. </a-form-model-item>
  336. </div>
  337. <div style="height: 70%">
  338. <div class="thumb-example">
  339. <a-upload
  340. name="file"
  341. :multiple="true"
  342. :action="importMinioUploadAction"
  343. :customRequest="e => selfUploadContract(e, 'threePhotos')"
  344. :headers="tokenHeader"
  345. :showUploadList="false"
  346. :beforeUpload="importBeforeUpload"
  347. @change="importHandleChange"
  348. style='margin-left: 125px;line-height: 50px'
  349. >
  350. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  351. </a-upload>
  352. <!-- swiper1 -->
  353. <swiper
  354. class="swiper gallery-top"
  355. :options="swiperOptionTop"
  356. ref="swiperTop"
  357. >
  358. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.threePhotos" :key="item.id">
  359. <iframe
  360. v-if="item.urlBase"
  361. frameborder="1"
  362. :src="item.urlBase"
  363. ref="ifr"
  364. width="100%"
  365. height="445px"
  366. scrolling="auto">
  367. </iframe>
  368. <img style="width:800px;height: 300px;border: 1px solid;"
  369. v-if="!item.urlBase" :src="noDataPng" border="1">
  370. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  371. danger @click="removeFile(item,'threePhotos')">移除
  372. </a-button>
  373. </swiper-slide>
  374. <div
  375. class="swiper-button-next swiper-button-white"
  376. slot="button-next"
  377. ></div>
  378. <div
  379. class="swiper-button-prev swiper-button-white"
  380. slot="button-prev"
  381. ></div>
  382. </swiper>
  383. <!-- swiper2 Thumbs -->
  384. <swiper
  385. class="swiper gallery-thumbs"
  386. :options="swiperOptionThumbs"
  387. ref="swiperThumbs"
  388. >
  389. <swiper-slide
  390. class="slide"
  391. style="width:100px;height:100px;"
  392. v-for="(item, index) in infoModel.threePhotos"
  393. :key="item.id"
  394. >
  395. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  396. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  397. </div>
  398. <img style="width: 100%;height: 96px"
  399. v-if="!item.urlBase" :src="noDataPng" border="1">
  400. </swiper-slide>
  401. <!-- 点我上传文件按钮-->
  402. <div class="clearfix">
  403. <a-upload
  404. listType="picture-card"
  405. name="file"
  406. :multiple="false"
  407. :action="importMinioUploadAction"
  408. :customRequest="e => selfUploadContract(e, 'threePhotos')"
  409. :headers="tokenHeader"
  410. :showUploadList="false"
  411. :beforeUpload="importBeforeUpload"
  412. @change="importHandleChange"
  413. >
  414. <div>
  415. <a-icon type="plus"/>
  416. <div class="ant-upload-text">点我上传</div>
  417. </div>
  418. </a-upload>
  419. </div>
  420. <div class="swiper-button-next swiper-button-white" slot="button-next">
  421. <div>
  422. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  423. </div>
  424. </div>
  425. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  426. <div>
  427. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  428. </div>
  429. </div>
  430. </swiper>
  431. </div>
  432. </div>
  433. </div>
  434. </a-card>
  435. <!-- 责任承诺书-->
  436. <a-card v-if="steps.currentId === 'commitmentBook'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  437. <div slot="title">
  438. <span style="float: left;position: relative;top: 4px">责任承诺书</span>
  439. <!-- 操作按钮-->
  440. <div style="position: relative;left: 10px">
  441. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  442. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  443. </div>
  444. </div>
  445. <div style="width: 40%">
  446. <div class="markdown" style="position: relative;top:10px;left: 10%">
  447. <ul>
  448. </ul>
  449. </div>
  450. </div>
  451. <div style="width: 85%;float:left;">
  452. <div>
  453. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  454. <a-textarea style="height: 77px"
  455. v-model="infoModel.commitmentBookRemark"
  456. @change="textareaChange('commitmentBook','commitmentBookRemark')"
  457. placeholder="如没有上传资料备注,需要说明原因"
  458. />
  459. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  460. </a-form-model-item>
  461. </div>
  462. <div style="height: 70%">
  463. <div class="thumb-example">
  464. <a-upload
  465. name="file"
  466. :multiple="true"
  467. :action="importMinioUploadAction"
  468. :customRequest="e => selfUploadContract(e, 'commitmentBook')"
  469. :headers="tokenHeader"
  470. :showUploadList="false"
  471. :beforeUpload="importBeforeUpload"
  472. @change="importHandleChange"
  473. style='margin-left: 125px;line-height: 50px'
  474. >
  475. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  476. </a-upload>
  477. <!-- swiper1 -->
  478. <swiper
  479. class="swiper gallery-top"
  480. :options="swiperOptionTop"
  481. ref="swiperTop"
  482. >
  483. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.commitmentBook" :key="item.id">
  484. <iframe
  485. v-if="item.urlBase"
  486. frameborder="1"
  487. :src="item.urlBase"
  488. ref="ifr"
  489. width="100%"
  490. height="445px"
  491. scrolling="auto">
  492. </iframe>
  493. <img style="width:800px;height: 300px;border: 1px solid;"
  494. v-if="!item.urlBase" :src="noDataPng" border="1">
  495. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  496. danger @click="removeFile(item,'commitmentBook')">移除
  497. </a-button>
  498. </swiper-slide>
  499. <div
  500. class="swiper-button-next swiper-button-white"
  501. slot="button-next"
  502. ></div>
  503. <div
  504. class="swiper-button-prev swiper-button-white"
  505. slot="button-prev"
  506. ></div>
  507. </swiper>
  508. <!-- swiper2 Thumbs -->
  509. <swiper
  510. class="swiper gallery-thumbs"
  511. :options="swiperOptionThumbs"
  512. ref="swiperThumbs"
  513. >
  514. <swiper-slide
  515. class="slide"
  516. style="width:100px;height:100px;"
  517. v-for="(item, index) in infoModel.commitmentBook"
  518. :key="item.id"
  519. >
  520. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  521. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  522. </div>
  523. <img style="width: 100%;height: 96px"
  524. v-if="!item.urlBase" :src="noDataPng" border="1">
  525. </swiper-slide>
  526. <!-- 点我上传文件按钮-->
  527. <div class="clearfix">
  528. <a-upload
  529. listType="picture-card"
  530. name="file"
  531. :multiple="false"
  532. :action="importMinioUploadAction"
  533. :customRequest="e => selfUploadContract(e, 'commitmentBook')"
  534. :headers="tokenHeader"
  535. :showUploadList="false"
  536. :beforeUpload="importBeforeUpload"
  537. @change="importHandleChange"
  538. >
  539. <div>
  540. <a-icon type="plus"/>
  541. <div class="ant-upload-text">点我上传</div>
  542. </div>
  543. </a-upload>
  544. </div>
  545. <div class="swiper-button-next swiper-button-white" slot="button-next">
  546. <div>
  547. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  548. </div>
  549. </div>
  550. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  551. <div>
  552. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  553. </div>
  554. </div>
  555. </swiper>
  556. </div>
  557. </div>
  558. </div>
  559. </a-card>
  560. <!-- 突破客户经理管控价是否有固网价格审批-->
  561. <a-card v-if="steps.currentId === 'isPriceApproval'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  562. <div slot="title">
  563. <span style="float: left;position: relative;top: 4px">突破客户经理管控价是否有固网价格审批</span>
  564. <!-- 操作按钮-->
  565. <div style="position: relative;left: 10px">
  566. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  567. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  568. </div>
  569. </div>
  570. <div style="width: 40%">
  571. <div class="markdown" style="position: relative;top:10px;left: 10%">
  572. <ul>
  573. </ul>
  574. </div>
  575. </div>
  576. <div style="width: 85%;float:left;">
  577. <div>
  578. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  579. <a-textarea style="height: 77px"
  580. v-model="infoModel.isPriceApprovalRemark"
  581. @change="textareaChange('isPriceApproval','isPriceApprovalRemark')"
  582. placeholder="如没有上传资料备注,需要说明原因"
  583. />
  584. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  585. </a-form-model-item>
  586. </div>
  587. <div style="height: 70%">
  588. <div class="thumb-example">
  589. <a-upload
  590. name="file"
  591. :multiple="true"
  592. :action="importMinioUploadAction"
  593. :customRequest="e => selfUploadContract(e, 'isPriceApproval')"
  594. :headers="tokenHeader"
  595. :showUploadList="false"
  596. :beforeUpload="importBeforeUpload"
  597. @change="importHandleChange"
  598. style='margin-left: 125px;line-height: 50px'
  599. >
  600. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  601. </a-upload>
  602. <!-- swiper1 -->
  603. <swiper
  604. class="swiper gallery-top"
  605. :options="swiperOptionTop"
  606. ref="swiperTop"
  607. >
  608. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.isPriceApproval" :key="item.id">
  609. <iframe
  610. v-if="item.urlBase"
  611. frameborder="1"
  612. :src="item.urlBase"
  613. ref="ifr"
  614. width="100%"
  615. height="445px"
  616. scrolling="auto">
  617. </iframe>
  618. <img style="width:800px;height: 300px;border: 1px solid;"
  619. v-if="!item.urlBase" :src="noDataPng" border="1">
  620. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  621. danger @click="removeFile(item,'isPriceApproval')">移除
  622. </a-button>
  623. </swiper-slide>
  624. <div
  625. class="swiper-button-next swiper-button-white"
  626. slot="button-next"
  627. ></div>
  628. <div
  629. class="swiper-button-prev swiper-button-white"
  630. slot="button-prev"
  631. ></div>
  632. </swiper>
  633. <!-- swiper2 Thumbs -->
  634. <swiper
  635. class="swiper gallery-thumbs"
  636. :options="swiperOptionThumbs"
  637. ref="swiperThumbs"
  638. >
  639. <swiper-slide
  640. class="slide"
  641. style="width:100px;height:100px;"
  642. v-for="(item, index) in infoModel.isPriceApproval"
  643. :key="item.id"
  644. >
  645. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  646. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  647. </div>
  648. <img style="width: 100%;height: 96px"
  649. v-if="!item.urlBase" :src="noDataPng" border="1">
  650. </swiper-slide>
  651. <!-- 点我上传文件按钮-->
  652. <div class="clearfix">
  653. <a-upload
  654. listType="picture-card"
  655. name="file"
  656. :multiple="false"
  657. :action="importMinioUploadAction"
  658. :customRequest="e => selfUploadContract(e, 'isPriceApproval')"
  659. :headers="tokenHeader"
  660. :showUploadList="false"
  661. :beforeUpload="importBeforeUpload"
  662. @change="importHandleChange"
  663. >
  664. <div>
  665. <a-icon type="plus"/>
  666. <div class="ant-upload-text">点我上传</div>
  667. </div>
  668. </a-upload>
  669. </div>
  670. <div class="swiper-button-next swiper-button-white" slot="button-next">
  671. <div>
  672. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  673. </div>
  674. </div>
  675. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  676. <div>
  677. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  678. </div>
  679. </div>
  680. </swiper>
  681. </div>
  682. </div>
  683. </div>
  684. </a-card>
  685. <!-- 法人身份证-->
  686. <a-card v-if="steps.currentId === 'legalIdCard'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  687. <div slot="title">
  688. <span style="float: left;position: relative;top: 4px">法人身份证</span>
  689. <!-- 操作按钮-->
  690. <div style="position: relative;left: 10px">
  691. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  692. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  693. </div>
  694. </div>
  695. <div style="width: 40%">
  696. <div class="markdown" style="position: relative;top:10px;left: 10%">
  697. <ul>
  698. <li style='color: #ee9900'>非党政军客户需具备</li>
  699. </ul>
  700. </div>
  701. </div>
  702. <div style="width: 85%;float:left;">
  703. <div>
  704. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  705. <a-textarea style="height: 77px"
  706. v-model="infoModel.legalIdCardRemark"
  707. @change="textareaChange('legalIdCard','legalIdCardRemark')"
  708. placeholder="如没有上传资料备注,需要说明原因"
  709. />
  710. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  711. </a-form-model-item>
  712. </div>
  713. <div style="height: 70%">
  714. <div class="thumb-example">
  715. <a-upload
  716. name="file"
  717. :multiple="true"
  718. :action="importMinioUploadAction"
  719. :customRequest="e => selfUploadContract(e, 'legalIdCard')"
  720. :headers="tokenHeader"
  721. :showUploadList="false"
  722. :beforeUpload="importBeforeUpload"
  723. @change="importHandleChange"
  724. style='margin-left: 125px;line-height: 50px'
  725. >
  726. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  727. </a-upload>
  728. <!-- swiper1 -->
  729. <swiper
  730. class="swiper gallery-top"
  731. :options="swiperOptionTop"
  732. ref="swiperTop"
  733. >
  734. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.legalIdCard" :key="item.id">
  735. <iframe
  736. v-if="item.urlBase"
  737. frameborder="1"
  738. :src="item.urlBase"
  739. ref="ifr"
  740. width="100%"
  741. height="445px"
  742. scrolling="auto">
  743. </iframe>
  744. <img style="width:800px;height: 300px;border: 1px solid;"
  745. v-if="!item.urlBase" :src="noDataPng" border="1">
  746. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  747. danger @click="removeFile(item,'legalIdCard')">移除
  748. </a-button>
  749. </swiper-slide>
  750. <div
  751. class="swiper-button-next swiper-button-white"
  752. slot="button-next"
  753. ></div>
  754. <div
  755. class="swiper-button-prev swiper-button-white"
  756. slot="button-prev"
  757. ></div>
  758. </swiper>
  759. <!-- swiper2 Thumbs -->
  760. <swiper
  761. class="swiper gallery-thumbs"
  762. :options="swiperOptionThumbs"
  763. ref="swiperThumbs"
  764. >
  765. <swiper-slide
  766. class="slide"
  767. style="width:100px;height:100px;"
  768. v-for="(item, index) in infoModel.legalIdCard"
  769. :key="item.id"
  770. >
  771. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  772. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  773. </div>
  774. <img style="width: 100%;height: 96px"
  775. v-if="!item.urlBase" :src="noDataPng" border="1">
  776. </swiper-slide>
  777. <!-- 点我上传文件按钮-->
  778. <div class="clearfix">
  779. <a-upload
  780. listType="picture-card"
  781. name="file"
  782. :multiple="false"
  783. :action="importMinioUploadAction"
  784. :customRequest="e => selfUploadContract(e, 'legalIdCard')"
  785. :headers="tokenHeader"
  786. :showUploadList="false"
  787. :beforeUpload="importBeforeUpload"
  788. @change="importHandleChange"
  789. >
  790. <div>
  791. <a-icon type="plus"/>
  792. <div class="ant-upload-text">点我上传</div>
  793. </div>
  794. </a-upload>
  795. </div>
  796. <div class="swiper-button-next swiper-button-white" slot="button-next">
  797. <div>
  798. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  799. </div>
  800. </div>
  801. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  802. <div>
  803. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  804. </div>
  805. </div>
  806. </swiper>
  807. </div>
  808. </div>
  809. </div>
  810. </a-card>
  811. <!-- 经办人身份证-->
  812. <a-card v-if="steps.currentId === 'operatorIdCard'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  813. <div slot="title">
  814. <span style="float: left;position: relative;top: 4px">经办人身份证</span>
  815. <!-- 操作按钮-->
  816. <div style="position: relative;left: 10px">
  817. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  818. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  819. </div>
  820. </div>
  821. <div style="width: 40%">
  822. <div class="markdown" style="position: relative;top:10px;left: 10%">
  823. <ul>
  824. </ul>
  825. </div>
  826. </div>
  827. <div style="width: 85%;float:left;">
  828. <div>
  829. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  830. <a-textarea style="height: 77px"
  831. v-model="infoModel.operatorIdCardRemark"
  832. @change="textareaChange('operatorIdCard','operatorIdCardRemark')"
  833. placeholder="如没有上传资料备注,需要说明原因"
  834. />
  835. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  836. </a-form-model-item>
  837. </div>
  838. <div style="height: 70%">
  839. <div class="thumb-example">
  840. <a-upload
  841. name="file"
  842. :multiple="true"
  843. :action="importMinioUploadAction"
  844. :customRequest="e => selfUploadContract(e, 'operatorIdCard')"
  845. :headers="tokenHeader"
  846. :showUploadList="false"
  847. :beforeUpload="importBeforeUpload"
  848. @change="importHandleChange"
  849. style='margin-left: 125px;line-height: 50px'
  850. >
  851. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  852. </a-upload>
  853. <!-- swiper1 -->
  854. <swiper
  855. class="swiper gallery-top"
  856. :options="swiperOptionTop"
  857. ref="swiperTop"
  858. >
  859. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.operatorIdCard" :key="item.id">
  860. <iframe
  861. v-if="item.urlBase"
  862. frameborder="1"
  863. :src="item.urlBase"
  864. ref="ifr"
  865. width="100%"
  866. height="445px"
  867. scrolling="auto">
  868. </iframe>
  869. <img style="width:800px;height: 300px;border: 1px solid;"
  870. v-if="!item.urlBase" :src="noDataPng" border="1">
  871. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  872. danger @click="removeFile(item,'operatorIdCard')">移除
  873. </a-button>
  874. </swiper-slide>
  875. <div
  876. class="swiper-button-next swiper-button-white"
  877. slot="button-next"
  878. ></div>
  879. <div
  880. class="swiper-button-prev swiper-button-white"
  881. slot="button-prev"
  882. ></div>
  883. </swiper>
  884. <!-- swiper2 Thumbs -->
  885. <swiper
  886. class="swiper gallery-thumbs"
  887. :options="swiperOptionThumbs"
  888. ref="swiperThumbs"
  889. >
  890. <swiper-slide
  891. class="slide"
  892. style="width:100px;height:100px;"
  893. v-for="(item, index) in infoModel.operatorIdCard"
  894. :key="item.id"
  895. >
  896. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  897. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  898. </div>
  899. <img style="width: 100%;height: 96px"
  900. v-if="!item.urlBase" :src="noDataPng" border="1">
  901. </swiper-slide>
  902. <!-- 点我上传文件按钮-->
  903. <div class="clearfix">
  904. <a-upload
  905. listType="picture-card"
  906. name="file"
  907. :multiple="false"
  908. :action="importMinioUploadAction"
  909. :customRequest="e => selfUploadContract(e, 'operatorIdCard')"
  910. :headers="tokenHeader"
  911. :showUploadList="false"
  912. :beforeUpload="importBeforeUpload"
  913. @change="importHandleChange"
  914. >
  915. <div>
  916. <a-icon type="plus"/>
  917. <div class="ant-upload-text">点我上传</div>
  918. </div>
  919. </a-upload>
  920. </div>
  921. <div class="swiper-button-next swiper-button-white" slot="button-next">
  922. <div>
  923. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  924. </div>
  925. </div>
  926. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  927. <div>
  928. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  929. </div>
  930. </div>
  931. </swiper>
  932. </div>
  933. </div>
  934. </div>
  935. </a-card>
  936. <!-- 授权函-->
  937. <a-card v-if="steps.currentId === 'authorizeBook'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  938. <div slot="title">
  939. <span style="float: left;position: relative;top: 4px">授权函</span>
  940. <!-- 操作按钮-->
  941. <div style="position: relative;left: 10px">
  942. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  943. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  944. </div>
  945. </div>
  946. <div style="width: 40%">
  947. <div class="markdown" style="position: relative;top:10px;left: 10%">
  948. <ul>
  949. </ul>
  950. </div>
  951. </div>
  952. <div style="width: 85%;float:left;">
  953. <div>
  954. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  955. <a-textarea style="height: 77px"
  956. v-model="infoModel.authorizeBookRemark"
  957. @change="textareaChange('authorizeBook','authorizeBookRemark')"
  958. placeholder="如没有上传资料备注,需要说明原因"
  959. />
  960. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  961. </a-form-model-item>
  962. </div>
  963. <div style="height: 70%">
  964. <div class="thumb-example">
  965. <a-upload
  966. name="file"
  967. :multiple="true"
  968. :action="importMinioUploadAction"
  969. :customRequest="e => selfUploadContract(e, 'authorizeBook')"
  970. :headers="tokenHeader"
  971. :showUploadList="false"
  972. :beforeUpload="importBeforeUpload"
  973. @change="importHandleChange"
  974. style='margin-left: 125px;line-height: 50px'
  975. >
  976. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  977. </a-upload>
  978. <!-- swiper1 -->
  979. <swiper
  980. class="swiper gallery-top"
  981. :options="swiperOptionTop"
  982. ref="swiperTop"
  983. >
  984. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.authorizeBook" :key="item.id">
  985. <iframe
  986. v-if="item.urlBase"
  987. frameborder="1"
  988. :src="item.urlBase"
  989. ref="ifr"
  990. width="100%"
  991. height="445px"
  992. scrolling="auto">
  993. </iframe>
  994. <img style="width:800px;height: 300px;border: 1px solid;"
  995. v-if="!item.urlBase" :src="noDataPng" border="1">
  996. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  997. danger @click="removeFile(item,'authorizeBook')">移除
  998. </a-button>
  999. </swiper-slide>
  1000. <div
  1001. class="swiper-button-next swiper-button-white"
  1002. slot="button-next"
  1003. ></div>
  1004. <div
  1005. class="swiper-button-prev swiper-button-white"
  1006. slot="button-prev"
  1007. ></div>
  1008. </swiper>
  1009. <!-- swiper2 Thumbs -->
  1010. <swiper
  1011. class="swiper gallery-thumbs"
  1012. :options="swiperOptionThumbs"
  1013. ref="swiperThumbs"
  1014. >
  1015. <swiper-slide
  1016. class="slide"
  1017. style="width:100px;height:100px;"
  1018. v-for="(item, index) in infoModel.authorizeBook"
  1019. :key="item.id"
  1020. >
  1021. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1022. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1023. </div>
  1024. <img style="width: 100%;height: 96px"
  1025. v-if="!item.urlBase" :src="noDataPng" border="1">
  1026. </swiper-slide>
  1027. <!-- 点我上传文件按钮-->
  1028. <div class="clearfix">
  1029. <a-upload
  1030. listType="picture-card"
  1031. name="file"
  1032. :multiple="false"
  1033. :action="importMinioUploadAction"
  1034. :customRequest="e => selfUploadContract(e, 'authorizeBook')"
  1035. :headers="tokenHeader"
  1036. :showUploadList="false"
  1037. :beforeUpload="importBeforeUpload"
  1038. @change="importHandleChange"
  1039. >
  1040. <div>
  1041. <a-icon type="plus"/>
  1042. <div class="ant-upload-text">点我上传</div>
  1043. </div>
  1044. </a-upload>
  1045. </div>
  1046. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1047. <div>
  1048. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1049. </div>
  1050. </div>
  1051. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1052. <div>
  1053. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1054. </div>
  1055. </div>
  1056. </swiper>
  1057. </div>
  1058. </div>
  1059. </div>
  1060. </a-card>
  1061. <!-- 经营性呼叫中心增值业务许可证-->
  1062. <a-card v-if="steps.currentId === 'zZBusinessLicense'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1063. <div slot="title">
  1064. <span style="float: left;position: relative;top: 4px">经营性呼叫中心增值业务许可证</span>
  1065. <!-- 操作按钮-->
  1066. <div style="position: relative;left: 10px">
  1067. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1068. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1069. </div>
  1070. </div>
  1071. <div style="width: 40%">
  1072. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1073. <ul>
  1074. </ul>
  1075. </div>
  1076. </div>
  1077. <div style="width: 85%;float:left;">
  1078. <div>
  1079. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1080. <a-textarea style="height: 77px"
  1081. v-model="infoModel.zZBusinessLicenseRemark"
  1082. @change="textareaChange('zZBusinessLicense','zZBusinessLicenseRemark')"
  1083. placeholder="如没有上传资料备注,需要说明原因"
  1084. />
  1085. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1086. </a-form-model-item>
  1087. </div>
  1088. <div style="height: 70%">
  1089. <div class="thumb-example">
  1090. <a-upload
  1091. name="file"
  1092. :multiple="true"
  1093. :action="importMinioUploadAction"
  1094. :customRequest="e => selfUploadContract(e, 'zZBusinessLicense')"
  1095. :headers="tokenHeader"
  1096. :showUploadList="false"
  1097. :beforeUpload="importBeforeUpload"
  1098. @change="importHandleChange"
  1099. style='margin-left: 125px;line-height: 50px'
  1100. >
  1101. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1102. </a-upload>
  1103. <!-- swiper1 -->
  1104. <swiper
  1105. class="swiper gallery-top"
  1106. :options="swiperOptionTop"
  1107. ref="swiperTop"
  1108. >
  1109. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.zZBusinessLicense" :key="item.id">
  1110. <iframe
  1111. v-if="item.urlBase"
  1112. frameborder="1"
  1113. :src="item.urlBase"
  1114. ref="ifr"
  1115. width="100%"
  1116. height="445px"
  1117. scrolling="auto">
  1118. </iframe>
  1119. <img style="width:800px;height: 300px;border: 1px solid;"
  1120. v-if="!item.urlBase" :src="noDataPng" border="1">
  1121. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  1122. danger @click="removeFile(item,'zZBusinessLicense')">移除
  1123. </a-button>
  1124. </swiper-slide>
  1125. <div
  1126. class="swiper-button-next swiper-button-white"
  1127. slot="button-next"
  1128. ></div>
  1129. <div
  1130. class="swiper-button-prev swiper-button-white"
  1131. slot="button-prev"
  1132. ></div>
  1133. </swiper>
  1134. <!-- swiper2 Thumbs -->
  1135. <swiper
  1136. class="swiper gallery-thumbs"
  1137. :options="swiperOptionThumbs"
  1138. ref="swiperThumbs"
  1139. >
  1140. <swiper-slide
  1141. class="slide"
  1142. style="width:100px;height:100px;"
  1143. v-for="(item, index) in infoModel.zZBusinessLicense"
  1144. :key="item.id"
  1145. >
  1146. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1147. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1148. </div>
  1149. <img style="width: 100%;height: 96px"
  1150. v-if="!item.urlBase" :src="noDataPng" border="1">
  1151. </swiper-slide>
  1152. <!-- 点我上传文件按钮-->
  1153. <div class="clearfix">
  1154. <a-upload
  1155. listType="picture-card"
  1156. name="file"
  1157. :multiple="false"
  1158. :action="importMinioUploadAction"
  1159. :customRequest="e => selfUploadContract(e, 'zZBusinessLicense')"
  1160. :headers="tokenHeader"
  1161. :showUploadList="false"
  1162. :beforeUpload="importBeforeUpload"
  1163. @change="importHandleChange"
  1164. >
  1165. <div>
  1166. <a-icon type="plus"/>
  1167. <div class="ant-upload-text">点我上传</div>
  1168. </div>
  1169. </a-upload>
  1170. </div>
  1171. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1172. <div>
  1173. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1174. </div>
  1175. </div>
  1176. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1177. <div>
  1178. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1179. </div>
  1180. </div>
  1181. </swiper>
  1182. </div>
  1183. </div>
  1184. </div>
  1185. </a-card>
  1186. <!-- 呼叫中心业务说明-->
  1187. <a-card v-if="steps.currentId === 'centerBusiness'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1188. <div slot="title">
  1189. <span style="float: left;position: relative;top: 4px">呼叫中心业务说明</span>
  1190. <!-- 操作按钮-->
  1191. <div style="position: relative;left: 10px">
  1192. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1193. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1194. </div>
  1195. </div>
  1196. <div style="width: 50%">
  1197. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1198. <ul>
  1199. <li style='color: #ee9900'>自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供</li>
  1200. </ul>
  1201. </div>
  1202. </div>
  1203. <div style="width: 85%;float:left;">
  1204. <div>
  1205. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1206. <a-textarea style="height: 77px"
  1207. v-model="infoModel.centerBusinessRemark"
  1208. @change="textareaChange('centerBusiness','centerBusinessRemark')"
  1209. placeholder="如没有上传资料备注,需要说明原因"
  1210. />
  1211. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1212. </a-form-model-item>
  1213. </div>
  1214. <div style="height: 70%">
  1215. <div class="thumb-example">
  1216. <a-upload
  1217. name="file"
  1218. :multiple="true"
  1219. :action="importMinioUploadAction"
  1220. :customRequest="e => selfUploadContract(e, 'centerBusiness')"
  1221. :headers="tokenHeader"
  1222. :showUploadList="false"
  1223. :beforeUpload="importBeforeUpload"
  1224. @change="importHandleChange"
  1225. style='margin-left: 125px;line-height: 50px'
  1226. >
  1227. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1228. </a-upload>
  1229. <!-- swiper1 -->
  1230. <swiper
  1231. class="swiper gallery-top"
  1232. :options="swiperOptionTop"
  1233. ref="swiperTop"
  1234. >
  1235. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.centerBusiness" :key="item.id">
  1236. <iframe
  1237. v-if="item.urlBase"
  1238. frameborder="1"
  1239. :src="item.urlBase"
  1240. ref="ifr"
  1241. width="100%"
  1242. height="445px"
  1243. scrolling="auto">
  1244. </iframe>
  1245. <img style="width:800px;height: 300px;border: 1px solid;"
  1246. v-if="!item.urlBase" :src="noDataPng" border="1">
  1247. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  1248. danger @click="removeFile(item,'centerBusiness')">移除
  1249. </a-button>
  1250. </swiper-slide>
  1251. <div
  1252. class="swiper-button-next swiper-button-white"
  1253. slot="button-next"
  1254. ></div>
  1255. <div
  1256. class="swiper-button-prev swiper-button-white"
  1257. slot="button-prev"
  1258. ></div>
  1259. </swiper>
  1260. <!-- swiper2 Thumbs -->
  1261. <swiper
  1262. class="swiper gallery-thumbs"
  1263. :options="swiperOptionThumbs"
  1264. ref="swiperThumbs"
  1265. >
  1266. <swiper-slide
  1267. class="slide"
  1268. style="width:100px;height:100px;"
  1269. v-for="(item, index) in infoModel.centerBusiness"
  1270. :key="item.id"
  1271. >
  1272. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1273. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1274. </div>
  1275. <img style="width: 100%;height: 96px"
  1276. v-if="!item.urlBase" :src="noDataPng" border="1">
  1277. </swiper-slide>
  1278. <!-- 点我上传文件按钮-->
  1279. <div class="clearfix">
  1280. <a-upload
  1281. listType="picture-card"
  1282. name="file"
  1283. :multiple="false"
  1284. :action="importMinioUploadAction"
  1285. :customRequest="e => selfUploadContract(e, 'centerBusiness')"
  1286. :headers="tokenHeader"
  1287. :showUploadList="false"
  1288. :beforeUpload="importBeforeUpload"
  1289. @change="importHandleChange"
  1290. >
  1291. <div>
  1292. <a-icon type="plus"/>
  1293. <div class="ant-upload-text">点我上传</div>
  1294. </div>
  1295. </a-upload>
  1296. </div>
  1297. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1298. <div>
  1299. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1300. </div>
  1301. </div>
  1302. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1303. <div>
  1304. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1305. </div>
  1306. </div>
  1307. </swiper>
  1308. </div>
  1309. </div>
  1310. </div>
  1311. </a-card>
  1312. <!-- 房屋租赁合同或房产证明-->
  1313. <a-card v-if="steps.currentId === 'contractOrProve'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1314. <div slot="title">
  1315. <span style="float: left;position: relative;top: 4px">房屋租赁合同或房产证明</span>
  1316. <!-- 操作按钮-->
  1317. <div style="position: relative;left: 10px">
  1318. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1319. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1320. </div>
  1321. </div>
  1322. <div style="width: 40%">
  1323. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1324. <ul>
  1325. <li style='color: #ee9900'>二类客户需具备</li>
  1326. </ul>
  1327. </div>
  1328. </div>
  1329. <div style="width: 85%;float:left;">
  1330. <div>
  1331. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1332. <a-textarea style="height: 77px"
  1333. v-model="infoModel.contractOrProveRemark"
  1334. @change="textareaChange('contractOrProve','contractOrProveRemark')"
  1335. placeholder="如没有上传资料备注,需要说明原因"
  1336. />
  1337. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1338. </a-form-model-item>
  1339. </div>
  1340. <div style="height: 70%">
  1341. <div class="thumb-example">
  1342. <a-upload
  1343. name="file"
  1344. :multiple="true"
  1345. :action="importMinioUploadAction"
  1346. :customRequest="e => selfUploadContract(e, 'contractOrProve')"
  1347. :headers="tokenHeader"
  1348. :showUploadList="false"
  1349. :beforeUpload="importBeforeUpload"
  1350. @change="importHandleChange"
  1351. style='margin-left: 125px;line-height: 50px'
  1352. >
  1353. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1354. </a-upload>
  1355. <!-- swiper1 -->
  1356. <swiper
  1357. class="swiper gallery-top"
  1358. :options="swiperOptionTop"
  1359. ref="swiperTop"
  1360. >
  1361. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.contractOrProve" :key="item.id">
  1362. <iframe
  1363. v-if="item.urlBase"
  1364. frameborder="1"
  1365. :src="item.urlBase"
  1366. ref="ifr"
  1367. width="100%"
  1368. height="445px"
  1369. scrolling="auto">
  1370. </iframe>
  1371. <img style="width:800px;height: 300px;border: 1px solid;"
  1372. v-if="!item.urlBase" :src="noDataPng" border="1">
  1373. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  1374. danger @click="removeFile(item,'contractOrProve')">移除
  1375. </a-button>
  1376. </swiper-slide>
  1377. <div
  1378. class="swiper-button-next swiper-button-white"
  1379. slot="button-next"
  1380. ></div>
  1381. <div
  1382. class="swiper-button-prev swiper-button-white"
  1383. slot="button-prev"
  1384. ></div>
  1385. </swiper>
  1386. <!-- swiper2 Thumbs -->
  1387. <swiper
  1388. class="swiper gallery-thumbs"
  1389. :options="swiperOptionThumbs"
  1390. ref="swiperThumbs"
  1391. >
  1392. <swiper-slide
  1393. class="slide"
  1394. style="width:100px;height:100px;"
  1395. v-for="(item, index) in infoModel.contractOrProve"
  1396. :key="item.id"
  1397. >
  1398. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1399. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1400. </div>
  1401. <img style="width: 100%;height: 96px"
  1402. v-if="!item.urlBase" :src="noDataPng" border="1">
  1403. </swiper-slide>
  1404. <!-- 点我上传文件按钮-->
  1405. <div class="clearfix">
  1406. <a-upload
  1407. listType="picture-card"
  1408. name="file"
  1409. :multiple="false"
  1410. :action="importMinioUploadAction"
  1411. :customRequest="e => selfUploadContract(e, 'contractOrProve')"
  1412. :headers="tokenHeader"
  1413. :showUploadList="false"
  1414. :beforeUpload="importBeforeUpload"
  1415. @change="importHandleChange"
  1416. >
  1417. <div>
  1418. <a-icon type="plus"/>
  1419. <div class="ant-upload-text">点我上传</div>
  1420. </div>
  1421. </a-upload>
  1422. </div>
  1423. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1424. <div>
  1425. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1426. </div>
  1427. </div>
  1428. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1429. <div>
  1430. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1431. </div>
  1432. </div>
  1433. </swiper>
  1434. </div>
  1435. </div>
  1436. </div>
  1437. </a-card>
  1438. <!-- 风险评估表-->
  1439. <a-card v-if="steps.currentId === 'riskTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1440. <div slot="title">
  1441. <span style="float: left;position: relative;top: 4px">风险评估表</span>
  1442. <!-- 操作按钮-->
  1443. <div style="position: relative;left: 10px">
  1444. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1445. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1446. </div>
  1447. </div>
  1448. <div style="width: 40%">
  1449. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1450. <ul>
  1451. <li style='color: #ee9900'>非办公自用需提供</li>
  1452. </ul>
  1453. </div>
  1454. </div>
  1455. <div style="width: 85%;float:left;">
  1456. <div>
  1457. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1458. <a-textarea style="height: 77px"
  1459. v-model="infoModel.riskTableRemark"
  1460. @change="textareaChange('riskTable','riskTableRemark')"
  1461. placeholder="如没有上传资料备注,需要说明原因"
  1462. />
  1463. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1464. </a-form-model-item>
  1465. </div>
  1466. <div style="height: 70%">
  1467. <div class="thumb-example">
  1468. <a-upload
  1469. name="file"
  1470. :multiple="true"
  1471. :action="importMinioUploadAction"
  1472. :customRequest="e => selfUploadContract(e, 'riskTable')"
  1473. :headers="tokenHeader"
  1474. :showUploadList="false"
  1475. :beforeUpload="importBeforeUpload"
  1476. @change="importHandleChange"
  1477. style='margin-left: 125px;line-height: 50px'
  1478. >
  1479. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1480. </a-upload>
  1481. <!-- swiper1 -->
  1482. <swiper
  1483. class="swiper gallery-top"
  1484. :options="swiperOptionTop"
  1485. ref="swiperTop"
  1486. >
  1487. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.riskTable" :key="item.id">
  1488. <iframe
  1489. v-if="item.urlBase"
  1490. frameborder="1"
  1491. :src="item.urlBase"
  1492. ref="ifr"
  1493. width="100%"
  1494. height="445px"
  1495. scrolling="auto">
  1496. </iframe>
  1497. <img style="width:800px;height: 300px;border: 1px solid;"
  1498. v-if="!item.urlBase" :src="noDataPng" border="1">
  1499. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  1500. danger @click="removeFile(item,'riskTable')">移除
  1501. </a-button>
  1502. </swiper-slide>
  1503. <div
  1504. class="swiper-button-next swiper-button-white"
  1505. slot="button-next"
  1506. ></div>
  1507. <div
  1508. class="swiper-button-prev swiper-button-white"
  1509. slot="button-prev"
  1510. ></div>
  1511. </swiper>
  1512. <!-- swiper2 Thumbs -->
  1513. <swiper
  1514. class="swiper gallery-thumbs"
  1515. :options="swiperOptionThumbs"
  1516. ref="swiperThumbs"
  1517. >
  1518. <swiper-slide
  1519. class="slide"
  1520. style="width:100px;height:100px;"
  1521. v-for="(item, index) in infoModel.riskTable"
  1522. :key="item.id"
  1523. >
  1524. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1525. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1526. </div>
  1527. <img style="width: 100%;height: 96px"
  1528. v-if="!item.urlBase" :src="noDataPng" border="1">
  1529. </swiper-slide>
  1530. <!-- 点我上传文件按钮-->
  1531. <div class="clearfix">
  1532. <a-upload
  1533. listType="picture-card"
  1534. name="file"
  1535. :multiple="false"
  1536. :action="importMinioUploadAction"
  1537. :customRequest="e => selfUploadContract(e, 'riskTable')"
  1538. :headers="tokenHeader"
  1539. :showUploadList="false"
  1540. :beforeUpload="importBeforeUpload"
  1541. @change="importHandleChange"
  1542. >
  1543. <div>
  1544. <a-icon type="plus"/>
  1545. <div class="ant-upload-text">点我上传</div>
  1546. </div>
  1547. </a-upload>
  1548. </div>
  1549. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1550. <div>
  1551. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1552. </div>
  1553. </div>
  1554. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1555. <div>
  1556. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1557. </div>
  1558. </div>
  1559. </swiper>
  1560. </div>
  1561. </div>
  1562. </div>
  1563. </a-card>
  1564. <!-- 中继线预审表-->
  1565. <a-card v-if="steps.currentId === 'trunkTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1566. <div slot="title">
  1567. <span style="float: left;position: relative;top: 4px">中继线预审表</span>
  1568. <!-- 操作按钮-->
  1569. <div style="position: relative;left: 10px">
  1570. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1571. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1572. </div>
  1573. </div>
  1574. <div style="width: 40%">
  1575. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1576. <ul>
  1577. </ul>
  1578. </div>
  1579. </div>
  1580. <div style="width: 85%;float:left;">
  1581. <div>
  1582. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1583. <a-textarea style="height: 77px"
  1584. v-model="infoModel.trunkTableRemark"
  1585. @change="textareaChange('trunkTable','trunkTableRemark')"
  1586. placeholder="如没有上传资料备注,需要说明原因"
  1587. />
  1588. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1589. </a-form-model-item>
  1590. </div>
  1591. <div style="height: 70%">
  1592. <div class="thumb-example">
  1593. <a-upload
  1594. name="file"
  1595. :multiple="true"
  1596. :action="importMinioUploadAction"
  1597. :customRequest="e => selfUploadContract(e, 'trunkTable')"
  1598. :headers="tokenHeader"
  1599. :showUploadList="false"
  1600. :beforeUpload="importBeforeUpload"
  1601. @change="importHandleChange"
  1602. style='margin-left: 125px;line-height: 50px'
  1603. >
  1604. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1605. </a-upload>
  1606. <!-- swiper1 -->
  1607. <swiper
  1608. class="swiper gallery-top"
  1609. :options="swiperOptionTop"
  1610. ref="swiperTop"
  1611. >
  1612. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.trunkTable" :key="item.id">
  1613. <iframe
  1614. v-if="item.urlBase"
  1615. frameborder="1"
  1616. :src="item.urlBase"
  1617. ref="ifr"
  1618. width="100%"
  1619. height="445px"
  1620. scrolling="auto">
  1621. </iframe>
  1622. <img style="width:800px;height: 300px;border: 1px solid;"
  1623. v-if="!item.urlBase" :src="noDataPng" border="1">
  1624. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  1625. danger @click="removeFile(item,'trunkTable')">移除
  1626. </a-button>
  1627. </swiper-slide>
  1628. <div
  1629. class="swiper-button-next swiper-button-white"
  1630. slot="button-next"
  1631. ></div>
  1632. <div
  1633. class="swiper-button-prev swiper-button-white"
  1634. slot="button-prev"
  1635. ></div>
  1636. </swiper>
  1637. <!-- swiper2 Thumbs -->
  1638. <swiper
  1639. class="swiper gallery-thumbs"
  1640. :options="swiperOptionThumbs"
  1641. ref="swiperThumbs"
  1642. >
  1643. <swiper-slide
  1644. class="slide"
  1645. style="width:100px;height:100px;"
  1646. v-for="(item, index) in infoModel.trunkTable"
  1647. :key="item.id"
  1648. >
  1649. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1650. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1651. </div>
  1652. <img style="width: 100%;height: 96px"
  1653. v-if="!item.urlBase" :src="noDataPng" border="1">
  1654. </swiper-slide>
  1655. <!-- 点我上传文件按钮-->
  1656. <div class="clearfix">
  1657. <a-upload
  1658. listType="picture-card"
  1659. name="file"
  1660. :multiple="false"
  1661. :action="importMinioUploadAction"
  1662. :customRequest="e => selfUploadContract(e, 'trunkTable')"
  1663. :headers="tokenHeader"
  1664. :showUploadList="false"
  1665. :beforeUpload="importBeforeUpload"
  1666. @change="importHandleChange"
  1667. >
  1668. <div>
  1669. <a-icon type="plus"/>
  1670. <div class="ant-upload-text">点我上传</div>
  1671. </div>
  1672. </a-upload>
  1673. </div>
  1674. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1675. <div>
  1676. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1677. </div>
  1678. </div>
  1679. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1680. <div>
  1681. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1682. </div>
  1683. </div>
  1684. </swiper>
  1685. </div>
  1686. </div>
  1687. </div>
  1688. </a-card>
  1689. <!-- 中继线合同-->
  1690. <a-card v-if="steps.currentId === 'trunkContract'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1691. <div slot="title">
  1692. <span style="float: left;position: relative;top: 4px">中继线合同</span>
  1693. <!-- 操作按钮-->
  1694. <div style="position: relative;left: 10px">
  1695. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1696. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1697. </div>
  1698. </div>
  1699. <div style="width: 40%">
  1700. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1701. <ul>
  1702. <li style='color: #ee9900'>必须是正规合同,不能是业务申请单</li>
  1703. </ul>
  1704. </div>
  1705. </div>
  1706. <div style="width: 85%;float:left;">
  1707. <div>
  1708. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1709. <a-textarea style="height: 77px"
  1710. v-model="infoModel.trunkContractRemark"
  1711. @change="textareaChange('trunkContract','trunkContractRemark')"
  1712. placeholder="如没有上传资料备注,需要说明原因"
  1713. />
  1714. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1715. </a-form-model-item>
  1716. </div>
  1717. <div style="height: 100%">
  1718. <div class="thumb-example">
  1719. <a-upload
  1720. name="file"
  1721. :multiple="true"
  1722. :action="importMinioUploadAction"
  1723. :customRequest="e => selfUploadContract(e, 'trunkContract')"
  1724. :headers="tokenHeader"
  1725. :showUploadList="false"
  1726. :beforeUpload="importBeforeUpload"
  1727. @change="importHandleChange"
  1728. style='margin-left: 125px;line-height: 50px'
  1729. >
  1730. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1731. </a-upload>
  1732. <!-- swiper1 -->
  1733. <swiper
  1734. class="swiper gallery-top"
  1735. :options="swiperOptionTop"
  1736. ref="swiperTop"
  1737. >
  1738. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.trunkContract" :key="item.id">
  1739. <iframe
  1740. v-if="item.urlBase"
  1741. frameborder="1"
  1742. :src="item.urlBase"
  1743. ref="ifr"
  1744. width="100%"
  1745. height="445px"
  1746. scrolling="auto">
  1747. </iframe>
  1748. <img style="width:800px;height: 300px;border: 1px solid;"
  1749. v-if="!item.urlBase" :src="noDataPng" border="1">
  1750. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  1751. danger @click="removeFile(item,'trunkContract')">移除
  1752. </a-button>
  1753. </swiper-slide>
  1754. <div
  1755. class="swiper-button-next swiper-button-white"
  1756. slot="button-next"
  1757. ></div>
  1758. <div
  1759. class="swiper-button-prev swiper-button-white"
  1760. slot="button-prev"
  1761. ></div>
  1762. </swiper>
  1763. <!-- swiper2 Thumbs -->
  1764. <swiper
  1765. class="swiper gallery-thumbs"
  1766. :options="swiperOptionThumbs"
  1767. ref="swiperThumbs"
  1768. >
  1769. <swiper-slide
  1770. class="slide"
  1771. style="width:100px;height:100px;"
  1772. v-for="(item, index) in infoModel.trunkContract"
  1773. :key="item.id"
  1774. >
  1775. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1776. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1777. </div>
  1778. <img style="width: 100%;height: 96px"
  1779. v-if="!item.urlBase" :src="noDataPng" border="1">
  1780. </swiper-slide>
  1781. <!-- 点我上传文件按钮-->
  1782. <div class="clearfix">
  1783. <a-upload
  1784. listType="picture-card"
  1785. name="file"
  1786. :multiple="false"
  1787. :action="importMinioUploadAction"
  1788. :customRequest="e => selfUploadContract(e, 'trunkContract')"
  1789. :headers="tokenHeader"
  1790. :showUploadList="false"
  1791. :beforeUpload="importBeforeUpload"
  1792. @change="importHandleChange"
  1793. >
  1794. <div>
  1795. <a-icon type="plus"/>
  1796. <div class="ant-upload-text">点我上传</div>
  1797. </div>
  1798. </a-upload>
  1799. </div>
  1800. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1801. <div>
  1802. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1803. </div>
  1804. </div>
  1805. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1806. <div>
  1807. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1808. </div>
  1809. </div>
  1810. </swiper>
  1811. </div>
  1812. </div>
  1813. </div>
  1814. </a-card>
  1815. <!-- 回访表-->
  1816. <a-card v-if="steps.currentId === 'accessTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1817. <div slot="title">
  1818. <span style="float: left;position: relative;top: 4px">回访表</span>
  1819. <!-- 操作按钮-->
  1820. <div style="position: relative;left: 10px">
  1821. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1822. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1823. </div>
  1824. </div>
  1825. <div style="width: 40%">
  1826. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1827. <ul>
  1828. <li style='color: #ee9900'>2023年7月26日后入网的需要</li>
  1829. </ul>
  1830. </div>
  1831. </div>
  1832. <div style="width: 85%;float:left;">
  1833. <div>
  1834. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1835. <a-textarea style="height: 77px"
  1836. v-model="infoModel.accessTableRemark"
  1837. @change="textareaChange('accessTable','accessTableRemark')"
  1838. placeholder="如没有上传资料备注,需要说明原因"
  1839. />
  1840. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1841. </a-form-model-item>
  1842. </div>
  1843. <div style="height: 70%">
  1844. <div class="thumb-example">
  1845. <a-upload
  1846. name="file"
  1847. :multiple="true"
  1848. :action="importMinioUploadAction"
  1849. :customRequest="e => selfUploadContract(e, 'accessTable')"
  1850. :headers="tokenHeader"
  1851. :showUploadList="false"
  1852. :beforeUpload="importBeforeUpload"
  1853. @change="importHandleChange"
  1854. style='margin-left: 125px;line-height: 50px'
  1855. >
  1856. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1857. </a-upload>
  1858. <!-- swiper1 -->
  1859. <swiper
  1860. class="swiper gallery-top"
  1861. :options="swiperOptionTop"
  1862. ref="swiperTop"
  1863. >
  1864. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.accessTable" :key="item.id">
  1865. <iframe
  1866. v-if="item.urlBase"
  1867. frameborder="1"
  1868. :src="item.urlBase"
  1869. ref="ifr"
  1870. width="100%"
  1871. height="445px"
  1872. scrolling="auto">
  1873. </iframe>
  1874. <img style="width:800px;height: 300px;border: 1px solid;"
  1875. v-if="!item.urlBase" :src="noDataPng" border="1">
  1876. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  1877. danger @click="removeFile(item,'accessTable')">移除
  1878. </a-button>
  1879. </swiper-slide>
  1880. <div
  1881. class="swiper-button-next swiper-button-white"
  1882. slot="button-next"
  1883. ></div>
  1884. <div
  1885. class="swiper-button-prev swiper-button-white"
  1886. slot="button-prev"
  1887. ></div>
  1888. </swiper>
  1889. <!-- swiper2 Thumbs -->
  1890. <swiper
  1891. class="swiper gallery-thumbs"
  1892. :options="swiperOptionThumbs"
  1893. ref="swiperThumbs"
  1894. >
  1895. <swiper-slide
  1896. class="slide"
  1897. style="width:100px;height:100px;"
  1898. v-for="(item, index) in infoModel.accessTable"
  1899. :key="item.id"
  1900. >
  1901. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1902. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1903. </div>
  1904. <img style="width: 100%;height: 96px"
  1905. v-if="!item.urlBase" :src="noDataPng" border="1">
  1906. </swiper-slide>
  1907. <!-- 点我上传文件按钮-->
  1908. <div class="clearfix">
  1909. <a-upload
  1910. listType="picture-card"
  1911. name="file"
  1912. :multiple="false"
  1913. :action="importMinioUploadAction"
  1914. :customRequest="e => selfUploadContract(e, 'accessTable')"
  1915. :headers="tokenHeader"
  1916. :showUploadList="false"
  1917. :beforeUpload="importBeforeUpload"
  1918. @change="importHandleChange"
  1919. >
  1920. <div>
  1921. <a-icon type="plus"/>
  1922. <div class="ant-upload-text">点我上传</div>
  1923. </div>
  1924. </a-upload>
  1925. </div>
  1926. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1927. <div>
  1928. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1929. </div>
  1930. </div>
  1931. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1932. <div>
  1933. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1934. </div>
  1935. </div>
  1936. </swiper>
  1937. </div>
  1938. </div>
  1939. </div>
  1940. </a-card>
  1941. <!-- 电话回访截图-->
  1942. <a-card v-if="steps.currentId === 'accessPhone'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1943. <div slot="title">
  1944. <span style="float: left;position: relative;top: 4px">电话回访截图</span>
  1945. <!-- 操作按钮-->
  1946. <div style="position: relative;left: 10px">
  1947. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  1948. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  1949. </div>
  1950. </div>
  1951. <div style="width: 40%">
  1952. <div class="markdown" style="position: relative;top:10px;left: 10%">
  1953. <ul>
  1954. <li style='color: #ee9900'>开通48小时内</li>
  1955. </ul>
  1956. </div>
  1957. </div>
  1958. <div style="width: 85%;float:left;">
  1959. <div>
  1960. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  1961. <a-textarea style="height: 77px"
  1962. v-model="infoModel.accessPhoneRemark"
  1963. @change="textareaChange('accessPhone','accessPhoneRemark')"
  1964. placeholder="如没有上传资料备注,需要说明原因"
  1965. />
  1966. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1967. </a-form-model-item>
  1968. </div>
  1969. <div style="height: 70%">
  1970. <div class="thumb-example">
  1971. <a-upload
  1972. name="file"
  1973. :multiple="true"
  1974. :action="importMinioUploadAction"
  1975. :customRequest="e => selfUploadContract(e, 'accessPhone')"
  1976. :headers="tokenHeader"
  1977. :showUploadList="false"
  1978. :beforeUpload="importBeforeUpload"
  1979. @change="importHandleChange"
  1980. style='margin-left: 125px;line-height: 50px'
  1981. >
  1982. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  1983. </a-upload>
  1984. <!-- swiper1 -->
  1985. <swiper
  1986. class="swiper gallery-top"
  1987. :options="swiperOptionTop"
  1988. ref="swiperTop"
  1989. >
  1990. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.accessPhone" :key="item.id">
  1991. <iframe
  1992. v-if="item.urlBase"
  1993. frameborder="1"
  1994. :src="item.urlBase"
  1995. ref="ifr"
  1996. width="100%"
  1997. height="445px"
  1998. scrolling="auto">
  1999. </iframe>
  2000. <img style="width:800px;height: 300px;border: 1px solid;"
  2001. v-if="!item.urlBase" :src="noDataPng" border="1">
  2002. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  2003. danger @click="removeFile(item,'accessPhone')">移除
  2004. </a-button>
  2005. </swiper-slide>
  2006. <div
  2007. class="swiper-button-next swiper-button-white"
  2008. slot="button-next"
  2009. ></div>
  2010. <div
  2011. class="swiper-button-prev swiper-button-white"
  2012. slot="button-prev"
  2013. ></div>
  2014. </swiper>
  2015. <!-- swiper2 Thumbs -->
  2016. <swiper
  2017. class="swiper gallery-thumbs"
  2018. :options="swiperOptionThumbs"
  2019. ref="swiperThumbs"
  2020. >
  2021. <swiper-slide
  2022. class="slide"
  2023. style="width:100px;height:100px;"
  2024. v-for="(item, index) in infoModel.accessPhone"
  2025. :key="item.id"
  2026. >
  2027. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  2028. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  2029. </div>
  2030. <img style="width: 100%;height: 96px"
  2031. v-if="!item.urlBase" :src="noDataPng" border="1">
  2032. </swiper-slide>
  2033. <!-- 点我上传文件按钮-->
  2034. <div class="clearfix">
  2035. <a-upload
  2036. listType="picture-card"
  2037. name="file"
  2038. :multiple="false"
  2039. :action="importMinioUploadAction"
  2040. :customRequest="e => selfUploadContract(e, 'accessPhone')"
  2041. :headers="tokenHeader"
  2042. :showUploadList="false"
  2043. :beforeUpload="importBeforeUpload"
  2044. @change="importHandleChange"
  2045. >
  2046. <div>
  2047. <a-icon type="plus"/>
  2048. <div class="ant-upload-text">点我上传</div>
  2049. </div>
  2050. </a-upload>
  2051. </div>
  2052. <div class="swiper-button-next swiper-button-white" slot="button-next">
  2053. <div>
  2054. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  2055. </div>
  2056. </div>
  2057. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  2058. <div>
  2059. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  2060. </div>
  2061. </div>
  2062. </swiper>
  2063. </div>
  2064. </div>
  2065. </div>
  2066. </a-card>
  2067. <!-- 现场回访照片-->
  2068. <a-card v-if="steps.currentId === 'accessPhoto'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  2069. <div slot="title">
  2070. <span style="float: left;position: relative;top: 4px">现场回访照片</span>
  2071. <!-- 操作按钮-->
  2072. <div style="position: relative;left: 10px">
  2073. <!-- <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
  2074. <!-- <a-button v-if="current > 0" style="margin-left: 8px" @click="prevSteps">上一步</a-button>-->
  2075. </div>
  2076. </div>
  2077. <div style="width: 40%">
  2078. <div class="markdown" style="position: relative;top:10px;left: 10%">
  2079. <ul>
  2080. <li style='color: #ee9900'>开通三天内回访</li>
  2081. </ul>
  2082. </div>
  2083. </div>
  2084. <div style="width: 85%;float:left;">
  2085. <div>
  2086. <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
  2087. <a-textarea style="height: 77px"
  2088. v-model="infoModel.accessPhotoRemark"
  2089. @change="textareaChange('accessPhoto','accessPhotoRemark')"
  2090. placeholder="如没有上传资料备注,需要说明原因"
  2091. />
  2092. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  2093. </a-form-model-item>
  2094. </div>
  2095. <div style="height: 70%">
  2096. <div class="thumb-example">
  2097. <a-upload
  2098. name="file"
  2099. :multiple="true"
  2100. :action="importMinioUploadAction"
  2101. :customRequest="e => selfUploadContract(e, 'accessPhoto')"
  2102. :headers="tokenHeader"
  2103. :showUploadList="false"
  2104. :beforeUpload="importBeforeUpload"
  2105. @change="importHandleChange"
  2106. style='margin-left: 125px;line-height: 50px'
  2107. >
  2108. <a-button> <a-icon type="upload" /> 上传文件 </a-button>
  2109. </a-upload>
  2110. <!-- swiper1 -->
  2111. <swiper
  2112. class="swiper gallery-top"
  2113. :options="swiperOptionTop"
  2114. ref="swiperTop"
  2115. >
  2116. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.accessPhoto" :key="item.id">
  2117. <iframe
  2118. v-if="item.urlBase"
  2119. frameborder="1"
  2120. :src="item.urlBase"
  2121. ref="ifr"
  2122. width="100%"
  2123. height="445px"
  2124. scrolling="auto">
  2125. </iframe>
  2126. <img style="width:800px;height: 300px;border: 1px solid;"
  2127. v-if="!item.urlBase" :src="noDataPng" border="1">
  2128. <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
  2129. danger @click="removeFile(item,'accessPhoto')">移除
  2130. </a-button>
  2131. </swiper-slide>
  2132. <div
  2133. class="swiper-button-next swiper-button-white"
  2134. slot="button-next"
  2135. ></div>
  2136. <div
  2137. class="swiper-button-prev swiper-button-white"
  2138. slot="button-prev"
  2139. ></div>
  2140. </swiper>
  2141. <!-- swiper2 Thumbs -->
  2142. <swiper
  2143. class="swiper gallery-thumbs"
  2144. :options="swiperOptionThumbs"
  2145. ref="swiperThumbs"
  2146. >
  2147. <swiper-slide
  2148. class="slide"
  2149. style="width:100px;height:100px;"
  2150. v-for="(item, index) in infoModel.accessPhoto"
  2151. :key="item.id"
  2152. >
  2153. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  2154. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  2155. </div>
  2156. <img style="width: 100%;height: 96px"
  2157. v-if="!item.urlBase" :src="noDataPng" border="1">
  2158. </swiper-slide>
  2159. <!-- 点我上传文件按钮-->
  2160. <div class="clearfix">
  2161. <a-upload
  2162. listType="picture-card"
  2163. name="file"
  2164. :multiple="false"
  2165. :action="importMinioUploadAction"
  2166. :customRequest="e => selfUploadContract(e, 'accessPhoto')"
  2167. :headers="tokenHeader"
  2168. :showUploadList="false"
  2169. :beforeUpload="importBeforeUpload"
  2170. @change="importHandleChange"
  2171. >
  2172. <div>
  2173. <a-icon type="plus"/>
  2174. <div class="ant-upload-text">点我上传</div>
  2175. </div>
  2176. </a-upload>
  2177. </div>
  2178. <div class="swiper-button-next swiper-button-white" slot="button-next">
  2179. <div>
  2180. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  2181. </div>
  2182. </div>
  2183. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  2184. <div>
  2185. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  2186. </div>
  2187. </div>
  2188. </swiper>
  2189. </div>
  2190. </div>
  2191. </div>
  2192. </a-card>
  2193. </div>
  2194. </template>
  2195. <script>
  2196. import { getAction, httpAction, postAction } from '@api/manage'
  2197. /*无数据图片*/
  2198. import noDataPng from '@/assets/nodata.png'
  2199. import {JeecgListMixin} from '@/mixins/JeecgListMixin'
  2200. let Base64 = require('js-base64').Base64
  2201. export default {
  2202. name: "TaskUploadData",
  2203. mixins: [JeecgListMixin],
  2204. inject: ['closeCurrent'],
  2205. components: {noDataPng},
  2206. data() {
  2207. return {
  2208. selectDateTime: '',
  2209. timeScopedPre: {
  2210. 近七日: [ ],//加上今天一共是七天,subtract方法是传6,往后推6天
  2211. 近14日: [ ],
  2212. 近30日: [ ]
  2213. },
  2214. currentId: "businessLicense",
  2215. noDataPng: noDataPng,
  2216. //加载状态
  2217. loading: false,
  2218. //弹窗
  2219. previewImage: "",
  2220. previewVisible: false,
  2221. url: {
  2222. "getInfoDataByInfoId": "/smsTurck/customerData/queryDataLogByInfoId",
  2223. "getTask":"/smsTurck/customerData/query/getTask",
  2224. "getInfoDataById": "/smsCheck/customerInfo/queryById",
  2225. updateFile: "/smsCheck/customerData/updateFile",
  2226. //"getInfoDataByInfoId": "/smsTurck/customerData/query/infoId",
  2227. minioUpload: "/smsCheck/customerData/uploadMinio",
  2228. list: "/smsCheck/customerData/list",
  2229. addOrEdit: "/smsTurck/customerData/edit/info"
  2230. },
  2231. //步骤条数据
  2232. // current: 0,
  2233. // steps: "",
  2234. steps: {
  2235. // 当前所在第几部
  2236. current: 0,
  2237. currentId: "",
  2238. stepsNow: {},
  2239. steps00: [
  2240. //不分类型与场景 中继线合同 (必须是正规合同,不能是业务申请单)
  2241. {
  2242. title: '中继线合同',
  2243. content: 'First-content',
  2244. id: "trunkContract",
  2245. },
  2246. //是否有入网申请签报
  2247. {
  2248. title: '入网申请签报 ',
  2249. content: 'First-content',
  2250. id: "applySign",
  2251. },
  2252. //不分类型与场景 三张现场照片
  2253. {
  2254. title: '三张现场照片 ',
  2255. content: 'First-content',
  2256. id: "threePhotos",
  2257. },
  2258. //不分类型与场景 是否有责任承诺书
  2259. {
  2260. title: '责任承诺书',
  2261. content: 'First-content',
  2262. id: "commitmentBook",
  2263. },
  2264. //不分类型与场景 突破客户经理管控价是否有固网价格审批
  2265. {
  2266. title: '突破客户经理管控价是否有固网价格审批',
  2267. content: 'First-content',
  2268. id: "isPriceApproval",
  2269. },
  2270. //不分类型与场景 授权函
  2271. {
  2272. title: '授权函',
  2273. content: 'First-content',
  2274. id: "authorizeBook",
  2275. },
  2276. // 不分类型与场景 经营性呼叫中心增值业务许可证到期时间
  2277. {
  2278. title: '经营性呼叫中心增值业务许可证',
  2279. content: 'First-content',
  2280. id: "zZBusinessLicense",
  2281. },
  2282. //不分类型与场景
  2283. {
  2284. title: '中继线预审表',
  2285. content: 'First-content',
  2286. id: "trunkTable",
  2287. },
  2288. //经办人身份证 不分类型与场景
  2289. {
  2290. title: '经办人身份证',
  2291. content: 'First-content',
  2292. id: "operatorIdCard",
  2293. },
  2294. {
  2295. title: '回访表',
  2296. content: 'First-content',
  2297. id: "accessTable",
  2298. }, {
  2299. title: '电话回访截图',
  2300. content: 'First-content',
  2301. id: "accessPhone",
  2302. }, {
  2303. title: '现场回访照片',
  2304. content: 'First-content',
  2305. id: "accessPhoto",
  2306. },
  2307. ],
  2308. steps01: [
  2309. //不分类型与场景 中继线合同 (必须是正规合同,不能是业务申请单)
  2310. {
  2311. title: '中继线合同',
  2312. content: 'First-content',
  2313. id: "trunkContract",
  2314. },
  2315. //是否有入网申请签报
  2316. {
  2317. title: '入网申请签报 ',
  2318. content: 'First-content',
  2319. id: "applySign",
  2320. },
  2321. //不分类型与场景 三张现场照片
  2322. {
  2323. title: '三张现场照片 ',
  2324. content: 'First-content',
  2325. id: "threePhotos",
  2326. },
  2327. //不分类型与场景 是否有责任承诺书
  2328. {
  2329. title: '责任承诺书',
  2330. content: 'First-content',
  2331. id: "commitmentBook",
  2332. },
  2333. //不分类型与场景 突破客户经理管控价是否有固网价格审批
  2334. {
  2335. title: '突破客户经理管控价是否有固网价格审批',
  2336. content: 'First-content',
  2337. id: "isPriceApproval",
  2338. },
  2339. //经办人身份证 不分类型与场景
  2340. {
  2341. title: '经办人身份证',
  2342. content: 'First-content',
  2343. id: "operatorIdCard",
  2344. },
  2345. //不分类型与场景 授权函
  2346. {
  2347. title: '授权函',
  2348. content: 'First-content',
  2349. id: "authorizeBook",
  2350. },
  2351. // 不分类型与场景 经营性呼叫中心增值业务许可证到期时间
  2352. {
  2353. title: '经营性呼叫中心增值业务许可证',
  2354. content: 'First-content',
  2355. id: "zZBusinessLicense",
  2356. },
  2357. //中心业务是否有说明 自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
  2358. {
  2359. title: '呼叫中心业务说明',
  2360. content: 'First-content',
  2361. id: "centerBusiness",
  2362. },
  2363. //非办公自用需提供 风险评估表
  2364. {
  2365. title: '风险评估表',
  2366. content: 'First-content',
  2367. id: "riskTable",
  2368. },
  2369. //不分类型与场景
  2370. {
  2371. title: '中继线预审表',
  2372. content: 'First-content',
  2373. id: "trunkTable",
  2374. }, {
  2375. title: '回访表',
  2376. content: 'First-content',
  2377. id: "accessTable",
  2378. }, {
  2379. title: '电话回访截图',
  2380. content: 'First-content',
  2381. id: "accessPhone",
  2382. }, {
  2383. title: '现场回访照片',
  2384. content: 'First-content',
  2385. id: "accessPhoto",
  2386. },
  2387. ],
  2388. steps02: [
  2389. //不分类型与场景 中继线合同 (必须是正规合同,不能是业务申请单)
  2390. {
  2391. title: '中继线合同',
  2392. content: 'First-content',
  2393. id: "trunkContract",
  2394. },
  2395. //是否有入网申请签报
  2396. {
  2397. title: '入网申请签报 ',
  2398. content: 'First-content',
  2399. id: "applySign",
  2400. },
  2401. //不分类型与场景 三张现场照片
  2402. {
  2403. title: '三张现场照片 ',
  2404. content: 'First-content',
  2405. id: "threePhotos",
  2406. },
  2407. //不分类型与场景 是否有责任承诺书
  2408. {
  2409. title: '责任承诺书',
  2410. content: 'First-content',
  2411. id: "commitmentBook",
  2412. },
  2413. //不分类型与场景 突破客户经理管控价是否有固网价格审批
  2414. {
  2415. title: '突破客户经理管控价是否有固网价格审批',
  2416. content: 'First-content',
  2417. id: "isPriceApproval",
  2418. },
  2419. //经办人身份证 不分类型与场景
  2420. {
  2421. title: '经办人身份证',
  2422. content: 'First-content',
  2423. id: "operatorIdCard",
  2424. },
  2425. //不分类型与场景 授权函
  2426. {
  2427. title: '授权函',
  2428. content: 'First-content',
  2429. id: "authorizeBook",
  2430. },
  2431. // 不分类型与场景 经营性呼叫中心增值业务许可证到期时间
  2432. {
  2433. title: '经营性呼叫中心增值业务许可证',
  2434. content: 'First-content',
  2435. id: "zZBusinessLicense",
  2436. },
  2437. //中心业务是否有说明 自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
  2438. {
  2439. title: '呼叫中心业务说明',
  2440. content: 'First-content',
  2441. id: "centerBusiness",
  2442. },
  2443. //非办公自用需提供 风险评估表
  2444. {
  2445. title: '风险评估表',
  2446. content: 'First-content',
  2447. id: "riskTable",
  2448. },
  2449. //不分类型与场景
  2450. {
  2451. title: '中继线预审表',
  2452. content: 'First-content',
  2453. id: "trunkTable",
  2454. }, {
  2455. title: '回访表',
  2456. content: 'First-content',
  2457. id: "accessTable",
  2458. }, {
  2459. title: '电话回访截图',
  2460. content: 'First-content',
  2461. id: "accessPhone",
  2462. }, {
  2463. title: '现场回访照片',
  2464. content: 'First-content',
  2465. id: "accessPhoto",
  2466. },
  2467. ],
  2468. steps10: [
  2469. //不分类型与场景 中继线合同 (必须是正规合同,不能是业务申请单)
  2470. {
  2471. title: '中继线合同',
  2472. content: 'First-content',
  2473. id: "trunkContract",
  2474. },
  2475. //是否有入网申请签报
  2476. {
  2477. title: '入网申请签报 ',
  2478. content: 'First-content',
  2479. id: "applySign",
  2480. },
  2481. //不分类型与场景 三张现场照片
  2482. {
  2483. title: '三张现场照片 ',
  2484. content: 'First-content',
  2485. id: "threePhotos",
  2486. },
  2487. //不分类型与场景 是否有责任承诺书
  2488. {
  2489. title: '责任承诺书',
  2490. content: 'First-content',
  2491. id: "commitmentBook",
  2492. },
  2493. //不分类型与场景 突破客户经理管控价是否有固网价格审批
  2494. {
  2495. title: '突破客户经理管控价是否有固网价格审批',
  2496. content: 'First-content',
  2497. id: "isPriceApproval",
  2498. },
  2499. //是否有法人身份证 (非党政军客户需具备)
  2500. {
  2501. title: '法人身份证',
  2502. content: 'First-content',
  2503. id: "legalIdCard",
  2504. },
  2505. //经办人身份证 不分类型与场景
  2506. {
  2507. title: '经办人身份证',
  2508. content: 'First-content',
  2509. id: "operatorIdCard",
  2510. },
  2511. //不分类型与场景 授权函
  2512. {
  2513. title: '授权函',
  2514. content: 'First-content',
  2515. id: "authorizeBook",
  2516. },
  2517. // 不分类型与场景 经营性呼叫中心增值业务许可证到期时间
  2518. {
  2519. title: '经营性呼叫中心增值业务许可证',
  2520. content: 'First-content',
  2521. id: "zZBusinessLicense",
  2522. },
  2523. //房屋租赁合同或房产证明 二类客户需具备
  2524. {
  2525. title: '房屋租赁合同或房产证明',
  2526. content: 'First-content',
  2527. id: "contractOrProve",
  2528. },
  2529. //不分类型与场景
  2530. {
  2531. title: '中继线预审表',
  2532. content: 'First-content',
  2533. id: "trunkTable",
  2534. }, {
  2535. title: '回访表',
  2536. content: 'First-content',
  2537. id: "accessTable",
  2538. }, {
  2539. title: '电话回访截图',
  2540. content: 'First-content',
  2541. id: "accessPhone",
  2542. }, {
  2543. title: '现场回访照片',
  2544. content: 'First-content',
  2545. id: "accessPhoto",
  2546. },
  2547. ],
  2548. steps11: [
  2549. //不分类型与场景 中继线合同 (必须是正规合同,不能是业务申请单)
  2550. {
  2551. title: '中继线合同',
  2552. content: 'First-content',
  2553. id: "trunkContract",
  2554. },
  2555. //是否有入网申请签报
  2556. {
  2557. title: '入网申请签报 ',
  2558. content: 'First-content',
  2559. id: "applySign",
  2560. },
  2561. //不分类型与场景 三张现场照片
  2562. {
  2563. title: '三张现场照片 ',
  2564. content: 'First-content',
  2565. id: "threePhotos",
  2566. },
  2567. //不分类型与场景 是否有责任承诺书
  2568. {
  2569. title: '责任承诺书',
  2570. content: 'First-content',
  2571. id: "commitmentBook",
  2572. },
  2573. //不分类型与场景 突破客户经理管控价是否有固网价格审批
  2574. {
  2575. title: '突破客户经理管控价是否有固网价格审批',
  2576. content: 'First-content',
  2577. id: "isPriceApproval",
  2578. },
  2579. //是否有法人身份证 (非党政军客户需具备)
  2580. {
  2581. title: '法人身份证',
  2582. content: 'First-content',
  2583. id: "legalIdCard",
  2584. },
  2585. //经办人身份证 不分类型与场景
  2586. {
  2587. title: '经办人身份证',
  2588. content: 'First-content',
  2589. id: "operatorIdCard",
  2590. },
  2591. //不分类型与场景 授权函
  2592. {
  2593. title: '授权函',
  2594. content: 'First-content',
  2595. id: "authorizeBook",
  2596. },
  2597. // 不分类型与场景 经营性呼叫中心增值业务许可证到期时间
  2598. {
  2599. title: '经营性呼叫中心增值业务许可证',
  2600. content: 'First-content',
  2601. id: "zZBusinessLicense",
  2602. },
  2603. //中心业务是否有说明 自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
  2604. {
  2605. title: '呼叫中心业务说明',
  2606. content: 'First-content',
  2607. id: "centerBusiness",
  2608. },
  2609. //房屋租赁合同或房产证明 二类客户需具备
  2610. {
  2611. title: '房屋租赁合同或房产证明',
  2612. content: 'First-content',
  2613. id: "contractOrProve",
  2614. },
  2615. //非办公自用需提供 风险评估表
  2616. {
  2617. title: '风险评估表',
  2618. content: 'First-content',
  2619. id: "riskTable",
  2620. },
  2621. //不分类型与场景
  2622. {
  2623. title: '中继线预审表',
  2624. content: 'First-content',
  2625. id: "trunkTable",
  2626. }, {
  2627. title: '回访表',
  2628. content: 'First-content',
  2629. id: "accessTable",
  2630. }, {
  2631. title: '电话回访截图',
  2632. content: 'First-content',
  2633. id: "accessPhone",
  2634. }, {
  2635. title: '现场回访照片',
  2636. content: 'First-content',
  2637. id: "accessPhoto",
  2638. },
  2639. ],
  2640. steps12: [
  2641. //不分类型与场景 中继线合同 (必须是正规合同,不能是业务申请单)
  2642. {
  2643. title: '中继线合同',
  2644. content: 'First-content',
  2645. id: "trunkContract",
  2646. },
  2647. //是否有入网申请签报
  2648. {
  2649. title: '入网申请签报 ',
  2650. content: 'First-content',
  2651. id: "applySign",
  2652. },
  2653. //不分类型与场景 三张现场照片
  2654. {
  2655. title: '三张现场照片 ',
  2656. content: 'First-content',
  2657. id: "threePhotos",
  2658. },
  2659. //不分类型与场景 是否有责任承诺书
  2660. {
  2661. title: '责任承诺书',
  2662. content: 'First-content',
  2663. id: "commitmentBook",
  2664. },
  2665. //不分类型与场景 突破客户经理管控价是否有固网价格审批
  2666. {
  2667. title: '突破客户经理管控价是否有固网价格审批',
  2668. content: 'First-content',
  2669. id: "isPriceApproval",
  2670. },
  2671. //是否有法人身份证 (非党政军客户需具备)
  2672. {
  2673. title: '法人身份证',
  2674. content: 'First-content',
  2675. id: "legalIdCard",
  2676. },
  2677. //经办人身份证 不分类型与场景
  2678. {
  2679. title: '经办人身份证',
  2680. content: 'First-content',
  2681. id: "operatorIdCard",
  2682. },
  2683. //不分类型与场景 授权函
  2684. {
  2685. title: '授权函',
  2686. content: 'First-content',
  2687. id: "authorizeBook",
  2688. },
  2689. //经营性呼叫中心增值业务许可证到期时间
  2690. {
  2691. title: '经营性呼叫中心增值业务许可证',
  2692. content: 'First-content',
  2693. id: "zZBusinessLicense",
  2694. },
  2695. //中心业务是否有说明 自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
  2696. {
  2697. title: '呼叫中心业务说明',
  2698. content: 'First-content',
  2699. id: "centerBusiness",
  2700. },
  2701. //房屋租赁合同或房产证明 二类客户需具备
  2702. {
  2703. title: '房屋租赁合同或房产证明',
  2704. content: 'First-content',
  2705. id: "contractOrProve",
  2706. },
  2707. //非办公自用需提供 风险评估表
  2708. {
  2709. title: '风险评估表',
  2710. content: 'First-content',
  2711. id: "riskTable",
  2712. },
  2713. //不分类型与场景
  2714. {
  2715. title: '中继线预审表',
  2716. content: 'First-content',
  2717. id: "trunkTable",
  2718. }, {
  2719. title: '回访表',
  2720. content: 'First-content',
  2721. id: "accessTable",
  2722. }, {
  2723. title: '电话回访截图',
  2724. content: 'First-content',
  2725. id: "accessPhone",
  2726. }, {
  2727. title: '现场回访照片',
  2728. content: 'First-content',
  2729. id: "accessPhoto",
  2730. },
  2731. ],
  2732. },
  2733. uploading: false,
  2734. rules:{
  2735. scene: [
  2736. {required: true, message: '必须输入'},
  2737. ],
  2738. customType: [
  2739. {required: true, message: '必须输入'},
  2740. ],
  2741. customerName: [
  2742. {required: true, message: '必须输入'},
  2743. ],
  2744. houseDate:[
  2745. {required: true, message: '必须输入'},
  2746. ],
  2747. zZBusinessLicenseDate:[
  2748. {required: true, message: '必须输入'},
  2749. ],
  2750. businessLicenseDateIs:[
  2751. {required: true, message: '必须输入'},
  2752. ],
  2753. businessLicenseDate:[
  2754. {required: true, message: '必须输入'},
  2755. ],
  2756. contractDate:[
  2757. {required: true, message: '必须输入'},
  2758. ],
  2759. riskGrade:[
  2760. {required: true, message: '必须输入'},
  2761. ],
  2762. installationAddress:[
  2763. {required: true, message: '必须输入'},
  2764. ],
  2765. floorName:[
  2766. {required: true, message: '必须输入'},
  2767. ],
  2768. firstActivationDate:[
  2769. {required: true, message: '必须输入'},
  2770. ],
  2771. customerNo:[
  2772. {required: true, message: '必须输入'},
  2773. ],
  2774. userNo:[
  2775. {required: true, message: '必须输入'},
  2776. ],
  2777. networkAccessTime:[
  2778. {required: true, message: '必须输入'},
  2779. ],
  2780. userState:[
  2781. {required: true, message: '必须输入'},
  2782. ],
  2783. contractDateIs:[
  2784. {required: true, message: '必须输入'},
  2785. ],
  2786. staffNo:[
  2787. {required: true, message: '必须输入'},
  2788. ],
  2789. codeNumber:[
  2790. {required: true, message: '必须输入'},
  2791. ],
  2792. accountCode:[
  2793. {required: true, message: '必须输入'},
  2794. ],
  2795. floorCode:[
  2796. {required: true, message: '必须输入'},
  2797. ],
  2798. userCode:[
  2799. {required: true, message: '必须输入'},
  2800. ],
  2801. managePhone: [
  2802. {required: true, message: '请输入客户经理手机号!', trigger: 'blur'}, {validator: this.isPhone}
  2803. ],
  2804. },
  2805. taskId:"",
  2806. infoModel:{
  2807. staffName:"",
  2808. dataId:"",
  2809. logId:"",
  2810. infoId:"",
  2811. managePhone:"",
  2812. //客户类型
  2813. customType: 0,
  2814. //使用场景
  2815. scene:'0',
  2816. houseDate:"",
  2817. zZBusinessLicenseDate:"",
  2818. businessLicenseDateIs:"",
  2819. businessLicenseDate:"",
  2820. contractDate:"",
  2821. riskGrade:"",
  2822. installationAddress:"",
  2823. floorName:"",
  2824. firstActivationDate:"",
  2825. customerNo:"",
  2826. userNo:"",
  2827. networkAccessTime:"",
  2828. customerName:"",
  2829. userState:"",
  2830. contractDateIs:"",
  2831. staffNo:"",
  2832. codeNumber:"",
  2833. accountCode:"",
  2834. floorCode:"",
  2835. userCode:"",
  2836. //入网申请签报 applySign
  2837. applySign:[{}],
  2838. applySignRemark:"",
  2839. //三张现场照片 threePhotos
  2840. threePhotos:[{}],
  2841. threePhotosRemark:"",
  2842. //责任承诺书
  2843. commitmentBook:[{}],
  2844. commitmentBookRemark:"",
  2845. //突破客户经理管控价是否有固网价格审批
  2846. isPriceApproval:[{}],
  2847. isPriceApprovalRemark:"",
  2848. //法人身份证
  2849. legalIdCard:[{}],
  2850. legalIdCardRemark:"",
  2851. //经办人身份证.
  2852. operatorIdCard:[{}],
  2853. operatorIdCardRemark:"",
  2854. //授权函.
  2855. authorizeBook:[{}],
  2856. authorizeBookRemark:"",
  2857. //经营性呼叫中心增值业务许可证.
  2858. zZBusinessLicense:[{}],
  2859. zZBusinessLicenseRemark:"",
  2860. //呼叫中心业务说明.
  2861. centerBusiness:[{}],
  2862. centerBusinessRemark:"",
  2863. //房屋租赁合同或房产证明.
  2864. contractOrProve:[{}],
  2865. contractOrProveRemark:"",
  2866. //风险评估表
  2867. riskTable:[{}],
  2868. riskTableRemark:"",
  2869. //中继线预审表
  2870. trunkTable:[{}],
  2871. trunkTableRemark:"",
  2872. //中继线合同
  2873. trunkContract:[{}],
  2874. trunkContractRemark:"",
  2875. accessTable:[{}],
  2876. accessTableRemark:"",
  2877. accessPhone:[{}],
  2878. accessPhoneRemark:"",
  2879. accessPhoto:[{}],
  2880. accessPhotoRemark:"",
  2881. },
  2882. next: "",
  2883. prev: "",
  2884. //客户信息ID
  2885. infoId: "",
  2886. lotData: {
  2887. //客户类型
  2888. customType: "0",
  2889. //使用场景
  2890. scene: "0",
  2891. //正式卡/测试卡
  2892. blockType: "model",
  2893. //价格管控
  2894. control: "controlN",
  2895. //合同文件
  2896. contractFiles: [],
  2897. //责任人和经办人授权书
  2898. empowerFiles: [],
  2899. //责任人和经办人身份证
  2900. idCardFiles: [],
  2901. //客户证件扫描
  2902. scanningFiles: [],
  2903. //风险评估表
  2904. riskFiles: [],
  2905. //价格审批表
  2906. priceFiles: [],
  2907. //测试卡申请单
  2908. testCardApplication: []
  2909. },
  2910. truckData: {
  2911. //客户类型
  2912. customType: "0",
  2913. //使用场景
  2914. scene: "0",
  2915. },
  2916. //缩略与大图数据源
  2917. swiperId: 0 + 1,
  2918. swiperImg: [{}],
  2919. //轮播配置
  2920. swiperOptionTop: {
  2921. zoom: true,
  2922. loop: false,
  2923. loopedSlides: 5, // looped slides should be the same
  2924. spaceBetween: 10,
  2925. observer: true, //修改swiper自己或子元素时,自动初始化swiper
  2926. observeParents: true, //修改swiper的父元素时,自动初始化swiper
  2927. // autoplay: { //自动轮播
  2928. // delay: 2000,
  2929. // disableOnInteraction: false
  2930. // },
  2931. navigation: {
  2932. nextEl: '.swiper-button-next',
  2933. prevEl: '.swiper-button-prev'
  2934. }
  2935. },
  2936. labelCol6: {
  2937. labelCol: {
  2938. xs: {span: 24},
  2939. sm: {span:10},
  2940. },
  2941. wrapperCol: {
  2942. xs: {span: 24},
  2943. sm: {span: 12},
  2944. }
  2945. },
  2946. labelCol4: {
  2947. labelCol: {
  2948. xs: {span: 24},
  2949. sm: {span: 10},
  2950. },
  2951. wrapperCol: {
  2952. xs: {span: 24},
  2953. sm: {span: 12},
  2954. }
  2955. },
  2956. labelCol5: {
  2957. labelCol: {
  2958. xs: {span: 24},
  2959. sm: {span: 12},
  2960. },
  2961. wrapperCol: {
  2962. xs: {span: 24},
  2963. sm: {span: 12},
  2964. }
  2965. },
  2966. labelCol1Note: {
  2967. labelCol: {
  2968. xs: {span: 24},
  2969. sm: {span: 4},
  2970. },
  2971. wrapperCol: {
  2972. xs: {span: 24},
  2973. sm: {span: 15},
  2974. }
  2975. },
  2976. swiperOptionThumbs: {
  2977. loop: false,
  2978. loopedSlides: 5, // looped slides should be the same
  2979. spaceBetween: 10,
  2980. centeredSlides: true,
  2981. slidesPerView: 'auto',
  2982. touchRatio: 0.2,
  2983. slideToClickedSlide: true,
  2984. navigation: {
  2985. nextEl: '.swiper-button-next',
  2986. prevEl: '.swiper-button-prev'
  2987. }
  2988. }
  2989. };
  2990. },
  2991. created() {
  2992. this.infoId = this.$route.query.id;
  2993. this.steps.stepsNow = this.steps.steps00;
  2994. this.steps.currentId = this.steps.stepsNow[0].id;
  2995. this.infoModel.infoId = this.$route.query.id;
  2996. this.getInfoDataById(this.$route.query.id);
  2997. this.getTask(this.$route.query.id);
  2998. this.getInfoDataByInfoId(this.$route.query.id)
  2999. },
  3000. computed: {
  3001. importMinioUploadAction() {
  3002. return window._CONFIG['domianURL'] + this.url.minioUpload;
  3003. },
  3004. },
  3005. props: {
  3006. poster: {
  3007. type: String,
  3008. required: false,
  3009. default: ""
  3010. },
  3011. controls: {
  3012. type: Boolean,
  3013. required: false,
  3014. default: true
  3015. },
  3016. control: {
  3017. type: Boolean,
  3018. required: false,
  3019. default: false
  3020. },
  3021. },
  3022. watch: {
  3023. // 监听操作
  3024. videoData(val, oldVal) {
  3025. const {currentTime, duration} = val;
  3026. if (currentTime && duration && currentTime < duration) {
  3027. this.hintOperate();
  3028. }
  3029. }
  3030. },
  3031. mounted() {
  3032. // 实现swiper双向控制
  3033. this.$nextTick(() => {
  3034. const swiperTop = this.$refs.swiperTop.swiper
  3035. const swiperThumbs = this.$refs.swiperThumbs.swiper
  3036. swiperTop.controller.control = swiperThumbs
  3037. swiperThumbs.controller.control = swiperTop
  3038. })
  3039. // //默认流程
  3040. // this.steps = this.steps00;
  3041. },
  3042. methods: {
  3043. isPhone(rule, value, callback) {
  3044. if (!value || new RegExp(/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/).test(value)) {
  3045. callback();
  3046. } else {
  3047. callback("您的手机号码格式不正确!");
  3048. }
  3049. },
  3050. getTask(infoId){
  3051. var that = this;
  3052. var data = {
  3053. "infoId": infoId,
  3054. }
  3055. postAction(this.url.getTask, data).then((res) => {
  3056. if (res.success) {
  3057. that.taskId=res.result.taskId;
  3058. }
  3059. })
  3060. },
  3061. getInfoDataByInfoId(infoId) {
  3062. var that = this;
  3063. if (infoId) {
  3064. var data = {
  3065. "infoId": infoId,
  3066. }
  3067. getAction(this.url.getInfoDataByInfoId, data).then((res) => {
  3068. if (res.success) {
  3069. let result = res.result;
  3070. // result=this.getInfoDataById(infoId,result)
  3071. that.infoModel=result;
  3072. that.infoModel.applySign= JSON.parse(result.applySign);
  3073. that.infoModel.threePhotos= JSON.parse(result.threePhotos);
  3074. that.infoModel.commitmentBook= JSON.parse(result.commitmentBook);
  3075. that.infoModel.isPriceApproval= JSON.parse(result.isPriceApproval);
  3076. that.infoModel.legalIdCard= JSON.parse(result.legalIdCard);
  3077. that.infoModel.operatorIdCard= JSON.parse(result.operatorIdCard);
  3078. that.infoModel.authorizeBook= JSON.parse(result.authorizeBook);
  3079. that.infoModel.zZBusinessLicense= JSON.parse(result.zZBusinessLicense);
  3080. that.infoModel.centerBusiness= JSON.parse(result.centerBusiness);
  3081. that.infoModel.contractOrProve= JSON.parse(result.contractOrProve);
  3082. that.infoModel.riskTable= JSON.parse(result.riskTable);
  3083. that.infoModel.trunkTable= JSON.parse(result.trunkTable);
  3084. that.infoModel.trunkContract= JSON.parse(result.trunkContract);
  3085. that.infoModel.accessPhone= JSON.parse(result.accessPhone);
  3086. that.infoModel.accessPhoto= JSON.parse(result.accessPhoto);
  3087. that.infoModel.accessTable= JSON.parse(result.accessTable);
  3088. for (var i in that.steps.stepsNow) {
  3089. for (var j in result[that.steps.stepsNow[i].id]){
  3090. if (result[that.steps.stepsNow[i].id][0].urlBase!==undefined){
  3091. that.steps.stepsNow[i].status = "finish"
  3092. }
  3093. if (result[that.steps.stepsNow[i].id+'Remark'][0]!==undefined){
  3094. that.steps.stepsNow[i].status = "finish"
  3095. }
  3096. }
  3097. }
  3098. }
  3099. })
  3100. }
  3101. },
  3102. /**获取客户信息*/
  3103. getInfoDataById(id,resultA) {
  3104. var that = this;
  3105. if (id) {
  3106. var data = {
  3107. "id": id,
  3108. }
  3109. getAction(this.url.getInfoDataById, data).then((res) => {
  3110. if (res.success) {
  3111. let result = res.result;
  3112. //用户状态
  3113. that.infoModel.userState =result.userState;
  3114. //用户发展员工
  3115. that.infoModel.staffNo =result.staffNo;
  3116. that.infoModel.customerNo =result.customerNo;
  3117. that.infoModel.userNo =result.userNo;
  3118. that.infoModel.networkAccessTime =result.networkAccessTime;
  3119. that.infoModel.firstActivationDate =result.firstActivationDate;
  3120. that.infoModel.userCode =result.userCode;
  3121. that.infoModel.accountCode =result.accountCode;
  3122. that.infoModel.staffName =result.staffName;
  3123. }
  3124. })
  3125. }
  3126. return resultA
  3127. },
  3128. /**备注坚听*/
  3129. textareaChange(name, nameRemark) {
  3130. if (this.infoModel[nameRemark].length > 0) {
  3131. this.steps.stepsNow[this.steps.current].status = "finish"
  3132. } else if (this.infoModel[name].length > 0 && this.infoModel[name][0].urlBase) {
  3133. this.steps.stepsNow[this.steps.current].status = "finish"
  3134. } else {
  3135. this.steps.stepsNow[this.steps.current].status = "wait"
  3136. }
  3137. },
  3138. /**步骤条点击事件*/
  3139. stepsClick(current) {
  3140. this.steps.current = current;
  3141. this.steps.currentId = this.steps.stepsNow[current].id
  3142. for (var i in this.steps.stepsNow) {
  3143. if (this.steps.stepsNow[i].status != "finish") {
  3144. this.steps.stepsNow[i].status = "wait"
  3145. }
  3146. if (this.steps.stepsNow[i].status === "finish") {
  3147. this.steps.stepsNow[i].status === "finish"
  3148. }
  3149. }
  3150. if (this.steps.stepsNow[current].status!== "finish") {
  3151. this.steps.stepsNow[current].status = "process"
  3152. }
  3153. },
  3154. back(name){
  3155. if (name==='contractDate'){
  3156. this.infoModel.contractDateIs="1"
  3157. this.infoModel.contractDate=""
  3158. }
  3159. if (name==='businessLicenseDate'){
  3160. this.infoModel.businessLicenseDateIs="1"
  3161. this.infoModel.businessLicenseDate=""
  3162. }
  3163. },
  3164. /**暂存*/
  3165. addIsStaging() {
  3166. this.uploading = true;
  3167. var that = this;
  3168. var data=that.infoModel ;
  3169. //data =this.dataListToStr(data);
  3170. postAction("/smsTurck/customerData/addIsStaging", data).then((res) => {
  3171. if (res.success) {
  3172. this.uploading = false;
  3173. this.$message.success("提交成功", 3);
  3174. this.addIng == true
  3175. this.$router.push({path: '/truck/check/task/check', query: {id: that.taskId}});
  3176. this.closeCurrent();
  3177. } else {
  3178. this.uploading = false;
  3179. if ( res.message !==null){
  3180. this.$message.error( res.message);
  3181. }else {
  3182. this.$message.error("提交失败");
  3183. }
  3184. }
  3185. }).finally(() => {
  3186. this.uploading = false;
  3187. })
  3188. },
  3189. /*提交*/
  3190. submitAuditLot() {
  3191. this.uploading = true;
  3192. var info = "yes";
  3193. this.$refs.form.validate(valid => {
  3194. // 验证通过
  3195. if (!valid) {
  3196. info = "no";
  3197. this.uploading = false;
  3198. }}
  3199. )
  3200. var text= "";
  3201. for (var i in this.steps.stepsNow) {
  3202. if (this.steps.stepsNow[i].status !== "finish") {
  3203. // text+= '111<br/> ';
  3204. var str=this.steps.stepsNow[i].title;
  3205. text+= str+"资料或备注都未上传!!!"+'<br/><br/>';
  3206. //this.$message.warn( this.steps.stepsNow[i].title +"资料或备注都未上传!!!");
  3207. info="no";
  3208. }
  3209. }
  3210. if (this.infoModel.customType===1){
  3211. if (this.infoModel.houseDate==="" ||this.infoModel.houseDate===null){
  3212. info="no";
  3213. this.$message.warn( "房屋租赁合同到期时间 未填写!!!");
  3214. }
  3215. }
  3216. var stringToHTML = function (str) {
  3217. var dom = document.createElement('div');
  3218. dom.innerHTML = str;
  3219. return dom;
  3220. };
  3221. console.log(stringToHTML('<h1>Hello world!</h1><p>How are you today?</p>'));
  3222. if (info==="no"){
  3223. this.$warning({
  3224. title: '提示',
  3225. dangerouslyUseHTMLString: true,
  3226. content:(h) => {
  3227. return h('div', {
  3228. domProps: {
  3229. innerHTML: text
  3230. },
  3231. }, []);
  3232. }
  3233. })
  3234. return
  3235. }
  3236. var that = this;
  3237. var data=that.infoModel ;
  3238. //data =this.dataListToStr(data);
  3239. postAction("/smsTurck/customerData/add", data).then((res) => {
  3240. if (res.success) {
  3241. this.uploading = false;
  3242. this.$message.success("提交成功", 3);
  3243. this.addIng == true
  3244. this.$router.push({path: '/truck/check/task/check', query: {id: that.taskId}});
  3245. this.closeCurrent();
  3246. } else {
  3247. this.uploading = false;
  3248. if ( res.message !==null){
  3249. this.$message.error( res.message);
  3250. }else {
  3251. this.$message.error("提交失败");
  3252. }
  3253. }
  3254. }).finally(() => {
  3255. this.uploading = false;
  3256. })
  3257. },
  3258. //客户类型与使用场景监听
  3259. controlChange(a, event) {
  3260. this.current = 0;
  3261. this.steps.currentId = "trunkContract";
  3262. let customType = this.infoModel.customType;
  3263. let scene = this.infoModel.scene;
  3264. if (customType ===0) {
  3265. if (scene ==='0') {
  3266. this.steps.stepsNow = this.steps.steps00
  3267. }
  3268. if (scene ==='1') {
  3269. this.steps.stepsNow = this.steps.steps01
  3270. }
  3271. if (scene ==='2') {
  3272. this.steps.stepsNow= this.steps.steps02
  3273. }
  3274. if (scene ==='3') {
  3275. this.steps.stepsNow = this.steps.steps02
  3276. }
  3277. }
  3278. if (customType ===1) {
  3279. if (scene ==='0') {
  3280. this.steps.stepsNow = this.steps.steps10
  3281. }
  3282. if (scene ==='1') {
  3283. this.steps.stepsNow = this.steps.steps11
  3284. }
  3285. if (scene ==='2') {
  3286. this.steps.stepsNow = this.steps.steps12
  3287. }
  3288. if (scene ==='3') {
  3289. this.steps.stepsNow = this.steps.steps12
  3290. }
  3291. }
  3292. for (var i in this.steps.stepsNow) {
  3293. for (var j in this.infoModel[this.steps.stepsNow[i].id]){
  3294. if (this.infoModel[this.steps.stepsNow[i].id][0].urlBase!==undefined){
  3295. this.steps.stepsNow[i].status = "finish"
  3296. }
  3297. if (this.infoModel[this.steps.stepsNow[i].id+'Remark'][0]!==undefined){
  3298. this.steps.stepsNow[i].status = "finish"
  3299. }
  3300. }
  3301. }
  3302. //
  3303. // for (var i in this.steps.stepsNow) {
  3304. // if ( this.steps.stepsNow[i].urlBase!==undefined){
  3305. // this.steps.stepsNow[i].status = "finish"
  3306. // }
  3307. // if ( this.steps.stepsNow[i][this.steps.stepsNow.id+'Remark']!==undefined){
  3308. // this.steps.stepsNow[i].status = "finish"
  3309. // }
  3310. // }
  3311. },
  3312. /**移除文件*/
  3313. removeFile(fileData, fileAttribute) {
  3314. let that = this.infoModel;
  3315. //处理轮播数据
  3316. let swiperImg = that[fileAttribute];
  3317. if (swiperImg) {
  3318. let number = swiperImg.indexOf(fileData);
  3319. swiperImg.splice(number, 1)
  3320. if (swiperImg.length == 0) {
  3321. swiperImg.push({})
  3322. let textId = fileAttribute + "Remark";
  3323. if (this.infoModel[textId].trim() > 0) {
  3324. this.steps.stepsNow[this.steps.current].status = "finish"
  3325. } else {
  3326. this.steps.stepsNow[this.steps.current].status = "wait"
  3327. }
  3328. } else {
  3329. this.steps.stepsNow[this.steps.current].status = "finish"
  3330. }
  3331. that[fileAttribute] = swiperImg
  3332. }
  3333. },
  3334. //分割数组
  3335. spliceArr(data, fileData) {
  3336. let indexOf = data.indexOf(fileData);
  3337. return data.splice(indexOf, 1)
  3338. },
  3339. /**自定义的上传文件方法*/
  3340. selfUploadContract(data, fileAttribute) {
  3341. var that = this;
  3342. if (data.file) {
  3343. let formData = new FormData();
  3344. formData.append('file', data.file)
  3345. postAction(this.url.minioUpload, formData).then((res) => {
  3346. if (res.success) {
  3347. that.swiperId = that.swiperId + 1;
  3348. console.log(that.swiperId)
  3349. //文件链接
  3350. let filePath = res.message;
  3351. let swipData = {
  3352. id: that.swiperId,
  3353. urlBase: window._CONFIG['onlinePreviewDomainURL'] + '?url='
  3354. + encodeURIComponent(
  3355. Base64.encode(
  3356. (filePath)
  3357. )),
  3358. url: filePath,
  3359. fileName: data.file.name
  3360. }
  3361. if (that.infoModel[fileAttribute][0].urlBase) {
  3362. that.infoModel[fileAttribute].push(swipData)
  3363. } else {
  3364. that.infoModel[fileAttribute] = []
  3365. //数据发生变化
  3366. that.infoModel[fileAttribute][0] = swipData;
  3367. }
  3368. // 改变步骤条状态
  3369. if (that.infoModel[fileAttribute].length > 0) {
  3370. that.steps.stepsNow[that.steps.current].status = "finish"
  3371. } else {
  3372. that.steps.stepsNow[that.steps.current].status = "wait"
  3373. }
  3374. }
  3375. })
  3376. }
  3377. },
  3378. //文件上传成功后回调
  3379. importHandleChange(info) {
  3380. },
  3381. //文件格式限制
  3382. importBeforeUpload(file) {
  3383. var fileType = file.type;
  3384. if (fileType === 'image') {
  3385. if (fileType.indexOf('image') < 0) {
  3386. this.$message.warning('请上传图片');
  3387. return false;
  3388. }
  3389. } else if (fileType === 'file') {
  3390. if (fileType.indexOf('image') >= 0) {
  3391. this.$message.warning('请上传文件');
  3392. return false;
  3393. }
  3394. }
  3395. return true
  3396. },
  3397. //返回上一菜单
  3398. goBack() {
  3399. this.$router.go(-1);
  3400. this.closeCurrent();
  3401. },
  3402. // //下一步骤
  3403. // nextSteps() {
  3404. // if (this.swiperImg.length == 0) {
  3405. // this.$message.warn("请先上传文件!")
  3406. // return;
  3407. // }
  3408. // if (this.swiperImg.length == 1) {
  3409. // if (!this.swiperImg[0].urlBase) {
  3410. // this.$message.warn("请先上传文件!")
  3411. // return;
  3412. // }
  3413. // }
  3414. // if (this.current < this.steps.length) {
  3415. // this.current = this.current + 1;
  3416. // this.currentId = this.steps[this.current].id;
  3417. // //步骤文件类型对应
  3418. // this.currentFileType(this.steps[this.current].id);
  3419. // }
  3420. // },
  3421. // //上一步骤
  3422. // prevSteps() {
  3423. // if (this.current != 0) {
  3424. // this.current = this.current - 1;
  3425. // this.currentId = this.steps[this.current].id;
  3426. // //步骤文件类型对应
  3427. // this.currentFileType(this.currentId);
  3428. // }
  3429. // },
  3430. //上传步骤文件类型对应
  3431. currentFileType(currentId) {
  3432. let that = this;
  3433. this.swiperImg = {}
  3434. switch (currentId) {
  3435. case 'businessLicense':
  3436. that.swiperImg = that.infoModel.businessLicense
  3437. break;
  3438. case 'idCard':
  3439. that.swiperImg = that.infoModel.idCard
  3440. break;
  3441. case 'contract':
  3442. that.swiperImg = that.infoModel.contract
  3443. break;
  3444. case 'prequaliFication':
  3445. that.swiperImg = that.infoModel.prequaliFication
  3446. break;
  3447. case 'risk':
  3448. that.swiperImg = that.infoModel.risk
  3449. break;
  3450. case 'coverLetter':
  3451. that.swiperImg = that.infoModel.coverLetter
  3452. break;
  3453. case 'addedLicense':
  3454. that.swiperImg = that.infoModel.addedLicense
  3455. break;
  3456. case 'registeredCapital':
  3457. that.swiperImg = that.infoModel.registeredCapital
  3458. break;
  3459. case 'ownershipCertificate':
  3460. that.swiperImg = that.infoModel.ownershipCertificate
  3461. break;
  3462. case 'creditInquiry':
  3463. that.swiperImg = that.infoModel.creditInquiry
  3464. break;
  3465. case 'legalPersonality':
  3466. that.swiperImg = that.infoModel.legalPersonality
  3467. break;
  3468. case 'takePhotos':
  3469. that.swiperImg = that.infoModel.takePhotos
  3470. break;
  3471. default:
  3472. that.swiperImg = [];
  3473. }
  3474. //拒绝下标为空 影响轮播样式
  3475. if (that.swiperImg.length == 0) {
  3476. that.swiperImg.push({})
  3477. }
  3478. },
  3479. //步骤文件类型对应
  3480. uploadCurrentFileType(currentId) {
  3481. let that = this;
  3482. switch (currentId) {
  3483. case 'businessLicense':
  3484. that.infoModel.businessLicense = that.swiperImg
  3485. break;
  3486. case 'idCard':
  3487. that.infoModel.idCard = that.swiperImg
  3488. break;
  3489. case 'contract':
  3490. that.infoModel.contract = that.swiperImg
  3491. break;
  3492. case 'prequaliFication':
  3493. that.infoModel.prequaliFication = that.swiperImg
  3494. break;
  3495. case 'risk':
  3496. that.infoModel.risk = that.swiperImg
  3497. break;
  3498. case 'coverLetter':
  3499. that.infoModel.coverLetter = that.swiperImg
  3500. break;
  3501. case 'addedLicense':
  3502. that.infoModel.addedLicense = that.swiperImg
  3503. break;
  3504. case 'registeredCapital':
  3505. that.infoModel.registeredCapital = that.swiperImg
  3506. break;
  3507. case 'ownershipCertificate':
  3508. that.infoModel.ownershipCertificate = that.swiperImg
  3509. break;
  3510. case 'creditInquiry':
  3511. that.infoModel.creditInquiry = that.swiperImg
  3512. break;
  3513. case 'legalPersonality':
  3514. that.infoModel.legalPersonality = that.swiperImg
  3515. break;
  3516. case 'takePhotos':
  3517. that.infoModel.takePhotos = that.swiperImg
  3518. break;
  3519. }
  3520. },
  3521. /**提交稽核*/
  3522. submitLot() {
  3523. let that = this;
  3524. let data = {};
  3525. //客户类型
  3526. data['customType'] = that.infoModel.customType;
  3527. //使用场景
  3528. data['scene'] = that.infoModel.scene;
  3529. let steps = that.steps;
  3530. steps.forEach(function (value) {
  3531. data[value.id] = that.urlBaseJoin(that.infoModel[value.id], "url")
  3532. });
  3533. this.postLotInfo(data);
  3534. },
  3535. postLotInfo(data) {
  3536. //任务Id
  3537. data["infoId"] = this.infoId;
  3538. postAction(this.url.addOrEdit, data).then((res) => {
  3539. if (res.success) {
  3540. this.$message.success("提交成功");
  3541. this.$router.go(-1);
  3542. this.closeCurrent();
  3543. //this.$router.push({path: '/lot/check/task/check', query: {id: record.id}});
  3544. } else {
  3545. this.$message.error(res.message);
  3546. }
  3547. });
  3548. },
  3549. urlBaseJoin(dataArray, name) {
  3550. let newDataArr = [];
  3551. for (var i in dataArray) {
  3552. let dataArrayElementElement = dataArray[i][name];
  3553. newDataArr.push(dataArrayElementElement);
  3554. }
  3555. return newDataArr.toString();
  3556. }
  3557. }
  3558. };
  3559. </script>
  3560. <style lang="less" scoped>
  3561. h3 {
  3562. margin: 20px 0 0 10px;
  3563. }
  3564. .thumb-example {
  3565. width: 864px;
  3566. margin-top: 20px;
  3567. // background: #000;
  3568. }
  3569. .swiper-slide {
  3570. background-size: cover;
  3571. background-position: center;
  3572. }
  3573. .gallery-top {
  3574. // height: 80% !important;
  3575. /*height: 600px;*/
  3576. width: 100%;
  3577. left: 15%;
  3578. height: 300px;
  3579. margin-bottom: 50px
  3580. }
  3581. .gallery-thumbs {
  3582. height: 20% !important;
  3583. box-sizing: border-box;
  3584. padding: 10px 0px;
  3585. /* width: 864px;*/
  3586. margin-left: 17%;
  3587. .swiper-button-next {
  3588. right: 0px;
  3589. }
  3590. .swiper-button-prev {
  3591. left: 0px;
  3592. }
  3593. .swiper-button-next,
  3594. .swiper-button-prev {
  3595. background: #fff;
  3596. width: 45px;
  3597. text-align: center;
  3598. height: 101px;
  3599. top: 26%;
  3600. div {
  3601. margin-top: 30px;
  3602. background: rgb(207, 205, 205);
  3603. height: 45px;
  3604. border-radius: 50%;
  3605. img {
  3606. margin: 7px 0 0 2px;
  3607. width: 30px;
  3608. }
  3609. }
  3610. }
  3611. .swiper-button-next:hover div {
  3612. background: rgb(189, 186, 186);
  3613. }
  3614. .swiper-button-prev:hover div {
  3615. background: rgb(189, 186, 186);
  3616. }
  3617. }
  3618. .gallery-thumbs .swiper-slide {
  3619. width: 20%;
  3620. height: 80px;
  3621. // opacity: 0.4;
  3622. }
  3623. .gallery-thumbs .swiper-slide-active {
  3624. border: 2px solid red;
  3625. }
  3626. .markdown ul > li {
  3627. color: #000000d9;
  3628. font-size: 15px;
  3629. line-height: 3;
  3630. margin-left: 20px;
  3631. padding-left: 4px;
  3632. list-style-type: circle;
  3633. }
  3634. </style>