TaskCheckAudit.vue 126 KB

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