TaskCheckAudit.vue 129 KB

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