TaskUploadData.vue 132 KB

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