TaskUploadData.vue 92 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678
  1. <template>
  2. <div class='liClass'>
  3. <a-page-header
  4. style="background-color: #FFFFFF;margin-bottom:10px"
  5. title="上传资料"
  6. :sub-title="notes"
  7. @back="goBack"
  8. ></a-page-header>
  9. <a-form-model
  10. ref="form"
  11. :model="infoModel"
  12. :rules="rules"
  13. >
  14. <a-card style="margin-bottom:10px;color: #000000d9;font-size: 15px;line-height: 2.5;">
  15. <div>
  16. <span>1.请选择所上传资料的卡类型</span>
  17. </div>
  18. <a-radio-group style="position: relative;left: 30px"
  19. @change="controlChange" v-model:value="infoModel.blockType">
  20. <a-radio :value="'model'">正式卡</a-radio>
  21. <a-radio :value="'test'">测试卡</a-radio>
  22. </a-radio-group>
  23. <div v-if="infoModel.blockType != 'test'">
  24. <span style="display: block">2.是否突破价格管控</span>
  25. <a-radio-group style="position: relative;left: 30px;"
  26. @change="controlChange" v-model:value="infoModel.control">
  27. <a-radio :value="'controlY'">是</a-radio>
  28. <a-radio :value="'controlN'">否</a-radio>
  29. </a-radio-group>
  30. </div>
  31. </a-card>
  32. <a-card style="margin-bottom:10px;color: #000000d9;font-size: 15px;line-height: 2.5;">
  33. <a-row>
  34. <a-col :span="6">
  35. <a-form-model-item label="客户编号" prop="customerNo" v-bind="labelCol4">
  36. <a-input class="cornflowerblue" v-model="infoModel.customerNo" placeholder="客户编号" :disabled='true'></a-input>
  37. </a-form-model-item>
  38. </a-col>
  39. <a-col :span="6">
  40. <a-form-model-item label="用户发展员工" prop="staffNo" v-bind="labelCol4">
  41. <a-input class="cornflowerblue" :disabled='true' v-model="infoModel.staffNo" placeholder="用户发展员工"></a-input>
  42. </a-form-model-item>
  43. </a-col>
  44. <a-col :span="6">
  45. <a-form-model-item label="发展员工姓名" prop="staffNo" v-bind="labelCol4">
  46. <a-input class="cornflowerblue" v-model="infoModel.staffName" placeholder="发展员工姓名" :disabled='true'></a-input>
  47. </a-form-model-item>
  48. </a-col>
  49. <a-col :span="6">
  50. <a-form-model-item label="入网时间" prop="networkAccessTime" v-bind="labelCol4">
  51. <a-input class="cornflowerblue" v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
  52. </a-form-model-item>
  53. </a-col>
  54. <a-col :span="6">
  55. <a-form-item label="用户状态" v-bind="labelCol4" prop="userState">
  56. <j-dict-select-tag placeholder="请选择用户状态" v-model="infoModel.userState" dictCode="user_status_2"/>
  57. </a-form-item>
  58. </a-col>
  59. <a-col :span="6">
  60. <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
  61. <a-input v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
  62. </a-form-model-item>
  63. </a-col>
  64. <a-col :span="6">
  65. <a-form-model-item label="服务号码(全)" prop="smsNumber" v-bind="labelCol4">
  66. <a-input v-model="infoModel.smsNumber" placeholder="请输入服务号码(全)"></a-input>
  67. </a-form-model-item>
  68. </a-col>
  69. <a-col :span="6">
  70. <a-form-model-item label="客户经理" prop="manage" v-bind="labelCol4">
  71. <a-input v-model="infoModel.manage" placeholder="客户经理"></a-input>
  72. </a-form-model-item>
  73. </a-col>
  74. <a-col :span="6">
  75. <a-form-model-item label="客户经理手机号" prop="managePhone" v-bind="labelCol4">
  76. <a-input v-model="infoModel.managePhone" placeholder="客户经理手机号"></a-input>
  77. </a-form-model-item>
  78. </a-col>
  79. <a-col :span="6">
  80. <a-form-model-item label="使用场景" prop="scene" v-bind="labelCol4">
  81. <a-input v-model="infoModel.scene" placeholder="例-车联网-乘用车-智能后视镜"></a-input>
  82. </a-form-model-item>
  83. </a-col>
  84. <a-col :span="6">
  85. <a-form-model-item label="资料是否完整" prop="isAll" v-bind="labelCol4">
  86. <a-radio-group v-model="infoModel.isAll" button-style="solid">
  87. <a-radio-button value="0">否</a-radio-button>
  88. <a-radio-button value="1">是</a-radio-button>
  89. </a-radio-group>
  90. </a-form-model-item>
  91. </a-col>
  92. <a-col :span="6">
  93. <a-form-model-item label="是否完成整改" prop="isComplete" v-bind="labelCol4">
  94. <a-radio-group v-model="infoModel.isComplete" button-style="solid">
  95. <a-radio-button value="0">否</a-radio-button>
  96. <a-radio-button value="1">是</a-radio-button>
  97. </a-radio-group>
  98. </a-form-model-item>
  99. </a-col>
  100. <a-col :span="7"
  101. v-if='infoModel.contractDateIs==="" || infoModel.contractDateIs===null || infoModel.contractDateIs==="1" '>
  102. <a-form-model-item label="合同到期时间是否长期" prop="contractDateIs" v-bind="labelCol7">
  103. <a-radio-group v-model="infoModel.contractDateIs" button-style="solid"
  104. :disabled="infoModel.infoResult==='1'?true:false">
  105. <a-radio-button value="0">否</a-radio-button>
  106. <a-radio-button value="1">是</a-radio-button>
  107. </a-radio-group>
  108. </a-form-model-item>
  109. </a-col>
  110. <a-col :span="7" v-if='infoModel.contractDateIs==="0" '>
  111. <a-form-model-item label="合同到期时间" prop="contractDate" v-bind="labelCol4">
  112. <a-date-picker style="min-width:50px; width: 64% " v-model="infoModel.contractDate"
  113. format="YYYY-MM-DD"
  114. showTime valueFormat="YYYY-MM-DD"/>
  115. <a-button @click="backDate('contractDate')">长期</a-button>
  116. </a-form-model-item>
  117. </a-col>
  118. <a-col :span="7"
  119. v-if='infoModel.businessLicenseDateIs==="" || infoModel.businessLicenseDateIs===null || infoModel.businessLicenseDateIs==="1" '>
  120. <a-form-model-item label="营业执照有效期是否长期" prop="businessLicenseDateIs" v-bind="labelCol7">
  121. <a-radio-group :disabled="infoModel.infoResult==='1'?true:false" v-model="infoModel.businessLicenseDateIs"
  122. button-style="solid">
  123. <a-radio-button value="0">否</a-radio-button>
  124. <a-radio-button value="1">是</a-radio-button>
  125. </a-radio-group>
  126. </a-form-model-item>
  127. </a-col>
  128. <a-col :span="7" v-if='infoModel.businessLicenseDateIs==="0"'>
  129. <a-form-model-item label="营业执照到期时间" prop="businessLicenseDate" v-bind="labelCol4">
  130. <a-date-picker style="min-width:50px; width: 64% " v-model="infoModel.businessLicenseDate"
  131. format="YYYY-MM-DD"
  132. showTime valueFormat="YYYY-MM-DD"/>
  133. <a-button @click="backDate('businessLicenseDate')">长期</a-button>
  134. </a-form-model-item>
  135. </a-col>
  136. </a-row>
  137. <a-row>
  138. <a-col :span="24">
  139. <a-form-model-item label="用户编号" v-bind="labelCol8">
  140. <!-- <a-input v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>-->
  141. <a-textarea class="cornflowerblue" v-model="infoModel.userNo" auto-size :disabled='true' />
  142. </a-form-model-item>
  143. </a-col>
  144. </a-row>
  145. </a-card>
  146. </a-form-model>
  147. <!-- 步骤条-->
  148. <a-card style="margin-bottom:10px;width: 15%;float: left">
  149. <!-- v-model:current="current"-->
  150. <a-steps direction="vertical" :current="steps.current" size="small" @change="stepsClick">
  151. <a-step v-for="item in steps.stepsNow" :key="item.title" :title="item.title" :status="item.status"/>
  152. </a-steps>
  153. <a-button @click="addIsStaging" style="width: 100%" type="warn">暂存</a-button>
  154. <a-button @click="submitAuditLot" style="width: 100%;position: relative;top: 10px" type="primary">提交申请</a-button>
  155. </a-card>
  156. <!-- 测试卡申请单-->
  157. <a-card v-if="steps.currentId === 'testCard'" style="margin-bottom:10px; float: left;width: 83% ">
  158. <div slot="title">
  159. <span style="float: left;position: relative;top: 4px">测试卡申请单</span>
  160. <!-- 操作按钮-->
  161. </div>
  162. <div class="a-card-25">
  163. <a-alert
  164. message="注意事项(必看)"
  165. type="warning"
  166. style="height: 100vh"
  167. >
  168. <div slot="description" class="markdown" style="position: relative;top:30px">
  169. <ul>
  170. <li>1)测试卡申请单是否加盖公章</li>
  171. <li>2)测试卡申请单中经办人、责任人身份证是否一致</li>
  172. </ul>
  173. </div>
  174. </a-alert>
  175. </div>
  176. <div class="a-card-70">
  177. <div>
  178. <a-form-model-item style="left: -2%;" label="上传资料备注:" v-bind="labelCol1Note">
  179. <a-textarea class="a-textarea-line-30"
  180. v-model="infoModel.testCardRemark"
  181. @change="textareaChange('testCard','testCardRemark')"
  182. placeholder="如没有上传资料备注,需要说明原因"
  183. />
  184. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  185. </a-form-model-item>
  186. </div>
  187. <a-upload
  188. name="file"
  189. :multiple="true"
  190. :action="importMinioUploadAction"
  191. :customRequest="e => selfUploadContract(e, 'testCard')"
  192. :headers="tokenHeader"
  193. :showUploadList="false"
  194. :beforeUpload="importBeforeUpload"
  195. @change="importHandleChange"
  196. class="a-upload-line-30"
  197. >
  198. <a-button>
  199. <a-icon type="upload"/>
  200. 上传文件
  201. </a-button>
  202. </a-upload>
  203. <div style="height: 70%">
  204. <div class="thumb-example">
  205. <!-- swiper1 -->
  206. <swiper
  207. class="swiper gallery-top"
  208. :options="swiperOptionTop"
  209. ref="swiperTop"
  210. >
  211. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.testCard" :key="item.id">
  212. <iframe
  213. v-if="item.urlBase"
  214. frameborder="1"
  215. :src="item.urlBase"
  216. ref="ifr"
  217. width="70%"
  218. height="500px"
  219. scrolling="auto">
  220. </iframe>
  221. <img style="width: 70%;height: 70%;border: 1px solid;"
  222. v-if="!item.urlBase" :src="noDataPng" border="1">
  223. <div><a-button v-if="item.urlBase"
  224. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  225. danger @click="removeFile(item,'testCard')">移除
  226. </a-button>
  227. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  228. v-if=" item.urlBase"
  229. @click="jumpUrl(item.urlBase)">预览
  230. </a-button></div>
  231. </swiper-slide>
  232. <div
  233. class="swiper-button-next swiper-button-white"
  234. slot="button-next"
  235. ></div>
  236. <div
  237. class="swiper-button-prev swiper-button-white"
  238. slot="button-prev"
  239. ></div>
  240. </swiper>
  241. <!-- swiper2 Thumbs -->
  242. <swiper
  243. class="swiper gallery-thumbs"
  244. :options="swiperOptionThumbs"
  245. ref="swiperThumbs"
  246. >
  247. <swiper-slide
  248. class="slide"
  249. style="width:100px;height:100px;"
  250. v-for="(item, index) in infoModel.testCard"
  251. :key="item.id"
  252. >
  253. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  254. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  255. </div>
  256. <img style="width: 100%;height: 96px"
  257. v-if="!item.urlBase" :src="noDataPng" border="1">
  258. </swiper-slide>
  259. <!-- 点我上传文件按钮-->
  260. <div class="clearfix">
  261. <a-upload
  262. listType="picture-card"
  263. name="file"
  264. :multiple="false"
  265. :action="importMinioUploadAction"
  266. :customRequest="e=>selfUploadContract(e,'testCard')"
  267. :headers="tokenHeader"
  268. :showUploadList="false"
  269. :beforeUpload="importBeforeUpload"
  270. @change="importHandleChange"
  271. >
  272. <div>
  273. <a-icon type="plus"/>
  274. <div class="ant-upload-text">点我上传合同</div>
  275. </div>
  276. </a-upload>
  277. </div>
  278. <div class="swiper-button-next swiper-button-white" slot="button-next">
  279. <div>
  280. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  281. </div>
  282. </div>
  283. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  284. <div>
  285. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  286. </div>
  287. </div>
  288. </swiper>
  289. </div>
  290. </div>
  291. </div>
  292. </a-card>
  293. <!-- 合同要求-->
  294. <a-card v-if="steps.currentId === 'contract'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  295. <div slot="title">
  296. <span style="float: left;position: relative;top: 4px">合同要求</span>
  297. </div>
  298. <div class="a-card-25">
  299. <a-alert
  300. message="注意事项(必看)"
  301. type="warning"
  302. style="height: 100vh"
  303. >
  304. <div slot="description" class="markdown" style="position: relative;top:30px">
  305. <ul>
  306. <li>1)是否在有效期</li>
  307. <li>2)是否明确场景,如车联网,水表等,且与风险评估表一致</li>
  308. <li>3)是否明确开通功能,如语音,短信,流量等</li>
  309. <li>4)是否明确功能限制,如定向、机卡绑定、卡片限定、限额管控、黑名单限制等</li>
  310. <li>5)是否明确白名单数量,具体号码,地址等</li>
  311. <li>6)是否明确禁止二次销售</li>
  312. <li>7)是否明确防范垃圾短信和骚扰电话条款</li>
  313. <li>8)是否无低级错误,如缺少签字,日期等</li>
  314. <li>9)合同签署是否是法人,是否有授权书</li>
  315. </ul>
  316. </div>
  317. </a-alert>
  318. </div>
  319. <div class="a-card-70">
  320. <div>
  321. <a-form-model-item style="left: -2%" label="上传资料备注:" v-bind="labelCol1Note">
  322. <a-textarea class="a-textarea-line-30"
  323. v-model="infoModel.contractRemark"
  324. @change="textareaChange('contract','contractRemark')"
  325. placeholder="如没有上传资料备注,需要说明原因"
  326. />
  327. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  328. </a-form-model-item>
  329. </div>
  330. <a-upload
  331. name="file"
  332. :multiple="true"
  333. :action="importMinioUploadAction"
  334. :customRequest="e => selfUploadContract(e, 'contract')"
  335. :headers="tokenHeader"
  336. :showUploadList="false"
  337. :beforeUpload="importBeforeUpload"
  338. @change="importHandleChange"
  339. class="a-upload-line-30"
  340. >
  341. <a-button>
  342. <a-icon type="upload"/>
  343. 上传文件
  344. </a-button>
  345. </a-upload>
  346. <div style="height: 70%">
  347. <div class="thumb-example">
  348. <!-- swiper1 -->
  349. <swiper
  350. class="swiper gallery-top"
  351. :options="swiperOptionTop"
  352. ref="swiperTop"
  353. >
  354. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.contract" :key="item.id">
  355. <iframe
  356. v-if="item.urlBase"
  357. frameborder="1"
  358. :src="item.urlBase"
  359. ref="ifr"
  360. width="70%"
  361. height="500px"
  362. scrolling="auto">
  363. </iframe>
  364. <img style="width: 70%;height: 70%;border: 1px solid;"
  365. v-if="!item.urlBase" :src="noDataPng" border="1">
  366. <div><a-button v-if="item.urlBase"
  367. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  368. danger @click="removeFile(item,'contract')">移除
  369. </a-button>
  370. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  371. v-if=" item.urlBase"
  372. @click="jumpUrl(item.urlBase)">预览
  373. </a-button></div>
  374. </swiper-slide>
  375. </swiper>
  376. <!-- swiper2 Thumbs -->
  377. <swiper
  378. class="swiper gallery-thumbs"
  379. :options="swiperOptionThumbs"
  380. ref="swiperThumbs"
  381. >
  382. <swiper-slide
  383. class="slide"
  384. style="width:100px;height:100px;"
  385. v-for="(item, index) in infoModel.contract"
  386. :key="item.id"
  387. >
  388. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  389. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  390. </div>
  391. <img style="width: 100%;height: 96px"
  392. v-if="!item.urlBase" :src="noDataPng" border="1">
  393. </swiper-slide>
  394. <!-- 点我上传文件按钮-->
  395. <div class="clearfix">
  396. <a-upload
  397. listType="picture-card"
  398. name="file"
  399. :multiple="false"
  400. :action="importMinioUploadAction"
  401. :customRequest="e =>selfUploadContract(e, 'contract')"
  402. :headers="tokenHeader"
  403. :showUploadList="false"
  404. :beforeUpload="importBeforeUpload"
  405. @change="importHandleChange"
  406. >
  407. <div>
  408. <a-icon type="plus"/>
  409. <div class="ant-upload-text">点我上传合同</div>
  410. </div>
  411. </a-upload>
  412. </div>
  413. <div class="swiper-button-next swiper-button-white" slot="button-next">
  414. <div>
  415. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  416. </div>
  417. </div>
  418. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  419. <div>
  420. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  421. </div>
  422. </div>
  423. </swiper>
  424. </div>
  425. </div>
  426. </div>
  427. </a-card>
  428. <!-- 责任人和经办人授权书-->
  429. <a-card v-if="steps.currentId === 'handlingContract'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  430. <div slot="title">
  431. <span style="float: left;position: relative;top: 4px">责任人和经办人授权书</span>
  432. </div>
  433. <div class="a-card-25">
  434. <a-alert
  435. message="注意事项(必看)"
  436. type="warning"
  437. style="height: 100vh"
  438. >
  439. <div slot="description" class="markdown" style="position: relative;top:30px">
  440. <ul>
  441. <li>1)经办人和责任人授权书齐全并且加盖公章</li>
  442. <li>2)经办人和责任人与授权书一致</li>
  443. </ul>
  444. </div>
  445. </a-alert>
  446. </div>
  447. <div class="a-card-70">
  448. <div>
  449. <a-form-model-item style="left: -2%;" label="上传资料备注:" v-bind="labelCol1Note">
  450. <a-textarea class="a-textarea-line-30"
  451. v-model="infoModel.handlingContractRemark"
  452. @change="textareaChange('handlingContract','handlingContractRemark')"
  453. placeholder="如没有上传资料备注,需要说明原因"
  454. />
  455. </a-form-model-item>
  456. </div>
  457. <a-upload
  458. name="file"
  459. :multiple="true"
  460. :action="importMinioUploadAction"
  461. :customRequest="e => selfUploadContract(e, 'handlingContract')"
  462. :headers="tokenHeader"
  463. :showUploadList="false"
  464. :beforeUpload="importBeforeUpload"
  465. @change="importHandleChange"
  466. class="a-upload-line-30"
  467. >
  468. <a-button>
  469. <a-icon type="upload"/>
  470. 上传文件
  471. </a-button>
  472. </a-upload>
  473. <div style="height: 70%">
  474. <div class="thumb-example">
  475. <!-- swiper1 -->
  476. <swiper
  477. class="swiper gallery-top"
  478. :options="swiperOptionTop"
  479. ref="swiperTop"
  480. >
  481. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.handlingContract" :key="item.id">
  482. <iframe
  483. v-if="item.urlBase"
  484. frameborder="1"
  485. :src="item.urlBase"
  486. ref="ifr"
  487. width="70%"
  488. height="500px"
  489. scrolling="auto">
  490. </iframe>
  491. <img style="width: 70%;height: 70%;border: 1px solid;"
  492. v-if="!item.urlBase" :src="noDataPng" border="1">
  493. <div><a-button v-if="item.urlBase"
  494. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  495. danger @click="removeFile(item,'handlingContract')">移除
  496. </a-button>
  497. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  498. v-if=" item.urlBase"
  499. @click="jumpUrl(item.urlBase)">预览
  500. </a-button></div>
  501. </swiper-slide>
  502. <div
  503. class="swiper-button-next swiper-button-white"
  504. slot="button-next"
  505. ></div>
  506. <div
  507. class="swiper-button-prev swiper-button-white"
  508. slot="button-prev"
  509. ></div>
  510. </swiper>
  511. <!-- swiper2 Thumbs -->
  512. <swiper
  513. class="swiper gallery-thumbs"
  514. :options="swiperOptionThumbs"
  515. ref="swiperThumbs"
  516. >
  517. <swiper-slide
  518. class="slide"
  519. style="width:100px;height:100px;"
  520. v-for="(item, index) in infoModel.handlingContract"
  521. :key="item.id"
  522. >
  523. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  524. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  525. </div>
  526. <img style="width: 100%;height: 96px"
  527. v-if="!item.urlBase" :src="noDataPng" border="1">
  528. </swiper-slide>
  529. <!-- 点我上传文件按钮-->
  530. <div class="clearfix">
  531. <a-upload
  532. listType="picture-card"
  533. name="file"
  534. :multiple="false"
  535. :action="importMinioUploadAction"
  536. :customRequest="e=>selfUploadContract(e,'handlingContract')"
  537. :headers="tokenHeader"
  538. :showUploadList="false"
  539. :beforeUpload="importBeforeUpload"
  540. @change="importHandleChange"
  541. >
  542. <div>
  543. <a-icon type="plus"/>
  544. <div class="ant-upload-text">点我上传合同</div>
  545. </div>
  546. </a-upload>
  547. </div>
  548. <div class="swiper-button-next swiper-button-white" slot="button-next">
  549. <div>
  550. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  551. </div>
  552. </div>
  553. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  554. <div>
  555. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  556. </div>
  557. </div>
  558. </swiper>
  559. </div>
  560. </div>
  561. </div>
  562. </a-card>
  563. <!-- 责任人和经办人身份证-->
  564. <a-card v-if="steps.currentId === 'handlingCard'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  565. <div slot="title">
  566. <span style="float: left;position: relative;top: 4px">责任人和经办人身份证</span>
  567. </div>
  568. <div class="a-card-25">
  569. <a-alert
  570. message="注意事项(必看)"
  571. type="warning"
  572. style="height: 100vh"
  573. >
  574. <div slot="description" class="markdown" style="position: relative;top:30px">
  575. <ul>
  576. <li>1)经办人和责任人身份证复印件加盖公章</li>
  577. </ul>
  578. </div>
  579. </a-alert>
  580. </div>
  581. <div class="a-card-70">
  582. <div>
  583. <a-form-model-item style="left: -2%;" label="上传资料备注:" v-bind="labelCol1Note">
  584. <a-textarea class="a-textarea-line-30"
  585. v-model="infoModel.handlingCardRemark"
  586. @change="textareaChange('handlingCard','handlingCardRemark')"
  587. placeholder="如没有上传资料备注,需要说明原因"
  588. />
  589. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  590. </a-form-model-item>
  591. </div>
  592. <a-upload
  593. name="file"
  594. :multiple="true"
  595. :action="importMinioUploadAction"
  596. :customRequest="e => selfUploadContract(e, 'handlingCard')"
  597. :headers="tokenHeader"
  598. :showUploadList="false"
  599. :beforeUpload="importBeforeUpload"
  600. @change="importHandleChange"
  601. class="a-upload-line-30"
  602. >
  603. <a-button>
  604. <a-icon type="upload"/>
  605. 上传文件
  606. </a-button>
  607. </a-upload>
  608. <div style="height: 70%">
  609. <div class="thumb-example">
  610. <!-- swiper1 -->
  611. <swiper
  612. class="swiper gallery-top"
  613. :options="swiperOptionTop"
  614. ref="swiperTop"
  615. >
  616. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.handlingCard" :key="item.id">
  617. <iframe
  618. v-if="item.urlBase"
  619. frameborder="1"
  620. :src="item.urlBase"
  621. ref="ifr"
  622. width="70%"
  623. height="500px"
  624. scrolling="auto">
  625. </iframe>
  626. <img style="width: 70%;height: 70%;border: 1px solid;"
  627. v-if="!item.urlBase" :src="noDataPng" border="1">
  628. <div><a-button v-if="item.urlBase"
  629. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  630. danger @click="removeFile(item,'handlingCard')">移除
  631. </a-button>
  632. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  633. v-if=" item.urlBase"
  634. @click="jumpUrl(item.urlBase)">预览
  635. </a-button></div>
  636. </swiper-slide>
  637. <div
  638. class="swiper-button-next swiper-button-white"
  639. slot="button-next"
  640. ></div>
  641. <div
  642. class="swiper-button-prev swiper-button-white"
  643. slot="button-prev"
  644. ></div>
  645. </swiper>
  646. <!-- swiper2 Thumbs -->
  647. <swiper
  648. class="swiper gallery-thumbs"
  649. :options="swiperOptionThumbs"
  650. ref="swiperThumbs"
  651. >
  652. <swiper-slide
  653. class="slide"
  654. style="width:100px;height:100px;"
  655. v-for="(item, index) in infoModel.handlingCard"
  656. :key="item.id"
  657. >
  658. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  659. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  660. </div>
  661. <img style="width: 100%;height: 96px"
  662. v-if="!item.urlBase" :src="noDataPng" border="1">
  663. </swiper-slide>
  664. <!-- 点我上传文件按钮-->
  665. <div class="clearfix">
  666. <a-upload
  667. listType="picture-card"
  668. name="file"
  669. :multiple="false"
  670. :action="importMinioUploadAction"
  671. :customRequest="e=>selfUploadContract(e,'handlingCard')"
  672. :headers="tokenHeader"
  673. :showUploadList="false"
  674. :beforeUpload="importBeforeUpload"
  675. @change="importHandleChange"
  676. >
  677. <div>
  678. <a-icon type="plus"/>
  679. <div class="ant-upload-text">点我上传合同</div>
  680. </div>
  681. </a-upload>
  682. </div>
  683. <div class="swiper-button-next swiper-button-white" slot="button-next">
  684. <div>
  685. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  686. </div>
  687. </div>
  688. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  689. <div>
  690. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  691. </div>
  692. </div>
  693. </swiper>
  694. </div>
  695. </div>
  696. </div>
  697. </a-card>
  698. <!-- 客户证件扫描-->
  699. <a-card v-if="steps.currentId === 'customerCardScanning'"
  700. style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  701. <div slot="title">
  702. <span style="float: left;position: relative;top: 4px">客户证件扫描</span>
  703. <!-- 操作按钮-->
  704. </div>
  705. <div class="a-card-25">
  706. <a-alert
  707. message="注意事项(必看)"
  708. type="warning"
  709. style="height: 100vh"
  710. >
  711. <div slot="description" class="markdown" style="position: relative;top:30px">
  712. <ul>
  713. <li>1)客户证件复印件加盖公章</li>
  714. </ul>
  715. </div>
  716. </a-alert>
  717. </div>
  718. <div class="a-card-70">
  719. <div>
  720. <a-form-model-item style="left: -2%;" label="上传资料备注:" v-bind="labelCol1Note">
  721. <a-textarea class="a-textarea-line-30"
  722. v-model="infoModel.customerCardScanningRemark"
  723. @change="textareaChange('customerCardScanning','customerCardScanningRemark')"
  724. placeholder="如没有上传资料备注,需要说明原因"
  725. />
  726. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  727. </a-form-model-item>
  728. </div>
  729. <a-upload
  730. name="file"
  731. :multiple="true"
  732. :action="importMinioUploadAction"
  733. :customRequest="e => selfUploadContract(e, 'customerCardScanning')"
  734. :headers="tokenHeader"
  735. :showUploadList="false"
  736. :beforeUpload="importBeforeUpload"
  737. @change="importHandleChange"
  738. class="a-upload-line-30"
  739. >
  740. <a-button>
  741. <a-icon type="upload"/>
  742. 上传文件
  743. </a-button>
  744. </a-upload>
  745. <div style="height: 70%">
  746. <div class="thumb-example">
  747. <!-- swiper1 -->
  748. <swiper
  749. class="swiper gallery-top"
  750. :options="swiperOptionTop"
  751. ref="swiperTop"
  752. >
  753. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.customerCardScanning" :key="item.id">
  754. <iframe
  755. v-if="item.urlBase"
  756. frameborder="1"
  757. :src="item.urlBase"
  758. ref="ifr"
  759. width="70%"
  760. height="500px"
  761. scrolling="auto">
  762. </iframe>
  763. <img style="width: 70%;height: 70%;border: 1px solid;"
  764. v-if="!item.urlBase" :src="noDataPng" border="1">
  765. <div><a-button v-if="item.urlBase"
  766. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  767. danger @click="removeFile(item,'customerCardScanning')">移除
  768. </a-button>
  769. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  770. v-if=" item.urlBase"
  771. @click="jumpUrl(item.urlBase)">预览
  772. </a-button></div>
  773. </swiper-slide>
  774. <div
  775. class="swiper-button-next swiper-button-white"
  776. slot="button-next"
  777. ></div>
  778. <div
  779. class="swiper-button-prev swiper-button-white"
  780. slot="button-prev"
  781. ></div>
  782. </swiper>
  783. <!-- swiper2 Thumbs -->
  784. <swiper
  785. class="swiper gallery-thumbs"
  786. :options="swiperOptionThumbs"
  787. ref="swiperThumbs"
  788. >
  789. <swiper-slide
  790. class="slide"
  791. style="width:100px;height:100px;"
  792. v-for="(item, index) in infoModel.customerCardScanning"
  793. :key="item.id"
  794. >
  795. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  796. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  797. </div>
  798. <img style="width: 100%;height: 96px"
  799. v-if="!item.urlBase" :src="noDataPng" border="1">
  800. </swiper-slide>
  801. <!-- 点我上传文件按钮-->
  802. <div v-if="lotState.customerIdState != 1" class="clearfix">
  803. <a-upload
  804. listType="picture-card"
  805. name="file"
  806. :multiple="false"
  807. :action="importMinioUploadAction"
  808. :customRequest="e=>selfUploadContract(e,'customerCardScanning')"
  809. :headers="tokenHeader"
  810. :showUploadList="false"
  811. :beforeUpload="importBeforeUpload"
  812. @change="importHandleChange"
  813. >
  814. <div>
  815. <a-icon type="plus"/>
  816. <div class="ant-upload-text">点我上传合同</div>
  817. </div>
  818. </a-upload>
  819. </div>
  820. <div class="swiper-button-next swiper-button-white" slot="button-next">
  821. <div>
  822. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  823. </div>
  824. </div>
  825. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  826. <div>
  827. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  828. </div>
  829. </div>
  830. </swiper>
  831. </div>
  832. </div>
  833. </div>
  834. </a-card>
  835. <!-- 风险评估表-->
  836. <a-card v-if="steps.currentId === 'riskTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  837. <div slot="title">
  838. <span style="float: left;position: relative;top: 4px">风险评估表</span>
  839. </div>
  840. <div class="a-card-25">
  841. <a-alert
  842. message="注意事项(必看)"
  843. type="warning"
  844. style="height: 100vh"
  845. >
  846. <div slot="description" class="markdown" style="position: relative;top:30px">
  847. <ul>
  848. <li>1)是否进行入网风险评估</li>
  849. <li>2)安全管理能力是否填写最小必要数据</li>
  850. <li>3)是否明确使用场景(与产品形态表一致),如车联网、水表等</li>
  851. <li>4)是否明确开通功能,如语音,短信,流量等</li>
  852. <li>5)是否明确功能限制情况,如定向,机卡绑定,卡片绑定,限额管控,黑名单限制等</li>
  853. <li>6)是否无低级错误,如缺少签字、日期等</li>
  854. <li>7)风险评估表中卡类型需写清三要素:网络制式、商业级或消费级、贴片机或插卡机</li>
  855. <li>8)现场考察部分截图是否清晰</li>
  856. <li>9)合同、入网评估表、系统受理是否一致</li>
  857. </ul>
  858. </div>
  859. </a-alert>
  860. </div>
  861. <div class="a-card-70">
  862. <div>
  863. <a-form-model-item style="left: -2%;" label="上传资料备注:" v-bind="labelCol1Note">
  864. <a-textarea class="a-textarea-line-30"
  865. v-model="infoModel.riskTableRemark"
  866. @change="textareaChange('riskTable','riskTableRemark')"
  867. placeholder="如没有上传资料备注,需要说明原因"
  868. />
  869. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  870. </a-form-model-item>
  871. </div>
  872. <a-upload
  873. name="file"
  874. :multiple="true"
  875. :action="importMinioUploadAction"
  876. :customRequest="e => selfUploadContract(e, 'riskTable')"
  877. :headers="tokenHeader"
  878. :showUploadList="false"
  879. :beforeUpload="importBeforeUpload"
  880. @change="importHandleChange"
  881. class="a-upload-line-30"
  882. >
  883. <a-button>
  884. <a-icon type="upload"/>
  885. 上传文件
  886. </a-button>
  887. </a-upload>
  888. <div style="height: 70%">
  889. <div class="thumb-example">
  890. <!-- swiper1 -->
  891. <swiper
  892. class="swiper gallery-top"
  893. :options="swiperOptionTop"
  894. ref="swiperTop"
  895. >
  896. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.riskTable" :key="item.id">
  897. <iframe
  898. v-if="item.urlBase"
  899. frameborder="1"
  900. :src="item.urlBase"
  901. ref="ifr"
  902. width="70%"
  903. height="500px"
  904. scrolling="auto">
  905. </iframe>
  906. <img style="width: 70%;height: 70%;border: 1px solid;"
  907. v-if="!item.urlBase" :src="noDataPng" border="1">
  908. <div><a-button v-if="item.urlBase"
  909. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  910. danger @click="removeFile(item,'riskTable')">移除
  911. </a-button>
  912. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  913. v-if=" item.urlBase"
  914. @click="jumpUrl(item.urlBase)">预览
  915. </a-button></div>
  916. </swiper-slide>
  917. <div
  918. class="swiper-button-next swiper-button-white"
  919. slot="button-next"
  920. ></div>
  921. <div
  922. class="swiper-button-prev swiper-button-white"
  923. slot="button-prev"
  924. ></div>
  925. </swiper>
  926. <!-- swiper2 Thumbs -->
  927. <swiper
  928. class="swiper gallery-thumbs"
  929. :options="swiperOptionThumbs"
  930. ref="swiperThumbs"
  931. >
  932. <swiper-slide
  933. class="slide"
  934. style="width:100px;height:100px;"
  935. v-for="(item, index) in infoModel.riskTable"
  936. :key="item.id"
  937. >
  938. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  939. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  940. </div>
  941. <img style="width: 100%;height: 96px"
  942. v-if="!item.urlBase" :src="noDataPng" border="1">
  943. </swiper-slide>
  944. <!-- 点我上传文件按钮-->
  945. <div class="clearfix">
  946. <a-upload
  947. listType="picture-card"
  948. name="file"
  949. :multiple="false"
  950. :action="importMinioUploadAction"
  951. :customRequest="e=>selfUploadContract(e,'riskTable')"
  952. :headers="tokenHeader"
  953. :showUploadList="false"
  954. :beforeUpload="importBeforeUpload"
  955. @change="importHandleChange"
  956. >
  957. <div>
  958. <a-icon type="plus"/>
  959. <div class="ant-upload-text">点我上传合同</div>
  960. </div>
  961. </a-upload>
  962. </div>
  963. <div class="swiper-button-next swiper-button-white" slot="button-next">
  964. <div>
  965. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  966. </div>
  967. </div>
  968. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  969. <div>
  970. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  971. </div>
  972. </div>
  973. </swiper>
  974. </div>
  975. </div>
  976. </div>
  977. </a-card>
  978. <!-- 省/集团价格审批表-->
  979. <a-card v-if="steps.currentId === 'priceTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  980. <div slot="title">
  981. <span style="float: left;position: relative;top: 4px">省/集团价格审批表</span>
  982. <!-- 操作按钮-->
  983. </div>
  984. <div class="a-card-25">
  985. <a-alert
  986. message="注意事项(必看)"
  987. type="warning"
  988. style="height: 100vh"
  989. >
  990. <div slot="description" class="markdown" style="position: relative;top:30px">
  991. <ul>
  992. <li>1)最终审批价格不低于1元/户/月(对2020年1月1日前签署合同的存量客户,若存量价格审批表中只约定了保底流量无功能费的,按存量审批表执行)</li>
  993. <li>2)不参与打折,最低优惠至1元/户/月(2020年1月1日前签署合同的存量客户,池功能费可以按照池成员流量价格授权同步享受折扣)</li>
  994. <li>3)同客户同项目测试卡数量不得超100张,最高不得超500张。</li>
  995. <li>4)物联网开卡时提供公免卡审批表,开卡张数和公免额度与审批表一致。物联网公免卡的审批人员和流程同大网公免卡一致。</li>
  996. <li>5)累计限免有效期原则上不得大于15个月</li>
  997. </ul>
  998. </div>
  999. </a-alert>
  1000. </div>
  1001. <div class="a-card-70">
  1002. <div>
  1003. <a-form-model-item style="left: -2%;" label="上传资料备注:" v-bind="labelCol1Note">
  1004. <a-textarea class="a-textarea-line-30"
  1005. v-model="infoModel.priceTableRemark"
  1006. @change="textareaChange('priceTable','priceTableRemark')"
  1007. placeholder="如没有上传资料备注,需要说明原因"
  1008. />
  1009. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1010. </a-form-model-item>
  1011. </div>
  1012. <a-upload
  1013. name="file"
  1014. :multiple="true"
  1015. :action="importMinioUploadAction"
  1016. :customRequest="e => selfUploadContract(e, 'priceTable')"
  1017. :headers="tokenHeader"
  1018. :showUploadList="false"
  1019. :beforeUpload="importBeforeUpload"
  1020. @change="importHandleChange"
  1021. class="a-upload-line-30"
  1022. >
  1023. <a-button>
  1024. <a-icon type="upload"/>
  1025. 上传文件
  1026. </a-button>
  1027. </a-upload>
  1028. <div style="height: 70%">
  1029. <div class="thumb-example">
  1030. <!-- swiper1 -->
  1031. <swiper
  1032. class="swiper gallery-top"
  1033. :options="swiperOptionTop"
  1034. ref="swiperTop"
  1035. >
  1036. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.priceTable" :key="item.id">
  1037. <iframe
  1038. v-if="item.urlBase"
  1039. frameborder="1"
  1040. :src="item.urlBase"
  1041. ref="ifr"
  1042. width="70%"
  1043. height="500px"
  1044. scrolling="auto">
  1045. </iframe>
  1046. <img style="width: 70%;height: 70%;border: 1px solid;"
  1047. v-if="!item.urlBase" :src="noDataPng" border="1">
  1048. <div> <a-button v-if="item.urlBase "
  1049. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  1050. danger @click="removeFile(item,'priceTable')">移除
  1051. </a-button>
  1052. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  1053. v-if=" item.urlBase"
  1054. @click="jumpUrl(item.urlBase)">预览
  1055. </a-button></div>
  1056. </swiper-slide>
  1057. <div
  1058. class="swiper-button-next swiper-button-white"
  1059. slot="button-next"
  1060. ></div>
  1061. <div
  1062. class="swiper-button-prev swiper-button-white"
  1063. slot="button-prev"
  1064. ></div>
  1065. </swiper>
  1066. <!-- swiper2 Thumbs -->
  1067. <swiper
  1068. class="swiper gallery-thumbs"
  1069. :options="swiperOptionThumbs"
  1070. ref="swiperThumbs"
  1071. >
  1072. <swiper-slide
  1073. class="slide"
  1074. style="width:100px;height:100px;"
  1075. v-for="(item, index) in infoModel.priceTable"
  1076. :key="item.id"
  1077. >
  1078. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1079. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1080. </div>
  1081. <img style="width: 100%;height: 96px"
  1082. v-if="!item.urlBase" :src="noDataPng" border="1">
  1083. </swiper-slide>
  1084. <!-- 点我上传文件按钮-->
  1085. <div class="clearfix">
  1086. <a-upload
  1087. listType="picture-card"
  1088. name="file"
  1089. :multiple="false"
  1090. :action="importMinioUploadAction"
  1091. :customRequest="e=>selfUploadContract(e,'priceTable')"
  1092. :headers="tokenHeader"
  1093. :showUploadList="false"
  1094. :beforeUpload="importBeforeUpload"
  1095. @change="importHandleChange"
  1096. >
  1097. <div>
  1098. <a-icon type="plus"/>
  1099. <div class="ant-upload-text">点我上传合同</div>
  1100. </div>
  1101. </a-upload>
  1102. </div>
  1103. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1104. <div>
  1105. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1106. </div>
  1107. </div>
  1108. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1109. <div>
  1110. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1111. </div>
  1112. </div>
  1113. </swiper>
  1114. </div>
  1115. </div>
  1116. </div>
  1117. </a-card>
  1118. <!--承诺涵-其他材料-非必填-->
  1119. <a-card v-if="steps.currentId === 'commitment'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
  1120. <div slot="title">
  1121. <span style="float: left;position: relative;top: 4px">其他材料</span>
  1122. </div>
  1123. <div class="a-card-25">
  1124. <a-alert
  1125. message="注意事项(必看)"
  1126. type="warning"
  1127. style="height: 100vh"
  1128. >
  1129. <div slot="description" class="markdown" style="position: relative;top:30px">
  1130. <ul>
  1131. <li>1)如有其他材料请进行上传</li>
  1132. </ul>
  1133. </div>
  1134. </a-alert>
  1135. </div>
  1136. <div class="a-card-70">
  1137. <div>
  1138. <a-form-model-item style="left: -2%;" label="上传资料备注:" v-bind="labelCol1Note">
  1139. <a-textarea class="a-textarea-line-30"
  1140. v-model="infoModel.commitmentRemark"
  1141. @change="textareaChange('commitment','commitmentRemark')"
  1142. placeholder="如没有上传资料备注,需要说明原因"
  1143. />
  1144. <!-- :auto-size="{ minRows: 3, maxRows: 5 }"-->
  1145. </a-form-model-item>
  1146. </div>
  1147. <a-upload
  1148. name="file"
  1149. :multiple="true"
  1150. :action="importMinioUploadAction"
  1151. :customRequest="e => selfUploadContract(e, 'commitment')"
  1152. :headers="tokenHeader"
  1153. :showUploadList="false"
  1154. :beforeUpload="importBeforeUpload"
  1155. @change="importHandleChange"
  1156. class="a-upload-line-30"
  1157. >
  1158. <a-button>
  1159. <a-icon type="upload"/>
  1160. 上传文件
  1161. </a-button>
  1162. </a-upload>
  1163. <div style="height: 70%">
  1164. <div class="thumb-example">
  1165. <!-- swiper1 -->
  1166. <swiper
  1167. class="swiper gallery-top"
  1168. :options="swiperOptionTop"
  1169. ref="swiperTop"
  1170. >
  1171. <swiper-slide class="slide-1" v-for="(item, index) in infoModel.commitment" :key="item.id">
  1172. <iframe
  1173. v-if="item.urlBase"
  1174. frameborder="1"
  1175. :src="item.urlBase"
  1176. ref="ifr"
  1177. width="70%"
  1178. height="500px"
  1179. scrolling="auto">
  1180. </iframe>
  1181. <img style="width: 70%;height: 70%;border: 1px solid;"
  1182. v-if="!item.urlBase" :src="noDataPng" border="1">
  1183. <div><a-button v-if="item.urlBase"
  1184. style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
  1185. danger @click="removeFile(item,'commitment')">移除
  1186. </a-button>
  1187. <a-button style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
  1188. v-if=" item.urlBase"
  1189. @click="jumpUrl(item.urlBase)">预览
  1190. </a-button></div>
  1191. </swiper-slide>
  1192. <div
  1193. class="swiper-button-next swiper-button-white"
  1194. slot="button-next"
  1195. ></div>
  1196. <div
  1197. class="swiper-button-prev swiper-button-white"
  1198. slot="button-prev"
  1199. ></div>
  1200. </swiper>
  1201. <!-- swiper2 Thumbs -->
  1202. <swiper
  1203. class="swiper gallery-thumbs"
  1204. :options="swiperOptionThumbs"
  1205. ref="swiperThumbs"
  1206. >
  1207. <swiper-slide
  1208. class="slide"
  1209. style="width:100px;height:100px;"
  1210. v-for="(item, index) in infoModel.commitment"
  1211. :key="item.id"
  1212. >
  1213. <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
  1214. <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
  1215. </div>
  1216. <img style="width: 100%;height: 96px"
  1217. v-if="!item.urlBase" :src="noDataPng" border="1">
  1218. </swiper-slide>
  1219. <!-- 点我上传文件按钮-->
  1220. <div class="clearfix">
  1221. <a-upload
  1222. listType="picture-card"
  1223. name="file"
  1224. :multiple="false"
  1225. :action="importMinioUploadAction"
  1226. :customRequest="e=>selfUploadContract(e,'commitment')"
  1227. :headers="tokenHeader"
  1228. :showUploadList="false"
  1229. :beforeUpload="importBeforeUpload"
  1230. @change="importHandleChange"
  1231. >
  1232. <div>
  1233. <a-icon type="plus"/>
  1234. <div class="ant-upload-text">点我上传其它材料</div>
  1235. </div>
  1236. </a-upload>
  1237. </div>
  1238. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1239. <div>
  1240. <!-- <img src="../../../../assets/images/nextImg.png" alt=""/>-->
  1241. </div>
  1242. </div>
  1243. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1244. <div>
  1245. <!-- <img src="../../../../assets/images/prevImg.png" alt=""/>-->
  1246. </div>
  1247. </div>
  1248. </swiper>
  1249. </div>
  1250. </div>
  1251. </div>
  1252. </a-card>
  1253. <!-- 文件存储车弹窗-->
  1254. <a-card v-if='isPhoneshow' ref="floatButton"
  1255. class="float-infoPhone">
  1256. <div class="thumb-example1">
  1257. <!-- swiper1 -->
  1258. <swiper
  1259. class="swiper gallery-top1"
  1260. :options="swiperOptionTop"
  1261. ref="swiperTop"
  1262. >
  1263. </swiper>
  1264. <!-- swiper2 Thumbs -->
  1265. <swiper
  1266. class="swiper gallery-thumbs"
  1267. :options="swiperOptionThumbs"
  1268. ref="swiperThumbs"
  1269. >
  1270. <swiper-slide v-for="(item, index) in phoneList" :key="item.id"
  1271. class="slide"
  1272. style="width:290px;height:200px;">
  1273. <div v-if="item.urlBase" style="width:290px;height: 96px;background: rgb(68,142,247);color: white">
  1274. <iframe
  1275. v-if="item.urlBase"
  1276. frameborder="1"
  1277. :src="item.urlBase"
  1278. ref="ifr"
  1279. @preview="handlePreview"
  1280. @change="handleChange"
  1281. scrolling="auto">
  1282. </iframe>
  1283. <div style="display:flex ;justify-content:center;height:100%;">
  1284. <a-button @click='selfUploadContractView(item)'>使用</a-button>
  1285. <a-button style='margin-left: 10px' @click="jumpUrl(item.urlBase)">预览</a-button>
  1286. </div>
  1287. </div>
  1288. <a-modal :visible="previewVisible" :footer="null" @cancel="handleCancel">
  1289. <img alt="example" style="width: 100%" :src="previewImage"/>
  1290. </a-modal>
  1291. </swiper-slide>
  1292. <div class="swiper-button-next swiper-button-white" slot="button-next">
  1293. <div>
  1294. </div>
  1295. </div>
  1296. <div class="swiper-button-prev swiper-button-white" slot="button-prev">
  1297. <div>
  1298. </div>
  1299. </div>
  1300. </swiper>
  1301. </div>
  1302. </a-card>
  1303. <!-- 文件存储车图标-->
  1304. <div @click='showPhone(true,true)'
  1305. ref="floatButton"
  1306. class="float-info floating-button"
  1307. :style="{'width': 70 + 'px', 'height': 70 + 'px', 'left': 94+'%' , 'top': 84 + '%'}"
  1308. >
  1309. <a-badge :count=fileShoppingNumber>
  1310. <img style="width: 89%;height: 81%;position: relative;top: 10%" :src="fileShopping" border="1">
  1311. </a-badge>
  1312. </div>
  1313. <!-- <a-icon type="folder-add" :style="{ fontSize: '30px', color: '#08c' }"/>-->
  1314. </div>
  1315. </template>
  1316. <script>
  1317. import {JeecgListMixin} from '@/mixins/JeecgListMixin'
  1318. import {getAction, httpAction, postAction} from '@api/manage'
  1319. import {snippetsOutlined, StarFilled, StarTwoTone} from '@ant-design/icons-vue';
  1320. /*无数据图片*/
  1321. import fileShopping from '@/assets/file_shopping.png'
  1322. /*无数据图片*/
  1323. import noDataPng from '@/assets/nodata.png'
  1324. let Base64 = require('js-base64').Base64
  1325. function getBase64(file) {
  1326. return new Promise((resolve, reject) => {
  1327. const reader = new FileReader();
  1328. reader.readAsDataURL(file);
  1329. reader.onload = () => resolve(reader.result);
  1330. reader.onerror = error => reject(error);
  1331. });
  1332. }
  1333. export default {
  1334. name: "TaskUploadData",
  1335. mixins: [JeecgListMixin],
  1336. inject: ['closeCurrent'],
  1337. components: {noDataPng, fileShopping},
  1338. data() {
  1339. return {
  1340. // 购物车图标数
  1341. fileShoppingNumber:0,
  1342. btnStyle: {
  1343. "fontSize": 'small',
  1344. "top": '60vh',
  1345. "left": '90vw'
  1346. },
  1347. rules: {
  1348. scene: [
  1349. {required: true, message: '必须输入'},
  1350. ],
  1351. smsNumber: [
  1352. {required: true, message: '必须输入'},
  1353. ],
  1354. customerName: [
  1355. {required: true, message: '必须输入'},
  1356. ],
  1357. isComplete: [
  1358. {required: true, message: '必须输入'},
  1359. ],
  1360. manage: [
  1361. {required: true, message: '必须输入'},
  1362. ],
  1363. isAll: [
  1364. {required: true, message: '必须输入'},
  1365. ],
  1366. contractDate: [
  1367. {required: true, message: '必须输入'},
  1368. ],
  1369. businessLicenseDate: [
  1370. {required: true, message: '必须输入'},
  1371. ],
  1372. installationAddress: [
  1373. {required: true, message: '必须输入'},
  1374. ],
  1375. floorName: [
  1376. {required: true, message: '必须输入'},
  1377. ],
  1378. firstActivationDate: [
  1379. {required: true, message: '必须输入'},
  1380. ],
  1381. customerNo: [
  1382. {required: true, message: '必须输入'},
  1383. ],
  1384. userNo: [
  1385. {required: true, message: '必须输入'},
  1386. ],
  1387. networkAccessTime: [
  1388. {required: true, message: '必须输入'},
  1389. ],
  1390. userState: [
  1391. {required: true, message: '必须输入'},
  1392. ],
  1393. contractDateIs: [
  1394. {required: true, message: '必须输入'},
  1395. ],
  1396. staffNo: [
  1397. {required: true, message: '必须输入'},
  1398. ],
  1399. codeNumber: [
  1400. {required: true, message: '必须输入'},
  1401. ],
  1402. accountCode: [
  1403. {required: true, message: '必须输入'},
  1404. ],
  1405. floorCode: [
  1406. {required: true, message: '必须输入'},
  1407. ],
  1408. userCode: [
  1409. {required: true, message: '必须输入'},
  1410. ],
  1411. managePhone: [
  1412. {required: true, message: '请输入客户经理手机号!', trigger: 'blur'}, {validator: this.isPhone}
  1413. ],
  1414. },
  1415. labelCol6: {
  1416. labelCol: {
  1417. xs: {span: 24},
  1418. sm: {span: 10},
  1419. },
  1420. wrapperCol: {
  1421. xs: {span: 24},
  1422. sm: {span: 12},
  1423. }
  1424. },
  1425. labelCol4: {
  1426. labelCol: {
  1427. xs: {span: 24},
  1428. sm: {span: 10},
  1429. },
  1430. wrapperCol: {
  1431. xs: {span: 24},
  1432. sm: {span: 12},
  1433. }
  1434. },
  1435. labelCol8: {
  1436. labelCol: {
  1437. xs: {span: 24},
  1438. sm: {span: 2},
  1439. },
  1440. wrapperCol: {
  1441. xs: {span: 24},
  1442. sm: {span: 22},
  1443. }
  1444. },
  1445. labelCol5: {
  1446. labelCol: {
  1447. xs: {span: 24},
  1448. sm: {span: 9},
  1449. },
  1450. wrapperCol: {
  1451. xs: {span: 24},
  1452. sm: {span: 4},
  1453. }
  1454. },
  1455. labelCol7: {
  1456. labelCol: {
  1457. xs: {span: 24},
  1458. sm: {span: 12},
  1459. },
  1460. wrapperCol: {
  1461. xs: {span: 24},
  1462. sm: {span: 12},
  1463. }
  1464. },
  1465. labelCol1Note: {
  1466. labelCol: {
  1467. xs: {span: 24},
  1468. sm: {span: 4},
  1469. },
  1470. wrapperCol: {
  1471. xs: {span: 24},
  1472. sm: {span: 20},
  1473. }
  1474. },
  1475. //是否整改
  1476. rectificationIs: false,
  1477. noDataPng: noDataPng,
  1478. fileShopping: fileShopping,
  1479. //加载状态
  1480. taskId: "",
  1481. loading: false,
  1482. notes: "",
  1483. infoModel: {
  1484. staffName: "",
  1485. businessLicenseDateIs: "",
  1486. contractDateIs: '',
  1487. blockType: "",
  1488. control: "",
  1489. //合同文件
  1490. isAll: "",
  1491. contractDate: "",
  1492. businessLicenseDate: "",
  1493. dataId: "",
  1494. logId: "",
  1495. infoId: "",
  1496. isComplete: "",
  1497. scene: "",
  1498. manage: "",
  1499. managePhone: "",
  1500. smsNumber: "",
  1501. customerNo: "",
  1502. userNo: "",
  1503. networkAccessTime: "",
  1504. customerName: "",
  1505. userState: "",
  1506. staffNo: "",
  1507. testCard: [{}],
  1508. testCardRemark: '',
  1509. contract: [{}],
  1510. contractRemark: '',
  1511. handlingContract: [{}],
  1512. handlingContractRemark: '',
  1513. handlingCard: [{}],
  1514. handlingCardRemark: '',
  1515. customerCardScanning: [{}],
  1516. customerCardScanningRemark: '',
  1517. riskTable: [{}],
  1518. riskTableRemark: '',
  1519. priceTable: [{}],
  1520. priceTableRemark: '',
  1521. commitment: [{}],
  1522. commitmentRemark: '',
  1523. },
  1524. //弹窗
  1525. previewImage: "",
  1526. previewVisible: false,
  1527. isPhoneshow: false,
  1528. phoneList: '',
  1529. url: {
  1530. "getTask": "/smsTurck/customerData/query/getTask",
  1531. "getInfoDataById": "/smsCheck/customerInfo/queryById",
  1532. "getInfoDataByInfoId": "/smsLot/customerData/queryDataLogByInfoId",
  1533. updateFile: "/smsCheck/customerData/updateFile",
  1534. minioUpload: "/smsCheck/customerData/uploadMinio",
  1535. //list: "/smsCheck/customerData/list",
  1536. addOrEdit: "/smsLot/customerData/edit/info",
  1537. lotInfo: "/smsLot/customerData/query/infoId",
  1538. checkDataId: "/smsLot/customerData/query/check/dataId",
  1539. },
  1540. //步骤条数据
  1541. //current: 0,
  1542. steps: {
  1543. // 当前所在第几部
  1544. current: 0,
  1545. currentId: "",
  1546. stepsNow: {},
  1547. stepsControlY: [
  1548. {
  1549. title: '合同',
  1550. content: 'First-content',
  1551. status: "wait",
  1552. id: 'contract'
  1553. },
  1554. {
  1555. title: '责任人和经办人授权书',
  1556. content: 'First-content',
  1557. status: "wait",
  1558. id: "handlingContract"
  1559. },
  1560. {
  1561. title: '责任人和经办人身份证',
  1562. content: 'First-content',
  1563. status: "wait",
  1564. id: "handlingCard"
  1565. },
  1566. {
  1567. title: '客户证件扫描',
  1568. content: 'First-content',
  1569. status: "wait",
  1570. id: "customerCardScanning"
  1571. },
  1572. {
  1573. title: '风险评估表',
  1574. content: 'First-content',
  1575. status: "wait",
  1576. id: 'riskTable'
  1577. },
  1578. {
  1579. title: '省/集团价格审批表',
  1580. content: 'First-content',
  1581. status: "wait",
  1582. id: 'priceTable'
  1583. },
  1584. {
  1585. title: '承诺涵(其他材料-非必填)',
  1586. content: 'First-content',
  1587. id: "commitment",
  1588. status: "wait"
  1589. }
  1590. ],
  1591. stepsControlN: [
  1592. {
  1593. title: '合同',
  1594. content: 'First-content',
  1595. status: "wait",
  1596. id: 'contract'
  1597. },
  1598. {
  1599. title: '责任人和经办人授权书',
  1600. content: 'First-content',
  1601. status: "wait",
  1602. id: "handlingContract"
  1603. },
  1604. {
  1605. title: '责任人和经办人身份证',
  1606. content: 'First-content',
  1607. status: "wait",
  1608. id: "handlingCard"
  1609. },
  1610. {
  1611. title: '客户证件扫描',
  1612. content: 'First-content',
  1613. status: "wait",
  1614. id: "customerCardScanning"
  1615. },
  1616. {
  1617. title: '风险评估表',
  1618. content: 'First-content',
  1619. status: "wait",
  1620. id: 'riskTable'
  1621. },
  1622. {
  1623. title: '承诺涵(其他材料-非必填)',
  1624. content: 'First-content',
  1625. id: "commitment",
  1626. status: "wait"
  1627. }
  1628. ],
  1629. stepsTest: [
  1630. {
  1631. title: '测试卡申请单',
  1632. content: 'First-content',
  1633. status: "wait",
  1634. id: 'testCard'
  1635. },
  1636. {
  1637. title: '责任人和经办人授权书',
  1638. content: 'First-content',
  1639. status: "wait",
  1640. id: "handlingContract"
  1641. },
  1642. {
  1643. title: '责任人和经办人身份证',
  1644. content: 'First-content',
  1645. status: "wait",
  1646. id: "handlingCard"
  1647. },
  1648. {
  1649. title: '客户证件扫描',
  1650. content: 'First-content',
  1651. status: "wait",
  1652. id: "customerCardScanning"
  1653. },
  1654. {
  1655. title: '承诺涵(其他材料-非必填)',
  1656. content: 'First-content',
  1657. id: "commitment",
  1658. status: "wait"
  1659. }
  1660. ],
  1661. },
  1662. //steps: "",
  1663. //测试卡步骤条
  1664. next: "",
  1665. prev: "",
  1666. //客户信息ID
  1667. infoId: "",
  1668. lotData: {
  1669. //卡片是否展示
  1670. isShow: {
  1671. commitmentShow: false,
  1672. },
  1673. //正式卡/测试卡
  1674. blockType: "model",
  1675. //价格管控
  1676. control: "controlN",
  1677. //合同文件
  1678. contractFiles: [],
  1679. //责任人和经办人授权书
  1680. empowerFiles: [],
  1681. //责任人和经办人身份证
  1682. idCardFiles: [],
  1683. //客户证件扫描
  1684. scanningFiles: [],
  1685. //风险评估表
  1686. riskFiles: [],
  1687. //价格审批表
  1688. priceFiles: [],
  1689. //测试卡申请单
  1690. testCardApplication: [],
  1691. //其他材料
  1692. commitmentFiles: [],
  1693. },
  1694. //整改稽核备注
  1695. lotNote: {
  1696. //合同
  1697. contractNote: null,
  1698. //测试卡申请单
  1699. testCardApplicationNote: null,
  1700. //责任人经办人授权书
  1701. empowerNote: null,
  1702. //责任人经办人身份证
  1703. idCardNote: null,
  1704. //客户证件
  1705. customerIdNote: null,
  1706. //风险评估表稽核结果
  1707. riskNote: null,
  1708. //省/集团价格审批表
  1709. priceApprovalNote: null,
  1710. //其他材料
  1711. commitmentNote: null,
  1712. },
  1713. //整改稽核结果
  1714. lotState: {
  1715. //合同
  1716. contractState: null,
  1717. //测试卡申请单
  1718. testCardApplicationState: null,
  1719. //责任人经办人授权书
  1720. empowerState: null,
  1721. //责任人经办人身份证
  1722. idCardState: null,
  1723. //客户证件
  1724. customerIdState: null,
  1725. //风险评估表稽核结果
  1726. riskState: null,
  1727. //省/集团价格审批表
  1728. priceApprovalState: null,
  1729. //其他材料
  1730. commitmentState: null,
  1731. },
  1732. //缩略与大图数据源
  1733. swiperId: 0 + 1,
  1734. swiperImg: [{}],
  1735. //轮播配置
  1736. swiperOptionTop: {
  1737. zoom: true,
  1738. loop: false,
  1739. loopedSlides: 5, // looped slides should be the same
  1740. spaceBetween: 10,
  1741. observer: true, //修改swiper自己或子元素时,自动初始化swiper
  1742. observeParents: true, //修改swiper的父元素时,自动初始化swiper
  1743. // autoplay: { //自动轮播
  1744. // delay: 2000,
  1745. // disableOnInteraction: false
  1746. // },
  1747. navigation: {
  1748. nextEl: '.swiper-button-next',
  1749. prevEl: '.swiper-button-prev'
  1750. }
  1751. },
  1752. swiperOptionThumbs: {
  1753. loop: false,
  1754. loopedSlides: 5, // looped slides should be the same
  1755. spaceBetween: 10,
  1756. centeredSlides: true,
  1757. slidesPerView: 'auto',
  1758. touchRatio: 0.2,
  1759. slideToClickedSlide: true,
  1760. navigation: {
  1761. nextEl: '.swiper-button-next',
  1762. prevEl: '.swiper-button-prev'
  1763. }
  1764. }
  1765. };
  1766. },
  1767. created() {
  1768. let control = this.lotData.control;
  1769. this.infoModel.infoId = this.$route.query.id;
  1770. //是否突破价格管控
  1771. if (control == "controlN") {
  1772. this.steps.stepsNow = this.steps.stepsControlN;
  1773. } else {
  1774. this.steps.stepsNow = this.steps.stepsControlY;
  1775. }
  1776. this.steps.currentId = this.steps.stepsNow[0].id;
  1777. this.infoId = this.$route.query.id;
  1778. //是否需要整改
  1779. this.lotInfoById(this.infoId)
  1780. this.getInfoDataById(this.infoId)
  1781. },
  1782. computed: {
  1783. importMinioUploadAction() {
  1784. return window._CONFIG['domianURL'] + this.url.minioUpload;
  1785. },
  1786. },
  1787. props: {
  1788. poster: {
  1789. type: String,
  1790. required: false,
  1791. default: ""
  1792. },
  1793. controls: {
  1794. type: Boolean,
  1795. required: false,
  1796. default: true
  1797. },
  1798. control: {
  1799. type: Boolean,
  1800. required: false,
  1801. default: false
  1802. },
  1803. },
  1804. watch: {
  1805. // 监听操作
  1806. videoData(val, oldVal) {
  1807. const {currentTime, duration} = val;
  1808. if (currentTime && duration && currentTime < duration) {
  1809. this.hintOperate();
  1810. }
  1811. }
  1812. },
  1813. mounted() {
  1814. // 实现swiper双向控制
  1815. this.$nextTick(() => {
  1816. const swiperTop = this.$refs.swiperTop.swiper
  1817. const swiperThumbs = this.$refs.swiperThumbs.swiper
  1818. swiperTop.controller.control = swiperThumbs
  1819. swiperThumbs.controller.control = swiperTop
  1820. })
  1821. this.infoId = this.$route.query.id;
  1822. this.getTask(this.infoId);
  1823. let control = this.lotData.control;
  1824. //是否突破价格管控
  1825. if (control == "controlN") {
  1826. this.steps.stepsNow = this.steps.stepsControlN;
  1827. } else {
  1828. this.steps.stepsNow = this.steps.stepsControlY;
  1829. }
  1830. },
  1831. methods: {
  1832. jumpUrl(url) {
  1833. var a = document.createElement("a");
  1834. a.setAttribute("href", url);
  1835. a.setAttribute("target", "_blank");
  1836. a.click();
  1837. },
  1838. handleCancel() {
  1839. this.previewVisible = false;
  1840. },
  1841. async handlePreview(file) {
  1842. if (!file.url && !file.preview) {
  1843. file.preview = await getBase64(file.originFileObj);
  1844. }
  1845. this.previewImage = file.url || file.preview || file.urlBase;
  1846. this.previewVisible = true;
  1847. },
  1848. handleChange({fileList}) {
  1849. this.fileList = fileList;
  1850. },
  1851. showPhone(isShow,msg) {
  1852. var data = {
  1853. customerNo: this.infoModel.customerNo,
  1854. stepsId: this.steps.stepsNow[this.steps.current].id,
  1855. //1:行短稽核 2:物联网业务稽核 3.复开审批 4.中继线稽核
  1856. type: '2'
  1857. }
  1858. getAction('/smsCheck/customerInfo/phone/customerPhone', data).then((res) => {
  1859. if (res.success) {
  1860. this.phoneList = JSON.parse(res.result);
  1861. if (this.phoneList !== null && this.phoneList.length !== 0) {
  1862. this.fileShoppingNumber = this.phoneList.length
  1863. if (this.isPhoneshow === false && isShow) {
  1864. this.isPhoneshow = true;
  1865. } else {
  1866. this.isPhoneshow = false;
  1867. }
  1868. } else {
  1869. this.fileShoppingNumber = 0 ;
  1870. if (msg){
  1871. this.$message.warning("此类无历史上传");
  1872. }
  1873. }
  1874. }else {
  1875. this.fileShoppingNumber = 0 ;
  1876. }
  1877. })
  1878. },
  1879. backDate(name) {
  1880. if (name === 'contractDate') {
  1881. this.infoModel.contractDateIs = "1"
  1882. this.infoModel.contractDate = ""
  1883. }
  1884. if (name === 'businessLicenseDate') {
  1885. this.infoModel.businessLicenseDateIs = "1"
  1886. this.infoModel.businessLicenseDate = ""
  1887. }
  1888. },
  1889. isPhone(rule, value, callback) {
  1890. 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)) {
  1891. callback();
  1892. } else {
  1893. callback("您的手机号码格式不正确!");
  1894. }
  1895. },
  1896. /*提交*/
  1897. submitAuditLot() {
  1898. this.uploading = true;
  1899. var info = "yes";
  1900. this.$refs.form.validate(valid => {
  1901. // 验证通过
  1902. if (!valid) {
  1903. info = "infoNo";
  1904. this.uploading = false;
  1905. }
  1906. }
  1907. )
  1908. var text = "";
  1909. for (var i in this.steps.stepsNow) {
  1910. if (this.steps.stepsNow[i].status !== "finish") {
  1911. // text+= '111<br/> ';
  1912. var str = this.steps.stepsNow[i].title;
  1913. text += str + "资料或备注都未上传!!!" + '<br/><br/>';
  1914. //this.$message.warn( this.steps.stepsNow[i].title +"资料或备注都未上传!!!");
  1915. info = "no";
  1916. }
  1917. }
  1918. var stringToHTML = function (str) {
  1919. var dom = document.createElement('div');
  1920. dom.innerHTML = str;
  1921. return dom;
  1922. };
  1923. console.log(stringToHTML('<h1>Hello world!</h1><p>How are you today?</p>'));
  1924. if (info === "no") {
  1925. this.$warning({
  1926. title: '提示',
  1927. dangerouslyUseHTMLString: true,
  1928. content: (h) => {
  1929. return h('div', {
  1930. domProps: {
  1931. innerHTML: text
  1932. },
  1933. }, []);
  1934. }
  1935. })
  1936. return
  1937. }
  1938. if (info === "infoNo") {
  1939. this.$warning({
  1940. title: '提示',
  1941. dangerouslyUseHTMLString: true,
  1942. content: (h) => {
  1943. return h('div', {
  1944. domProps: {
  1945. innerHTML: '基本信息未填写完整!!!'
  1946. },
  1947. }, []);
  1948. }
  1949. })
  1950. return
  1951. }
  1952. var that = this;
  1953. var data = that.infoModel;
  1954. //data =this.dataListToStr(data);
  1955. postAction("/smsLot/customerData/add", data).then((res) => {
  1956. if (res.success) {
  1957. this.uploading = false;
  1958. this.$message.success("提交成功", 3);
  1959. this.addIng == true
  1960. this.$router.push({path: '/lot/check/task/check', query: {id: that.taskId}});
  1961. this.closeCurrent();
  1962. } else {
  1963. this.uploading = false;
  1964. if (res.message !== null) {
  1965. this.$message.error(res.message);
  1966. } else {
  1967. this.$message.error("提交失败");
  1968. }
  1969. }
  1970. }).finally(() => {
  1971. this.uploading = false;
  1972. })
  1973. },
  1974. getTask(infoId) {
  1975. var that = this;
  1976. var data = {
  1977. "infoId": infoId,
  1978. }
  1979. postAction(this.url.getTask, data).then((res) => {
  1980. if (res.success) {
  1981. that.taskId = res.result.taskId;
  1982. }
  1983. })
  1984. },
  1985. addIsStaging() {
  1986. this.uploading = true;
  1987. var that = this;
  1988. var data = that.infoModel;
  1989. //data =this.dataListToStr(data);
  1990. postAction("/smsLot/customerData/addIsStaging", data).then((res) => {
  1991. if (res.success) {
  1992. this.uploading = false;
  1993. this.$message.success("提交成功", 3);
  1994. this.addIng == true
  1995. this.$router.push({path: '/lot/check/task/check', query: {id: that.taskId}});
  1996. this.closeCurrent();
  1997. } else {
  1998. this.uploading = false;
  1999. if (res.message !== null) {
  2000. this.$message.error(res.message);
  2001. } else {
  2002. this.$message.error("提交失败");
  2003. }
  2004. }
  2005. }).finally(() => {
  2006. this.uploading = false;
  2007. })
  2008. },
  2009. /**备注坚听*/
  2010. textareaChange(name, nameRemark) {
  2011. if (this.infoModel[nameRemark].length > 0) {
  2012. this.steps.stepsNow[this.steps.current].status = "finish"
  2013. } else if (this.infoModel[name].length > 0 && this.infoModel[name][0].urlBase) {
  2014. this.steps.stepsNow[this.steps.current].status = "finish"
  2015. } else {
  2016. this.steps.stepsNow[this.steps.current].status = "wait"
  2017. }
  2018. },
  2019. stepsClick(current) {
  2020. this.steps.current = current;
  2021. this.steps.currentId = this.steps.stepsNow[current].id
  2022. for (var i in this.steps.stepsNow) {
  2023. if (this.steps.stepsNow[i].status != "finish") {
  2024. this.steps.stepsNow[i].status = "wait"
  2025. }
  2026. if (this.steps.stepsNow[i].status === "finish") {
  2027. this.steps.stepsNow[i].status === "finish"
  2028. }
  2029. }
  2030. if (this.steps.stepsNow[current].status !== "finish") {
  2031. this.steps.stepsNow[current].status = "process"
  2032. }
  2033. this.showPhone(false,false);
  2034. },
  2035. getInfoDataById(id) {
  2036. var that = this;
  2037. if (id) {
  2038. var data = {
  2039. "id": id,
  2040. }
  2041. getAction(this.url.getInfoDataById, data).then((res) => {
  2042. if (res.success) {
  2043. let result = res.result;
  2044. //用户状态
  2045. that.infoModel.userState = result.userState;
  2046. //用户发展员工
  2047. that.infoModel.staffNo = result.staffNo;
  2048. that.infoModel.customerNo = result.customerNo;
  2049. that.infoModel.userNo = result.userNo;
  2050. that.infoModel.networkAccessTime = result.networkAccessTime;
  2051. that.infoModel.firstActivationDate = result.firstActivationDate;
  2052. that.infoModel.userCode = result.userCode;
  2053. that.infoModel.accountCode = result.accountCode;
  2054. that.infoModel.staffName = result.staffName;
  2055. that.notes = result.notes;
  2056. this.showPhone();
  2057. }
  2058. })
  2059. }
  2060. },
  2061. /**获取物联网文件数据*/
  2062. lotInfoById(id) {
  2063. let that = this;
  2064. let url = this.url.getInfoDataByInfoId;
  2065. let params = {
  2066. infoId: id
  2067. }
  2068. getAction(url, params).then(res => {
  2069. if (res.success) {
  2070. let data = res.result;
  2071. if (data == null || !data) {
  2072. return;
  2073. }
  2074. let result = res.result;
  2075. that.infoModel = result;
  2076. that.lotDataValue(data);
  2077. that.infoModel.testCard = JSON.parse(result.testCard);
  2078. that.infoModel.contract = JSON.parse(result.contract);
  2079. that.steps.current = 0;
  2080. that.steps.currentId = that.steps.stepsNow[0].id
  2081. that.infoModel.handlingContract = JSON.parse(result.handlingContract);
  2082. that.infoModel.handlingCard = JSON.parse(result.handlingCard);
  2083. that.infoModel.customerCardScanning = JSON.parse(result.customerCardScanning);
  2084. that.infoModel.riskTable = JSON.parse(result.riskTable);
  2085. that.infoModel.priceTable = JSON.parse(result.priceTable);
  2086. that.infoModel.commitment = JSON.parse(result.commitment);
  2087. for (var i in that.steps.stepsNow) {
  2088. for (var j in result[that.steps.stepsNow[i].id]) {
  2089. if (result[that.steps.stepsNow[i].id][0].urlBase !== undefined) {
  2090. that.steps.stepsNow[i].status = "finish"
  2091. }
  2092. if (result[that.steps.stepsNow[i].id + 'Remark'][0] !== undefined) {
  2093. that.steps.stepsNow[i].status = "finish"
  2094. }
  2095. }
  2096. }
  2097. }
  2098. }).finally(() => {
  2099. })
  2100. },
  2101. lotDataValue(data) {
  2102. let that = this;
  2103. if (data.control === '' || data.control === null) {
  2104. that.infoModel.control = 'controlN'
  2105. }
  2106. if (data.blockType === '' || data.blockType === null) {
  2107. that.infoModel.blockType = 'model'
  2108. }
  2109. //为整改
  2110. that.rectificationIs = true;
  2111. //是否突破价格管控 0:未突破;1:突破
  2112. that.lotData.control = data.control;
  2113. //卡类型 0测试卡;1正式卡,
  2114. that.lotData.blockType = data.blockType;
  2115. //判断步骤类型
  2116. let control = that.infoModel.control;
  2117. let blockType = that.infoModel.blockType;
  2118. if (control === 'controlN' && blockType === 'model') {
  2119. this.steps.stepsNow = this.steps.stepsControlN;
  2120. } else if (control === 'controlY' && blockType === 'model') {
  2121. this.steps.stepsNow = this.steps.stepsControlY;
  2122. } else if (blockType === 'test') {
  2123. this.steps.stepsNow = this.steps.stepsTest;
  2124. } else {
  2125. this.steps.stepsNow = this.steps.stepsControlN;
  2126. }
  2127. if (that.lotData.blockType == "model") {
  2128. that.swiperImg = that.lotData.contractFiles
  2129. } else if (that.lotData.blockType == 'test') {
  2130. that.swiperImg = that.lotData.testCardApplication
  2131. }
  2132. //稽核结果
  2133. //that.lotCheckById(that.infoId);
  2134. },
  2135. /**包装轮播数据*/
  2136. packageArr(data) {
  2137. let id = 0;
  2138. let newArr = []
  2139. if (data == null) {
  2140. newArr.push({})
  2141. return newArr;
  2142. }
  2143. let splice = data.split(",");
  2144. for (var i in splice) {
  2145. id = id + 1;
  2146. let filePath = splice[i];
  2147. if (filePath == "") {
  2148. break;
  2149. }
  2150. let fileName = filePath.split("/");
  2151. fileName = fileName[fileName.length - 1];
  2152. let swipData = {
  2153. id: id,
  2154. urlBase: window._CONFIG['onlinePreviewDomainURL'] + '?url='
  2155. + encodeURIComponent(
  2156. Base64.encode(
  2157. (filePath)
  2158. )),
  2159. url: filePath,
  2160. fileName: fileName
  2161. }
  2162. newArr.push(swipData);
  2163. }
  2164. return newArr;
  2165. },
  2166. /**卡类型及价格管控监听事件*/
  2167. controlChange(a, event) {
  2168. let blockType = this.infoModel.blockType;
  2169. let control = this.infoModel.control;
  2170. //是否突破价格管控
  2171. if (control == "controlN" && blockType == "model") {
  2172. this.steps.stepsNow = this.steps.stepsControlN;
  2173. } else if (control == "controlY" && blockType == "model") {
  2174. this.steps.stepsNow = this.steps.stepsControlY;
  2175. } else if (blockType == "test") {
  2176. this.steps.stepsNow = this.steps.stepsTest;
  2177. }
  2178. this.current = 0;
  2179. this.steps.current = 0;
  2180. this.steps.currentId = this.steps.stepsNow[0].id
  2181. for (var i in this.steps.stepsNow) {
  2182. for (var j in this.infoModel[this.steps.stepsNow[i].id]) {
  2183. if (this.infoModel[this.steps.stepsNow[i].id][0].urlBase !== undefined) {
  2184. this.steps.stepsNow[i].status = "finish"
  2185. }
  2186. if (this.infoModel[this.steps.stepsNow[i].id + 'Remark'][0] !== undefined) {
  2187. this.steps.stepsNow[i].status = "finish"
  2188. }
  2189. }
  2190. }
  2191. // this.currentFileType(this.current);
  2192. },
  2193. /**移除文件*/
  2194. /**移除文件*/
  2195. removeFile(fileData, fileAttribute) {
  2196. let that = this.infoModel;
  2197. //处理轮播数据
  2198. let swiperImg = that[fileAttribute];
  2199. if (swiperImg) {
  2200. let number = swiperImg.indexOf(fileData);
  2201. swiperImg.splice(number, 1)
  2202. if (swiperImg.length == 0) {
  2203. swiperImg.push({})
  2204. let textId = fileAttribute + "Remark";
  2205. if (this.infoModel[textId].trim() > 0) {
  2206. this.steps.stepsNow[this.steps.current].status = "finish"
  2207. } else {
  2208. this.steps.stepsNow[this.steps.current].status = "wait"
  2209. }
  2210. } else {
  2211. this.steps.stepsNow[this.steps.current].status = "finish"
  2212. }
  2213. that[fileAttribute] = swiperImg
  2214. }
  2215. },
  2216. /**分割数组*/
  2217. spliceArr(data, fileData) {
  2218. let indexOf = data.indexOf(fileData);
  2219. return data.splice(indexOf, 1)
  2220. },
  2221. /**自定义的上传文件方法*/
  2222. /**自定义的上传文件方法*/
  2223. selfUploadContract(data, fileAttribute) {
  2224. var that = this;
  2225. if (data.file) {
  2226. let formData = new FormData();
  2227. formData.append('file', data.file)
  2228. postAction(this.url.minioUpload, formData).then((res) => {
  2229. if (res.success) {
  2230. that.swiperId = that.swiperId + 1;
  2231. console.log(that.swiperId)
  2232. //文件链接
  2233. let filePath = res.message;
  2234. let swipData = {
  2235. id: that.swiperId,
  2236. urlBase: window._CONFIG['onlinePreviewDomainURL'] + '?url='
  2237. + encodeURIComponent(
  2238. Base64.encode(
  2239. (filePath)
  2240. )),
  2241. url: filePath,
  2242. fileName: data.file.name
  2243. }
  2244. if (that.infoModel[fileAttribute][0].urlBase) {
  2245. that.infoModel[fileAttribute].push(swipData)
  2246. } else {
  2247. that.infoModel[fileAttribute] = []
  2248. //数据发生变化
  2249. that.infoModel[fileAttribute][0] = swipData;
  2250. }
  2251. // 改变步骤条状态
  2252. if (that.infoModel[fileAttribute].length > 0) {
  2253. that.steps.stepsNow[that.steps.current].status = "finish"
  2254. } else {
  2255. that.steps.stepsNow[that.steps.current].status = "wait"
  2256. }
  2257. }
  2258. })
  2259. }
  2260. },
  2261. /**文件上传成功后回调*/
  2262. importHandleChange(info) {
  2263. },
  2264. selfUploadContractView(item) {
  2265. this.idCurrent = this.steps.stepsNow[this.steps.current].id;
  2266. var fileAttribute = this.steps.stepsNow[this.steps.current].id;
  2267. var that = this;
  2268. that.swiperId = that.swiperId + 1;
  2269. console.log(that.swiperId)
  2270. //文件链接
  2271. let swipData = item;
  2272. if (that.infoModel[fileAttribute][0].urlBase) {
  2273. that.infoModel[fileAttribute].push(swipData)
  2274. } else {
  2275. that.infoModel[fileAttribute] = []
  2276. //数据发生变化
  2277. that.infoModel[fileAttribute][0] = swipData;
  2278. }
  2279. // 改变步骤条状态
  2280. if (that.infoModel[fileAttribute].length > 0) {
  2281. that.steps.stepsNow[that.steps.current].status = "finish"
  2282. } else {
  2283. that.steps.stepsNow[that.steps.current].status = "wait"
  2284. }
  2285. this.$message.success(that.steps.stepsNow[that.steps.current].title + "上传成功");
  2286. },
  2287. /**文件格式限制*/
  2288. importBeforeUpload(file) {
  2289. var fileType = file.type;
  2290. if (fileType === 'image') {
  2291. if (fileType.indexOf('image') < 0) {
  2292. this.$message.warning('请上传图片');
  2293. return false;
  2294. }
  2295. } else if (fileType === 'file') {
  2296. if (fileType.indexOf('image') >= 0) {
  2297. this.$message.warning('请上传文件');
  2298. return false;
  2299. }
  2300. }
  2301. return true
  2302. },
  2303. /**返回上一菜单*/
  2304. goBack() {
  2305. this.$router.go(-1);
  2306. this.closeCurrent();
  2307. },
  2308. /**下一步点击事件*/
  2309. nextSteps() {
  2310. if (this.swiperImg.length == 0) {
  2311. this.$message.warn("请先上传文件!")
  2312. return;
  2313. }
  2314. if (this.swiperImg.length == 1) {
  2315. if (!this.swiperImg[0].urlBase) {
  2316. this.$message.warn("请先上传文件!")
  2317. return;
  2318. }
  2319. }
  2320. if (this.current < this.steps.length) {
  2321. this.current = this.current + 1;
  2322. //其他材料
  2323. if (this.steps[this.current].id == "commitment") {
  2324. this.lotData.isShow.commitmentShow = true;
  2325. } else {
  2326. this.lotData.isShow.commitmentShow = false;
  2327. }
  2328. this.currentFileType(this.current);
  2329. }
  2330. },
  2331. /**上一步骤*/
  2332. prevSteps() {
  2333. if (this.current != 0) {
  2334. this.current = this.current - 1;
  2335. //其他材料
  2336. if (this.steps[this.current].id == "commitment") {
  2337. this.lotData.isShow.commitmentShow = true;
  2338. } else {
  2339. this.lotData.isShow.commitmentShow = false;
  2340. }
  2341. // this.currentFileType(this.current);
  2342. }
  2343. },
  2344. /**步骤文件类型对应*/
  2345. currentFileType(current) {
  2346. let that = this;
  2347. this.swiperImg = {}
  2348. //卡类型
  2349. let blockType = that.lotData.blockType;
  2350. //其他材料-承诺涵
  2351. if (that.lotData.isShow.commitmentShow) {
  2352. that.swiperImg = that.lotData.commitmentFiles;
  2353. } else {
  2354. switch (current) {
  2355. case 0:
  2356. if (blockType == "test") {
  2357. that.swiperImg = that.lotData.testCardApplication
  2358. } else {
  2359. that.swiperImg = that.lotData.contractFiles
  2360. }
  2361. break;
  2362. case 1:
  2363. that.swiperImg = that.lotData.empowerFiles
  2364. break;
  2365. case 2:
  2366. that.swiperImg = that.lotData.idCardFiles
  2367. break;
  2368. case 3:
  2369. that.swiperImg = that.lotData.scanningFiles
  2370. break;
  2371. case 4:
  2372. that.swiperImg = that.lotData.riskFiles
  2373. break;
  2374. case 5:
  2375. that.swiperImg = that.lotData.priceFiles
  2376. break;
  2377. }
  2378. }
  2379. //拒绝下标为空 影响轮播样式
  2380. if (that.swiperImg.length == 0) {
  2381. that.swiperImg.push({})
  2382. }
  2383. },
  2384. urlBaseJoin(dataArray, name) {
  2385. let newDataArr = [];
  2386. for (var i in dataArray) {
  2387. let dataArrayElementElement = dataArray[i][name];
  2388. newDataArr.push(dataArrayElementElement);
  2389. }
  2390. return newDataArr.toString();
  2391. }
  2392. }
  2393. }
  2394. ;
  2395. </script>
  2396. <style lang="less" scoped>
  2397. h3 {
  2398. margin: 20px 0 0 10px;
  2399. }
  2400. .thumb-example {
  2401. //width: 864px;
  2402. margin-top: 20px;
  2403. // background: #000;
  2404. }
  2405. .thumb-example1 {
  2406. width: 1200px;
  2407. margin-top: 20px;
  2408. // background: #000;
  2409. }
  2410. .swiper-slide {
  2411. background-size: cover;
  2412. background-position: center;
  2413. }
  2414. .gallery-top {
  2415. // height: 80% !important;
  2416. /*height: 600px;*/
  2417. width: 100%;
  2418. left: 15%;
  2419. margin-bottom: 50px
  2420. }
  2421. .gallery-top1 {
  2422. // height: 80% !important;
  2423. /*height: 600px;*/
  2424. width: 100%;
  2425. left: 15%;
  2426. }
  2427. .gallery-thumbs {
  2428. height: 20% !important;
  2429. box-sizing: border-box;
  2430. padding: 10px 0px;
  2431. /* width: 864px;*/
  2432. margin-left: 2px;
  2433. .swiper-button-next {
  2434. right: 0px;
  2435. }
  2436. .swiper-button-prev {
  2437. left: 0px;
  2438. }
  2439. .swiper-button-next,
  2440. .swiper-button-prev {
  2441. background: #fff;
  2442. width: 45px;
  2443. text-align: center;
  2444. height: 101px;
  2445. top: 26%;
  2446. div {
  2447. margin-top: 30px;
  2448. background: rgb(207, 205, 205);
  2449. height: 45px;
  2450. border-radius: 50%;
  2451. img {
  2452. margin: 7px 0 0 2px;
  2453. width: 30px;
  2454. }
  2455. }
  2456. }
  2457. .swiper-button-next:hover div {
  2458. background: rgb(189, 186, 186);
  2459. }
  2460. .swiper-button-prev:hover div {
  2461. background: rgb(189, 186, 186);
  2462. }
  2463. }
  2464. .gallery-thumbs .swiper-slide {
  2465. width: 20%;
  2466. height: 80px;
  2467. // opacity: 0.4;
  2468. }
  2469. .gallery-thumbs .swiper-slide-active {
  2470. border: 2px solid red;
  2471. }
  2472. .markdown ul > li {
  2473. color: #000000d9;
  2474. font-size: 15px;
  2475. line-height: 3;
  2476. padding-left: 4px;
  2477. list-style-type: circle;
  2478. }
  2479. .liClass ul li {
  2480. //margin-top:-20px;/*设置有序列表项之间的间隔*/
  2481. font-size: 13px;
  2482. }
  2483. .float-info {
  2484. box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  2485. transition: all 0.3s;
  2486. position: fixed;
  2487. bottom: 50px;
  2488. right: 30px;
  2489. width: 55px;
  2490. height: 55px;
  2491. display: flex;
  2492. flex-flow: column;
  2493. justify-content: center;
  2494. align-items: center;
  2495. z-index: 999;
  2496. background: #1890FF;
  2497. border-radius: 50%;
  2498. cursor: pointer;
  2499. }
  2500. .float-infoPhone {
  2501. margin-bottom: 10px;
  2502. float: left;
  2503. right: 11%;
  2504. box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  2505. transition: all 0.3s;
  2506. position: fixed;
  2507. bottom: 3%;
  2508. display: flex;
  2509. flex-flow: column;
  2510. justify-content: center;
  2511. align-items: center;
  2512. z-index: 999;
  2513. //background: #b3d4fc;
  2514. cursor: pointer;
  2515. }
  2516. .a-upload-line-30 {
  2517. line-height: 30px;
  2518. left: 15%;
  2519. position: relative
  2520. }
  2521. .a-textarea-line-30 {
  2522. height: 77px;
  2523. width: 80vh
  2524. }
  2525. .a-card-70 {
  2526. width: 72%;
  2527. float: left;
  2528. left: 2%;
  2529. position: relative
  2530. }
  2531. .a-card-25 {
  2532. float: left;
  2533. width: 25%
  2534. }
  2535. .floating-button {
  2536. position: fixed;
  2537. bottom: 20px;
  2538. right: 20px;
  2539. z-index: 1000;
  2540. border-radius: 50%;
  2541. color: #fff;
  2542. font-size: 24px;
  2543. width: 50px;
  2544. height: 50px;
  2545. text-align: center;
  2546. line-height: 50px;
  2547. transition: all 0.2s ease;
  2548. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  2549. cursor: pointer;
  2550. }
  2551. .floating-button:hover {
  2552. box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  2553. transform: translateY(-5px);
  2554. }
  2555. .floating-button:active {
  2556. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  2557. transform: translateY(2px);
  2558. }
  2559. .cornflowerblue {
  2560. color: cornflowerblue;
  2561. }
  2562. </style>