TaskCheckAudit.vue 125 KB

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