TaskCheckAudit.vue 113 KB

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