TaskCheckAudit.vue 104 KB

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