TaskCheckAudit.vue 113 KB

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