registrationUpdate.vue 124 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276
  1. <template>
  2. <div :spinning="addIng">
  3. <!-- <div slot="title">
  4. <span style="float: left;position: relative;top: 4px">入网信息登记</span>
  5. </div>-->
  6. <!-- 步骤条-->
  7. <a-card style="margin-bottom:10px">
  8. <!-- v-model:current="current"-->
  9. <a-steps :current="current" size="default">
  10. <a-step v-for="item in steps" :key="item.title" :title="item.title"/>
  11. </a-steps>
  12. </a-card>
  13. <!--身份信息-->
  14. <a-card style="margin-bottom:10px" v-if="current==0">
  15. <div>
  16. <a-form-model
  17. ref="form"
  18. :label-col="labelCol"
  19. :wrapper-col="wrapperCol"
  20. :model="model"
  21. :rules="rules"
  22. >
  23. <div>
  24. <!-- <registation-Modal ref="registationModel" @ok="modalFormOk2"></registation-Modal> :row-class-name="tableRowClassName"-->
  25. <div>
  26. <!-- <a-button type="primary" @click="showModal">研判结果异常展示</a-button> :transformCellText="dataShow" -->
  27. <a-modal v-model:open="open" title="研判结果异常展示" @ok="handleOk" :width="1000">
  28. <template slot="footer" >
  29. <a-button type="primary" style="display:block;margin:0 auto"
  30. @click="handleOk" >已阅</a-button>
  31. </template>
  32. <a-table :columns="columns" :data-source="dataList" :scroll="{ x: 1500, y: 300 }" :pagination="false" :rowClassName="cellStyle" >
  33. <template #bodyCell="{ column }">
  34. <template v-if="column.key === 'operation'">
  35. </template>
  36. </template>
  37. <template v-slot:age="text, record">
  38. <div v-if="parseInt(text)<=23 || parseInt(text)>=60" style="color: red">{{ text }}</div>
  39. <div v-if="parseInt(text)>23 && parseInt(text)<60" >{{ text }}</div>
  40. </template>
  41. <template v-slot:cardStartTimeAndEnd="text, record">
  42. <div v-if="text==='是'" >{{ text }}</div>
  43. <div v-if="text==='否'" style="color: red">{{ text }}</div>
  44. </template>
  45. <template v-slot:judgmentResearchAddress="text, record">
  46. <div v-if="text==='异常'" style="color: red" >{{ text }}</div>
  47. <div v-if="text==='正常'" >{{ text }}</div>
  48. </template>
  49. <template v-slot:judgmentResearch="text, record">
  50. <div v-if="text==='异常'" style="color: red" >{{ text }}</div>
  51. <div v-if="text==='正常'" >{{ text }}</div>
  52. </template>
  53. <template v-slot:calltestResults="text, record">
  54. <div v-if="text==='关机'" style="color: red" >{{ text }}</div>
  55. <div v-if="text==='未接通'" style="color: red" >{{ text }}</div>
  56. <div v-if="text==='可接通不知晓入网事宜'" style="color: red" >{{ text }}</div>
  57. <div v-if="text==='可接通认可办理'" >{{ text }}</div>
  58. </template>
  59. <template v-slot:numberResults="text, record">
  60. <div v-if="text==='非高危'" >{{ text }}</div>
  61. <div v-else style="color: red" >{{ text }}</div>
  62. </template>
  63. </a-table>
  64. </a-modal>
  65. </div>
  66. <!-- <a-button type="link" @click="keyupInfoSelect()">证件编号检索</a-button>-->
  67. <a-row>
  68. <a-col :span="6">
  69. <a-form-model-item required label="证件编号" prop="cardNo" :labelCol="{ span:8 }" :wrapperCol="{ span: 14 }" >
  70. <!-- <a-radio-group v-model="model.cardNo" button-style="solid" slot-scope="text, record">-->
  71. <a-input v-model="model.cardNo" placeholder="请输入证件编号" @keyup="keyupInfo('')" id="cardNo" :disabled="isDisabled" @blur="showCheck0('cardNo')"></a-input>
  72. <!-- </a-radio-group>--><a-icon slot="prefix" type="user" :style="{ color: 'rgba(0,0,0,.25)' }"/>
  73. </a-form-model-item>
  74. </a-col>
  75. <a-col :span="6">
  76. <a-form-model-item label="客户名称" prop="industry" :labelCol="{ span:8 }" :wrapperCol="{ span: 14 }" >
  77. <!-- <a-radio-group v-model="model.cardName" button-style="solid" prop="cardNo">-->
  78. <a-input v-model="model.cardName" placeholder="客户名称" id="cardName" @blur="showCheck0('cardName')" :disabled="isDisabled"></a-input>
  79. <!-- </a-radio-group>-->
  80. </a-form-model-item>
  81. </a-col>
  82. <!-- <a-col :span="8" >-->
  83. <!-- <a-form-item label="证件期限(开始日期)" v-bind="labelCol2" prop="cardStartTime">-->
  84. <!-- <j-date :show-time="true" prop="cardStartTime" date-format="YYYY-MM-DD" placeholder="请选择开始时间" class="query-group-cust" v-model="model.cardStartTime"></j-date>-->
  85. <!-- </a-form-item>-->
  86. <!-- </a-col>-->
  87. <a-col :span="6">
  88. <div>
  89. <div style="float:left;margin: 10px 3px;"> <div class="redInfo" v-if="showIdCardAddress">*</div> 证件地址:</div>
  90. <!-- <a-radio-group v-model="model.cardName" button-style="solid" prop="cardNo">-->
  91. <div style="float:left;margin: 5px 0px;">
  92. <a-input v-model="model.idCardAddress" placeholder="证件地址" id="idCardAddress" @blur="showCheck0('idCardAddress')" :disabled="isDisabled"></a-input>
  93. </div>
  94. <!-- </a-radio-group>-->
  95. </div>
  96. </a-col>
  97. <a-col :span="6" >
  98. <!-- <a-form-item label="身份证证件有效期" prop="industry" @click="showCheck0('cardStartTime')" :labelCol="{ span:6 }" :wrapperCol="{ span: 16 }" style="margin: 0px 0px">-->
  99. <!-- <j-date :show-time="true" date-format="YYYY-MM-DD" placeholder="请选择开始时间" class="query-group-cust"-->
  100. <!-- v-model="model.cardStartTime" id ="cardStartTime" @change="showCheck0('cardStartTime')"></j-date>-->
  101. <!-- <span class="query-group-split-cust"></span>-->
  102. <!-- <j-date :show-time="true" date-format="YYYY-MM-DD" placeholder="请选择结束时间" class="query-group-cust"-->
  103. <!-- v-model="model.cardEndTime" id="cardEndTime" @change="showCheck0('cardEndTime')"></j-date>-->
  104. <!-- <div v-if="cardDateNull" style="color: red">请选择身份证证件有效期</div>-->
  105. <!-- </a-form-item>-->
  106. <a-form-model-item label="身份证是否在有效期" prop="modelOperator" :labelCol="{ span:12 }"
  107. :wrapperCol="{ span: 11 }" style="margin: 0px 0px">
  108. <a-radio-group v-model="model.cardStartTimeAndEnd" button-style="solid" id="cardStartTimeAndEnd" @change="showCheck0('cardStartTimeAndEnd')" :disabled="isDisabled">
  109. <a-radio value="1" >是</a-radio>
  110. <a-radio value="2" >否</a-radio>
  111. </a-radio-group>
  112. <div v-if="cardStartTimeAndEndShow" style="color: red">身份证是否在有效期</div>
  113. </a-form-model-item>
  114. </a-col>
  115. </a-row>
  116. </div>
  117. </a-form-model>
  118. </div>
  119. </a-card>
  120. <!-- 入网信息登记表单-->
  121. <a-card style="margin-bottom:10px" v-if="current==0">
  122. <div>
  123. <a-form-model
  124. ref="form"
  125. :label-col="labelCol"
  126. :wrapper-col="wrapperCol"
  127. :model="model"
  128. :rules="rules"
  129. >
  130. <div>
  131. <!-- <a-divider orientation="left">填写营业厅入网提示卡-->
  132. <!-- </a-divider>-->
  133. <a-row>
  134. <a-col :span="7">
  135. <a-form-model-item label="拨测联系电话" :labelCol="{ span:8 }" :wrapperCol="{ span: 12 }" prop="phone">
  136. <!-- <a-radio-group v-model="model.phone" button-style="solid">-->
  137. <a-input v-model="model.phone" placeholder="请输入拨测联系电话"
  138. @keyup="keyupInfoPhone(model.phone)" @blur="showCheck0('phone')" id="phone" :disabled="isDisabled"></a-input>
  139. <!-- </a-radio-group>-->
  140. </a-form-model-item>
  141. </a-col>
  142. <a-col :span="7">
  143. <a-form-model-item label="联电归属地" prop="industry" :labelCol="{ span:8 }" :wrapperCol="{ span: 12 }">
  144. <!-- <a-radio-group v-model="model.address" button-style="solid">-->
  145. <a-input v-model="model.address" placeholder="请输入联电归属地" id="address" @blur="showCheck0('address')" :disabled="isDisabled"></a-input>
  146. <!-- </a-radio-group>-->
  147. </a-form-model-item>
  148. </a-col>
  149. <!-- <a-col :span="8">-->
  150. <!-- <a-form-model-item label="现用号码使用年限" prop="userOpenState" v-bind="labelCol2">-->
  151. <!-- <a-radio-group v-model="model.useLife" button-style="solid">-->
  152. <!-- <a-input v-model="model.useLife" placeholder="请输入使用年限"></a-input>-->
  153. <!-- </a-radio-group>-->
  154. <!-- </a-form-model-item>-->
  155. <!-- </a-col>-->
  156. <!-- <a-col :span="8">-->
  157. <!-- <a-form-model-item label="运营商类型" prop="userOpenState" v-bind="labelCol2">-->
  158. <!-- <a-radio-group v-model="model.phonePurpose" button-style="solid">-->
  159. <!-- <a-input v-model="model.phonePurpose" placeholder="请输入运营商类型"></a-input>-->
  160. <!-- </a-radio-group>-->
  161. <!-- </a-form-model-item>-->
  162. <!-- </a-col>-->
  163. <a-col :span="10">
  164. <a-form-model-item label="客户现用号码一证通查结果" :labelCol="{ span:9 }"
  165. :wrapperCol="{ span: 13}" prop="operatorType" style="margin: 0px 0px">
  166. <a-checkbox-group v-model="model.operatorType" button-style="solid" @change="showCheck0('operatorType')" :disabled="isDisabled">
  167. <a-checkbox value="1">移动</a-checkbox>
  168. <!-- <span v-if="this.model.yidong>5 " style="color: red">[{{ this.model.yidong }}]</span><span-->
  169. <!-- v-if="this.model.yidong<5 " style="color: green">[{{ this.model.yidong }}]</span>-->
  170. <a-input-number id="inputNumberyidong" v-model="model.yidong" style="width: 45px" :min="0" :max="100" :disabled="isDisabled"/>
  171. <a-checkbox value="2" style='margin-left: 5px'>联通</a-checkbox>
  172. <!-- <span v-if="this.model.liantong>5 " style="color: red">[{{ this.model.liantong }}]</span><span-->
  173. <!-- v-if="this.model.liantong<5 " style="color: green">[{{ this.model.liantong }}]</span>-->
  174. <a-input-number id="inputNumberliantong" v-model="model.liantong" style="width: 45px;height: 30px" :min="0" :max="100" :disabled="isDisabled"/>
  175. <br>
  176. <a-checkbox value="3" >电信</a-checkbox>
  177. <!-- <span v-if="this.model.dianxin>5 " style="color: red">[{{ this.model.dianxin }}]</span><span-->
  178. <!-- v-if="this.model.dianxin<5 " style="color: green">[{{ this.model.dianxin }}]</span>-->
  179. <a-input-number id="inputNumberdianxin" v-model="model.dianxin" style="width: 45px" :min="0" :max="100" :disabled="isDisabled"/>
  180. <a-checkbox value="4" style='margin-left: 5px'>其他</a-checkbox>
  181. <a-input-number id="inputNumberqita" v-model="model.qita" style="width: 45px" :min="0" :max="100" :disabled="isDisabled" />
  182. <!-- <span v-if="this.model.qita>5 " style="color: red">[{{ this.model.qita }}]</span><span-->
  183. <!-- v-if="this.model.qita<5 " style="color: green">[{{ this.model.qita }}]</span>-->
  184. </a-checkbox-group>
  185. <div v-if="operatorTypeNull" style="color: red">请选择客户现用号码一证通查结果</div>
  186. </a-form-model-item>
  187. </a-col>
  188. </a-row>
  189. <a-row>
  190. <a-col :span="7">
  191. <a-form-model-item label="新办号码用途" prop="phonePurpose" :labelCol="{ span:8 }" :wrapperCol="{ span: 12 }">
  192. <!-- <a-radio-group v-model="model.phonePurpose" button-style="solid">-->
  193. <a-input v-model="model.phonePurpose" placeholder="请输入用途" id="phonePurpose" @blur="showCheck0('phonePurpose')" :disabled="isDisabled"></a-input>
  194. <!-- </a-radio-group>-->
  195. </a-form-model-item>
  196. </a-col>
  197. <a-col :span="7">
  198. <a-form-model-item label="客户所属行业" prop="industry" :labelCol="{ span:8 }" :wrapperCol="{ span: 12 }"style="margin: 0px 0px" >
  199. <!-- <j-dict-select-tag placeholder="请选择客户所属行业" v-model="model.industry" dictCode="custom_industry" id="industry" @change="showCheck0('industry')" />-->
  200. <div @click="handleSearch('')">
  201. <a-auto-complete
  202. style="width: 180px"
  203. placeholder="输入搜索关键字"
  204. option-label-prop="value"
  205. @select="handleSelect"
  206. @search="handleSearch"
  207. v-model="model.industry"
  208. :defaultActiveFirstOption="false"
  209. :allowClear="true" :disabled="isDisabled">
  210. <a-spin v-if="fetching" class="auto-spin" slot="notFoundContent" size="small" />
  211. <template slot="dataSource">
  212. <a-select-option v-for="(item, index) in getDataSysDictItem" :key="index" :value="item.value" @click="clickhandleSearch(item.value)" :disabled="isDisabled" >
  213. <a-row type="flex" justify="space-between" align="middle" @change="showCheck0('industry')">
  214. <a-col>{{ item.value }}</a-col>
  215. </a-row>
  216. </a-select-option>
  217. </template>
  218. </a-auto-complete>
  219. </div>
  220. <a-input v-if="industryNullQiTa" v-model="industryQiTa" placeholder="请填写客户所属行业(其它)" id="" @keyup="showCheck0('industryQiTa')" :disabled="isDisabled"></a-input>
  221. <div v-if="industryNull" style="color: red" >请选择客户所属行业</div>
  222. </a-form-model-item>
  223. </a-col>
  224. <!-- <a-col :span="9">-->
  225. <!-- <a-form-model-item label="客户现用号码一证通查结果" prop="modelOperator" :labelCol="{ span:10 }"-->
  226. <!-- :wrapperCol="{ span: 13}" style="margin: 0px 0px">-->
  227. <!-- <a-radio-group v-model="model.operator" button-style="solid" id="operator" @change="showCheck0('operator')" v-bind:disabled="isDisabled">-->
  228. <!-- <a-radio value="1" >本地运营商</a-radio>-->
  229. <!-- <a-radio value="2" >异地运营商</a-radio>-->
  230. <!-- </a-radio-group>-->
  231. <!-- <div v-if="operatorNull" style="color: red">请选择客户现用号码一证通查结果</div>-->
  232. <!-- </a-form-model-item>-->
  233. <!-- </a-col>-->
  234. </a-row>
  235. <a-row>
  236. </a-row>
  237. <a-row>
  238. <a-col :span="15">
  239. <a-form-model-item label="拨测结果" prop="calltestResultsName" :labelCol="{ span: 3 }" :wrapperCol="{ span: 15 }" style="margin: 0px 0px">
  240. <a-radio-group v-model="model.calltestResults" button-style="solid" @change="showCheck0('calltestResults')" :disabled="isDisabled">
  241. <a-radio value="1" style="color: red">关机</a-radio>
  242. <a-radio value="2" style="color: red">未接通</a-radio>
  243. <a-radio value="3" style="color: red">可接通不知晓入网事宜</a-radio>
  244. <a-radio value="4" >可接通认可办理</a-radio>
  245. </a-radio-group>
  246. <a-button type="link" style="color: red" v-if="this.model.calltestResults==='1' ">拨测号码关机!</a-button>
  247. <div v-if="calltestResultsNull" style="color: red">请选择拨测结果</div>
  248. </a-form-model-item>
  249. </a-col>
  250. </a-row>
  251. </div>
  252. </a-form-model>
  253. </div>
  254. </a-card>
  255. <a-card style="margin-bottom:10px" v-if="current==1">
  256. <div>
  257. <a-form-model
  258. ref="form"
  259. :label-col="labelCol"
  260. :wrapper-col="wrapperCol"
  261. :model="model"
  262. :rules="rules"
  263. >
  264. <div style="overflow: auto">
  265. <a-list size="large" bordered>
  266. <template>
  267. <a-list-item class="box" style='height: 40px' id='directRequirementsId' @mouseover="blue('directRequirementsId')" @mouseleave="black('directRequirementsId')" >
  268. <a-col :span="12" >
  269. <div>
  270. <div style="float:left;margin: 20px 3px;" id="directRequirements"><div class="redInfo" >*</div>1、客户进厅直接要求办理移动号码入网</div>
  271. <div style="float:right;margin: 20px 10px;" >
  272. <a-radio-group v-model="model.directRequirements" button-style="solid" @change="showCheck1('directRequirements')" :disabled="isDisabled">
  273. <a-radio :value="1">是</a-radio>
  274. <a-radio :value="2">否</a-radio>
  275. </a-radio-group>
  276. </div>
  277. </div>
  278. </a-col>
  279. <a-col :span="12">
  280. <div style="clear: both"></div>
  281. <a-input v-model="model.directRequirementsNode" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  282. </a-col>
  283. </a-list-item>
  284. <a-list-item class="box" id='passOneId' style='height: 40px' @mouseover="blue('passOneId')" @mouseleave="black('passOneId')">
  285. <a-col :span="12" >
  286. <div>
  287. <div style="float:left;margin: 20px 3px;" id="passOne"><div class="redInfo" >*</div>2、客户主动申请一次性办理超过一个号码</div>
  288. <div style="float:right;margin: 20px 10px;" >
  289. <a-radio-group v-model="model.passOne" button-style="solid" @change="showCheck1('passOne')" :disabled="isDisabled">
  290. <a-radio :value="1">是</a-radio>
  291. <a-radio :value="2">否</a-radio>
  292. </a-radio-group>
  293. </div>
  294. </div>
  295. </a-col>
  296. <a-col :span="12">
  297. <div style="clear: both"></div>
  298. <a-input v-model="model.passOneNode" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  299. </a-col>
  300. </a-list-item>
  301. <a-list-item class="box" style='height: 40px' id='nonConformanceId' @mouseover="blue('nonConformanceId')" @mouseleave="black('nonConformanceId')">
  302. <a-col :span="12" >
  303. <div>
  304. <div style="float:left;margin: 20px 3px;" id="nonConformance"><div class="redInfo" >*</div>3、所办号码月缴费金额不符合客户消费能力</div>
  305. <div style="float:right;margin: 20px 10px;" >
  306. <a-radio-group v-model="model.nonConformance" button-style="solid" @change="showCheck1('nonConformance')" :disabled="isDisabled">
  307. <a-radio :value="1">是</a-radio>
  308. <a-radio :value="2">否</a-radio>
  309. </a-radio-group>
  310. </div>
  311. </div>
  312. </a-col>
  313. <a-col :span="12">
  314. <div style="clear: both"></div>
  315. <a-input v-model="model.nonConformanceNode" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  316. </a-col>
  317. </a-list-item>
  318. <a-list-item class="box" style='height: 40px' id='isDxNumberId' @mouseover="blue('isDxNumberId')" @mouseleave="black('isDxNumberId')">
  319. <a-col :span="12" >
  320. <div>
  321. <div style="float:left;margin: 20px 3px;" id="isDxNumber"><div class="redInfo" >*</div>4、客户名下无电信号码</div>
  322. <div style="float:right;margin: 20px 10px;" >
  323. <a-radio-group v-model="model.isDxNumber" button-style="solid" @change="showCheck1('isDxNumber')" :disabled="isDisabled">
  324. <a-radio :value="1">是</a-radio>
  325. <a-radio :value="2">否</a-radio>
  326. </a-radio-group>
  327. </div>
  328. </div>
  329. </a-col>
  330. <a-col :span="12">
  331. <div style="clear: both"></div>
  332. <a-input v-model="model.isDxNumberNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  333. </a-col>
  334. </a-list-item>
  335. <a-list-item class="box" style='height: 40px' id='isBroadbandId' @mouseover="blue('isBroadbandId')" @mouseleave="black('isBroadbandId')">
  336. <a-col :span="12">
  337. <div>
  338. <div style="float:left;margin: 20px 3px;" id="isBroadband"><div class="redInfo" >*</div>5、申请号码办理征信类、融合宽带业务</div>
  339. <div style="float:right;margin: 20px 10px;" >
  340. <a-radio-group v-model="model.isBroadband" button-style="solid" @change="showCheck1('isBroadband')" :disabled="isDisabled">
  341. <a-radio :value="1">是</a-radio>
  342. <a-radio :value="2">否</a-radio>
  343. </a-radio-group>
  344. </div>
  345. </div>
  346. </a-col>
  347. <a-col :span="12">
  348. <div style="clear: both"></div>
  349. <a-input v-model="model.isBroadbandNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  350. </a-col>
  351. </a-list-item>
  352. <a-list-item class="box" style='height: 40px' id='isUseToId' @mouseover="blue('isUseToId')" @mouseleave="black('isUseToId')">
  353. <a-col span="12">
  354. <div>
  355. <div style="float:left;margin: 20px 3px;" id="isUseTo"><div class="redInfo" >*</div>6、 申请号码使用用途异常</div>
  356. <div style="float:right;margin: 20px 10px;" >
  357. <a-radio-group v-model="model.isUseTo" button-style="solid" @change="showCheck1('isUseTo')" :disabled="isDisabled">
  358. <a-radio :value="1">是</a-radio>
  359. <a-radio :value="2">否</a-radio>
  360. </a-radio-group>
  361. </div>
  362. </div>
  363. </a-col>
  364. <a-col :span="12">
  365. <div style="clear: both"></div>
  366. <a-input v-model="model.isUseToNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  367. </a-col>
  368. </a-list-item>
  369. <a-list-item class="box" style='height: 40px' id='isRefundId' @mouseover="blue('isRefundId')" @mouseleave="black('isRefundId')">
  370. <a-col :span="12">
  371. <div>
  372. <div style="float:left;margin: 20px 3px;" id="isRefund"><div class="redInfo" >*</div>7、客户名下号码存在异常高频率充值、退费</div>
  373. <div style="float:right;margin: 20px 10px;" >
  374. <a-radio-group v-model="model.isRefund" button-style="solid" @change="showCheck1('isRefund')" :disabled="isDisabled">
  375. <a-radio :value="1">是</a-radio>
  376. <a-radio :value="2">否</a-radio>
  377. </a-radio-group>
  378. </div>
  379. </div>
  380. </a-col>
  381. <a-col :span="12">
  382. <div style="clear: both"></div>
  383. <a-input v-model="model.isRefundNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  384. </a-col>
  385. </a-list-item>
  386. <a-list-item class="box" style='height: 40px' id='isShutDownId' @mouseover="blue('isShutDownId')" @mouseleave="black('isShutDownId')">
  387. <a-col span="12">
  388. <div>
  389. <div style="float:left;margin: 20px 3px;" id="isShutDown"><div class="redInfo" >*</div>8、客户名下已有号码(含已注销号码)存在各类关停</div>
  390. <div style="float:right;margin: 20px 10px;" >
  391. <a-radio-group v-model="model.isShutDown" button-style="solid" @change="showCheck1('isShutDown')" :disabled="isDisabled">
  392. <a-radio :value="1">是</a-radio>
  393. <a-radio :value="2">否</a-radio>
  394. </a-radio-group>
  395. </div>
  396. </div>
  397. </a-col>
  398. <a-col :span="12">
  399. <div style="clear: both"></div>
  400. <a-input v-model="model.isShutDownNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  401. </a-col>
  402. </a-list-item>
  403. <a-list-item class="box" style='height: 40px' id='isNewlyId' @mouseover="blue('isNewlyId')" @mouseleave="black('isNewlyId')">
  404. <a-col span="12">
  405. <div>
  406. <div style="float:left;margin: 20px 3px;" id="isNewly"><div class="redInfo" >*</div>9、客户名下在用号码无使用记录,仍要求新办号码</div>
  407. <div style="float:right;margin: 20px 10px;" >
  408. <a-radio-group v-model="model.isNewly" button-style="solid" @change="showCheck1('isNewly')" :disabled="isDisabled">
  409. <a-radio :value="1">是</a-radio>
  410. <a-radio :value="2">否</a-radio>
  411. </a-radio-group>
  412. </div>
  413. </div>
  414. </a-col>
  415. <a-col :span="12">
  416. <div style="clear: both"></div>
  417. <a-input v-model="model.isNewlyNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  418. </a-col>
  419. </a-list-item>
  420. <a-list-item class="box" style='height: 40px' id='isChannelId' @mouseover="blue('isChannelId')" @mouseleave="black('isChannelId')">
  421. <a-col span="12">
  422. <div>
  423. <div style="float:left;margin: 20px 3px;" id="isChannel"><div class="redInfo" >*</div>10、在多个渠道多频次入网的异常情况</div>
  424. <div style="float:right;margin: 20px 10px;" >
  425. <a-radio-group v-model="model.isChannel" button-style="solid" @change="showCheck1('isChannel')" :disabled="isDisabled">
  426. <a-radio :value="1">是</a-radio>
  427. <a-radio :value="2">否</a-radio>
  428. </a-radio-group>
  429. </div>
  430. </div>
  431. </a-col>
  432. <a-col :span="12">
  433. <div style="clear: both"></div>
  434. <a-input v-model="model.isChannelNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  435. </a-col>
  436. </a-list-item>
  437. <a-list-item class="box" style='height: 40px' id='isInvolvingFraudId' @mouseover="blue('isInvolvingFraudId')" @mouseleave="black('isInvolvingFraudId')">
  438. <a-col span="12">
  439. <div>
  440. <div style="float:left;margin: 20px 3px;" id="isInvolvingFraud"><div class="redInfo" >*</div>11、黑名单到期客户新入网的高危疑似涉诈号码</div>
  441. <div style="float:right;margin: 20px 10px;" >
  442. <a-radio-group v-model="model.isInvolvingFraud" button-style="solid" @change="showCheck1('isInvolvingFraud')" :disabled="isDisabled">
  443. <a-radio :value="1">是</a-radio>
  444. <a-radio :value="2">否</a-radio>
  445. </a-radio-group>
  446. </div>
  447. </div>
  448. </a-col>
  449. <a-col :span="12">
  450. <div style="clear: both"></div>
  451. <a-input v-model="model.isInvolvingFraudNote" placeholder="请输入排查结果备注信息" style="margin: 3px 3px;width: 400px;float: right" :disabled="isDisabled"></a-input>
  452. </a-col>
  453. </a-list-item>
  454. </template>
  455. </a-list>
  456. </div>
  457. </a-form-model>
  458. </div>
  459. </a-card>
  460. <a-card style="margin-bottom:10px" v-if="current==2 && !this.showInfo">
  461. <div>
  462. <a-form-model
  463. ref="form"
  464. :label-col="labelCol"
  465. :wrapper-col="wrapperCol"
  466. :model="model"
  467. :rules="rules"
  468. >
  469. <div>
  470. <a-list size="large" bordered>
  471. <a-list-item>
  472. <a-col :span="5" >
  473. </a-col>
  474. <a-col :span="24">
  475. <a-form ref="form" :model="model" >
  476. <!-- 这个的v-for是核心是重点,一定要明白! -->
  477. <div v-for="(item,index) in array" :key="index">
  478. <a-form-model-item label=" 新办号码" prop="industry" :labelCol="{ span: 3 }" :wrapperCol="{ span: 18 }">
  479. <a-input style="width:20%;margin-right:10px" v-model="form.value[index]" placeholder="请输入新办号码"></a-input>
  480. <a-button type="link" @click="add">[ + ]</a-button>
  481. <a-button type="link" @click="del(index)">[ - ]</a-button>
  482. </a-form-model-item>
  483. </div>
  484. </a-form>
  485. </a-col>
  486. <a-col :span="18">
  487. </a-col>
  488. </a-list-item>
  489. <a-list-item>
  490. <a-col :span="16">
  491. <a-form-model-item id="numberResults" label=" 是否将高危号码上报蓝、紫名单或不可复开关停" v-bind="labelCol1ProMaxPlus" prop="industry">
  492. <a-checkbox-group v-model="model.numberResults" style="width: 100%">
  493. <a-row>
  494. <template v-for="(des) in this.optionsWithDisabled">
  495. <a-col :span="8">
  496. <a-checkbox :value="des.value" name="numberResults" @change="check3('numberResults'+des.value)" @click="checkboxT(des.value)" :disabled="disabledList.includes(des.value)">{{ des.text }}</a-checkbox>
  497. </a-col>
  498. </template>
  499. </a-row>
  500. </a-checkbox-group>
  501. <div v-if="numberResults" style="color: red">请选择是否将高危号码上报蓝、紫名单或不可复开关停</div>
  502. </a-form-model-item>
  503. </a-col>
  504. </a-list-item>
  505. </a-list>
  506. </div>
  507. </a-form-model>
  508. </div>
  509. </a-card>
  510. <a-card style="margin-bottom:10px" v-if="current==2 && this.showInfo ">
  511. <div>
  512. <a-form-model
  513. ref="form"
  514. :label-col="labelCol"
  515. :wrapper-col="wrapperCol"
  516. :model="model"
  517. :rules="rules"
  518. >
  519. <a-result
  520. status="success"
  521. title="系统未发现异常,请受理人员进行进一步研判!"
  522. sub-title="success." v-if="riskShow"
  523. >
  524. <template #extra>
  525. </template>
  526. </a-result>
  527. <div id="showInfo" v-if="!riskShow">
  528. <!-- <a-col :span="24">-->
  529. <!-- <div>证件编号 : 【 {{ this.model.cardNo }} 】 客户名称:【 {{ this.model.cardName }} 】 身份证证件有效期【-->
  530. <!-- {{ this.model.cardStartTime }}~{{ this.model.cardEndTime }}】-->
  531. <!-- </div>-->
  532. <!-- <div>拨测联系电话: 【 {{ this.model.phone }} 】 拨测结果: 【 {{ this.calltestResultsName }}】</div>-->
  533. <!-- <div>营业厅地址: 【 {{ this.companyName }}&#45;&#45;{{ this.hallName }} 】 工作地址:-->
  534. <!-- 【{{ this.model.wordAddress }}】现住地址(到村/小区) 【{{ this.model.currentAddress }}】-->
  535. <!-- </div>-->
  536. <!-- </a-col>-->
  537. <a-col :span="24" >
  538. <div v-for="value in newDatas" style="color: red">
  539. {{ value }}
  540. </div>
  541. </a-col>
  542. <a-table :columns="columns2" :data-source="dataRisk" bordered :scroll="{ y: 1000 }" :pagination="false">
  543. <template #bodyCell="{ column, text }">
  544. <template v-if="column.dataIndex === 'name'">
  545. <a>{{ text }}</a>
  546. </template>
  547. </template>
  548. <template v-slot:text="text, record">
  549. <div style="color: red">{{ text }}</div>
  550. </template>
  551. <!-- <template #title>Header</template>-->
  552. <!-- <template #footer>Footer</template>-->
  553. </a-table>
  554. </div>
  555. <a-col :span="24" v-if="showDataLog">
  556. <div >
  557. <h1 style="text-align:center;color: #2eabff">修改记录</h1>
  558. </div>
  559. </a-col>
  560. <a-table :columns="columns3" :data-source="dataLog" bordered v-if="showDataLog" :scroll="{ y: 500 }" :pagination="false">
  561. <template #bodyCell="{ column, text }">
  562. <template v-if="column.dataIndex === 'name'">
  563. <a>{{ text }}</a>
  564. </template>
  565. </template>
  566. </a-table>
  567. </a-form-model>
  568. </div>
  569. </a-card>
  570. <!--附加信息-->
  571. <a-card style="margin-bottom:10px" v-show="current==0">
  572. <div>
  573. <a-form-model
  574. ref="form"
  575. :label-col="labelCol"
  576. :wrapper-col="wrapperCol"
  577. :model="model"
  578. :rules="rules"
  579. >
  580. <div>
  581. <!-- <a-divider orientation="left">附加信息-->
  582. <!-- </a-divider>-->
  583. <a-row>
  584. <a-col :span="12">
  585. <a-row>
  586. <a-col>
  587. <a-form-model-item label="营业厅地址" prop="sysBusinessHallAndSysCompany" v-bind="labelCol2">
  588. <a-col :span="10">
  589. <a-select placeholder="请选择分公司" v-model="model.company" id="company" :disabled="isDisabled">
  590. <a-select-option v-for="(item,index) in sysCompany" :key="item.id" :value="item.id"
  591. @click="change(item.id)">{{ item.name }}
  592. </a-select-option>
  593. </a-select>
  594. </a-col>
  595. <a-col :span="10">
  596. <a-select placeholder="请选择营业厅地址" v-model="model.sysBusinessHall" style="margin: 0px 0px;width: 200px" :disabled="isDisabled">
  597. <a-select-option v-for="item in sysBusinessHallList" :key="item.id" :value="item.id"
  598. @click="searchKeyWordsysBusinessHall('中国电信'+item.name +'coordinate'+ item.coordinate,'businessAddress')">
  599. {{ item.name }}
  600. </a-select-option>
  601. </a-select>
  602. </a-col>
  603. <br>
  604. <div v-if="sysBusinessHallNull" style="color: red;margin: 0px 0px" >请选择营业厅地址</div>
  605. </a-form-model-item>
  606. </a-col>
  607. </a-row>
  608. <a-row>
  609. <a-col>
  610. <a-form-model-item label="工作地址" prop="industry" :labelCol="{ span:7}" :wrapperCol="{ span: 7}">
  611. <!-- <a-radio-group v-model="model.wordAddress" button-style="solid">-->
  612. <a-input v-model="model.wordAddress" placeholder="请输入工作地址"
  613. @keyup="searchKeyWord('model.wordAddress')" id="wordAddress" @blur="showCheck0('wordAddress')" :disabled="isDisabled"></a-input>
  614. <div class="map_search_result" v-show="this.showsearchResult">
  615. <ul style=" border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
  616. <li style=" border-radius: 5px;list-style: none;border: 0px solid;padding: 0px; " @click="markerResult(item,'wordAddress')" v-for="(item,index) in poiList" :key="index">
  617. {{ item.name }}
  618. </li>
  619. </ul>
  620. </div>
  621. <!-- </a-radio-group>-->
  622. </a-form-model-item>
  623. </a-col>
  624. </a-row>
  625. <a-row>
  626. <a-col>
  627. <a-form-model-item label="现住地址(到村/小区)" prop="industry" :labelCol="{ span:7}" :wrapperCol="{ span: 7}">
  628. <!-- <a-radio-group v-model="model.currentAddress" button-style="solid">-->
  629. <a-input v-model="model.currentAddress" placeholder="请输入现住地址"
  630. @keyup="searchKeyWord('model.currentAddress')" id="currentAddress" @blur="showCheck0('currentAddress')" :disabled="isDisabled"></a-input>
  631. <div class="map_search_result" v-show="this.showsearchcurrentAddress">
  632. <ul style=" border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
  633. <li style=" border-radius: 5px;list-style: none;border: 0px solid;padding: 0px; "@click="markerResult(item,'currentAddress')" v-for="(item,index) in poiList"
  634. :key="index">{{ item.name }}
  635. </li>
  636. </ul>
  637. </div>
  638. <!-- </a-radio-group>-->
  639. </a-form-model-item>
  640. </a-col>
  641. </a-row>
  642. <a-row>
  643. <a-col :span="24">
  644. <a-form-model-item label="智能地址研判" prop="userOpenState" :labelCol="{span:7}"
  645. :wrapperCol="{span:12}">
  646. <a-radio-group v-model="model.judgmentResearch" button-style="solid" @change="showCheck0('judgmentResearch')">
  647. <a-radio value="1" style="color: red " :disabled="judgmentResearchDisabledY">智能判研-异常</a-radio>
  648. <a-radio value="2" :disabled="judgmentResearchDisabledZ">智能判研-正常</a-radio>
  649. </a-radio-group>
  650. <div v-if="judgmentResearchNull" style="color: red;margin-left: 40px">请选择地址研判</div>
  651. </a-form-model-item>
  652. </a-col>
  653. </a-row>
  654. <a-row>
  655. <a-col :span="24">
  656. <a-form-model-item label="人工地址判研" prop="userOpenState" :labelCol="{span:7}"
  657. :wrapperCol="{span:12}">
  658. <a-radio-group v-model="model.judgmentResearchAddress" button-style="solid" @change="showCheck0('judgmentResearchAddress')" :disabled="isDisabled">
  659. <a-radio value="1" style="color: red">人工判研-异常</a-radio>
  660. <a-radio value="2">人工判研-正常</a-radio>
  661. </a-radio-group>
  662. <div v-if="judgmentResearchAddressShow" style="color: red;margin-left: 40px">请选择判研结果</div>
  663. </a-form-model-item>
  664. </a-col>
  665. </a-row>
  666. </a-col>
  667. <a-col :span="9">
  668. <div>
  669. <div id="container" :style="{width: '600px', height: '300px'}"></div>
  670. </div>
  671. </a-col>
  672. </a-row>
  673. </div>
  674. </a-form-model>
  675. </div>
  676. </a-card>
  677. <a-card style="position: relative;bottom: 0;width: 100%">
  678. <div style="text-align: center">
  679. <a-button v-if=" !this.showInfo" style="margin-right: 8px" @click="terminatingOperation" :disabled="isDisabled">终止</a-button>
  680. <a-button v-if="current < steps.length - 1 && !this.showInfo" type="primary" @click="nextSteps">下一步</a-button>
  681. <a-button
  682. v-if="current == steps.length - 1 && !this.showInfo"
  683. @click="submitBusiness"
  684. type="primary" :disabled="isDisabled"
  685. >
  686. 提交
  687. </a-button>
  688. <a-button v-if="current > 0 && !this.showInfo" style="margin-left: 8px" @click="prevSteps">上一步</a-button>
  689. <a-button v-if="current==2 && this.showInfo" style="margin-left: 8px;margin-right: 8px" @click="terminatingPrevSteps">上一步</a-button>
  690. <a-button @click="continueOperation" type="primary" v-if="current==2 && this.showInfo ">
  691. 继续操作
  692. </a-button>
  693. <a-button v-if="current==2 && this.showInfo " style="margin-left: 8px" @click="terminatingOperation" :disabled="isDisabled">终止操作
  694. </a-button>
  695. </div>
  696. </a-card>
  697. </div>
  698. </template>
  699. <script>
  700. import Popup from './PopupSubTable.vue';
  701. import {httpAction, postAction, getAction} from "@api/manage";
  702. import {JeecgListMixin} from '@/mixins/JeecgListMixin'
  703. import AMapLoader from '@amap/amap-jsapi-loader'
  704. import {reactive} from 'vue';
  705. import axios from 'axios';
  706. //import registationModel from './model/registationModel.vue'
  707. window._AMapSecurityConfig = {
  708. securityJsCode: 'f762c44f71422cd56f90acc2a8e75144' //填写你的安全密钥
  709. };
  710. export default {
  711. name: "registration",
  712. inject: ['closeCurrent'],
  713. mixins: [JeecgListMixin],
  714. data() {
  715. return {
  716. array:[], //创建一个数组
  717. form:{
  718. value:[] //接收每个input框的值
  719. },
  720. riskShow:true,
  721. columns:[{ title: '证件编号', width: 180, dataIndex: 'cardNo', key: 'cardNo' },
  722. { title: '客户名称', width: 150, dataIndex: 'cardName', key: 'cardName' , scopedSlots: {customRender: 'cardName'} },
  723. { title: '年龄', width: 150, dataIndex: 'age', key: 'age' , scopedSlots: {customRender: 'age'} },
  724. { title: '证件是否在期', dataIndex: 'cardStartTimeAndEnd', key: '1', width: 150 , scopedSlots: {customRender: 'cardStartTimeAndEnd'}},
  725. { title: '创建人', dataIndex: 'createBy', key: 'createBy', width: 150 },
  726. { title: '创建日期', dataIndex: 'createTime', key: 'createTime', width: 150 },
  727. { title: '工作地址', dataIndex: 'wordAddress', key: 'wordAddress', width: 150 },
  728. { title: '营业厅地址', dataIndex: 'sysBusinessHall', key: 'sysBusinessHall', width: 150 },
  729. { title: '现住地址', dataIndex: 'currentAddress', key: 'currentAddress', width: 150 },
  730. { title: '智能地址研判', dataIndex: 'judgmentResearch', key: 'judgmentResearch' , width: 150 , scopedSlots: {customRender: 'judgmentResearch'}},
  731. { title: '人工地址判研', dataIndex: 'judgmentResearchAddress', key: 'judgmentResearchAddress', width: 150 , scopedSlots: {customRender: 'judgmentResearchAddress'}},
  732. { title: '拨测结果', dataIndex: 'calltestResults', key: 'calltestResults', width: 150 , scopedSlots: {customRender: 'calltestResults'}},
  733. { title: '拨测联系电话', dataIndex: 'phone', key: 'phone', width: 150 },
  734. { title: '一证通查结果', dataIndex: 'operator', key: 'operator', width: 150 },
  735. { title: '运营商类型', dataIndex: 'operatorType', key: 'operatorType' ,width: 150},
  736. { title: '现用号码使用用途', dataIndex: 'phonePurpose', key: 'phonePurpose',width: 150 },
  737. { title: '新办号码', dataIndex: 'newPhone', key: 'newPhone' ,width: 250},
  738. { title: '后续处理', width: 150, dataIndex: 'numberResults', key: 'numberResults', scopedSlots: {customRender: 'numberResults'}},
  739. ],
  740. columns2:[
  741. {
  742. title: '触发风险条目',
  743. dataIndex: 'name',
  744. },
  745. {
  746. title: '触发风险原因',
  747. className: 'text',
  748. dataIndex: 'text',
  749. scopedSlots: {customRender: 'text'}
  750. }
  751. ],
  752. //在详情中后期处理carf增加变更日志(默认不站开) 第一行创建人等 第二行 修改人 修改时间 修改人区局 修改人营业厅
  753. columns3:[
  754. {
  755. title: '创建人',
  756. dataIndex: 'createBy',
  757. },
  758. {
  759. title: '修改人',
  760. dataIndex: 'updateBy'
  761. },
  762. {
  763. title: '修改时间',
  764. dataIndex: 'updateTime'
  765. },
  766. {
  767. title: '修改人区局',
  768. dataIndex: 'sysCompany'
  769. },
  770. {
  771. title: '修改人营业厅',
  772. dataIndex: 'sysBusinessHall'
  773. }
  774. ],
  775. dataRisk:[],
  776. dataLog:[],
  777. showDataLog:true,
  778. open:false,
  779. disabledList:[],
  780. fetching: false,
  781. randomId: '',
  782. getSysDictItem: [],
  783. getDataSysDictItem:[],
  784. cardDateNull: false,
  785. industryNull: false,
  786. industryNullQiTa:false,
  787. operatorTypeNull: false,
  788. operatorNull: false,
  789. calltestResultsNull: false,
  790. sysBusinessHallNull: false,
  791. judgmentResearchNull: false,
  792. judgmentResearchAddressShow: false,
  793. color: {
  794. cardNoColor: 'black'
  795. },
  796. validatorRules: {},
  797. calltestResultsName: '',
  798. companyName: '',
  799. hallName: '',
  800. coordinate:'',
  801. sysCompany: [],
  802. sysBusinessHallList: "",
  803. cities: "",
  804. formValidate: {
  805. province: '',
  806. city: ''
  807. },
  808. size:1,
  809. ruleValidate: '',
  810. countryName: "",
  811. cityName: "",
  812. country: '',
  813. lnglats: [],
  814. map: null,
  815. lnglatMaps: new Map(),
  816. zoom: 18,
  817. center: [118.02, 24.48],
  818. searchOption: {
  819. // 限制搜索城市的范围
  820. citylimit: false,
  821. },
  822. optionsWithDisabled:
  823. [{
  824. text: '非高危',
  825. value: '1',
  826. }, {
  827. text: '上报关停',
  828. value: '2',
  829. }, {
  830. text: '上报蓝名单',
  831. value: '3',
  832. },{
  833. text: '上报紫名单',
  834. value: '4',
  835. }],
  836. defaultValue: "",
  837. content: "",
  838. inputValue: "",
  839. mapResultList: [],
  840. searchResult: {
  841. address: "",
  842. latitude: "",
  843. longitude: "",
  844. name: "",
  845. type: "",
  846. country: "",
  847. province: "",
  848. city: "",
  849. area: "",
  850. township: "",
  851. street: "",
  852. neighborhood: "",
  853. locationName: "",
  854. },
  855. events: {
  856. click(e) {
  857. _this.center = [e.lnglat.lng, e.lnglat.lat];
  858. _this.form.lon = e.lnglat.lng;
  859. _this.form.lat = e.lnglat.lat;
  860. _this.getAddress(_this.center);
  861. _this.defaultValue = "";
  862. },
  863. },
  864. addIng: false,
  865. url: {
  866. "querySizeByCardNo": "/businessReminderCard/querySizeByCardNo",
  867. "getSysDictItem": "/sys/dict/getDictItems",
  868. "list": "",
  869. "add": "/businessReminderCard/add",
  870. "editById": "/businessReminderCard/editById",
  871. "queryById": "/businessReminderCard/queryById",
  872. "queryByCardNo": "/businessReminderCard/queryByCardNo",
  873. "getCompany": "/sysCompany/list",
  874. "getLog": "/businessReminderCard/getBusinessReminderCardLogs",
  875. },
  876. labelCol: {span: 2},
  877. wrapperCol: {span: 23},
  878. // 1列
  879. labelCol1: {
  880. labelCol: {
  881. xs: {span: 24},
  882. sm: {span: 2},
  883. },
  884. wrapperCol: {
  885. xs: {span: 24},
  886. sm: {span: 21},
  887. }
  888. },
  889. labelCol1Pro: {
  890. labelCol: {
  891. span: 8
  892. },
  893. wrapperCol: {
  894. span: 15
  895. }
  896. },
  897. labelCol1Pro1A3: {
  898. labelCol: {
  899. span: 14
  900. },
  901. wrapperCol: {
  902. span: 10
  903. }
  904. },
  905. labelCol1ProA3: {
  906. labelCol: {
  907. span: 8
  908. },
  909. wrapperCol: {
  910. span: 15
  911. }
  912. },
  913. labelCol1Results: {
  914. labelCol: {
  915. span: 5
  916. },
  917. wrapperCol: {
  918. span: 15
  919. }
  920. },
  921. labelCol1ProMax: {
  922. labelCol: {
  923. span: 8
  924. },
  925. wrapperCol: {
  926. span: 15
  927. }
  928. }, labelCol1ProMax5A6: {
  929. labelCol: {
  930. span: 14
  931. },
  932. wrapperCol: {
  933. span: 5
  934. }
  935. },
  936. labelCol1ProMaxA6: {
  937. labelCol: {
  938. span: 14
  939. },
  940. wrapperCol: {
  941. span: 5
  942. }
  943. },
  944. labelCol1ProMax4A8: {
  945. labelCol: {
  946. span: 12
  947. },
  948. wrapperCol: {
  949. span: 5
  950. }
  951. }, labelCol1ProMaxA8: {
  952. labelCol: {
  953. span: 13
  954. },
  955. wrapperCol: {
  956. span: 5
  957. }
  958. },
  959. labelCol1ProMax2A7: {
  960. labelCol: {
  961. span: 11
  962. },
  963. wrapperCol: {
  964. span: 5
  965. }
  966. },
  967. labelCol1ProMaxPlus: {
  968. labelCol: {
  969. span: 12
  970. },
  971. wrapperCol: {
  972. span: 12
  973. }
  974. },
  975. // 2列
  976. labelCol2: {
  977. labelCol: {
  978. span: 7
  979. },
  980. wrapperCol: {
  981. span: 16
  982. }
  983. }, labelColDate: {
  984. labelCol: {
  985. span: 7
  986. },
  987. wrapperCol: {
  988. span: 14
  989. }
  990. },
  991. addressCol: {
  992. labelCol: {
  993. span: 8
  994. },
  995. wrapperCol: {
  996. span: 16
  997. }
  998. },
  999. //校验的规则
  1000. rules: {
  1001. cardNo: [
  1002. {required: true, message: '请输入证件编号!'},
  1003. {validator: this.validateCardNo}
  1004. ],
  1005. cardName: [{
  1006. required: true, message: '请输姓名!'
  1007. }],
  1008. cardDate: [
  1009. {required: true, message: '请输入身份证证件有效期...'}
  1010. ],
  1011. phone: [
  1012. {required: true, message: '请输入电话!', trigger: 'blur'}, {validator: this.isPhone}
  1013. ],
  1014. modelAddress: [
  1015. {required: true, message: '请输入联电归属地!', trigger: 'blur'}
  1016. ],
  1017. operatorType: [
  1018. {
  1019. required: true,
  1020. message: '请选择运营商类型',
  1021. trigger: 'blur'
  1022. }
  1023. ],
  1024. phonePurpose: [
  1025. {
  1026. required: true,
  1027. message: '请选择新办号码用途',
  1028. trigger: 'blur'
  1029. }
  1030. ],
  1031. industry: [
  1032. {
  1033. required: true,
  1034. message: '',
  1035. trigger: 'blur'
  1036. }
  1037. ],
  1038. modelOperator: [
  1039. {
  1040. required: true,
  1041. message: '请选择客户现用号码!',
  1042. trigger: 'blur'
  1043. }
  1044. ],
  1045. calltestResultsName: [
  1046. {
  1047. required: true,
  1048. message: '请选择拨测结果!',
  1049. trigger: 'blur'
  1050. }
  1051. ],
  1052. sysBusinessHallAndSysCompany: [
  1053. {
  1054. required: true,
  1055. message: '请选择营业厅地址!',
  1056. trigger: 'blur'
  1057. }
  1058. ],
  1059. workAddress: [
  1060. {
  1061. required: true,
  1062. message: '请输入工作地址!',
  1063. trigger: 'blur'
  1064. }
  1065. ],
  1066. currentAddress: [
  1067. {
  1068. required: true,
  1069. message: '请输入现居住地址!',
  1070. trigger: 'blur'
  1071. }
  1072. ],
  1073. isDxNumber: [
  1074. {
  1075. required: true,
  1076. message: '请选择客户名下无电信号码!',
  1077. trigger: 'blur'
  1078. }
  1079. ],
  1080. judgmentResearch: [
  1081. {
  1082. required: true,
  1083. message: '请选择判研结果结果!',
  1084. trigger: 'blur'
  1085. }
  1086. ]
  1087. },
  1088. poiList: '',
  1089. isSizeNumberResults: '',
  1090. showsearchResult: false,
  1091. showsearchResultBusinessAddress: true,
  1092. showsearchcurrentAddress: false,
  1093. numberResults: false,
  1094. addressG: '',
  1095. lnglat: {},
  1096. distance: '5',
  1097. distance1: '',
  1098. distance2: '',
  1099. distance3: '',
  1100. showInfo: false,
  1101. newDatas: [],
  1102. cardStartTimeAndEnd: '',
  1103. cardStartTimeAndEndShow: false,
  1104. industryQiTa:'',
  1105. isDisabled:false,
  1106. judgmentResearchDisabledY:true,
  1107. judgmentResearchDisabledZ:true,
  1108. spin:false,
  1109. showIdCardAddress:false,
  1110. //表单信息
  1111. model: {
  1112. cardStartTimeAndEnd: '',
  1113. value: 0,
  1114. sysBusinessHall: '',
  1115. company: '',
  1116. industry: '',
  1117. judgmentResearch: '',
  1118. judgmentResearchAddress: '',
  1119. isShutDownNote: '',
  1120. isShutDown: '',
  1121. isRefundNote: '',
  1122. isRefund: '',
  1123. isUseToNote: '',
  1124. isUseTo: '',
  1125. isBroadbandNote: '',
  1126. isBroadband: '',
  1127. isDxNumberNote: '',
  1128. isDxNumber: '',
  1129. //客户直接要求办理移动号码入网
  1130. directRequirements:'',
  1131. directRequirementsNode:'',
  1132. //客户主动申请一次性办理超过一个号码
  1133. passOne:'',
  1134. passOneNode:'',
  1135. //所办金额不符合客户消费能力
  1136. nonConformance:'',
  1137. nonConformanceNode:'',
  1138. calltestResults: '',
  1139. operatorType: [],
  1140. yidong: 0,
  1141. liantong: 0,
  1142. dianxin: 0,
  1143. qita: 0,
  1144. operator: '',
  1145. currentAddress: '',
  1146. phonePurpose: '',
  1147. useLife: '',
  1148. address: '',
  1149. isNewly: '',
  1150. isNewlyNote: '',
  1151. isChannel: '',
  1152. isChannelNote: '',
  1153. isInvolvingFraud: '',
  1154. isInvolvingFraudNote: '',
  1155. numberResults: [],
  1156. id: null,
  1157. phone: null,
  1158. cardNo: '',
  1159. cardName: '',
  1160. cardStartTime: '',
  1161. cardEndTime: '',
  1162. idCardAddress: '',
  1163. wordAddress: '',
  1164. positionInformation: '',
  1165. businessAddress: '',
  1166. newPhone: '',
  1167. newPhone2: '',
  1168. newPhone3: '',
  1169. newPhone4: '',
  1170. newPhone5: ''
  1171. },
  1172. dataList:[],
  1173. current: 0,
  1174. //步骤条
  1175. steps: [
  1176. {
  1177. title: '入网提示卡',
  1178. content: 'First-content',
  1179. },
  1180. {
  1181. title: '排查',
  1182. content: 'First-content',
  1183. },
  1184. {
  1185. title: '后期处理',
  1186. content: 'First-content',
  1187. },
  1188. ],
  1189. }
  1190. },
  1191. created() {
  1192. this.model.id = this.$route.query.id;
  1193. this.model.cardNo = this.$route.query.cardNo;
  1194. if ( this.$route.query.isDisabled!=null && this.$route.query.isDisabled==='true' ){
  1195. this.isDisabled = true;
  1196. }
  1197. },
  1198. mounted() {
  1199. this.getSysCompany();
  1200. //DOM初始化完成进行地图初始化
  1201. this.initMap();
  1202. this.getSysDictItems()
  1203. this.queryById();
  1204. this.disabledListAdd()
  1205. },
  1206. methods: {
  1207. // 添加按钮
  1208. add(){
  1209. this.array.push(1) //通过添加array的值,增加input的个数
  1210. },
  1211. del(index){
  1212. if (this.array.length===1){
  1213. return this.$message.warning('新办号码保留至少一项!!!', 3);
  1214. }
  1215. this.form.value.splice(index,1) //先删除form中value对应索引的值
  1216. this.array.splice(index,1) //然后删除array对应索引的值,实现点击删除按钮,减少input框效果
  1217. },
  1218. // dataShow(text, column, record, index ){
  1219. // if (text.record.calltestResults === '未接通' ) {
  1220. // return text.record.calltestResults= '未接通22'
  1221. // }
  1222. // },
  1223. //改变表格某一列或者某一个单元格文本颜色
  1224. cellStyle(record,index){
  1225. // if (record.calltestResults === '未接通' || record.calltestResults == '2'|| record.calltestResults == '3') {
  1226. // return 'red'
  1227. // }
  1228. },
  1229. resultData(result,newPhones){
  1230. for (let i = 0; i < result.length; i++){
  1231. if(result[i].cardStartTimeAndEnd!==null && result[i].cardStartTimeAndEnd!==''){
  1232. if (result[i].cardStartTimeAndEnd==="1"){
  1233. this.dataList[i].cardStartTimeAndEnd='是'
  1234. }
  1235. if (result[i].cardStartTimeAndEnd==="2"){
  1236. this.dataList[i].cardStartTimeAndEnd='否'
  1237. }
  1238. }
  1239. if(result[i].cardNo!==null && result[i].cardNo!==''){
  1240. if (result[i].cardNo.length===18){
  1241. var birthday = result[i].cardNo.substring(6, 14);
  1242. var year = birthday.substring(0, 4);
  1243. // 计算年龄
  1244. var currentYear = new Date().getFullYear();
  1245. var age = currentYear - parseInt(year);
  1246. if (age>=60){
  1247. age=age+'岁(老年人)'
  1248. }
  1249. if (age<=23){
  1250. age=age+'岁(在校生)'
  1251. }
  1252. this.dataList[i].age=age;
  1253. }
  1254. }
  1255. if (result[i].sysBusinessHall!==null &&result[i].sysBusinessHall!=='' ){
  1256. for (var item of this.sysCompany) {
  1257. if (item.id === this.model.company) {
  1258. this.companyName = item.name;
  1259. for (var it of item.sysBusinessHallList) {
  1260. if (it.id === this.model.sysBusinessHall) {
  1261. this.dataList[i].sysBusinessHall= this.companyName+ this.hallName
  1262. }
  1263. }
  1264. }
  1265. }
  1266. }
  1267. //智能地址研判
  1268. if (result[i].judgmentResearch!==null && result[i].judgmentResearch!==''){
  1269. if (result[i].judgmentResearch==="1"){
  1270. this.dataList[i].judgmentResearch='异常'
  1271. }
  1272. if (result[i].judgmentResearch==="2"){
  1273. this.dataList[i].judgmentResearch='正常'
  1274. }
  1275. }
  1276. //人工地址判研
  1277. if (result[i].judgmentResearchAddress!==null && result[i].judgmentResearchAddress!==''){
  1278. if (result[i].judgmentResearchAddress==="1"){
  1279. this.dataList[i].judgmentResearchAddress='异常'
  1280. }
  1281. if (result[i].judgmentResearchAddress==="2"){
  1282. this.dataList[i].judgmentResearchAddress='正常'
  1283. }
  1284. }
  1285. //拨测结果
  1286. if (result[i].calltestResults!==null && result[i].calltestResults!==''){
  1287. if (result[i].calltestResults==="1"){
  1288. this.dataList[i].calltestResults='关机'
  1289. }
  1290. if (result[i].calltestResults==="2"){
  1291. this.dataList[i].calltestResults='未接通'
  1292. }
  1293. if (result[i].calltestResults==="3"){
  1294. this.dataList[i].calltestResults='可接通不知晓入网事宜'
  1295. }
  1296. if (result[i].calltestResults==="4"){
  1297. this.dataList[i].calltestResults='可接通认可办理'
  1298. }
  1299. }
  1300. //运营商
  1301. // if (result[i].operatorType!==null && result[i].operatorType!==''){
  1302. // if (result[i].operatorType==="1"){
  1303. // this.dataList[i].operatorType='移动'
  1304. // }
  1305. // if (result[i].operatorType==="2"){
  1306. // this.dataList[i].operatorType='联调'
  1307. // }if (result[i].operatorType==="3"){
  1308. // this.dataList[i].operatorType='电信'
  1309. // }if (result[i].operatorType==="4"){
  1310. // this.dataList[i].operatorType='其它'
  1311. // }
  1312. // }
  1313. //一证通查结果
  1314. if (result[i].operator!==null && result[i].operator!==''){
  1315. if (result[i].operator==="1"){
  1316. this.dataList[i].operator='本地运营商'
  1317. }
  1318. if (result[i].operator==="2"){
  1319. this.dataList[i].operator='异地运营商'
  1320. }
  1321. }
  1322. let newPhonesStr='';
  1323. for (var item of newPhones) {
  1324. newPhonesStr+=item+' '
  1325. }
  1326. result[i].newPhone=newPhonesStr;
  1327. if (result[i].numberResults!==null && result[i].numberResults!==''){
  1328. var numberResultsList = result[i]["numberResults"].split(',');
  1329. var numberResultsListStr ='';
  1330. for (var item of numberResultsList) {
  1331. if (item==='1'){
  1332. numberResultsListStr=numberResultsListStr+'非高危'
  1333. }
  1334. if (item==='2'){
  1335. numberResultsListStr=numberResultsListStr+'上报关停'
  1336. }
  1337. if (item==='3'){
  1338. numberResultsListStr=numberResultsListStr+'上报蓝名单 '
  1339. }
  1340. if (item==='4'){
  1341. numberResultsListStr=numberResultsListStr+' 上报紫名单'
  1342. }
  1343. }
  1344. result[i].numberResults=numberResultsListStr
  1345. }
  1346. }
  1347. },
  1348. showModal(){
  1349. this.open = true;
  1350. },
  1351. handleOk(){
  1352. this.open = false;
  1353. },
  1354. modalFormOk2() {
  1355. // 新增/修改 成功时,重载列表
  1356. this.loadData2()
  1357. },
  1358. handleEdit2 (record) {
  1359. this.$refs.registationModel.edit(record)
  1360. this.$refs.registationModel.title = "新增";
  1361. this.$refs.registationModel.disableSubmit = false;
  1362. },
  1363. // 复选框禁用
  1364. checkboxT(row, index) {
  1365. //setTimeout(()=>console.log())
  1366. if (row==="1"){
  1367. this.disabledList.push("2");
  1368. this.disabledList.push("3");
  1369. this.disabledList.push("4");
  1370. }
  1371. if (row==="2"){
  1372. this.disabledList.push("1");
  1373. this.disabledList.push("3");
  1374. this.disabledList.push("4");
  1375. }
  1376. if (row==="3" ){
  1377. this.disabledList.push("1");
  1378. this.disabledList.push("2");
  1379. }
  1380. if (row==="4" ){
  1381. this.disabledList.push("1");
  1382. this.disabledList.push("2");
  1383. }
  1384. for (let i = 0; i < this.model.numberResults.length; i++){
  1385. if (row=== this.model.numberResults[i]){
  1386. //在取消选择
  1387. if (this.model.numberResults.length===1){
  1388. this.disabledList=[];
  1389. }
  1390. }
  1391. }
  1392. },
  1393. disabledListAdd() {
  1394. if (!this.isDisabled) {
  1395. for (let i = 0; i < this.model.numberResults.length; i++) {
  1396. if (this.model.numberResults[i]==="1"){
  1397. this.disabledList.push("2");
  1398. this.disabledList.push("3");
  1399. this.disabledList.push("4");
  1400. }
  1401. if (this.model.numberResults[i]==="2"){
  1402. this.disabledList.push("1");
  1403. this.disabledList.push("3");
  1404. this.disabledList.push("4");
  1405. }
  1406. if (this.model.numberResults[i]==="3" ){
  1407. this.disabledList.push("1");
  1408. this.disabledList.push("2");
  1409. }
  1410. if (this.model.numberResults[i]==="4" ){
  1411. this.disabledList.push("1");
  1412. this.disabledList.push("2");
  1413. }
  1414. }
  1415. }
  1416. if(this.isDisabled){
  1417. this.disabledList.push("1");
  1418. this.disabledList.push("2");
  1419. this.disabledList.push("3");
  1420. this.disabledList.push("4");
  1421. }
  1422. },
  1423. // 特定范围随机数
  1424. genRandom(min, max) {
  1425. return (Math.random() * (max - min + 1) | 0) + min
  1426. },
  1427. clickhandleSearch(data){
  1428. // this.model.industry=data;
  1429. if (data!==null && data!==''){
  1430. this.industryNull=false;
  1431. }
  1432. if (data==='其它'){
  1433. this.industryNullQiTa=true
  1434. this.industryNull=true;
  1435. }else{
  1436. this.industryNullQiTa=false
  1437. }
  1438. },
  1439. handleSearch(val) {
  1440. this.fetching = false
  1441. this.getDataSysDictItem=this.getSysDictItem;
  1442. var getDataSysDictItem =[]
  1443. if (val !== '') {
  1444. for (var i in this.getDataSysDictItem) {
  1445. if (this.getDataSysDictItem[i].text.match(RegExp(val))){
  1446. getDataSysDictItem.push(this.getDataSysDictItem[i])
  1447. }
  1448. }
  1449. this.getDataSysDictItem =getDataSysDictItem
  1450. }
  1451. },
  1452. handleSelect(val, option) {
  1453. console.log(val, option, 1000)
  1454. },
  1455. // 显示上传页面
  1456. handSubmit(record) {
  1457. let that = this;
  1458. let model = {
  1459. id: record.id,
  1460. }
  1461. postAction(this.url.editCheck, model)
  1462. .then((res) => {
  1463. if (res.success) {
  1464. that.$message.success(res.message)
  1465. that.loadData(that.ipagination.current);
  1466. } else {
  1467. that.$message.warning(res.message)
  1468. }
  1469. }).finally(() => {
  1470. })
  1471. },
  1472. //查询字典表
  1473. getSysDictItems() {
  1474. getAction(this.url.getSysDictItem + '/sys_dict_item,item_text,item_text,dict_id="1689217057012424706"').then((res) => {
  1475. if (res.success) {
  1476. let result = res.result;
  1477. if (result != null) {
  1478. this.getSysDictItem = result;
  1479. this.getDataSysDictItem=result;
  1480. }
  1481. }
  1482. })
  1483. },
  1484. blue(e){
  1485. document.getElementById(e).style.backgroundColor="#CCEEFF";
  1486. },
  1487. black(e){
  1488. document.getElementById(e).style.backgroundColor = "white";
  1489. },
  1490. validateMobile(rule, value, callback) {
  1491. let reg = /^1(3|4|5|7|8)\d{9}$/
  1492. if (!reg.test(value)) {
  1493. callback('请输入正确手机号')
  1494. } else {
  1495. callback()
  1496. }
  1497. },
  1498. // 校验身份证
  1499. validateCardNo(rule,value,callback){
  1500. if(value.length ===15 || value.length ===18){
  1501. if (!value || new RegExp(/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{7}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/).test(value)) {
  1502. // 若是将证件地址改为必输
  1503. this.showIdCardAddress=true;
  1504. callback();
  1505. }
  1506. }
  1507. },
  1508. //校验姓名
  1509. validateName(rule,value,callback){
  1510. if (!value || new RegExp(/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{7}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/).test(value)) {
  1511. callback();
  1512. }
  1513. },
  1514. isPhone(rule,value,callback){
  1515. 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)){
  1516. callback();
  1517. }
  1518. },
  1519. getPhoneTypeSize() {
  1520. let data = {
  1521. "cardNo": this.model.cardNo
  1522. };
  1523. getAction(this.url.querySizeByCardNo, data).then((res) => {
  1524. if (res.success) {
  1525. let result = res.result;
  1526. if (result != null) {
  1527. this.model.yidong = result.yidong;
  1528. this.model.dianxin = result.dianxin;
  1529. this.model.liantong = result.liantong;
  1530. this.model.qita = result.qita;
  1531. }
  1532. }
  1533. })
  1534. },
  1535. getSysCompany() {
  1536. let data = {
  1537. "cardNo": this.model.cardNo
  1538. };
  1539. getAction(this.url.getCompany, data).then((res) => {
  1540. if (res.success) {
  1541. let result = res.result;
  1542. console.log(result + "result");
  1543. if (result != null) {
  1544. this.sysCompany = result;
  1545. }
  1546. }
  1547. })
  1548. },
  1549. change(val) {
  1550. for (var i = 0; i < this.sysCompany.length; i++) {
  1551. if (val == this.sysCompany[i].id) {
  1552. this.sysBusinessHallList = this.sysCompany[i].sysBusinessHallList;
  1553. }
  1554. }
  1555. },
  1556. //新增标记
  1557. showLocation(data) {
  1558. let marker = new AMap.Marker({
  1559. position: new AMap.LngLat(data[0], data[1]) //参数为经纬度
  1560. })
  1561. this.map.clearMap()// 清除所有覆盖物(点标志)
  1562. this.map.add(marker)// 添加点标志
  1563. this.showInfoWindow(marker);//自定义信息窗体
  1564. },
  1565. //自定义信息窗体
  1566. showInfoWindow(marker) {
  1567. let infoWindow = new AMap.InfoWindow({
  1568. isCustom: true, //是否自定义信息窗体
  1569. content: `<div style="background-color: white;padding: 0 5px; border-radius: 5px;border: 1px solid #cccccc;"> 地址:${this.model.wordAddress}</div>`,
  1570. closeWhenClickMap: true,
  1571. zIndex: 999,
  1572. offset: new AMap.Pixel(16, -35)
  1573. });
  1574. infoWindow.open(this.map, marker.getPosition());
  1575. },
  1576. /** 初始化搜索 */
  1577. mapSearchInit() {
  1578. let autoOptions = {
  1579. input: "tipInput",
  1580. }
  1581. let autoCompleteComponent = new AMap.Autocomplete(autoOptions);
  1582. this.autoCompleteComponent = autoCompleteComponent;
  1583. // 注册placeSearch组件
  1584. this.placeSearchComponent = new AMap.PlaceSearch()
  1585. },
  1586. searchKeyWordsysBusinessHall(data, nameType) {
  1587. if (nameType==='businessAddress'){
  1588. this.showCheck0('sysBusinessHall');
  1589. }
  1590. let that = this
  1591. if (nameType==='businessAddress'){
  1592. var index = data.lastIndexOf("coordinate")
  1593. var res = data.substring(index+10, data.length)
  1594. var search = data.substring(0, index)
  1595. var list =res.split(',');
  1596. if (nameType==='businessAddress'){
  1597. data=search;
  1598. }
  1599. that.showsearchResultBusinessAddress = true
  1600. that.showsearchResult = false
  1601. that.showsearchcurrentAddress = false;
  1602. var poiList={
  1603. location: {
  1604. lng:'',
  1605. lat:''
  1606. },
  1607. name:''
  1608. };
  1609. poiList.location.lng=list[0];
  1610. poiList.location.lat=list[1];
  1611. poiList.name=search
  1612. that.markerResult(poiList, nameType)
  1613. }else {
  1614. that.placeSearchComponent.search(data, function (status, result) {
  1615. if (status === 'complete' && result.info === "OK") {
  1616. that.showsearchResultBusinessAddress = true
  1617. that.showsearchResult = false
  1618. that.showsearchcurrentAddress = false
  1619. that.poiList = result.poiList.pois
  1620. if (nameType==='businessAddress'){
  1621. that.poiList[0].location.lng=list[0];
  1622. that.poiList[0].location.lat=list[1];
  1623. }
  1624. that.markerResult(that.poiList[0], nameType)
  1625. } else {
  1626. that.showsearchResultBusinessAddress = false
  1627. that.showsearchResult = false
  1628. that.showsearchcurrentAddress = false
  1629. that.poiList = []
  1630. //that.$message.warning("没有查到结果");
  1631. }
  1632. })
  1633. }
  1634. },
  1635. //根据输入内容查询
  1636. searchKeyWord(data) {
  1637. let that = this
  1638. if (data === 'model.wordAddress') {
  1639. this.showsearchResult = true;
  1640. that.placeSearchComponent.search(that.model.wordAddress, function (status, result) {
  1641. if (status === 'complete' && result.info === "OK") {
  1642. that.showsearchResultBusinessAddress = false
  1643. that.showsearchResult = true
  1644. that.showsearchcurrentAddress = false
  1645. that.poiList = result.poiList.pois
  1646. } else {
  1647. that.showsearchResult = false
  1648. that.showsearchResultBusinessAddress = false;
  1649. that.showsearchcurrentAddress = false
  1650. that.poiList = []
  1651. //that.$message.warning("没有查到结果");
  1652. }
  1653. })
  1654. }
  1655. if (data === 'model.businessAddress') {
  1656. this.showsearchResultBusinessAddress = true;
  1657. that.placeSearchComponent.search(that.model.businessAddress, function (status, result) {
  1658. if (status === 'complete' && result.info === "OK") {
  1659. that.showsearchResultBusinessAddress = true
  1660. that.showsearchResult = false
  1661. that.showsearchcurrentAddress = false
  1662. that.poiList = result.poiList.pois
  1663. } else {
  1664. that.showsearchResultBusinessAddress = false
  1665. that.showsearchResult = false
  1666. that.showsearchcurrentAddress = false
  1667. that.poiList = []
  1668. //that.$message.warning("没有查到结果");
  1669. }
  1670. })
  1671. }
  1672. if (data === 'model.currentAddress') {
  1673. this.showsearchcurrentAddress = true;
  1674. that.placeSearchComponent.search(that.model.currentAddress, function (status, result) {
  1675. if (status === 'complete' && result.info === "OK") {
  1676. that.showsearchcurrentAddress = true
  1677. that.showsearchResult = false
  1678. that.showsearchResultBusinessAddress = false
  1679. that.poiList = result.poiList.pois
  1680. } else {
  1681. that.showsearchcurrentAddress = false
  1682. that.showsearchResultBusinessAddress = false
  1683. that.showsearchResult = false
  1684. that.poiList = []
  1685. //that.$message.warning("没有查到结果");
  1686. }
  1687. })
  1688. }
  1689. },
  1690. getdiscount(lat1, lng1, lat2, lng2) {
  1691. // console.log(paramObj)
  1692. var lng1 = lng1
  1693. var lat1 = lat1
  1694. var lng2 = lng2
  1695. var lat2 = lat2
  1696. var radLat1 = lat1 * Math.PI / 180.0;
  1697. var radLat2 = lat2 * Math.PI / 180.0;
  1698. var a = radLat1 - radLat2;
  1699. var b = lng1 * Math.PI / 180.0 - lng2 * Math.PI / 180.0;
  1700. var s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) +
  1701. Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2)));
  1702. s = s * 6378.137;// EARTH_RADIUS;
  1703. s = Math.round(s * 10000) / 10000;
  1704. s = s * 1000
  1705. if (isNaN(s)) {
  1706. return 0 + 'm';
  1707. }
  1708. if (s > 1000) {
  1709. // 大于1000米时
  1710. s = Math.floor(s / 1000 * 100) / 100;
  1711. s = s + 'km'
  1712. } else {
  1713. // 小于1000米直接返回
  1714. s = s + 'm'
  1715. }
  1716. this.distance = s;
  1717. return s;
  1718. },
  1719. space(lat1, lng1, lat2, lng2) {
  1720. console.log(lat1, lng1, lat2, lng2)
  1721. var radLat1 = lat1 * Math.PI / 180.0;
  1722. var radLat2 = lat2 * Math.PI / 180.0;
  1723. var a = radLat1 - radLat2;
  1724. var b = lng1 * Math.PI / 180.0 - lng2 * Math.PI / 180.0;
  1725. var s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) +
  1726. Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2)));
  1727. s = s * 6378.137;
  1728. s = Math.round(s * 10000) / 10000;
  1729. return s // 单位千米
  1730. },
  1731. carGPSIP(data) {
  1732. var map = new AMap.Map("container", {resizeEnable: true});//初始化地图
  1733. //信息窗口实例
  1734. var infoWindow = new AMap.InfoWindow({offset: new AMap.Pixel(0, -30)});
  1735. //遍历生成多个标记点
  1736. data.forEach((val, key) => {
  1737. console.log("属性:" + key + ",值:" + data.get(key));
  1738. console.log("wordAddressname".indexOf("name"));
  1739. console.log(key.includes("name"));
  1740. if (!key.includes("name")) {
  1741. var marker = new AMap.Marker({
  1742. position: data.get(key),//不同标记点的经纬度
  1743. map: map
  1744. });
  1745. marker.content = data.get(key + 'name');
  1746. marker.on('click', markerClick);
  1747. marker.emit('click', {target: marker});//默认初始化不出现信息窗体,打开初始化就出现信息窗体
  1748. }
  1749. })
  1750. function markerClick(e) {
  1751. infoWindow.setContent(e.target.content);
  1752. infoWindow.open(map, e.target.getPosition());
  1753. }
  1754. map.setFitView();
  1755. },
  1756. //选择搜索的内容
  1757. markerResult(data, nameType) {
  1758. if (nameType === 'wordAddress') {
  1759. this.model.wordAddress = data.name;
  1760. }
  1761. if (nameType === 'businessAddress') {
  1762. this.model.businessAddress = data.name;
  1763. }
  1764. if (nameType === 'currentAddress') {
  1765. this.model.currentAddress = data.name;
  1766. }
  1767. this.lnglatMaps;
  1768. console.log(data)
  1769. this.showsearchResult = false;
  1770. this.showsearchResultBusinessAddress = false;
  1771. this.showsearchcurrentAddress = false;
  1772. //this.model.wordAddress = data.name; //地点名称
  1773. var marker = new AMap.Marker({
  1774. position: [Number(data.location.lng), Number(data.location.lat)],//地点名称 坐标
  1775. });
  1776. //this.map.clearMap()// 清除所有覆盖物(点标志)
  1777. //this.map.add(marker)// 添加点标志
  1778. //this.showInfoWindow(marker);
  1779. this.lnglatMaps.set(nameType, [Number(data.location.lng), Number(data.location.lat)]);
  1780. this.lnglatMaps.set(nameType + 'name', data.name);
  1781. if (this.lnglatMaps.size > 6) {
  1782. this.lnglatMaps.clear();
  1783. }
  1784. //this.lnglats.push( [Number(data.location.lng),Number(data.location.lat)]); //添加坐标
  1785. // if (this.model.wordAddress ===null || this.model.businessAddress===null || this.model.currentAddress===null){
  1786. // return;
  1787. // }
  1788. // if (this.lnglatMaps.size===4){
  1789. this.carGPSIP(this.lnglatMaps);//各个点分别显示坐标
  1790. //}
  1791. setTimeout(() => {
  1792. this.map.setCenter(data.location);
  1793. this.map.setZoom(15);
  1794. }, 50)
  1795. let thisPosition = {
  1796. mapAddress: this.model.wordAddress,
  1797. lng: data.location.lng,
  1798. lat: data.location.lat
  1799. };
  1800. var map = new Map();
  1801. map.set("lng", data.location.lng);
  1802. map.set("lat", data.location.lat);
  1803. this.mapResultList.push(map);
  1804. console.log(data.location.lng + data.location.lat + "thisPosition")
  1805. this.$emit("select", thisPosition)
  1806. if (this.lnglatMaps.size === 6) {
  1807. var currentAddressD = this.lnglatMaps.get("currentAddress");
  1808. var wordAddressD = this.lnglatMaps.get("wordAddress");
  1809. var businessAddressD = this.lnglatMaps.get("businessAddress");
  1810. this.distance1 = this.space(currentAddressD[1], currentAddressD[0], businessAddressD[1], businessAddressD[0]);//现住地址 营业厅地址
  1811. this.distance2 = this.space(wordAddressD[1], wordAddressD[0], businessAddressD[1], businessAddressD[0]);//工作地址 营业厅地址
  1812. this.distance3 = this.space(currentAddressD[1], currentAddressD[0], wordAddressD[1], wordAddressD[0]);//现住地址 工作地址
  1813. if (parseFloat(this.distance1) > parseFloat(this.distance) || parseFloat(this.distance2) > parseFloat(this.distance) || parseFloat(this.distance3) > parseFloat(this.distance)) {
  1814. this.model.judgmentResearch = "1";
  1815. this.judgmentResearchDisabledY=false;
  1816. } else {
  1817. this.model.judgmentResearch = "2";
  1818. this.judgmentResearchDisabledZ=true;
  1819. this.judgmentResearchDisabledY=true;
  1820. }
  1821. }
  1822. },
  1823. // 获取详细地址
  1824. getAddress(center) {
  1825. let _this = this;
  1826. let geocoder = new AMap.Geocoder({});
  1827. geocoder.getAddress(center, function (status, result) {
  1828. if (status === "complete" && result.info === "OK") {
  1829. let obj = result.regeocode.addressComponent;
  1830. let locationName =
  1831. obj.province +
  1832. obj.city +
  1833. obj.district +
  1834. obj.township +
  1835. obj.street +
  1836. obj.streetNumber;
  1837. _this.form.address = locationName;
  1838. }
  1839. });
  1840. },
  1841. initMap() {
  1842. AMapLoader.load({
  1843. // key: "8e513e3c374bdb2dd0095cd337b02ee6" 密钥 f762c44f71422cd56f90acc2a8e75144
  1844. // key : 3f95d73e380b9e4a2767c306a4b59f81 密钥 c4ab681cb7c3256184ae3557dc5beabb
  1845. key: "8e513e3c374bdb2dd0095cd337b02ee6", // 申请好的Web端开发者Key,首次调用 load 时必填
  1846. version: "2.0", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
  1847. plugins: [
  1848. 'AMap.ToolBar',
  1849. 'AMap.Scale',
  1850. 'AMap.Geolocation',
  1851. 'AMap.PlaceSearch',
  1852. 'AMap.AutoComplete',
  1853. 'AMap.Geocoder',
  1854. 'AMap.CitySearch',
  1855. 'AMap.RangingTool' // 这个就是测距插件
  1856. ],
  1857. resizeEnable: true,
  1858. }).then((AMap) => {
  1859. const that = this;
  1860. that.map = new AMap.Map("container", { //设置地图容器id
  1861. viewMode: "3D", //是否为3D地图模式
  1862. zoom: 12, //初始化地图级别
  1863. });
  1864. that.handleClick(AMap)//地图选点
  1865. that.map.addControl(new AMap.Scale()) // 在图面添加比例尺控件,展示地图在当前层级和纬度下的比例尺
  1866. that.map.addControl(new AMap.ToolBar()) //在图面添加鹰眼控件,在地图右下角显示地图的缩略图
  1867. that.geocoder = new AMap.Geocoder()
  1868. that.mapSearchInit()
  1869. }).catch(e => {
  1870. console.log(e);
  1871. })
  1872. },
  1873. //点击地图获取地理位置
  1874. handleClick() {
  1875. this.map.on('click', (e) => {
  1876. let lng = e.lnglat.lng
  1877. let lat = e.lnglat.lat
  1878. let marker = new AMap.Marker({
  1879. position: new AMap.LngLat(lng, lat)
  1880. })
  1881. this.map.clearMap()// 清除所有覆盖物(点标志)
  1882. this.map.add(marker)// 添加点标志
  1883. let lnglat = [lng, lat]
  1884. let that = this
  1885. that.geocoder.getAddress(lnglat, function (status, result) {
  1886. if (status === 'complete' && result.regeocode) {
  1887. that.address = result.regeocode.formattedAddress;
  1888. that.showInfoWindow(marker);//自定义信息窗体
  1889. let thisPosition = {
  1890. address: that.address,
  1891. lng: lng,
  1892. lat: lat
  1893. };
  1894. that.$emit("select", thisPosition) //返回给父组件
  1895. } else {
  1896. this.$message.error('根据经纬度查询地址失败')
  1897. }
  1898. })
  1899. })
  1900. },
  1901. //获取当前定位
  1902. getCurrentLocation() {
  1903. const that = this;
  1904. that.geolocation = new AMap.Geolocation({
  1905. timeout: 3000, //超过3秒后停止定位,默认:5s
  1906. enableHighAccuracy: true,
  1907. zoomToAccuracy: true, //定位成功后是否自动调整地图视野到定位点
  1908. });
  1909. that.geolocation.getCurrentPosition(function (status, result) {
  1910. //备注:getCurrentPosition方法会调用超时或失败:
  1911. //Get geolocation time out:浏览器定位超时,包括原生的超时,可以适当增加超时属性的设定值以减少这一现象。
  1912. //另外还有个别浏览器(如google Chrome浏览器等)本身的定位接口是黑洞,通过其请求定位完全没有回应,也会超时返回失败。
  1913. //Get geolocation failed:定位失败,Chrome、火狐以及部分套壳浏览器接入的定位服务在国外,有较大限制,失败率高。
  1914. console.log(status, result);
  1915. if (status == 'complete') {
  1916. that.onComplete(result)
  1917. } else {
  1918. that.onError(result) //失败后可使用getCityInfo获取非精准定位(具体到省市)
  1919. }
  1920. });
  1921. },
  1922. //解析定位结果
  1923. onComplete(data) {
  1924. console.log('定位结果:' + data.position) //经纬度信息
  1925. let lnglat = data.position;
  1926. let marker = new AMap.Marker({ //创建标记
  1927. position: new AMap.LngLat(lnglat[0], lnglat[1])
  1928. })
  1929. this.map.clearMap()// 清除所有覆盖物(点标志)
  1930. this.map.add(marker)// 添加点标志
  1931. let that = this
  1932. //经纬度转换为中文地址详情
  1933. that.geocoder.getAddress(lnglat, function (status, result) {
  1934. if (status === 'complete' && result.regeocode) {
  1935. that.address = result.regeocode.formattedAddress;
  1936. that.showInfoWindow(marker);//自定义信息窗体
  1937. } else {
  1938. this.$message.error('根据经纬度查询地址失败')
  1939. }
  1940. })
  1941. },
  1942. //解析定位错误信息
  1943. onError(data) {
  1944. this.getLngLatLocation()
  1945. },
  1946. //在获取具体定位失败时调用的代码:(非精准定位!!!)
  1947. getLngLatLocation() {
  1948. const that = this;
  1949. that.geolocation.getCityInfo(function (status, result) {
  1950. if (status === 'complete') {
  1951. let data = result.position
  1952. that.address = result.province + result.city;
  1953. that.showLocation(data)
  1954. } else {
  1955. this.$message.error('获取地址失败')
  1956. }
  1957. })
  1958. },
  1959. keyupInfoSelect() {
  1960. if (this.model.cardNo === '' ||this.model.cardNo===undefined ) {
  1961. return;
  1962. }
  1963. this.closeCurrent();
  1964. this.$router.push({path: '/network/PopupSub', query: {cardNo: this.model.cardNo}});
  1965. },
  1966. keyupInfoPhone(phone) {
  1967. let data = {
  1968. "number": phone
  1969. };
  1970. if (phone.length === 11) {
  1971. let data = {
  1972. "mobile": phone
  1973. };
  1974. getAction("businessReminderCard/queryByMobile", data).then((res) => {
  1975. console.log(res)
  1976. if (res != null) {
  1977. this.model.address = res;
  1978. }
  1979. })
  1980. }
  1981. },
  1982. onCance () {
  1983. var view =this.model;
  1984. Object.keys(view).forEach(function (key) {
  1985. view[key] = ''
  1986. });
  1987. this.industryQiTa='';
  1988. },
  1989. keyupInfo(info) {
  1990. let data = {
  1991. "cardNo": this.model.cardNo
  1992. };
  1993. getAction(this.url.getCompany, data).then((res) => {
  1994. if (res.success) {
  1995. let result = res.result;
  1996. console.log(result + "result");
  1997. if (result != null) {
  1998. this.sysCompany = result;
  1999. }
  2000. this.spin=true ;
  2001. // this.handleEdit2()
  2002. //身份证输入查询
  2003. if (true) {
  2004. let that = this;
  2005. let data = {
  2006. //"cardNo": this.model.cardNo,
  2007. "id": this.model.id
  2008. }
  2009. var newPhones;
  2010. //this.getSysCompany();
  2011. getAction(that.url.queryByCardNo, data).then((res) => {
  2012. if (res.success) {
  2013. let result = res.result;
  2014. let view = this.model;
  2015. if (result != null) {
  2016. var i=0;
  2017. Object.keys(view).forEach(function (key) {
  2018. if (key==='company'){
  2019. that.change(result[0][key]);
  2020. }
  2021. view[key] = result[0][key];
  2022. if (key==='newPhone'){
  2023. if ( result[0][key]!==null && result[0][key]!==''){
  2024. newPhones = result[0][key].split(',');
  2025. }
  2026. }
  2027. if (key==='industry'){
  2028. var a=0;
  2029. for (var s in that.getDataSysDictItem) {
  2030. if (that.getDataSysDictItem[s].text.match(RegExp(result[0][key]))){
  2031. a++;
  2032. }
  2033. }
  2034. if (a===0){
  2035. view.industry='其它';
  2036. that.industryQiTa= result[0][key];
  2037. that.industryNullQiTa=true;
  2038. }
  2039. }
  2040. })
  2041. for (var item of newPhones) {
  2042. this.form.value.push(item)
  2043. this.array.push(1)
  2044. }
  2045. for (var item of this.sysCompany) {
  2046. if (item.id === this.model.company) {
  2047. this.companyName = item.name;
  2048. this.change(item.id);
  2049. for (var it of item.sysBusinessHallList) {
  2050. if (it.id === this.model.sysBusinessHall) {
  2051. this.hallName = it.name;
  2052. this.coordinate=it.coordinate;
  2053. this.model.sysBusinessHall=it.id
  2054. }
  2055. }
  2056. }
  2057. }
  2058. this.isSizeNumberResults = result[0]["isSizeNumberResults"];
  2059. if (this.model.wordAddress!=='' && this.model.wordAddress!==null){
  2060. this.searchKeyWordsysBusinessHall(this.model.wordAddress,'wordAddress');
  2061. }
  2062. if (this.hallName!=='' && this.hallName!==null){
  2063. this.searchKeyWordsysBusinessHall('中国电信'+this.hallName+'coordinate'+ this.coordinate,'businessAddress');
  2064. }
  2065. if (this.model.currentAddress!=='' && this.model.currentAddress!==null){
  2066. this.searchKeyWordsysBusinessHall(this.model.currentAddress,'currentAddress');
  2067. }
  2068. if (info===''){
  2069. this.model.id=null;
  2070. }
  2071. this.dataList=result;
  2072. if (info===''){
  2073. this.resultData(result,newPhones);
  2074. this.showModal()
  2075. }
  2076. this.disabledListAdd()
  2077. this.showCheck0('all');
  2078. // if (result[0]["isSizeNumberResults"] === 'is') {
  2079. // this.$confirm({
  2080. // title: "确认是否继续...",
  2081. // content: '该用户有多个不友好研判结果',
  2082. // onOk: function () {
  2083. //
  2084. // },
  2085. // onCancel: function () {
  2086. // Object.keys(view).forEach(function (key) {
  2087. // view[key] = '';
  2088. // })
  2089. // }
  2090. // });
  2091. // }
  2092. }
  2093. // this.$refs.modalDetail.detail( );
  2094. // this.$refs.modalDetail.title = "详情";
  2095. }
  2096. })
  2097. }
  2098. this.spin=false ;
  2099. }
  2100. })
  2101. },
  2102. /**获取详情*/
  2103. queryById() {
  2104. this.model.id = this.$route.query.id;
  2105. this.model.cardNo = this.$route.query.cardNo;
  2106. if ( this.$route.query.isDisabled!=null && this.$route.query.isDisabled==='true' ){
  2107. this.isDisabled = true;
  2108. }
  2109. this.keyupInfo('update');
  2110. //查询日志
  2111. let data = {
  2112. "businessReminderCardId": this.model.id
  2113. };
  2114. getAction(this.url.getLog, data).then((res) => {
  2115. if (res.success) {
  2116. this.dataLog=res.result
  2117. if (this.dataLog.length===0){
  2118. this.showDataLog=false
  2119. }
  2120. }
  2121. })
  2122. this.change(this.model.company)
  2123. },
  2124. showCheck0(data){
  2125. var info = true;
  2126. if (data==='all' || data==='cardNo'){ if (this.model.cardNo==='' || this.model.cardNo===null){
  2127. document.getElementById('cardNo').style.borderColor = "red";
  2128. info=false;
  2129. }else {
  2130. document.getElementById('cardNo').style.borderColor = "#d9d9d9";
  2131. } }
  2132. if (data==='all' || data==='idCardAddress') {
  2133. if (this.model.idCardAddress === '' || this.model.idCardAddress === null) {
  2134. if (this.showIdCardAddress) {
  2135. if (this.model.idCardAddress === '' || this.model.idCardAddress === null) {
  2136. document.getElementById('idCardAddress').style.borderColor = "red";
  2137. info = false;
  2138. } else {
  2139. document.getElementById('idCardAddress').style.borderColor = "#d9d9d9";
  2140. }
  2141. }
  2142. }
  2143. }
  2144. if (data==='all' || data==="cardName"){ if (this.model.cardName==='' || this.model.cardName===null){
  2145. document.getElementById('cardName').style.borderColor = "red";
  2146. info=false;
  2147. }else {
  2148. document.getElementById('cardName').style.borderColor = "#d9d9d9";
  2149. }}
  2150. if (data==='all' || data==="phone"){ if (this.model.phone==='' || this.model.phone===null){
  2151. document.getElementById('phone').style.borderColor = "red";
  2152. info=false;
  2153. }else {
  2154. document.getElementById('phone').style.borderColor = "#d9d9d9";
  2155. } }
  2156. if (data==='all' || data==="address"){ if (this.model.address===''|| this.model.address===null){
  2157. document.getElementById('address').style.borderColor = "red";
  2158. info=false;
  2159. }else {
  2160. document.getElementById('address').style.borderColor = "#d9d9d9";
  2161. } }
  2162. if (data==='all' || data==="phonePurpose"){ if (this.model.phonePurpose==='' || this.model.phonePurpose===null){
  2163. document.getElementById('phonePurpose').style.borderColor = "red";
  2164. info=false;
  2165. }else {
  2166. document.getElementById('phonePurpose').style.borderColor = "#d9d9d9";
  2167. } }
  2168. if (data==='all' || data==="industry"){ if (this.model.industry==='' || this.model.industry===null){
  2169. this.industryNull=true
  2170. info=false;
  2171. }else {
  2172. this.industryNull=false
  2173. }}
  2174. if (this.model.industry==='' || this.model.industry===null || this.model.industry==='其它'){
  2175. {
  2176. if (data === 'all' || data === "industryQiTa") {
  2177. if (this.industryQiTa === '' || this.industryQiTa === null) {
  2178. this.industryNull = true
  2179. info = false;
  2180. } else {
  2181. this.industryNull = false
  2182. }
  2183. }
  2184. }
  2185. }
  2186. if (data==='all' || data==="wordAddress"){ if (this.model.wordAddress===''|| this.model.wordAddress===null){
  2187. document.getElementById('wordAddress').style.borderColor = "red";
  2188. info=false;
  2189. }else {
  2190. document.getElementById('wordAddress').style.borderColor = "#d9d9d9";
  2191. }}
  2192. if (data==='all' || data==="currentAddress"){ if (this.model.currentAddress===''|| this.model.currentAddress===null){
  2193. document.getElementById('currentAddress').style.borderColor = "red";
  2194. info=false;
  2195. }else {
  2196. document.getElementById('currentAddress').style.borderColor = "#d9d9d9";
  2197. }}
  2198. if (data==='all' || data==="calltestResults"){ if (this.model.calltestResults===''|| this.model.calltestResults===null){
  2199. this.calltestResultsNull=true;
  2200. info=false;
  2201. }else {
  2202. this.calltestResultsNull=false;
  2203. } }
  2204. if (data==='all' || data==="judgmentResearchAddress"){ if (this.model.judgmentResearchAddress===''|| this.model.judgmentResearchAddress===null){
  2205. this.judgmentResearchAddressShow=true;
  2206. info=false;
  2207. }else {
  2208. this.judgmentResearchAddressShow=false;
  2209. } }
  2210. if (data==='all' || data==="cardStartTimeAndEnd"){ if (this.model.cardStartTimeAndEnd===''|| this.model.cardStartTimeAndEnd===null){
  2211. this.cardStartTimeAndEndShow=true;
  2212. info=false;
  2213. }else {
  2214. this.cardStartTimeAndEndShow=false;
  2215. } }
  2216. // if (data==='all' || data==="judgmentResearch"){
  2217. // if (this.model.judgmentResearch===''|| this.model.judgmentResearch===null){
  2218. // this.judgmentResearchNull=true;
  2219. // info=false;
  2220. // }else {
  2221. // this.judgmentResearchNull=false;
  2222. // }
  2223. // }
  2224. // if (data==='all' || data==="operator"){ if (this.model.operator==='' || this.model.operator===null){
  2225. // this.operatorNull=true;
  2226. // info=false;
  2227. // }else {
  2228. // this.operatorNull=false;
  2229. // }
  2230. // }
  2231. if (data==='all' || data==="company"||data==='all' || data==="operatorType" ){
  2232. if (this.model.operatorType==='' || this.model.operatorType===null){
  2233. this.operatorTypeNull=true;
  2234. info=false;
  2235. }else {
  2236. this.operatorTypeNull=false;
  2237. }
  2238. }
  2239. if (data==='all' || data==="sysBusinessHall"){ if (this.model.sysBusinessHall==='' ||this.model.sysBusinessHall===null){
  2240. this.sysBusinessHallNull=true;
  2241. info=false;
  2242. }else {
  2243. this.sysBusinessHallNull=false;
  2244. } }
  2245. return info;
  2246. },
  2247. showCheck1(data){
  2248. var info =true;
  2249. if (data==='isInvolvingFraud' || data==='all'){
  2250. if (this.model.isInvolvingFraud==='' || this.model.isInvolvingFraud===null){
  2251. document.getElementById('isInvolvingFraud').style.color = "red";
  2252. info=false;
  2253. }else {
  2254. document.getElementById('isInvolvingFraud').style.color = "black";
  2255. }
  2256. }
  2257. if (data==='directRequirements' || data==='all'){
  2258. if (this.model.directRequirements==='' || this.model.directRequirements===null){
  2259. document.getElementById('directRequirements').style.color = "red";
  2260. info=false;
  2261. }else {
  2262. document.getElementById('directRequirements').style.color = "black";
  2263. }
  2264. }
  2265. if (data==='passOne' || data==='all'){
  2266. if (this.model.passOne==='' || this.model.passOne===null){
  2267. document.getElementById('passOne').style.color = "red";
  2268. info=false;
  2269. }else {
  2270. document.getElementById('passOne').style.color = "black";
  2271. }
  2272. }
  2273. if (data==='nonConformance' || data==='all'){
  2274. if (this.model.nonConformance==='' || this.model.nonConformance===null){
  2275. document.getElementById('nonConformance').style.color = "red";
  2276. info=false;
  2277. }else {
  2278. document.getElementById('nonConformance').style.color = "black";
  2279. }
  2280. }
  2281. if (data==='isChannel' || data==='all'){
  2282. if (this.model.isChannel==='' || this.model.isChannel===null){
  2283. document.getElementById('isChannel').style.color = "red";
  2284. info=false;
  2285. }else {
  2286. document.getElementById('isChannel').style.color = "black";
  2287. }
  2288. }
  2289. if (data==='isNewly' || data==='all'){
  2290. if (this.model.isNewly==='' || this.model.isNewly===null){
  2291. document.getElementById('isNewly').style.color = "red";
  2292. info=false;
  2293. }else {
  2294. document.getElementById('isNewly').style.color = "black";
  2295. }
  2296. }
  2297. if (data==='isShutDown' || data==='all'){
  2298. if (this.model.isShutDown==='' || this.model.isShutDown===null){
  2299. document.getElementById('isShutDown').style.color = "red";
  2300. info=false;
  2301. }else {
  2302. document.getElementById('isShutDown').style.color = "black";
  2303. }
  2304. }
  2305. if (data==='isRefund' || data==='all'){
  2306. if (this.model.isRefund==='' || this.model.isRefund===null){
  2307. document.getElementById('isRefund').style.color = "red";
  2308. info=false;
  2309. }else {
  2310. document.getElementById('isRefund').style.color = "black";
  2311. }
  2312. }
  2313. if (data==='isUseTo' || data==='all'){
  2314. if (this.model.isUseTo==='' || this.model.isUseTo===null){
  2315. document.getElementById('isUseTo').style.color = "red";
  2316. info=false;
  2317. }else {
  2318. document.getElementById('isUseTo').style.color = "black";
  2319. }
  2320. }
  2321. if (data==='isBroadband' || data==='all'){
  2322. if (this.model.isBroadband==='' || this.model.isBroadband===null){
  2323. document.getElementById('isBroadband').style.color = "red";
  2324. info=false;
  2325. }else {
  2326. document.getElementById('isBroadband').style.color = "black";
  2327. }
  2328. }
  2329. if (data==='isDxNumber' || data==='all'){
  2330. if (this.model.isDxNumber==='' || this.model.isDxNumber===null){
  2331. document.getElementById('isDxNumber').style.color = "red";
  2332. info=false;
  2333. }else {
  2334. document.getElementById('isDxNumber').style.color = "black";
  2335. }
  2336. }
  2337. return info;
  2338. },
  2339. getDataRisk(data){
  2340. this.dataList=[];
  2341. var getDataList=this.dataList;
  2342. var dataLists =[];
  2343. dataLists.push(data);
  2344. if(dataLists[0].cardStartTimeAndEnd!==null && dataLists[0].cardStartTimeAndEnd!==''){
  2345. if (dataLists[0].cardStartTimeAndEnd==="1"){
  2346. dataLists[0].cardStartTimeAndEnd='是'
  2347. }
  2348. if (dataLists[0].cardStartTimeAndEnd==="2"){
  2349. dataLists[0].cardStartTimeAndEnd='否'
  2350. }
  2351. }
  2352. if (dataLists[0].sysBusinessHall!==null &&dataLists[0].sysBusinessHall!=='' ){
  2353. for (var item of this.sysCompany) {
  2354. if (item.id === this.model.company) {
  2355. this.companyName = item.name;
  2356. for (var it of item.sysBusinessHallList) {
  2357. if (it.id === this.model.sysBusinessHall) {
  2358. dataLists[0].sysBusinessHall= this.companyName+ this.hallName
  2359. }
  2360. }
  2361. }
  2362. }
  2363. }
  2364. //智能地址研判
  2365. if (dataLists[0].judgmentResearch!==null && dataLists[0].judgmentResearch!==''){
  2366. if (dataLists[0].judgmentResearch==="1"){
  2367. dataLists[0].judgmentResearch='智能地址研判-异常'
  2368. }
  2369. if (dataLists[0].judgmentResearch==="2"){
  2370. dataLists[0].judgmentResearch='智能地址研判-正常'
  2371. }
  2372. }
  2373. //人工地址判研
  2374. if (dataLists[0].judgmentResearchAddress!==null && dataLists[0].judgmentResearchAddress!==''){
  2375. if (dataLists[0].judgmentResearchAddress==="1"){
  2376. dataLists[0].judgmentResearchAddress='人工地址判研-异常'
  2377. }
  2378. if (dataLists[0].judgmentResearchAddress==="2"){
  2379. dataLists[0].judgmentResearchAddress='人工地址判研-正常'
  2380. }
  2381. }
  2382. //拨测结果
  2383. if (dataLists[0].calltestResults!==null && dataLists[0].calltestResults!==''){
  2384. if (dataLists[0].calltestResults==="1"){
  2385. dataLists[0].calltestResults='关机'
  2386. }
  2387. if (dataLists[0].calltestResults==="2"){
  2388. dataLists[0].calltestResults='未接通'
  2389. }
  2390. if (dataLists[0].calltestResults==="3"){
  2391. dataLists[0].calltestResults='可接通不知晓入网事宜'
  2392. }
  2393. if (dataLists[0].calltestResults==="4"){
  2394. dataLists[0].calltestResults='可接通认可办理'
  2395. }
  2396. }
  2397. //运营商
  2398. if (dataLists[0].operatorType!==null && dataLists[0].operatorType!==''){
  2399. if (dataLists[0].operatorType==="1"){
  2400. dataLists[0].operatorType='移动'
  2401. }
  2402. if (dataLists[0].operatorType==="2"){
  2403. dataLists[0].operatorType='联调'
  2404. }if (dataLists[0].operatorType==="3"){
  2405. dataLists[0].operatorType='电信'
  2406. }if (dataLists[0].operatorType==="4"){
  2407. dataLists[0].operatorType='其它'
  2408. }
  2409. }
  2410. //一证通查结果
  2411. if (dataLists[0].operator!==null && dataLists[0].operator!==''){
  2412. if (dataLists[0].operator==="1"){
  2413. dataLists[0].operator='本地运营商'
  2414. }
  2415. if (dataLists[0].operator==="2"){
  2416. dataLists[0].operator='异地运营商'
  2417. }
  2418. }
  2419. // if ( dataLists[0]['newPhone']!==null && dataLists[0]['newPhone']!==''){
  2420. // var newPhones = dataLists[0]['newPhone'].split(',');
  2421. // let newPhonesStr='';
  2422. // for (var item of newPhones) {
  2423. // if (item.match(RegExp('newPhone1+')) && item.replace('newPhone1+', '') !== '') {
  2424. // newPhonesStr = newPhonesStr+item.replace('newPhone1+', '')+" "
  2425. // }
  2426. // if (item.match(RegExp('newPhone2+')) && item.replace('newPhone2+', '') !== '') {
  2427. // newPhonesStr = newPhonesStr+item.replace('newPhone2+', '')+" "
  2428. // }
  2429. // if (item.match(RegExp('newPhone3+')) && item.replace('newPhone3+', '') !== '') {
  2430. // newPhonesStr = newPhonesStr+item.replace('newPhone3+', '')+" "
  2431. // }
  2432. // if (item.match(RegExp('newPhone4+')) && item.replace('newPhone4+', '') !== '') {
  2433. // newPhonesStr = newPhonesStr+item.replace('newPhone4+', '')+" "
  2434. // }
  2435. // if (item.match(RegExp('newPhone5+')) && item.replace('newPhone5+', '') !== '') {
  2436. // newPhonesStr = newPhonesStr+item.replace('newPhone5+', '')+" "
  2437. // }
  2438. // }
  2439. // dataLists[0].newPhone=newPhonesStr;
  2440. // }
  2441. // if (dataLists[0].numberResults!==null && dataLists[0].numberResults!==''){
  2442. // var numberResultsList = dataLists[0]["numberResults"].split(',');
  2443. // var numberResultsListStr ='';
  2444. // for (var item of numberResultsList) {
  2445. // if (item==='1'){
  2446. // numberResultsListStr=numberResultsListStr+'非高危'
  2447. // }
  2448. // if (item==='2'){
  2449. // numberResultsListStr=numberResultsListStr+'上报关停'
  2450. // }
  2451. // if (item==='3'){
  2452. // numberResultsListStr=numberResultsListStr+'上报蓝名单 '
  2453. // }
  2454. // if (item==='4'){
  2455. // numberResultsListStr=numberResultsListStr+' 上报紫名单'
  2456. // }
  2457. // }
  2458. // dataLists[0].numberResults=numberResultsListStr
  2459. // }
  2460. var that =this
  2461. that.dataRisk=[];
  2462. that.riskShow=true
  2463. Object.keys(dataLists[0]).forEach(function (key) {
  2464. var map ={};
  2465. if (key==='cardNo'){
  2466. var birthday = dataLists[0]['cardNo'].substring(6, 14);
  2467. var year = birthday.substring(0, 4);
  2468. // 计算年龄
  2469. var currentYear = new Date().getFullYear();
  2470. var age = currentYear - parseInt(year);
  2471. if (age>=60){
  2472. age=age+'(老年人)'
  2473. map.name ='【入网提示卡】客户年龄: ' ;
  2474. map.text = age ;
  2475. that.dataRisk.push(map)
  2476. }
  2477. if (age<=23){
  2478. age=age+'(可能是在校生)'
  2479. map.name ='【入网提示卡】客户年龄: ' ;
  2480. map.text = age ;
  2481. that.dataRisk.push(map)
  2482. }
  2483. }
  2484. //身份证是否到期
  2485. if (key==='cardStartTimeAndEnd'){
  2486. if (dataLists[0]['cardStartTimeAndEnd']==='否'){
  2487. map.name ='【入网提示卡】 证件编号:【'+dataLists[0]['cardNo']+'】 是否在有效期' ;
  2488. map.text = dataLists[0]['cardStartTimeAndEnd'];
  2489. that.dataRisk.push(map)
  2490. }
  2491. }
  2492. //拨测结果
  2493. if (key==='calltestResults'){
  2494. if ( dataLists[0][key]!=='可接通认可办理'){
  2495. map.name ='【入网提示卡】 电话号码【'+dataLists[0]['phone'] +'】 - 拨测结果';
  2496. map.text = dataLists[0][key];
  2497. that.dataRisk.push(map)
  2498. }
  2499. }
  2500. //地址 人工判研
  2501. if (key==='judgmentResearchAddress'){
  2502. if (dataLists[0]['judgmentResearchAddress']==='人工地址判研-异常'){
  2503. map.name ='【入网提示卡】营业厅地址:【'+ that.companyName +'--'+ that.hallName +'】 工作地址:【'+dataLists[0]['wordAddress'] +'】 现住地址:【'+ dataLists[0]['currentAddress']+'】' ;
  2504. map.text = dataLists[0]['judgmentResearchAddress'];
  2505. that.dataRisk.push(map)
  2506. }
  2507. }
  2508. //地址 智能
  2509. if (key==='judgmentResearch'){
  2510. if (dataLists[0]['judgmentResearch']==='智能地址研判-异常'){
  2511. map.name ='【入网提示卡】 营业厅地址:【'+ that.companyName +'--'+ that.hallName +'】 工作地址:【'+dataLists[0]['wordAddress'] +'】 现住地址:【'+ dataLists[0]['currentAddress']+'】' ;
  2512. map.text = dataLists[0]['judgmentResearch'];
  2513. that.dataRisk.push(map)
  2514. }
  2515. }
  2516. //第二页 排除填写
  2517. if (key==='directRequirements'){
  2518. if (dataLists[0]['directRequirements']===1){
  2519. map.name ='【排查】客户进厅直接要求办理移动号码入网:' ;
  2520. map.text = '是';
  2521. that.dataRisk.push(map)
  2522. }
  2523. }
  2524. if (key==='passOne'){
  2525. if (dataLists[0]['passOne']===1){
  2526. map.name ='【排查】客户主动申请一次性办理超过一个号码:' ;
  2527. map.text = '是';
  2528. that.dataRisk.push(map)
  2529. }
  2530. }
  2531. if (key==='nonConformance'){
  2532. if (dataLists[0]['nonConformance']===1){
  2533. map.name ='【排查】所办号码月缴费金额不符合客户消费能力:' ;
  2534. map.text = '是';
  2535. that.dataRisk.push(map)
  2536. }
  2537. }
  2538. if (key==='isDxNumber'){
  2539. if (dataLists[0]['isDxNumber']===1){
  2540. map.name ='【排查】客户名下无电信号码要求新办(非携入):' ;
  2541. map.text = '是';
  2542. that.dataRisk.push(map)
  2543. }
  2544. }
  2545. if (key==='isBroadband'){
  2546. if (dataLists[0]['isBroadband']===2){
  2547. map.name ='【排查】申请号码办理征信类、融合宽带业务:' ;
  2548. map.text = '否';
  2549. that.dataRisk.push(map)
  2550. }
  2551. }
  2552. if (key==='isUseTo'){
  2553. if (dataLists[0]['isUseTo']===1){
  2554. map.name ='【排查】申请号码使用用途异常:' ;
  2555. map.text = '是';
  2556. that.dataRisk.push(map)
  2557. }
  2558. }
  2559. if (key==='isRefund'){
  2560. if (dataLists[0]['isRefund']===1){
  2561. map.name ='【排查】客户名下号码存在异常高频率充值、退费:' ;
  2562. map.text = '是';
  2563. that.dataRisk.push(map)
  2564. }
  2565. }
  2566. if (key==='isShutDown'){
  2567. if (dataLists[0]['isShutDown']===1){
  2568. map.name ='【排查】客户名下已有号码(含已注销号码)存在各类关停:' ;
  2569. map.text = '是';
  2570. that.dataRisk.push(map)
  2571. }
  2572. }
  2573. if (key==='isNewly'){
  2574. if (dataLists[0]['isNewly']===1){
  2575. map.name ='【排查】客户名下在用号码无使用记录,仍要求新办号码:' ;
  2576. map.text = '是';
  2577. that.dataRisk.push(map)
  2578. }
  2579. }
  2580. if (key==='isChannel'){
  2581. if (dataLists[0]['isChannel']===1){
  2582. map.name ='【排查】在多个渠道多频次入网的异常情况:' ;
  2583. map.text = '是';
  2584. that.dataRisk.push(map)
  2585. }
  2586. }
  2587. if (key==='isInvolvingFraud'){
  2588. if (dataLists[0]['isInvolvingFraud']===1){
  2589. map.name = '【排查】黑名单到期客户新入网的高危疑似涉诈号码:' ;
  2590. map.text = '是';
  2591. that.dataRisk.push(map)
  2592. }
  2593. }
  2594. });
  2595. if (that.dataRisk.length>0) {
  2596. //是否有风险
  2597. that.riskShow=false;//有风险
  2598. }
  2599. },
  2600. /**下一步骤*/
  2601. nextSteps() {
  2602. if (this.current===0){
  2603. var info= this.showCheck0('all');
  2604. if (info===false){
  2605. return
  2606. }
  2607. }
  2608. if (this.current === 1) {
  2609. var info = this.showCheck1('all');
  2610. if (info === false) {
  2611. return
  2612. }
  2613. let that = this;
  2614. console.info(this.model.calltestResults);
  2615. that.addIng == false
  2616. let data = this.getData('next');
  2617. let id = that.model.id;
  2618. let i = 1;
  2619. let dataMessage = '';
  2620. const h = this.$createElement
  2621. this.newDatas = [];
  2622. if (this.model.calltestResults === 1 || this.model.calltestResults === '1') {
  2623. this.calltestResultsName = '关机';
  2624. }
  2625. if (this.model.calltestResults === 2 || this.model.calltestResults === '2') {
  2626. this.calltestResultsName = '未接通';
  2627. }
  2628. if (this.model.calltestResults === 3 || this.model.calltestResults === '3') {
  2629. this.calltestResultsName = '可接通不知晓入网事宜';
  2630. }
  2631. if (this.model.calltestResults === 4 || this.model.calltestResults === '4') {
  2632. this.calltestResultsName = '可接通认可办理';
  2633. }
  2634. //集合遍历
  2635. var company = '';
  2636. var hall = '';
  2637. for (var item of this.sysCompany) {
  2638. if (item.id === this.model.company) {
  2639. this.companyName = item.name
  2640. for (var it of item.sysBusinessHallList) {
  2641. if (it.id === this.model.sysBusinessHall) {
  2642. this.hallName = it.name
  2643. }
  2644. }
  2645. }
  2646. }
  2647. this.newDatas.push('异常信息提醒:')
  2648. this.newDatas.push('该用户以下填写信息可能触发风险请确认是否继续操作!!!')
  2649. // if (data["calltestResults"] === '2') {
  2650. // this.newDatas.push(i++ + '、该用户拨测号码未接通 请确认是否继续操作 。 ')
  2651. //
  2652. // }
  2653. // if ( data["judgmentResearch"] === '3' ) {
  2654. // this.newDatas.push(i++ + '、该用户附件地址人工判研异常 。 ')
  2655. // }
  2656. // if (data["calltestResults"] === '1') {
  2657. // this.newDatas.push(i++ + '、该用户拨测号码关机 请确认是否继续操作 。 ')
  2658. //
  2659. // }
  2660. // if (this.isSizeNumberResults === 'is') {
  2661. // this.newDatas.push(i++ + ' 、该用户有多个不友好研判结果 请确认是否继续操作 。 ')
  2662. //
  2663. // }
  2664. // if (data["judgmentResearch"] === '1' ) {
  2665. // if (parseFloat(this.distance1) > parseFloat(this.distance)) {
  2666. // this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),营业厅地址 距离过远 请确认是否继续操作 。 ')
  2667. // }
  2668. // if (parseFloat(this.distance2) > parseFloat(this.distance)) {
  2669. // this.newDatas.push(i++ + ' 、该用户 工作地址 , 营业厅地址 距离过远 请确认是否继续操作 。 ')
  2670. // }
  2671. // if (parseFloat(this.distance3) > parseFloat(this.distance)) {
  2672. // this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),工作地址距离过远 请确认是否继续操作 。 ')
  2673. // }
  2674. // }
  2675. this.getDataRisk(data)
  2676. // if (this.newDatas.length === 1) {
  2677. //newDatas.push(h('p', null, i++ +'、 暂无风险提示 请继续操作。 '))
  2678. //} else {
  2679. //是否显示继续操作页面
  2680. this.showInfo = true;
  2681. //document.getElementById('showInfo').innerHTML = h('div', null, this.newDatas)
  2682. // this.$confirm({
  2683. // okText: '继续操作',
  2684. // cancelText: '终止操作',
  2685. // title: "确认是否继续",
  2686. // content: h('div', null, newDatas),
  2687. // onOk: function () {
  2688. //
  2689. // } ,
  2690. // onCancel:function (){
  2691. // data['status']="0";//中断提交
  2692. // that.submit(data,id)
  2693. // }
  2694. // });
  2695. }
  2696. if (this.current < this.steps.length) {
  2697. this.current = this.current + 1;
  2698. }
  2699. },
  2700. /**上一步骤*/
  2701. prevSteps() {
  2702. if (this.current != 0) {
  2703. this.current = this.current - 1;
  2704. }
  2705. },
  2706. /**终止操作页面上一步骤*/
  2707. terminatingPrevSteps() {
  2708. this.showInfo=false;
  2709. if (this.current != 0) {
  2710. this.current = 1;
  2711. }
  2712. },
  2713. getData(info) {
  2714. var arr = '';
  2715. var ope='';
  2716. if (this.model.numberResults instanceof Array){
  2717. }
  2718. if (this.model.numberResults instanceof String){
  2719. }
  2720. if (this.model.numberResults !== undefined && this.model.numberResults !== "undefined" && this.model.numberResults !==''&& this.model.numberResults !==null && this.model.numberResults.length!==0 ) {
  2721. arr = this.model.numberResults+'';
  2722. }
  2723. if (this.model.operatorType!== undefined && this.model.operatorType !== "undefined"
  2724. && this.model.operatorType !==''&& this.model.operatorType !==null && this.model.operatorType.length!==0 ){
  2725. ope =this.model.operatorType+'';
  2726. }
  2727. if (info==='submit'){
  2728. if (this.industryQiTa!=='' || this.industryQiTa!==null){
  2729. if (this.model.industry==='其它'){
  2730. this.model.industry = this.industryQiTa;
  2731. }
  2732. }
  2733. }
  2734. if (info==='submit'){
  2735. if (this.form.value.length>0) {
  2736. this.model.newPhone=this.form.value.join(',');
  2737. }else {
  2738. return this.$message.warning('新办号码至少选择一项!!!', 3);
  2739. }
  2740. }
  2741. let data = {
  2742. "sysBusinessHall": this.model.sysBusinessHall,
  2743. "company": this.model.company,
  2744. //用户id
  2745. "id": this.model.id,
  2746. "yidong": this.model.yidong,
  2747. "dianxin": this.model.dianxin,
  2748. "liantong": this.model.liantong,
  2749. "qita": this.model.qita,
  2750. //联电归属地
  2751. "address": this.model.address,
  2752. //拨测联系电话
  2753. "phone": this.model.phone,
  2754. //拨测结果
  2755. "calltestResults": this.model.calltestResults,
  2756. //证件地址
  2757. "idCardAddress": this.model.idCardAddress,
  2758. //现住地址
  2759. "currentAddress": this.model.currentAddress,
  2760. //现用号码运营商
  2761. "operator": this.model.operator,
  2762. //现用号码运营商类型
  2763. "operatorType": ope,
  2764. //现用号码运营商类型备注
  2765. "operatorTypeNote": this.model.operatorTypeNote,
  2766. //现用号码使用年限
  2767. "useLife": this.model.useLife,
  2768. //现用号码使用用途
  2769. "phonePurpose": this.model.phonePurpose,
  2770. //是否将高危号码上报蓝、紫名单或不可复开关停
  2771. "numberResults": arr ,
  2772. "cardStartTimeAndEnd":this.model.cardStartTimeAndEnd,
  2773. "judgmentResearchAddress":this.model.judgmentResearchAddress,
  2774. "cardNo": this.model.cardNo,
  2775. "cardName": this.model.cardName,
  2776. "cardStartTime": this.model.cardStartTime,
  2777. "cardEndTime": this.model.cardEndTime,
  2778. "wordAddress": this.model.wordAddress,
  2779. // "businessAddress": this.model.businessAddress,
  2780. "positionInformation": this.model.positionInformation,
  2781. "status": '',
  2782. "judgmentResearch":this.model.judgmentResearch,
  2783. "industry":this.model.industry,
  2784. "newPhone": this.model.newPhone,
  2785. //客户名下无电信号码
  2786. "isDxNumber": this.model.isDxNumber,
  2787. //客户名下无电信号码备注
  2788. "isDxNumberNote": this.model.isDxNumberNote,
  2789. //客户直接要求办理移动号码入网
  2790. "directRequirements":this.model.directRequirements,
  2791. "directRequirementsNode":this.model.directRequirementsNode,
  2792. //客户主动申请一次性办理超过一个号码
  2793. "passOne":this.model.passOne,
  2794. "passOneNode":this.model.passOneNode,
  2795. //所办金额不符合客户消费能力
  2796. "nonConformance":this.model.nonConformance,
  2797. "nonConformanceNode":this.model.nonConformanceNode,
  2798. //申请号码办理征信类、融合宽带业务
  2799. "isBroadband": this.model.isBroadband,
  2800. //申请号码办理征信类、融合宽带业务备注
  2801. "isBroadbandNote": this.model.isBroadbandNote,
  2802. //申请号码使用用途异常
  2803. "isUseTo": this.model.isUseTo,
  2804. //申请号码使用用途异常备注
  2805. "isUseToNote": this.model.isUseToNote,
  2806. //客户名下号码存在异常高频率充值、退费
  2807. "isRefund": this.model.isRefund,
  2808. //客户名下号码存在异常高频率充值、退费备注
  2809. "isRefundNote": this.model.isRefundNote,
  2810. //客户名下已有号码(含已注销号码)存在各类关停
  2811. "isShutDown": this.model.isShutDown,
  2812. //客户名下已有号码(含已注销号码)存在各类关停备注
  2813. "isShutDownNote": this.model.isShutDownNote,
  2814. //客户名下在用号码无使用记录,仍要求新办号码
  2815. "isNewly": this.model.isNewly,
  2816. //客户名下在用号码无使用记录,仍要求新办号码备注
  2817. "isNewlyNote": this.model.isNewlyNote,
  2818. //在多个渠道多频次入网的异常情况
  2819. "isChannel": this.model.isChannel,
  2820. //在多个渠道多频次入网的异常情况备注
  2821. "isChannelNote": this.model.isChannelNote,
  2822. //黑名单到期客户新入网的高危疑似涉诈号码
  2823. "isInvolvingFraud": this.model.isInvolvingFraud,
  2824. //黑名单到期客户新入网的高危疑似涉诈号码备注
  2825. "isInvolvingFraudNote": this.model.isInvolvingFraudNote,
  2826. };
  2827. return data;
  2828. },
  2829. submit(data, id) {
  2830. let mes = '提交成功';
  2831. if (data["status"] === '0') {
  2832. mes = "终止操作 数据保存成功! "
  2833. }
  2834. if (this.model.cardNo==='' || this.model.cardNo===null || this.model.cardNo===undefined){
  2835. this.clearModel()
  2836. this.$message.success('证件信息为空,暂不保存', 3);
  2837. this.addIng == true;
  2838. return
  2839. }
  2840. if (id == null) {
  2841. postAction("/businessReminderCard/add", data).then((res) => {
  2842. if (res.success) {
  2843. this.clearModel()
  2844. this.$message.success(mes, 3);
  2845. this.addIng == true
  2846. location.reload();
  2847. // this.onCance ()
  2848. //this.closeCurrent();
  2849. //this.$router.replace({ path: this.$route.path })
  2850. } else {
  2851. this.$message.error("提交失败");
  2852. //location.reload();
  2853. // this.onCance ()
  2854. // this.closeCurrent();
  2855. // this.$router.replace({ path: this.$route.path })
  2856. }
  2857. })
  2858. } else {
  2859. //data['newBusinessAddress']=this.model.sysBusinessHall;
  2860. postAction("/businessReminderCard/editById", data).then((res) => {
  2861. if (res.success) {
  2862. this.clearModel()
  2863. this.$message.success('修改成功', 7);
  2864. this.addIng == true
  2865. this.$router.go(-1);
  2866. this.closeCurrent();
  2867. } else {
  2868. this.$message.error("修改失败");
  2869. this.addIng == true;
  2870. }
  2871. })
  2872. }
  2873. },
  2874. //继续操作
  2875. continueOperation() {
  2876. this.showInfo = false;
  2877. },
  2878. //终止操作
  2879. terminatingOperation() {
  2880. let data = this.getData('submit');
  2881. data['status'] = "0";//中断提交
  2882. this.showInfo = false;
  2883. this.submit(data, this.model.id)
  2884. },
  2885. check3(data){
  2886. var info = true;
  2887. var reg = RegExp(/numberResults/);
  2888. if (data==='all' || reg.exec(data)) {
  2889. if (data==='all'){
  2890. if (this.model.numberResults === '' || this.model.numberResults === null || this.model.numberResults.length === 0) {
  2891. this.numberResults=true;
  2892. info=false;
  2893. } else {
  2894. this.numberResults=false;
  2895. }
  2896. }else {
  2897. if (this.model.numberResults === '' || this.model.numberResults === null || this.model.numberResults.length === 0) {
  2898. this.numberResults=false;
  2899. }
  2900. }
  2901. if(reg.exec(data)){
  2902. for (let i = 0; i < this.model.numberResults.length; i++){
  2903. if (data==='numberResults'+this.model.numberResults[i]){
  2904. //在取消选择
  2905. if (this.model.numberResults.length===1){
  2906. this.numberResults=true;
  2907. info=false;
  2908. }else {
  2909. this.numberResults=false;
  2910. }
  2911. }
  2912. }
  2913. }
  2914. }
  2915. return info;
  2916. },
  2917. /**新增*/
  2918. submitBusiness() {
  2919. var info = true;
  2920. info=this.check3('all');
  2921. if (info===false){
  2922. return
  2923. }
  2924. let that = this;
  2925. that.addIng == false
  2926. let data = this.getData('submit');
  2927. let id = that.model.id;
  2928. let i = 1;
  2929. let dataMessage = '';
  2930. const h = this.$createElement
  2931. const newDatas = [];
  2932. data['status'] = "1";//确认提交
  2933. this.submit(data, id)
  2934. // if( data["calltestResults"] ==='2'){
  2935. // newDatas.push(h('p', null, i++ +'、该用户拨测号码未接通 请确认风险 。 '))
  2936. //
  2937. // }if(this.isSizeNumberResults==='is' ){
  2938. // newDatas.push(h('p', null, i++ +' 、该用户有多个不友好研判结果 请确认风险 。 '))
  2939. //
  2940. // }if(this.isSizeNumberResults==='is' ){
  2941. // newDatas.push(h('p', null, i++ +' 、该用户现住地址(到村/小区),工作地址,营业厅地址距离过远 请确认风险 。 '))
  2942. //
  2943. // }else{
  2944. // newDatas.push(h('p', null, i++ +' 暂无风险提示 请继续。 '))
  2945. // }
  2946. //
  2947. // this.$confirm({
  2948. // title: "确认是否继续提交",
  2949. // content: h('div', null, newDatas),
  2950. // onOk: function () {
  2951. // if (id == null){
  2952. // postAction("/businessReminderCard/add", data).then((res) => {
  2953. // if (res.success) {
  2954. // that.clearModel()
  2955. // that.$message.success("提交成功", 7);
  2956. // that.addIng == true
  2957. // } else {
  2958. // that.$message.error("提交失败");
  2959. // that.addIng == true;
  2960. // }
  2961. // })
  2962. // }else {
  2963. // postAction("/businessReminderCard/editById", data).then((res) => {
  2964. // if (res.success) {
  2965. // that.clearModel()
  2966. // this.$message.success("修改成功", 7);
  2967. // that.addIng == true
  2968. // this.$router.go(-1);
  2969. // this.closeCurrent();
  2970. // } else {
  2971. // this.$message.error("修改失败");
  2972. // that.addIng == true;
  2973. // }
  2974. // })
  2975. //
  2976. // }
  2977. // }
  2978. // });
  2979. },
  2980. /**充值表单*/
  2981. clearModel() {
  2982. this.model = {}
  2983. this.current = 0;
  2984. },
  2985. },
  2986. }
  2987. </script>
  2988. <style scoped>
  2989. .is-error {
  2990. border-color: red
  2991. }
  2992. .example {
  2993. text-align: center;
  2994. background: rgba(0, 0, 0, 0.05);
  2995. border-radius: 4px;
  2996. margin-bottom: 20px;
  2997. padding: 30px 50px;
  2998. margin: 20px 0;
  2999. }
  3000. .box {
  3001. margin: 0;
  3002. padding: 0;
  3003. }
  3004. .redInfo {
  3005. display: inline-block;
  3006. margin-right: 4px;
  3007. color: #f5222d;
  3008. font-size: 14px;
  3009. font-family: SimSun, sans-serif;
  3010. line-height: 1;
  3011. content: '*';
  3012. }
  3013. /deep/.ant-table-tbody .red{
  3014. color: red !important;
  3015. }
  3016. </style>