TaskUploadData.vue 82 KB

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