registrationUpdate.vue 131 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416
  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" v-if='showMap'>
  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. <!--附加信息-->
  678. <a-card style="margin-bottom:10px" v-show="current==0" v-if='!showMap'>
  679. <div>
  680. <a-form-model
  681. ref="form"
  682. :label-col="labelCol"
  683. :wrapper-col="wrapperCol"
  684. :model="model"
  685. :rules="rules"
  686. >
  687. <div>
  688. <!-- <a-divider orientation="left">附加信息-->
  689. <!-- </a-divider>-->
  690. <a-row>
  691. <a-col>
  692. <a-row>
  693. <a-col :span='8'>
  694. <a-form-model-item label="营业厅地址" prop="sysBusinessHallAndSysCompany" :labelCol="{ span:6 }" :wrapperCol="{ span: 14 }" >
  695. <a-col :span="14">
  696. <a-select placeholder="请选择分公司" v-model="model.company" id="company" :disabled="isDisabled" >
  697. <a-select-option v-for="(item,index) in sysCompany" :key="item.id" :value="item.id"
  698. @click="change(item.id)">{{ item.name }}
  699. </a-select-option>
  700. </a-select>
  701. </a-col>
  702. <a-col :span="4">
  703. <a-select placeholder="请选择营业厅地址" v-model="model.sysBusinessHall" style="margin: 0px 0px;width: 150px" :disabled="isDisabled">
  704. <a-select-option v-for="item in sysBusinessHallList" :key="item.id" :value="item.id" >
  705. {{ item.name }}
  706. </a-select-option>
  707. </a-select>
  708. </a-col>
  709. <br>
  710. <div v-if="sysBusinessHallNull" style="color: red;margin: 0px 0px" >请选择营业厅地址</div>
  711. </a-form-model-item>
  712. </a-col>
  713. <a-col :span='8'>
  714. <a-form-model-item label="工作地址" prop="industry" :labelCol="{ span:8}" :wrapperCol="{ span: 10}">
  715. <!-- <a-radio-group v-model="model.wordAddress" button-style="solid">-->
  716. <a-input v-model="model.wordAddress" placeholder="请输入工作地址"
  717. id="wordAddress" @blur="showCheck0('wordAddress')" :disabled="isDisabled"></a-input>
  718. <div class="map_search_result" v-show="this.showsearchResult">
  719. <ul style=" border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
  720. <li style=" border-radius: 5px;list-style: none;border: 0px solid;padding: 0px; " v-for="(item,index) in poiList" :key="index">
  721. {{ item.name }}
  722. </li>
  723. </ul>
  724. </div>
  725. <!-- </a-radio-group>-->
  726. </a-form-model-item>
  727. </a-col>
  728. <a-col :span='8'>
  729. <a-form-model-item label="现住地址(到村/小区)" prop="industry" :labelCol="{ span:9}" :wrapperCol="{ span: 10}">
  730. <!-- <a-radio-group v-model="model.currentAddress" button-style="solid">-->
  731. <a-input v-model="model.currentAddress" placeholder="请输入现住地址"
  732. id="currentAddress" @blur="showCheck0('currentAddress')" :disabled="isDisabled"></a-input>
  733. <div class="map_search_result" v-show="this.showsearchcurrentAddress">
  734. <ul style=" border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
  735. <li style=" border-radius: 5px;list-style: none;border: 0px solid;padding: 0px; " v-for="(item,index) in poiList"
  736. :key="index">{{ item.name }}
  737. </li>
  738. </ul>
  739. </div>
  740. <!-- </a-radio-group>-->
  741. </a-form-model-item>
  742. </a-col>
  743. </a-row>
  744. <a-row>
  745. <a-col :span="12">
  746. <a-form-model-item label="人工地址判研" prop="judgmentResearchAddress" :labelCol="{span:4}"
  747. :wrapperCol="{span:12}">
  748. <a-radio-group v-model="model.judgmentResearchAddress" button-style="solid" @change="showCheck0('judgmentResearchAddress')" :disabled="isDisabled">
  749. <a-radio value="1" style="color: red">人工判研-异常</a-radio>
  750. <a-radio value="2">人工判研-正常</a-radio>
  751. </a-radio-group>
  752. <div v-if="judgmentResearchAddressShow" style="color: red;margin-left: 40px">请选择判研结果</div>
  753. </a-form-model-item>
  754. </a-col>
  755. </a-row>
  756. </a-col>
  757. <!-- <a-col :span="9">-->
  758. <!-- <div>-->
  759. <!-- <div id="container" :style="{width: '600px', height: '300px'}"></div>-->
  760. <!-- </div>-->
  761. <!-- </a-col>-->
  762. </a-row>
  763. </div>
  764. </a-form-model>
  765. </div>
  766. </a-card>
  767. <a-card style="position: relative;bottom: 0;width: 100%">
  768. <div style="text-align: center">
  769. <a-button v-if=" !this.showInfo" style="margin-right: 8px" @click="terminatingOperation" :disabled="isDisabled">终止</a-button>
  770. <a-button v-if="current < steps.length - 1 && !this.showInfo" type="primary" @click="nextSteps">下一步</a-button>
  771. <a-button
  772. v-if="current == steps.length - 1 && !this.showInfo"
  773. @click="submitBusiness"
  774. type="primary" :disabled="isDisabled"
  775. >
  776. 提交
  777. </a-button>
  778. <a-button v-if="current > 0 && !this.showInfo" style="margin-left: 8px" @click="prevSteps">上一步</a-button>
  779. <a-button v-if="current==2 && this.showInfo" style="margin-left: 8px;margin-right: 8px" @click="terminatingPrevSteps">上一步</a-button>
  780. <a-button @click="continueOperation" type="primary" v-if="current==2 && this.showInfo ">
  781. 继续操作
  782. </a-button>
  783. <a-button v-if="current==2 && this.showInfo " style="margin-left: 8px" @click="terminatingOperation" :disabled="isDisabled">终止操作
  784. </a-button>
  785. </div>
  786. </a-card>
  787. </div>
  788. </template>
  789. <script>
  790. import Popup from './PopupSubTable.vue';
  791. import {httpAction, postAction, getAction} from "@api/manage";
  792. import {JeecgListMixin} from '@/mixins/JeecgListMixin'
  793. import AMapLoader from '@amap/amap-jsapi-loader'
  794. import {reactive} from 'vue';
  795. import axios from 'axios';
  796. //import registationModel from './model/registationModel.vue'
  797. window._AMapSecurityConfig = {
  798. securityJsCode: 'f762c44f71422cd56f90acc2a8e75144' //填写你的安全密钥
  799. };
  800. export default {
  801. name: "registration",
  802. inject: ['closeCurrent'],
  803. mixins: [JeecgListMixin],
  804. data() {
  805. return {
  806. array:[], //创建一个数组
  807. form:{
  808. value:[] //接收每个input框的值
  809. },
  810. riskShow:true,
  811. columns:[{ title: '证件编号', width: 180, dataIndex: 'cardNo', key: 'cardNo' },
  812. { title: '客户名称', width: 150, dataIndex: 'cardName', key: 'cardName' , scopedSlots: {customRender: 'cardName'} },
  813. { title: '年龄', width: 150, dataIndex: 'age', key: 'age' , scopedSlots: {customRender: 'age'} },
  814. { title: '证件是否在期', dataIndex: 'cardStartTimeAndEnd', key: '1', width: 150 , scopedSlots: {customRender: 'cardStartTimeAndEnd'}},
  815. { title: '创建人', dataIndex: 'createBy', key: 'createBy', width: 150 },
  816. { title: '创建日期', dataIndex: 'createTime', key: 'createTime', width: 150 },
  817. { title: '工作地址', dataIndex: 'wordAddress', key: 'wordAddress', width: 150 },
  818. { title: '营业厅地址', dataIndex: 'sysBusinessHall', key: 'sysBusinessHall', width: 150 },
  819. { title: '现住地址', dataIndex: 'currentAddress', key: 'currentAddress', width: 150 },
  820. { title: '智能地址研判', dataIndex: 'judgmentResearch', key: 'judgmentResearch' , width: 150 , scopedSlots: {customRender: 'judgmentResearch'}},
  821. { title: '人工地址判研', dataIndex: 'judgmentResearchAddress', key: 'judgmentResearchAddress', width: 150 , scopedSlots: {customRender: 'judgmentResearchAddress'}},
  822. { title: '拨测结果', dataIndex: 'calltestResults', key: 'calltestResults', width: 150 , scopedSlots: {customRender: 'calltestResults'}},
  823. { title: '拨测联系电话', dataIndex: 'phone', key: 'phone', width: 150 },
  824. // { title: '一证通查结果', dataIndex: 'operator', key: 'operator', width: 150 },
  825. { title: '运营商类型', dataIndex: 'operatorType', key: 'operatorType' ,width: 150},
  826. { title: '现用号码使用用途', dataIndex: 'phonePurpose', key: 'phonePurpose',width: 150 },
  827. { title: '新办号码', dataIndex: 'newPhone', key: 'newPhone' ,width: 250},
  828. { title: '后续处理', width: 150, dataIndex: 'numberResults', key: 'numberResults', scopedSlots: {customRender: 'numberResults'}},
  829. ],
  830. columns2:[
  831. {
  832. title: '触发风险条目',
  833. dataIndex: 'name',
  834. },
  835. {
  836. title: '触发风险原因',
  837. className: 'text',
  838. dataIndex: 'text',
  839. scopedSlots: {customRender: 'text'}
  840. }
  841. ],
  842. //在详情中后期处理carf增加变更日志(默认不站开) 第一行创建人等 第二行 修改人 修改时间 修改人区局 修改人营业厅
  843. columns3:[
  844. {
  845. title: '创建人',
  846. dataIndex: 'createBy',
  847. },
  848. {
  849. title: '修改人',
  850. dataIndex: 'updateBy'
  851. },
  852. {
  853. title: '修改时间',
  854. dataIndex: 'updateTime'
  855. },
  856. {
  857. title: '修改人区局',
  858. dataIndex: 'sysCompany'
  859. },
  860. {
  861. title: '修改人营业厅',
  862. dataIndex: 'sysBusinessHall'
  863. }
  864. ],
  865. dataRisk:[],
  866. dataLog:[],
  867. showDataLog:true,
  868. open:false,
  869. disabledList:[],
  870. fetching: false,
  871. randomId: '',
  872. getSysDictItem: [],
  873. getDataSysDictItem:[],
  874. cardDateNull: false,
  875. industryNull: false,
  876. industryNullQiTa:false,
  877. operatorTypeNull: false,
  878. operatorNull: false,
  879. calltestResultsNull: false,
  880. sysBusinessHallNull: false,
  881. judgmentResearchNull: false,
  882. judgmentResearchAddressShow: false,
  883. color: {
  884. cardNoColor: 'black'
  885. },
  886. validatorRules: {},
  887. calltestResultsName: '',
  888. companyName: '',
  889. hallName: '',
  890. coordinate:'',
  891. sysCompany: [],
  892. sysBusinessHallList: "",
  893. cities: "",
  894. formValidate: {
  895. province: '',
  896. city: ''
  897. },
  898. size:1,
  899. ruleValidate: '',
  900. countryName: "",
  901. cityName: "",
  902. country: '',
  903. lnglats: [],
  904. map: null,
  905. lnglatMaps: new Map(),
  906. zoom: 18,
  907. center: [118.02, 24.48],
  908. searchOption: {
  909. // 限制搜索城市的范围
  910. citylimit: false,
  911. },
  912. optionsWithDisabled:
  913. [{
  914. text: '非高危',
  915. value: '1',
  916. }, {
  917. text: '上报关停',
  918. value: '2',
  919. }, {
  920. text: '上报蓝名单',
  921. value: '3',
  922. },{
  923. text: '上报紫名单',
  924. value: '4',
  925. }],
  926. defaultValue: "",
  927. content: "",
  928. inputValue: "",
  929. mapResultList: [],
  930. searchResult: {
  931. address: "",
  932. latitude: "",
  933. longitude: "",
  934. name: "",
  935. type: "",
  936. country: "",
  937. province: "",
  938. city: "",
  939. area: "",
  940. township: "",
  941. street: "",
  942. neighborhood: "",
  943. locationName: "",
  944. },
  945. events: {
  946. click(e) {
  947. _this.center = [e.lnglat.lng, e.lnglat.lat];
  948. _this.form.lon = e.lnglat.lng;
  949. _this.form.lat = e.lnglat.lat;
  950. _this.getAddress(_this.center);
  951. _this.defaultValue = "";
  952. },
  953. },
  954. addIng: false,
  955. url: {
  956. "querySizeByCardNo": "/businessReminderCard/querySizeByCardNo",
  957. "getSysDictItem": "/sys/dict/getDictItems",
  958. "list": "",
  959. "add": "/businessReminderCard/add",
  960. "editById": "/businessReminderCard/editById",
  961. "queryById": "/businessReminderCard/queryById",
  962. "queryByCardNo": "/businessReminderCard/queryByCardNo",
  963. "getCompany": "/sysCompany/list",
  964. "getLog": "/businessReminderCard/getBusinessReminderCardLogs",
  965. },
  966. labelCol: {span: 2},
  967. wrapperCol: {span: 23},
  968. // 1列
  969. labelCol1: {
  970. labelCol: {
  971. xs: {span: 24},
  972. sm: {span: 2},
  973. },
  974. wrapperCol: {
  975. xs: {span: 24},
  976. sm: {span: 21},
  977. }
  978. },
  979. labelCol1Pro: {
  980. labelCol: {
  981. span: 8
  982. },
  983. wrapperCol: {
  984. span: 15
  985. }
  986. },
  987. labelCol1Pro1A3: {
  988. labelCol: {
  989. span: 14
  990. },
  991. wrapperCol: {
  992. span: 10
  993. }
  994. },
  995. labelCol1ProA3: {
  996. labelCol: {
  997. span: 8
  998. },
  999. wrapperCol: {
  1000. span: 15
  1001. }
  1002. },
  1003. labelCol1Results: {
  1004. labelCol: {
  1005. span: 5
  1006. },
  1007. wrapperCol: {
  1008. span: 15
  1009. }
  1010. },
  1011. labelCol1ProMax: {
  1012. labelCol: {
  1013. span: 8
  1014. },
  1015. wrapperCol: {
  1016. span: 15
  1017. }
  1018. }, labelCol1ProMax5A6: {
  1019. labelCol: {
  1020. span: 14
  1021. },
  1022. wrapperCol: {
  1023. span: 5
  1024. }
  1025. },
  1026. labelCol1ProMaxA6: {
  1027. labelCol: {
  1028. span: 14
  1029. },
  1030. wrapperCol: {
  1031. span: 5
  1032. }
  1033. },
  1034. labelCol1ProMax4A8: {
  1035. labelCol: {
  1036. span: 12
  1037. },
  1038. wrapperCol: {
  1039. span: 5
  1040. }
  1041. }, labelCol1ProMaxA8: {
  1042. labelCol: {
  1043. span: 13
  1044. },
  1045. wrapperCol: {
  1046. span: 5
  1047. }
  1048. },
  1049. labelCol1ProMax2A7: {
  1050. labelCol: {
  1051. span: 11
  1052. },
  1053. wrapperCol: {
  1054. span: 5
  1055. }
  1056. },
  1057. labelCol1ProMaxPlus: {
  1058. labelCol: {
  1059. span: 12
  1060. },
  1061. wrapperCol: {
  1062. span: 12
  1063. }
  1064. },
  1065. // 2列
  1066. labelCol2: {
  1067. labelCol: {
  1068. span: 7
  1069. },
  1070. wrapperCol: {
  1071. span: 16
  1072. }
  1073. }, labelColDate: {
  1074. labelCol: {
  1075. span: 7
  1076. },
  1077. wrapperCol: {
  1078. span: 14
  1079. }
  1080. },
  1081. addressCol: {
  1082. labelCol: {
  1083. span: 8
  1084. },
  1085. wrapperCol: {
  1086. span: 16
  1087. }
  1088. },
  1089. //校验的规则
  1090. rules: {
  1091. cardNo: [
  1092. {required: true, message: '请输入证件编号!'},
  1093. {validator: this.validateCardNo}
  1094. ],
  1095. cardName: [{
  1096. required: true, message: '请输姓名!'
  1097. }],
  1098. cardDate: [
  1099. {required: true, message: '请输入身份证证件有效期...'}
  1100. ],
  1101. phone: [
  1102. {required: true, message: '请输入电话!', trigger: 'blur'}, {validator: this.isPhone}
  1103. ],
  1104. modelAddress: [
  1105. {required: true, message: '请输入联电归属地!', trigger: 'blur'}
  1106. ],
  1107. operatorType: [
  1108. {
  1109. required: true,
  1110. message: '请选择运营商类型',
  1111. trigger: 'blur'
  1112. }
  1113. ],
  1114. phonePurpose: [
  1115. {
  1116. required: true,
  1117. message: '请选择新办号码用途',
  1118. trigger: 'blur'
  1119. }
  1120. ],
  1121. industry: [
  1122. {
  1123. required: true,
  1124. message: '',
  1125. trigger: 'blur'
  1126. }
  1127. ],
  1128. modelOperator: [
  1129. {
  1130. required: true,
  1131. message: '请选择客户现用号码!',
  1132. trigger: 'blur'
  1133. }
  1134. ],
  1135. calltestResultsName: [
  1136. {
  1137. required: true,
  1138. message: '请选择拨测结果!',
  1139. trigger: 'blur'
  1140. }
  1141. ],
  1142. sysBusinessHallAndSysCompany: [
  1143. {
  1144. required: true,
  1145. message: '请选择营业厅地址!',
  1146. trigger: 'blur'
  1147. }
  1148. ],
  1149. judgmentResearchAddress: [
  1150. {
  1151. required: true,
  1152. message: '请选择人工判研结果!',
  1153. trigger: 'blur'
  1154. }
  1155. ],
  1156. workAddress: [
  1157. {
  1158. required: true,
  1159. message: '请输入工作地址!',
  1160. trigger: 'blur'
  1161. }
  1162. ],
  1163. currentAddress: [
  1164. {
  1165. required: true,
  1166. message: '请输入现居住地址!',
  1167. trigger: 'blur'
  1168. }
  1169. ],
  1170. isDxNumber: [
  1171. {
  1172. required: true,
  1173. message: '请选择客户名下无电信号码!',
  1174. trigger: 'blur'
  1175. }
  1176. ],
  1177. judgmentResearch: [
  1178. {
  1179. required: true,
  1180. message: '请选择判研结果结果!',
  1181. trigger: 'blur'
  1182. }
  1183. ]
  1184. },
  1185. poiList: '',
  1186. isSizeNumberResults: '',
  1187. showsearchResult: false,
  1188. showsearchResultBusinessAddress: true,
  1189. showsearchcurrentAddress: false,
  1190. numberResults: false,
  1191. addressG: '',
  1192. lnglat: {},
  1193. distance: '5',
  1194. distance1: '',
  1195. distance2: '',
  1196. distance3: '',
  1197. showInfo: false,
  1198. newDatas: [],
  1199. cardStartTimeAndEnd: '',
  1200. cardStartTimeAndEndShow: false,
  1201. industryQiTa:'',
  1202. isDisabled:false,
  1203. judgmentResearchDisabledY:true,
  1204. judgmentResearchDisabledZ:true,
  1205. spin:false,
  1206. showIdCardAddress:false,
  1207. showMap:false,
  1208. //表单信息
  1209. model: {
  1210. cardStartTimeAndEnd: '',
  1211. value: 0,
  1212. sysBusinessHall: '',
  1213. company: '',
  1214. industry: '',
  1215. judgmentResearch: '',
  1216. judgmentResearchAddress: '',
  1217. isShutDownNote: '',
  1218. isShutDown: '',
  1219. isRefundNote: '',
  1220. isRefund: '',
  1221. isUseToNote: '',
  1222. isUseTo: '',
  1223. isBroadbandNote: '',
  1224. isBroadband: '',
  1225. isDxNumberNote: '',
  1226. isDxNumber: '',
  1227. //客户直接要求办理移动号码入网
  1228. directRequirements:'',
  1229. directRequirementsNode:'',
  1230. //客户主动申请一次性办理超过一个号码
  1231. passOne:'',
  1232. passOneNode:'',
  1233. //所办金额不符合客户消费能力
  1234. nonConformance:'',
  1235. nonConformanceNode:'',
  1236. calltestResults: '',
  1237. operatorType: [],
  1238. yidong: 0,
  1239. liantong: 0,
  1240. dianxin: 0,
  1241. qita: 0,
  1242. operator: '',
  1243. currentAddress: '',
  1244. phonePurpose: '',
  1245. useLife: '',
  1246. address: '',
  1247. isNewly: '',
  1248. isNewlyNote: '',
  1249. isChannel: '',
  1250. isChannelNote: '',
  1251. isInvolvingFraud: '',
  1252. isInvolvingFraudNote: '',
  1253. numberResults: [],
  1254. id: null,
  1255. phone: null,
  1256. cardNo: '',
  1257. cardName: '',
  1258. cardStartTime: '',
  1259. cardEndTime: '',
  1260. idCardAddress: '',
  1261. wordAddress: '',
  1262. positionInformation: '',
  1263. businessAddress: '',
  1264. newPhone: '',
  1265. newPhone2: '',
  1266. newPhone3: '',
  1267. newPhone4: '',
  1268. newPhone5: ''
  1269. },
  1270. dataList:[],
  1271. current: 0,
  1272. //步骤条
  1273. steps: [
  1274. {
  1275. title: '入网提示卡',
  1276. content: 'First-content',
  1277. },
  1278. {
  1279. title: '排查',
  1280. content: 'First-content',
  1281. },
  1282. {
  1283. title: '后期处理',
  1284. content: 'First-content',
  1285. },
  1286. ],
  1287. }
  1288. },
  1289. created() {
  1290. this.model.id = this.$route.query.id;
  1291. this.model.cardNo = this.$route.query.cardNo;
  1292. if ( this.$route.query.isDisabled!=null && this.$route.query.isDisabled==='true' ){
  1293. this.isDisabled = true;
  1294. }
  1295. },
  1296. mounted() {
  1297. this.initTest();
  1298. this.getSysCompany();
  1299. //DOM初始化完成进行地图初始化
  1300. this.getSysDictItems()
  1301. this.queryById();
  1302. this.disabledListAdd()
  1303. },
  1304. methods: {
  1305. initTest(){
  1306. this.showMap=false;
  1307. },
  1308. // 添加按钮
  1309. add(){
  1310. this.array.push(1) //通过添加array的值,增加input的个数
  1311. },
  1312. del(index){
  1313. if (this.array.length===1){
  1314. return this.$message.warning('新办号码保留至少一项!!!', 3);
  1315. }
  1316. this.form.value.splice(index,1) //先删除form中value对应索引的值
  1317. this.array.splice(index,1) //然后删除array对应索引的值,实现点击删除按钮,减少input框效果
  1318. },
  1319. // dataShow(text, column, record, index ){
  1320. // if (text.record.calltestResults === '未接通' ) {
  1321. // return text.record.calltestResults= '未接通22'
  1322. // }
  1323. // },
  1324. //改变表格某一列或者某一个单元格文本颜色
  1325. cellStyle(record,index){
  1326. // if (record.calltestResults === '未接通' || record.calltestResults == '2'|| record.calltestResults == '3') {
  1327. // return 'red'
  1328. // }
  1329. },
  1330. resultData(result,newPhones){
  1331. for (let i = 0; i < result.length; i++){
  1332. if(result[i].cardStartTimeAndEnd!==null && result[i].cardStartTimeAndEnd!==''){
  1333. if (result[i].cardStartTimeAndEnd==="1"){
  1334. this.dataList[i].cardStartTimeAndEnd='是'
  1335. }
  1336. if (result[i].cardStartTimeAndEnd==="2"){
  1337. this.dataList[i].cardStartTimeAndEnd='否'
  1338. }
  1339. }
  1340. if (result[i].cardNo !== null && result[i].cardNo !== '') {
  1341. if (result[i].cardNo.length === 18 || result[i].cardNo.length === 15) {
  1342. var birthday = result[i].cardNo.substring(6, 14);
  1343. var year = birthday.substring(0, 4);
  1344. // 计算年龄
  1345. var currentYear = new Date().getFullYear();
  1346. // var age = currentYear - parseInt(year);
  1347. var age = result[i].age;
  1348. if (age >= 60) {
  1349. age = age + '岁(年龄偏大)'
  1350. }
  1351. if (age <= 23) {
  1352. age = age + '岁(年龄偏小)'
  1353. }
  1354. this.dataList[i].age = age;
  1355. }
  1356. }
  1357. if (result[i].sysBusinessHall!==null &&result[i].sysBusinessHall!=='' ){
  1358. for (var item of this.sysCompany) {
  1359. if (item.id === this.model.company) {
  1360. this.companyName = item.name;
  1361. for (var it of item.sysBusinessHallList) {
  1362. if (it.id === this.model.sysBusinessHall) {
  1363. this.dataList[i].sysBusinessHall= this.companyName+ this.hallName
  1364. }
  1365. }
  1366. }
  1367. }
  1368. }
  1369. //智能地址研判
  1370. if (result[i].judgmentResearch!==null && result[i].judgmentResearch!==''){
  1371. if (result[i].judgmentResearch==="1"){
  1372. this.dataList[i].judgmentResearch='异常'
  1373. }
  1374. if (result[i].judgmentResearch==="2"){
  1375. this.dataList[i].judgmentResearch='正常'
  1376. }
  1377. }
  1378. //人工地址判研
  1379. if (result[i].judgmentResearchAddress!==null && result[i].judgmentResearchAddress!==''){
  1380. if (result[i].judgmentResearchAddress==="1"){
  1381. this.dataList[i].judgmentResearchAddress='异常'
  1382. }
  1383. if (result[i].judgmentResearchAddress==="2"){
  1384. this.dataList[i].judgmentResearchAddress='正常'
  1385. }
  1386. }
  1387. //拨测结果
  1388. if (result[i].calltestResults!==null && result[i].calltestResults!==''){
  1389. if (result[i].calltestResults==="1"){
  1390. this.dataList[i].calltestResults='关机'
  1391. }
  1392. if (result[i].calltestResults==="2"){
  1393. this.dataList[i].calltestResults='未接通'
  1394. }
  1395. if (result[i].calltestResults==="3"){
  1396. this.dataList[i].calltestResults='可接通不知晓入网事宜'
  1397. }
  1398. if (result[i].calltestResults==="4"){
  1399. this.dataList[i].calltestResults='可接通认可办理'
  1400. }
  1401. }
  1402. //运营商
  1403. // if (result[i].operatorType!==null && result[i].operatorType!==''){
  1404. // if (result[i].operatorType==="1"){
  1405. // this.dataList[i].operatorType='移动'
  1406. // }
  1407. // if (result[i].operatorType==="2"){
  1408. // this.dataList[i].operatorType='联调'
  1409. // }if (result[i].operatorType==="3"){
  1410. // this.dataList[i].operatorType='电信'
  1411. // }if (result[i].operatorType==="4"){
  1412. // this.dataList[i].operatorType='其它'
  1413. // }
  1414. // }
  1415. //一证通查结果
  1416. if (result[i].operator!==null && result[i].operator!==''){
  1417. if (result[i].operator==="1"){
  1418. this.dataList[i].operator='本地运营商'
  1419. }
  1420. if (result[i].operator==="2"){
  1421. this.dataList[i].operator='异地运营商'
  1422. }
  1423. }
  1424. let newPhonesStr='';
  1425. for (var item of newPhones) {
  1426. newPhonesStr+=item+' '
  1427. }
  1428. result[i].newPhone=newPhonesStr;
  1429. if (result[i].numberResults!==null && result[i].numberResults!==''){
  1430. var numberResultsList = result[i]["numberResults"].split(',');
  1431. var numberResultsListStr ='';
  1432. for (var item of numberResultsList) {
  1433. if (item==='1'){
  1434. numberResultsListStr=numberResultsListStr+'非高危'
  1435. }
  1436. if (item==='2'){
  1437. numberResultsListStr=numberResultsListStr+'上报关停'
  1438. }
  1439. if (item==='3'){
  1440. numberResultsListStr=numberResultsListStr+'上报蓝名单 '
  1441. }
  1442. if (item==='4'){
  1443. numberResultsListStr=numberResultsListStr+' 上报紫名单'
  1444. }
  1445. }
  1446. result[i].numberResults=numberResultsListStr
  1447. }
  1448. }
  1449. },
  1450. showModal(){
  1451. this.open = true;
  1452. },
  1453. handleOk(){
  1454. this.open = false;
  1455. },
  1456. modalFormOk2() {
  1457. // 新增/修改 成功时,重载列表
  1458. this.loadData2()
  1459. },
  1460. handleEdit2 (record) {
  1461. this.$refs.registationModel.edit(record)
  1462. this.$refs.registationModel.title = "新增";
  1463. this.$refs.registationModel.disableSubmit = false;
  1464. },
  1465. // 复选框禁用
  1466. checkboxT(row, index) {
  1467. //setTimeout(()=>console.log())
  1468. if (row==="1"){
  1469. this.disabledList.push("2");
  1470. this.disabledList.push("3");
  1471. this.disabledList.push("4");
  1472. }
  1473. if (row==="2"){
  1474. this.disabledList.push("1");
  1475. this.disabledList.push("3");
  1476. this.disabledList.push("4");
  1477. }
  1478. if (row==="3" ){
  1479. this.disabledList.push("1");
  1480. this.disabledList.push("2");
  1481. }
  1482. if (row==="4" ){
  1483. this.disabledList.push("1");
  1484. this.disabledList.push("2");
  1485. }
  1486. for (let i = 0; i < this.model.numberResults.length; i++){
  1487. if (row=== this.model.numberResults[i]){
  1488. //在取消选择
  1489. if (this.model.numberResults.length===1){
  1490. this.disabledList=[];
  1491. }
  1492. }
  1493. }
  1494. },
  1495. disabledListAdd() {
  1496. if (!this.isDisabled) {
  1497. for (let i = 0; i < this.model.numberResults.length; i++) {
  1498. if (this.model.numberResults[i]==="1"){
  1499. this.disabledList.push("2");
  1500. this.disabledList.push("3");
  1501. this.disabledList.push("4");
  1502. }
  1503. if (this.model.numberResults[i]==="2"){
  1504. this.disabledList.push("1");
  1505. this.disabledList.push("3");
  1506. this.disabledList.push("4");
  1507. }
  1508. if (this.model.numberResults[i]==="3" ){
  1509. this.disabledList.push("1");
  1510. this.disabledList.push("2");
  1511. }
  1512. if (this.model.numberResults[i]==="4" ){
  1513. this.disabledList.push("1");
  1514. this.disabledList.push("2");
  1515. }
  1516. }
  1517. }
  1518. if(this.isDisabled){
  1519. this.disabledList.push("1");
  1520. this.disabledList.push("2");
  1521. this.disabledList.push("3");
  1522. this.disabledList.push("4");
  1523. }
  1524. },
  1525. // 特定范围随机数
  1526. genRandom(min, max) {
  1527. return (Math.random() * (max - min + 1) | 0) + min
  1528. },
  1529. clickhandleSearch(data){
  1530. // this.model.industry=data;
  1531. if (data!==null && data!==''){
  1532. this.industryNull=false;
  1533. }
  1534. if (data==='其它'){
  1535. this.industryNullQiTa=true
  1536. this.industryNull=true;
  1537. }else{
  1538. this.industryNullQiTa=false
  1539. }
  1540. },
  1541. handleSearch(val) {
  1542. this.fetching = false
  1543. this.getDataSysDictItem=this.getSysDictItem;
  1544. var getDataSysDictItem =[]
  1545. if (val !== '') {
  1546. for (var i in this.getDataSysDictItem) {
  1547. if (this.getDataSysDictItem[i].text.match(RegExp(val))){
  1548. getDataSysDictItem.push(this.getDataSysDictItem[i])
  1549. }
  1550. }
  1551. this.getDataSysDictItem =getDataSysDictItem
  1552. }
  1553. },
  1554. handleSelect(val, option) {
  1555. console.log(val, option, 1000)
  1556. },
  1557. // 显示上传页面
  1558. handSubmit(record) {
  1559. let that = this;
  1560. let model = {
  1561. id: record.id,
  1562. }
  1563. postAction(this.url.editCheck, model)
  1564. .then((res) => {
  1565. if (res.success) {
  1566. that.$message.success(res.message)
  1567. that.loadData(that.ipagination.current);
  1568. } else {
  1569. that.$message.warning(res.message)
  1570. }
  1571. }).finally(() => {
  1572. })
  1573. },
  1574. //查询字典表
  1575. getSysDictItems() {
  1576. getAction(this.url.getSysDictItem + '/sys_dict_item,item_text,item_text,dict_id="1689217057012424706"').then((res) => {
  1577. if (res.success) {
  1578. let result = res.result;
  1579. if (result != null) {
  1580. this.getSysDictItem = result;
  1581. this.getDataSysDictItem=result;
  1582. }
  1583. }
  1584. })
  1585. },
  1586. blue(e){
  1587. document.getElementById(e).style.backgroundColor="#CCEEFF";
  1588. },
  1589. black(e){
  1590. document.getElementById(e).style.backgroundColor = "white";
  1591. },
  1592. validateMobile(rule, value, callback) {
  1593. let reg = /^1(3|4|5|7|8)\d{9}$/
  1594. if (!reg.test(value)) {
  1595. callback('请输入正确手机号')
  1596. } else {
  1597. callback()
  1598. }
  1599. },
  1600. // 校验身份证
  1601. validateCardNo(rule,value,callback){
  1602. if(value.length ===15 || value.length ===18){
  1603. 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)) {
  1604. // 若是将证件地址改为必输
  1605. this.showIdCardAddress=true;
  1606. callback();
  1607. }
  1608. }
  1609. },
  1610. //校验姓名
  1611. validateName(rule,value,callback){
  1612. 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)) {
  1613. callback();
  1614. }
  1615. },
  1616. isPhone(rule,value,callback){
  1617. 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)){
  1618. callback();
  1619. }
  1620. },
  1621. getPhoneTypeSize() {
  1622. let data = {
  1623. "cardNo": this.model.cardNo
  1624. };
  1625. getAction(this.url.querySizeByCardNo, data).then((res) => {
  1626. if (res.success) {
  1627. let result = res.result;
  1628. if (result != null) {
  1629. this.model.yidong = result.yidong;
  1630. this.model.dianxin = result.dianxin;
  1631. this.model.liantong = result.liantong;
  1632. this.model.qita = result.qita;
  1633. }
  1634. }
  1635. })
  1636. },
  1637. getSysCompany() {
  1638. let data = {
  1639. "cardNo": this.model.cardNo
  1640. };
  1641. getAction(this.url.getCompany, data).then((res) => {
  1642. if (res.success) {
  1643. let result = res.result;
  1644. console.log(result + "result");
  1645. if (result != null) {
  1646. this.sysCompany = result;
  1647. }
  1648. }
  1649. })
  1650. },
  1651. change(val) {
  1652. for (var i = 0; i < this.sysCompany.length; i++) {
  1653. if (val == this.sysCompany[i].id) {
  1654. this.sysBusinessHallList = this.sysCompany[i].sysBusinessHallList;
  1655. }
  1656. }
  1657. },
  1658. //新增标记
  1659. showLocation(data) {
  1660. let marker = new AMap.Marker({
  1661. position: new AMap.LngLat(data[0], data[1]) //参数为经纬度
  1662. })
  1663. this.map.clearMap()// 清除所有覆盖物(点标志)
  1664. this.map.add(marker)// 添加点标志
  1665. this.showInfoWindow(marker);//自定义信息窗体
  1666. },
  1667. //自定义信息窗体
  1668. showInfoWindow(marker) {
  1669. let infoWindow = new AMap.InfoWindow({
  1670. isCustom: true, //是否自定义信息窗体
  1671. content: `<div style="background-color: white;padding: 0 5px; border-radius: 5px;border: 1px solid #cccccc;"> 地址:${this.model.wordAddress}</div>`,
  1672. closeWhenClickMap: true,
  1673. zIndex: 999,
  1674. offset: new AMap.Pixel(16, -35)
  1675. });
  1676. infoWindow.open(this.map, marker.getPosition());
  1677. },
  1678. /** 初始化搜索 */
  1679. mapSearchInit() {
  1680. let autoOptions = {
  1681. input: "tipInput",
  1682. }
  1683. let autoCompleteComponent = new AMap.Autocomplete(autoOptions);
  1684. this.autoCompleteComponent = autoCompleteComponent;
  1685. // 注册placeSearch组件
  1686. this.placeSearchComponent = new AMap.PlaceSearch()
  1687. },
  1688. searchKeyWordsysBusinessHall(data, nameType) {
  1689. if (nameType==='businessAddress'){
  1690. this.showCheck0('sysBusinessHall');
  1691. }
  1692. let that = this
  1693. if (nameType==='businessAddress'){
  1694. var index = data.lastIndexOf("coordinate")
  1695. var res = data.substring(index+10, data.length)
  1696. var search = data.substring(0, index)
  1697. var list =res.split(',');
  1698. if (nameType==='businessAddress'){
  1699. data=search;
  1700. }
  1701. that.showsearchResultBusinessAddress = true
  1702. that.showsearchResult = false
  1703. that.showsearchcurrentAddress = false;
  1704. var poiList={
  1705. location: {
  1706. lng:'',
  1707. lat:''
  1708. },
  1709. name:''
  1710. };
  1711. poiList.location.lng=list[0];
  1712. poiList.location.lat=list[1];
  1713. poiList.name=search
  1714. that.markerResult(poiList, nameType)
  1715. }else {
  1716. that.placeSearchComponent.search(data, function (status, result) {
  1717. if (status === 'complete' && result.info === "OK") {
  1718. that.showsearchResultBusinessAddress = true
  1719. that.showsearchResult = false
  1720. that.showsearchcurrentAddress = false
  1721. that.poiList = result.poiList.pois
  1722. if (nameType==='businessAddress'){
  1723. that.poiList[0].location.lng=list[0];
  1724. that.poiList[0].location.lat=list[1];
  1725. }
  1726. that.markerResult(that.poiList[0], nameType)
  1727. } else {
  1728. that.showsearchResultBusinessAddress = false
  1729. that.showsearchResult = false
  1730. that.showsearchcurrentAddress = false
  1731. that.poiList = []
  1732. //that.$message.warning("没有查到结果");
  1733. }
  1734. })
  1735. }
  1736. },
  1737. //根据输入内容查询
  1738. searchKeyWord(data) {
  1739. let that = this
  1740. if (data === 'model.wordAddress') {
  1741. this.showsearchResult = true;
  1742. that.placeSearchComponent.search(that.model.wordAddress, function (status, result) {
  1743. if (status === 'complete' && result.info === "OK") {
  1744. that.showsearchResultBusinessAddress = false
  1745. that.showsearchResult = true
  1746. that.showsearchcurrentAddress = false
  1747. that.poiList = result.poiList.pois
  1748. } else {
  1749. that.showsearchResult = false
  1750. that.showsearchResultBusinessAddress = false;
  1751. that.showsearchcurrentAddress = false
  1752. that.poiList = []
  1753. //that.$message.warning("没有查到结果");
  1754. }
  1755. })
  1756. }
  1757. if (data === 'model.businessAddress') {
  1758. this.showsearchResultBusinessAddress = true;
  1759. that.placeSearchComponent.search(that.model.businessAddress, function (status, result) {
  1760. if (status === 'complete' && result.info === "OK") {
  1761. that.showsearchResultBusinessAddress = true
  1762. that.showsearchResult = false
  1763. that.showsearchcurrentAddress = false
  1764. that.poiList = result.poiList.pois
  1765. } else {
  1766. that.showsearchResultBusinessAddress = false
  1767. that.showsearchResult = false
  1768. that.showsearchcurrentAddress = false
  1769. that.poiList = []
  1770. //that.$message.warning("没有查到结果");
  1771. }
  1772. })
  1773. }
  1774. if (data === 'model.currentAddress') {
  1775. this.showsearchcurrentAddress = true;
  1776. that.placeSearchComponent.search(that.model.currentAddress, function (status, result) {
  1777. if (status === 'complete' && result.info === "OK") {
  1778. that.showsearchcurrentAddress = true
  1779. that.showsearchResult = false
  1780. that.showsearchResultBusinessAddress = false
  1781. that.poiList = result.poiList.pois
  1782. } else {
  1783. that.showsearchcurrentAddress = false
  1784. that.showsearchResultBusinessAddress = false
  1785. that.showsearchResult = false
  1786. that.poiList = []
  1787. //that.$message.warning("没有查到结果");
  1788. }
  1789. })
  1790. }
  1791. },
  1792. getdiscount(lat1, lng1, lat2, lng2) {
  1793. // console.log(paramObj)
  1794. var lng1 = lng1
  1795. var lat1 = lat1
  1796. var lng2 = lng2
  1797. var lat2 = lat2
  1798. var radLat1 = lat1 * Math.PI / 180.0;
  1799. var radLat2 = lat2 * Math.PI / 180.0;
  1800. var a = radLat1 - radLat2;
  1801. var b = lng1 * Math.PI / 180.0 - lng2 * Math.PI / 180.0;
  1802. var s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) +
  1803. Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2)));
  1804. s = s * 6378.137;// EARTH_RADIUS;
  1805. s = Math.round(s * 10000) / 10000;
  1806. s = s * 1000
  1807. if (isNaN(s)) {
  1808. return 0 + 'm';
  1809. }
  1810. if (s > 1000) {
  1811. // 大于1000米时
  1812. s = Math.floor(s / 1000 * 100) / 100;
  1813. s = s + 'km'
  1814. } else {
  1815. // 小于1000米直接返回
  1816. s = s + 'm'
  1817. }
  1818. this.distance = s;
  1819. return s;
  1820. },
  1821. space(lat1, lng1, lat2, lng2) {
  1822. console.log(lat1, lng1, lat2, lng2)
  1823. var radLat1 = lat1 * Math.PI / 180.0;
  1824. var radLat2 = lat2 * Math.PI / 180.0;
  1825. var a = radLat1 - radLat2;
  1826. var b = lng1 * Math.PI / 180.0 - lng2 * Math.PI / 180.0;
  1827. var s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) +
  1828. Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2)));
  1829. s = s * 6378.137;
  1830. s = Math.round(s * 10000) / 10000;
  1831. return s // 单位千米
  1832. },
  1833. carGPSIP(data) {
  1834. var map = new AMap.Map("container", {resizeEnable: true});//初始化地图
  1835. //信息窗口实例
  1836. var infoWindow = new AMap.InfoWindow({offset: new AMap.Pixel(0, -30)});
  1837. //遍历生成多个标记点
  1838. data.forEach((val, key) => {
  1839. console.log("属性:" + key + ",值:" + data.get(key));
  1840. console.log("wordAddressname".indexOf("name"));
  1841. console.log(key.includes("name"));
  1842. if (!key.includes("name")) {
  1843. var marker = new AMap.Marker({
  1844. position: data.get(key),//不同标记点的经纬度
  1845. map: map
  1846. });
  1847. marker.content = data.get(key + 'name');
  1848. marker.on('click', markerClick);
  1849. marker.emit('click', {target: marker});//默认初始化不出现信息窗体,打开初始化就出现信息窗体
  1850. }
  1851. })
  1852. function markerClick(e) {
  1853. infoWindow.setContent(e.target.content);
  1854. infoWindow.open(map, e.target.getPosition());
  1855. }
  1856. map.setFitView();
  1857. },
  1858. //选择搜索的内容
  1859. markerResult(data, nameType) {
  1860. if (nameType === 'wordAddress') {
  1861. this.model.wordAddress = data.name;
  1862. }
  1863. if (nameType === 'businessAddress') {
  1864. this.model.businessAddress = data.name;
  1865. }
  1866. if (nameType === 'currentAddress') {
  1867. this.model.currentAddress = data.name;
  1868. }
  1869. this.lnglatMaps;
  1870. console.log(data)
  1871. this.showsearchResult = false;
  1872. this.showsearchResultBusinessAddress = false;
  1873. this.showsearchcurrentAddress = false;
  1874. //this.model.wordAddress = data.name; //地点名称
  1875. var marker = new AMap.Marker({
  1876. position: [Number(data.location.lng), Number(data.location.lat)],//地点名称 坐标
  1877. });
  1878. //this.map.clearMap()// 清除所有覆盖物(点标志)
  1879. //this.map.add(marker)// 添加点标志
  1880. //this.showInfoWindow(marker);
  1881. this.lnglatMaps.set(nameType, [Number(data.location.lng), Number(data.location.lat)]);
  1882. this.lnglatMaps.set(nameType + 'name', data.name);
  1883. if (this.lnglatMaps.size > 6) {
  1884. this.lnglatMaps.clear();
  1885. }
  1886. //this.lnglats.push( [Number(data.location.lng),Number(data.location.lat)]); //添加坐标
  1887. // if (this.model.wordAddress ===null || this.model.businessAddress===null || this.model.currentAddress===null){
  1888. // return;
  1889. // }
  1890. // if (this.lnglatMaps.size===4){
  1891. this.carGPSIP(this.lnglatMaps);//各个点分别显示坐标
  1892. //}
  1893. setTimeout(() => {
  1894. this.map.setCenter(data.location);
  1895. this.map.setZoom(15);
  1896. }, 50)
  1897. let thisPosition = {
  1898. mapAddress: this.model.wordAddress,
  1899. lng: data.location.lng,
  1900. lat: data.location.lat
  1901. };
  1902. var map = new Map();
  1903. map.set("lng", data.location.lng);
  1904. map.set("lat", data.location.lat);
  1905. this.mapResultList.push(map);
  1906. console.log(data.location.lng + data.location.lat + "thisPosition")
  1907. this.$emit("select", thisPosition)
  1908. if (this.lnglatMaps.size === 6) {
  1909. var currentAddressD = this.lnglatMaps.get("currentAddress");
  1910. var wordAddressD = this.lnglatMaps.get("wordAddress");
  1911. var businessAddressD = this.lnglatMaps.get("businessAddress");
  1912. this.distance1 = this.space(currentAddressD[1], currentAddressD[0], businessAddressD[1], businessAddressD[0]);//现住地址 营业厅地址
  1913. this.distance2 = this.space(wordAddressD[1], wordAddressD[0], businessAddressD[1], businessAddressD[0]);//工作地址 营业厅地址
  1914. this.distance3 = this.space(currentAddressD[1], currentAddressD[0], wordAddressD[1], wordAddressD[0]);//现住地址 工作地址
  1915. if (parseFloat(this.distance1) > parseFloat(this.distance) || parseFloat(this.distance2) > parseFloat(this.distance) || parseFloat(this.distance3) > parseFloat(this.distance)) {
  1916. this.model.judgmentResearch = "1";
  1917. this.judgmentResearchDisabledY=false;
  1918. } else {
  1919. this.model.judgmentResearch = "2";
  1920. this.judgmentResearchDisabledZ=true;
  1921. this.judgmentResearchDisabledY=true;
  1922. }
  1923. }
  1924. },
  1925. // 获取详细地址
  1926. getAddress(center) {
  1927. let _this = this;
  1928. let geocoder = new AMap.Geocoder({});
  1929. geocoder.getAddress(center, function (status, result) {
  1930. if (status === "complete" && result.info === "OK") {
  1931. let obj = result.regeocode.addressComponent;
  1932. let locationName =
  1933. obj.province +
  1934. obj.city +
  1935. obj.district +
  1936. obj.township +
  1937. obj.street +
  1938. obj.streetNumber;
  1939. _this.form.address = locationName;
  1940. }
  1941. });
  1942. },
  1943. initMap() {
  1944. AMapLoader.load({
  1945. // key: "8e513e3c374bdb2dd0095cd337b02ee6" 密钥 f762c44f71422cd56f90acc2a8e75144
  1946. // key : 3f95d73e380b9e4a2767c306a4b59f81 密钥 c4ab681cb7c3256184ae3557dc5beabb
  1947. key: "8e513e3c374bdb2dd0095cd337b02ee6", // 申请好的Web端开发者Key,首次调用 load 时必填
  1948. version: "2.0", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
  1949. plugins: [
  1950. 'AMap.ToolBar',
  1951. 'AMap.Scale',
  1952. 'AMap.Geolocation',
  1953. 'AMap.PlaceSearch',
  1954. 'AMap.AutoComplete',
  1955. 'AMap.Geocoder',
  1956. 'AMap.CitySearch',
  1957. 'AMap.RangingTool' // 这个就是测距插件
  1958. ],
  1959. resizeEnable: true,
  1960. }).then((AMap) => {
  1961. const that = this;
  1962. that.map = new AMap.Map("container", { //设置地图容器id
  1963. viewMode: "3D", //是否为3D地图模式
  1964. zoom: 12, //初始化地图级别
  1965. });
  1966. that.handleClick(AMap)//地图选点
  1967. that.map.addControl(new AMap.Scale()) // 在图面添加比例尺控件,展示地图在当前层级和纬度下的比例尺
  1968. that.map.addControl(new AMap.ToolBar()) //在图面添加鹰眼控件,在地图右下角显示地图的缩略图
  1969. that.geocoder = new AMap.Geocoder()
  1970. that.mapSearchInit()
  1971. }).catch(e => {
  1972. console.log(e);
  1973. })
  1974. },
  1975. //点击地图获取地理位置
  1976. handleClick() {
  1977. this.map.on('click', (e) => {
  1978. let lng = e.lnglat.lng
  1979. let lat = e.lnglat.lat
  1980. let marker = new AMap.Marker({
  1981. position: new AMap.LngLat(lng, lat)
  1982. })
  1983. this.map.clearMap()// 清除所有覆盖物(点标志)
  1984. this.map.add(marker)// 添加点标志
  1985. let lnglat = [lng, lat]
  1986. let that = this
  1987. that.geocoder.getAddress(lnglat, function (status, result) {
  1988. if (status === 'complete' && result.regeocode) {
  1989. that.address = result.regeocode.formattedAddress;
  1990. that.showInfoWindow(marker);//自定义信息窗体
  1991. let thisPosition = {
  1992. address: that.address,
  1993. lng: lng,
  1994. lat: lat
  1995. };
  1996. that.$emit("select", thisPosition) //返回给父组件
  1997. } else {
  1998. this.$message.error('根据经纬度查询地址失败')
  1999. }
  2000. })
  2001. })
  2002. },
  2003. //获取当前定位
  2004. getCurrentLocation() {
  2005. const that = this;
  2006. that.geolocation = new AMap.Geolocation({
  2007. timeout: 3000, //超过3秒后停止定位,默认:5s
  2008. enableHighAccuracy: true,
  2009. zoomToAccuracy: true, //定位成功后是否自动调整地图视野到定位点
  2010. });
  2011. that.geolocation.getCurrentPosition(function (status, result) {
  2012. //备注:getCurrentPosition方法会调用超时或失败:
  2013. //Get geolocation time out:浏览器定位超时,包括原生的超时,可以适当增加超时属性的设定值以减少这一现象。
  2014. //另外还有个别浏览器(如google Chrome浏览器等)本身的定位接口是黑洞,通过其请求定位完全没有回应,也会超时返回失败。
  2015. //Get geolocation failed:定位失败,Chrome、火狐以及部分套壳浏览器接入的定位服务在国外,有较大限制,失败率高。
  2016. console.log(status, result);
  2017. if (status == 'complete') {
  2018. that.onComplete(result)
  2019. } else {
  2020. that.onError(result) //失败后可使用getCityInfo获取非精准定位(具体到省市)
  2021. }
  2022. });
  2023. },
  2024. //解析定位结果
  2025. onComplete(data) {
  2026. console.log('定位结果:' + data.position) //经纬度信息
  2027. let lnglat = data.position;
  2028. let marker = new AMap.Marker({ //创建标记
  2029. position: new AMap.LngLat(lnglat[0], lnglat[1])
  2030. })
  2031. this.map.clearMap()// 清除所有覆盖物(点标志)
  2032. this.map.add(marker)// 添加点标志
  2033. let that = this
  2034. //经纬度转换为中文地址详情
  2035. that.geocoder.getAddress(lnglat, function (status, result) {
  2036. if (status === 'complete' && result.regeocode) {
  2037. that.address = result.regeocode.formattedAddress;
  2038. that.showInfoWindow(marker);//自定义信息窗体
  2039. } else {
  2040. this.$message.error('根据经纬度查询地址失败')
  2041. }
  2042. })
  2043. },
  2044. //解析定位错误信息
  2045. onError(data) {
  2046. this.getLngLatLocation()
  2047. },
  2048. //在获取具体定位失败时调用的代码:(非精准定位!!!)
  2049. getLngLatLocation() {
  2050. const that = this;
  2051. that.geolocation.getCityInfo(function (status, result) {
  2052. if (status === 'complete') {
  2053. let data = result.position
  2054. that.address = result.province + result.city;
  2055. that.showLocation(data)
  2056. } else {
  2057. this.$message.error('获取地址失败')
  2058. }
  2059. })
  2060. },
  2061. keyupInfoSelect() {
  2062. if (this.model.cardNo === '' ||this.model.cardNo===undefined ) {
  2063. return;
  2064. }
  2065. this.closeCurrent();
  2066. this.$router.push({path: '/network/PopupSub', query: {cardNo: this.model.cardNo}});
  2067. },
  2068. keyupInfoPhone(phone) {
  2069. let data = {
  2070. "number": phone
  2071. };
  2072. if (phone.length === 11) {
  2073. let data = {
  2074. "mobile": phone
  2075. };
  2076. getAction("businessReminderCard/queryByMobile", data).then((res) => {
  2077. console.log(res)
  2078. if (res != null) {
  2079. this.model.address = res;
  2080. }
  2081. })
  2082. }
  2083. },
  2084. onCance () {
  2085. var view =this.model;
  2086. Object.keys(view).forEach(function (key) {
  2087. view[key] = ''
  2088. });
  2089. this.industryQiTa='';
  2090. },
  2091. keyupInfo(info) {
  2092. let data = {
  2093. "cardNo": this.model.cardNo
  2094. };
  2095. getAction(this.url.getCompany, data).then((res) => {
  2096. if (res.success) {
  2097. let result = res.result;
  2098. console.log(result + "result");
  2099. if (result != null) {
  2100. this.sysCompany = result;
  2101. }
  2102. this.spin=true ;
  2103. // this.handleEdit2()
  2104. //身份证输入查询
  2105. if (true) {
  2106. let that = this;
  2107. let data = {
  2108. //"cardNo": this.model.cardNo,
  2109. "id": this.model.id
  2110. }
  2111. var newPhones;
  2112. //this.getSysCompany();
  2113. getAction(that.url.queryByCardNo, data).then((res) => {
  2114. if (res.success) {
  2115. let result = res.result;
  2116. let view = this.model;
  2117. if (result != null) {
  2118. var i=0;
  2119. Object.keys(view).forEach(function (key) {
  2120. if (key==='company'){
  2121. that.change(result[0][key]);
  2122. }
  2123. view[key] = result[0][key];
  2124. if (key==='newPhone'){
  2125. if ( result[0][key]!==null && result[0][key]!==''){
  2126. newPhones = result[0][key].split(',');
  2127. }
  2128. }
  2129. if (key==='industry'){
  2130. var a=0;
  2131. for (var s in that.getDataSysDictItem) {
  2132. if (that.getDataSysDictItem[s].text.match(RegExp(result[0][key]))){
  2133. a++;
  2134. }
  2135. }
  2136. if (a===0){
  2137. view.industry='其它';
  2138. that.industryQiTa= result[0][key];
  2139. that.industryNullQiTa=true;
  2140. }
  2141. }
  2142. })
  2143. for (var item of newPhones) {
  2144. this.form.value.push(item)
  2145. this.array.push(1)
  2146. }
  2147. for (var item of this.sysCompany) {
  2148. if (item.id === this.model.company) {
  2149. this.companyName = item.name;
  2150. this.change(item.id);
  2151. for (var it of item.sysBusinessHallList) {
  2152. if (it.id === this.model.sysBusinessHall) {
  2153. this.hallName = it.name;
  2154. this.coordinate=it.coordinate;
  2155. this.model.sysBusinessHall=it.id
  2156. }
  2157. }
  2158. }
  2159. }
  2160. this.isSizeNumberResults = result[0]["isSizeNumberResults"];
  2161. if (this.model.wordAddress!=='' && this.model.wordAddress!==null){
  2162. this.searchKeyWordsysBusinessHall(this.model.wordAddress,'wordAddress');
  2163. }
  2164. if (this.hallName!=='' && this.hallName!==null){
  2165. this.searchKeyWordsysBusinessHall('中国电信'+this.hallName+'coordinate'+ this.coordinate,'businessAddress');
  2166. }
  2167. if (this.model.currentAddress!=='' && this.model.currentAddress!==null){
  2168. this.searchKeyWordsysBusinessHall(this.model.currentAddress,'currentAddress');
  2169. }
  2170. if (info===''){
  2171. this.model.id=null;
  2172. }
  2173. this.dataList=result;
  2174. if (info===''){
  2175. this.resultData(result,newPhones);
  2176. this.showModal()
  2177. }
  2178. this.disabledListAdd()
  2179. this.showCheck0('all');
  2180. // if (result[0]["isSizeNumberResults"] === 'is') {
  2181. // this.$confirm({
  2182. // title: "确认是否继续...",
  2183. // content: '该用户有多个不友好研判结果',
  2184. // onOk: function () {
  2185. //
  2186. // },
  2187. // onCancel: function () {
  2188. // Object.keys(view).forEach(function (key) {
  2189. // view[key] = '';
  2190. // })
  2191. // }
  2192. // });
  2193. // }
  2194. }
  2195. // this.$refs.modalDetail.detail( );
  2196. // this.$refs.modalDetail.title = "详情";
  2197. }
  2198. })
  2199. }
  2200. this.spin=false ;
  2201. }
  2202. })
  2203. },
  2204. /**获取详情*/
  2205. queryById() {
  2206. this.model.id = this.$route.query.id;
  2207. this.model.cardNo = this.$route.query.cardNo;
  2208. if ( this.$route.query.isDisabled!=null && this.$route.query.isDisabled==='true' ){
  2209. this.isDisabled = true;
  2210. }
  2211. this.keyupInfo('update');
  2212. //查询日志
  2213. let data = {
  2214. "businessReminderCardId": this.model.id
  2215. };
  2216. getAction(this.url.getLog, data).then((res) => {
  2217. if (res.success) {
  2218. this.dataLog=res.result
  2219. if (this.dataLog.length===0){
  2220. this.showDataLog=false
  2221. }
  2222. }
  2223. })
  2224. this.change(this.model.company)
  2225. },
  2226. showCheck0(data){
  2227. var info = true;
  2228. if (data==='all' || data==='cardNo'){ if (this.model.cardNo==='' || this.model.cardNo===null){
  2229. document.getElementById('cardNo').style.borderColor = "red";
  2230. info=false;
  2231. }else {
  2232. document.getElementById('cardNo').style.borderColor = "#d9d9d9";
  2233. } }
  2234. if (data==='all' || data==='idCardAddress') {
  2235. if (this.model.idCardAddress === '' || this.model.idCardAddress === null) {
  2236. if (this.showIdCardAddress) {
  2237. if (this.model.idCardAddress === '' || this.model.idCardAddress === null) {
  2238. document.getElementById('idCardAddress').style.borderColor = "red";
  2239. info = false;
  2240. } else {
  2241. document.getElementById('idCardAddress').style.borderColor = "#d9d9d9";
  2242. }
  2243. }
  2244. }
  2245. }
  2246. if (data==='all' || data==="cardName"){ if (this.model.cardName==='' || this.model.cardName===null){
  2247. document.getElementById('cardName').style.borderColor = "red";
  2248. info=false;
  2249. }else {
  2250. document.getElementById('cardName').style.borderColor = "#d9d9d9";
  2251. }}
  2252. if (data==='all' || data==="phone"){ if (this.model.phone==='' || this.model.phone===null){
  2253. document.getElementById('phone').style.borderColor = "red";
  2254. info=false;
  2255. }else {
  2256. document.getElementById('phone').style.borderColor = "#d9d9d9";
  2257. } }
  2258. if (data==='all' || data==="address"){ if (this.model.address===''|| this.model.address===null){
  2259. document.getElementById('address').style.borderColor = "red";
  2260. info=false;
  2261. }else {
  2262. document.getElementById('address').style.borderColor = "#d9d9d9";
  2263. } }
  2264. if (data==='all' || data==="phonePurpose"){ if (this.model.phonePurpose==='' || this.model.phonePurpose===null){
  2265. document.getElementById('phonePurpose').style.borderColor = "red";
  2266. info=false;
  2267. }else {
  2268. document.getElementById('phonePurpose').style.borderColor = "#d9d9d9";
  2269. } }
  2270. if (data==='all' || data==="industry"){ if (this.model.industry==='' || this.model.industry===null){
  2271. this.industryNull=true
  2272. info=false;
  2273. }else {
  2274. this.industryNull=false
  2275. }}
  2276. if (this.model.industry==='' || this.model.industry===null || this.model.industry==='其它'){
  2277. {
  2278. if (data === 'all' || data === "industryQiTa") {
  2279. if (this.industryQiTa === '' || this.industryQiTa === null) {
  2280. this.industryNull = true
  2281. info = false;
  2282. } else {
  2283. this.industryNull = false
  2284. }
  2285. }
  2286. }
  2287. }
  2288. if (data==='all' || data==="wordAddress"){ if (this.model.wordAddress===''|| this.model.wordAddress===null){
  2289. document.getElementById('wordAddress').style.borderColor = "red";
  2290. info=false;
  2291. }else {
  2292. document.getElementById('wordAddress').style.borderColor = "#d9d9d9";
  2293. }}
  2294. if (data==='all' || data==="currentAddress"){ if (this.model.currentAddress===''|| this.model.currentAddress===null){
  2295. document.getElementById('currentAddress').style.borderColor = "red";
  2296. info=false;
  2297. }else {
  2298. document.getElementById('currentAddress').style.borderColor = "#d9d9d9";
  2299. }}
  2300. if (data==='all' || data==="calltestResults"){ if (this.model.calltestResults===''|| this.model.calltestResults===null){
  2301. this.calltestResultsNull=true;
  2302. info=false;
  2303. }else {
  2304. this.calltestResultsNull=false;
  2305. } }
  2306. if (data==='all' || data==="judgmentResearchAddress"){ if (this.model.judgmentResearchAddress===''|| this.model.judgmentResearchAddress===null){
  2307. this.judgmentResearchAddressShow=true;
  2308. info=false;
  2309. }else {
  2310. this.judgmentResearchAddressShow=false;
  2311. } }
  2312. if (data==='all' || data==="cardStartTimeAndEnd"){ if (this.model.cardStartTimeAndEnd===''|| this.model.cardStartTimeAndEnd===null){
  2313. this.cardStartTimeAndEndShow=true;
  2314. info=false;
  2315. }else {
  2316. this.cardStartTimeAndEndShow=false;
  2317. } }
  2318. // if (data==='all' || data==="judgmentResearch"){
  2319. // if (this.model.judgmentResearch===''|| this.model.judgmentResearch===null){
  2320. // this.judgmentResearchNull=true;
  2321. // info=false;
  2322. // }else {
  2323. // this.judgmentResearchNull=false;
  2324. // }
  2325. // }
  2326. // if (data==='all' || data==="operator"){ if (this.model.operator==='' || this.model.operator===null){
  2327. // this.operatorNull=true;
  2328. // info=false;
  2329. // }else {
  2330. // this.operatorNull=false;
  2331. // }
  2332. // }
  2333. if (data==='all' || data==="company"||data==='all' || data==="operatorType" ){
  2334. if (this.model.operatorType==='' || this.model.operatorType===null){
  2335. this.operatorTypeNull=true;
  2336. info=false;
  2337. }else {
  2338. this.operatorTypeNull=false;
  2339. }
  2340. }
  2341. if (data==='all' || data==="sysBusinessHall"){ if (this.model.sysBusinessHall==='' ||this.model.sysBusinessHall===null){
  2342. this.sysBusinessHallNull=true;
  2343. info=false;
  2344. }else {
  2345. this.sysBusinessHallNull=false;
  2346. } }
  2347. return info;
  2348. },
  2349. showCheck1(data){
  2350. var info =true;
  2351. if (data==='isInvolvingFraud' || data==='all'){
  2352. if (this.model.isInvolvingFraud==='' || this.model.isInvolvingFraud===null){
  2353. document.getElementById('isInvolvingFraud').style.color = "red";
  2354. info=false;
  2355. }else {
  2356. document.getElementById('isInvolvingFraud').style.color = "black";
  2357. }
  2358. }
  2359. if (data==='directRequirements' || data==='all'){
  2360. if (this.model.directRequirements==='' || this.model.directRequirements===null){
  2361. document.getElementById('directRequirements').style.color = "red";
  2362. info=false;
  2363. }else {
  2364. document.getElementById('directRequirements').style.color = "black";
  2365. }
  2366. }
  2367. if (data==='passOne' || data==='all'){
  2368. if (this.model.passOne==='' || this.model.passOne===null){
  2369. document.getElementById('passOne').style.color = "red";
  2370. info=false;
  2371. }else {
  2372. document.getElementById('passOne').style.color = "black";
  2373. }
  2374. }
  2375. if (data==='nonConformance' || data==='all'){
  2376. if (this.model.nonConformance==='' || this.model.nonConformance===null){
  2377. document.getElementById('nonConformance').style.color = "red";
  2378. info=false;
  2379. }else {
  2380. document.getElementById('nonConformance').style.color = "black";
  2381. }
  2382. }
  2383. if (data==='isChannel' || data==='all'){
  2384. if (this.model.isChannel==='' || this.model.isChannel===null){
  2385. document.getElementById('isChannel').style.color = "red";
  2386. info=false;
  2387. }else {
  2388. document.getElementById('isChannel').style.color = "black";
  2389. }
  2390. }
  2391. if (data==='isNewly' || data==='all'){
  2392. if (this.model.isNewly==='' || this.model.isNewly===null){
  2393. document.getElementById('isNewly').style.color = "red";
  2394. info=false;
  2395. }else {
  2396. document.getElementById('isNewly').style.color = "black";
  2397. }
  2398. }
  2399. if (data==='isShutDown' || data==='all'){
  2400. if (this.model.isShutDown==='' || this.model.isShutDown===null){
  2401. document.getElementById('isShutDown').style.color = "red";
  2402. info=false;
  2403. }else {
  2404. document.getElementById('isShutDown').style.color = "black";
  2405. }
  2406. }
  2407. if (data==='isRefund' || data==='all'){
  2408. if (this.model.isRefund==='' || this.model.isRefund===null){
  2409. document.getElementById('isRefund').style.color = "red";
  2410. info=false;
  2411. }else {
  2412. document.getElementById('isRefund').style.color = "black";
  2413. }
  2414. }
  2415. if (data==='isUseTo' || data==='all'){
  2416. if (this.model.isUseTo==='' || this.model.isUseTo===null){
  2417. document.getElementById('isUseTo').style.color = "red";
  2418. info=false;
  2419. }else {
  2420. document.getElementById('isUseTo').style.color = "black";
  2421. }
  2422. }
  2423. if (data==='isBroadband' || data==='all'){
  2424. if (this.model.isBroadband==='' || this.model.isBroadband===null){
  2425. document.getElementById('isBroadband').style.color = "red";
  2426. info=false;
  2427. }else {
  2428. document.getElementById('isBroadband').style.color = "black";
  2429. }
  2430. }
  2431. if (data==='isDxNumber' || data==='all'){
  2432. if (this.model.isDxNumber==='' || this.model.isDxNumber===null){
  2433. document.getElementById('isDxNumber').style.color = "red";
  2434. info=false;
  2435. }else {
  2436. document.getElementById('isDxNumber').style.color = "black";
  2437. }
  2438. }
  2439. return info;
  2440. },
  2441. getDataRisk(data){
  2442. this.dataList=[];
  2443. var getDataList=this.dataList;
  2444. var dataLists =[];
  2445. dataLists.push(data);
  2446. if(dataLists[0].cardStartTimeAndEnd!==null && dataLists[0].cardStartTimeAndEnd!==''){
  2447. if (dataLists[0].cardStartTimeAndEnd==="1"){
  2448. dataLists[0].cardStartTimeAndEnd='是'
  2449. }
  2450. if (dataLists[0].cardStartTimeAndEnd==="2"){
  2451. dataLists[0].cardStartTimeAndEnd='否'
  2452. }
  2453. }
  2454. if (dataLists[0].sysBusinessHall!==null &&dataLists[0].sysBusinessHall!=='' ){
  2455. for (var item of this.sysCompany) {
  2456. if (item.id === this.model.company) {
  2457. this.companyName = item.name;
  2458. for (var it of item.sysBusinessHallList) {
  2459. if (it.id === this.model.sysBusinessHall) {
  2460. dataLists[0].sysBusinessHall= this.companyName+ this.hallName
  2461. }
  2462. }
  2463. }
  2464. }
  2465. }
  2466. //智能地址研判
  2467. if (dataLists[0].judgmentResearch!==null && dataLists[0].judgmentResearch!==''){
  2468. if (dataLists[0].judgmentResearch==="1"){
  2469. dataLists[0].judgmentResearch='智能地址研判-异常'
  2470. }
  2471. if (dataLists[0].judgmentResearch==="2"){
  2472. dataLists[0].judgmentResearch='智能地址研判-正常'
  2473. }
  2474. }
  2475. //人工地址判研
  2476. if (dataLists[0].judgmentResearchAddress!==null && dataLists[0].judgmentResearchAddress!==''){
  2477. if (dataLists[0].judgmentResearchAddress==="1"){
  2478. dataLists[0].judgmentResearchAddress='人工地址判研-异常'
  2479. }
  2480. if (dataLists[0].judgmentResearchAddress==="2"){
  2481. dataLists[0].judgmentResearchAddress='人工地址判研-正常'
  2482. }
  2483. }
  2484. //拨测结果
  2485. if (dataLists[0].calltestResults!==null && dataLists[0].calltestResults!==''){
  2486. if (dataLists[0].calltestResults==="1"){
  2487. dataLists[0].calltestResults='关机'
  2488. }
  2489. if (dataLists[0].calltestResults==="2"){
  2490. dataLists[0].calltestResults='未接通'
  2491. }
  2492. if (dataLists[0].calltestResults==="3"){
  2493. dataLists[0].calltestResults='可接通不知晓入网事宜'
  2494. }
  2495. if (dataLists[0].calltestResults==="4"){
  2496. dataLists[0].calltestResults='可接通认可办理'
  2497. }
  2498. }
  2499. //运营商
  2500. if (dataLists[0].operatorType!==null && dataLists[0].operatorType!==''){
  2501. if (dataLists[0].operatorType==="1"){
  2502. dataLists[0].operatorType='移动'
  2503. }
  2504. if (dataLists[0].operatorType==="2"){
  2505. dataLists[0].operatorType='联调'
  2506. }if (dataLists[0].operatorType==="3"){
  2507. dataLists[0].operatorType='电信'
  2508. }if (dataLists[0].operatorType==="4"){
  2509. dataLists[0].operatorType='其它'
  2510. }
  2511. }
  2512. //一证通查结果
  2513. if (dataLists[0].operator!==null && dataLists[0].operator!==''){
  2514. if (dataLists[0].operator==="1"){
  2515. dataLists[0].operator='本地运营商'
  2516. }
  2517. if (dataLists[0].operator==="2"){
  2518. dataLists[0].operator='异地运营商'
  2519. }
  2520. }
  2521. // if ( dataLists[0]['newPhone']!==null && dataLists[0]['newPhone']!==''){
  2522. // var newPhones = dataLists[0]['newPhone'].split(',');
  2523. // let newPhonesStr='';
  2524. // for (var item of newPhones) {
  2525. // if (item.match(RegExp('newPhone1+')) && item.replace('newPhone1+', '') !== '') {
  2526. // newPhonesStr = newPhonesStr+item.replace('newPhone1+', '')+" "
  2527. // }
  2528. // if (item.match(RegExp('newPhone2+')) && item.replace('newPhone2+', '') !== '') {
  2529. // newPhonesStr = newPhonesStr+item.replace('newPhone2+', '')+" "
  2530. // }
  2531. // if (item.match(RegExp('newPhone3+')) && item.replace('newPhone3+', '') !== '') {
  2532. // newPhonesStr = newPhonesStr+item.replace('newPhone3+', '')+" "
  2533. // }
  2534. // if (item.match(RegExp('newPhone4+')) && item.replace('newPhone4+', '') !== '') {
  2535. // newPhonesStr = newPhonesStr+item.replace('newPhone4+', '')+" "
  2536. // }
  2537. // if (item.match(RegExp('newPhone5+')) && item.replace('newPhone5+', '') !== '') {
  2538. // newPhonesStr = newPhonesStr+item.replace('newPhone5+', '')+" "
  2539. // }
  2540. // }
  2541. // dataLists[0].newPhone=newPhonesStr;
  2542. // }
  2543. // if (dataLists[0].numberResults!==null && dataLists[0].numberResults!==''){
  2544. // var numberResultsList = dataLists[0]["numberResults"].split(',');
  2545. // var numberResultsListStr ='';
  2546. // for (var item of numberResultsList) {
  2547. // if (item==='1'){
  2548. // numberResultsListStr=numberResultsListStr+'非高危'
  2549. // }
  2550. // if (item==='2'){
  2551. // numberResultsListStr=numberResultsListStr+'上报关停'
  2552. // }
  2553. // if (item==='3'){
  2554. // numberResultsListStr=numberResultsListStr+'上报蓝名单 '
  2555. // }
  2556. // if (item==='4'){
  2557. // numberResultsListStr=numberResultsListStr+' 上报紫名单'
  2558. // }
  2559. // }
  2560. // dataLists[0].numberResults=numberResultsListStr
  2561. // }
  2562. var that =this
  2563. that.dataRisk=[];
  2564. that.riskShow=true
  2565. Object.keys(dataLists[0]).forEach(function (key) {
  2566. var map ={};
  2567. if (key === 'cardNo') {
  2568. if (dataLists[0]['cardNo'] !== null && dataLists[0]['cardNo'] !== undefined) {
  2569. if (dataLists[0]['cardNo'].length === 18 || dataLists[0]['cardNo'].length === 15) {
  2570. var len = (dataLists[0]['cardNo']+ "").length;
  2571. var identityCard =dataLists[0]['cardNo'];
  2572. if (len == 0) {
  2573. return 0;
  2574. } else {
  2575. if ((len != 15) && (len != 18))//身份证号码只能为15位或18位其它不合法
  2576. {
  2577. return 0;
  2578. }
  2579. }
  2580. var strBirthday = "";
  2581. if (len == 18)//处理18位的身份证号码从号码中得到生日和性别代码
  2582. {
  2583. strBirthday = identityCard.substr(6, 4) + "/" + identityCard.substr(10, 2) + "/" + identityCard.substr(12, 2);
  2584. }
  2585. if (len == 15) {
  2586. strBirthday = "19" + identityCard.substr(6, 2) + "/" + identityCard.substr(8, 2) + "/" + identityCard.substr(10, 2);
  2587. }
  2588. //时间字符串里,必须是“/”
  2589. var birthDate = new Date(strBirthday);
  2590. var nowDateTime = new Date();
  2591. var age = nowDateTime.getFullYear() - birthDate.getFullYear();
  2592. //再考虑月、天的因素;.getMonth()获取的是从0开始的,这里进行比较,不需要加1
  2593. if (nowDateTime.getMonth() < birthDate.getMonth() || (nowDateTime.getMonth() == birthDate.getMonth() && nowDateTime.getDate() < birthDate.getDate())) {
  2594. age--;
  2595. }
  2596. if (age >= 60) {
  2597. map.name = '【入网提示卡】客户年龄:【' + age + '】';
  2598. map.text = '年龄偏大';
  2599. that.dataRisk.push(map)
  2600. }
  2601. if (age <= 23) {
  2602. map.name = '【入网提示卡】客户年龄:【' + age + '】';
  2603. map.text = '年龄偏小';
  2604. that.dataRisk.push(map)
  2605. }
  2606. }
  2607. }
  2608. }
  2609. //身份证是否到期
  2610. if (key==='cardStartTimeAndEnd'){
  2611. if (dataLists[0]['cardStartTimeAndEnd']==='否'){
  2612. map.name ='【入网提示卡】 证件编号:【'+dataLists[0]['cardNo']+'】 是否在有效期' ;
  2613. map.text = dataLists[0]['cardStartTimeAndEnd'];
  2614. that.dataRisk.push(map)
  2615. }
  2616. }
  2617. //拨测结果
  2618. if (key==='calltestResults'){
  2619. if ( dataLists[0][key]!=='可接通认可办理'){
  2620. map.name ='【入网提示卡】 电话号码【'+dataLists[0]['phone'] +'】 - 拨测结果';
  2621. map.text = dataLists[0][key];
  2622. that.dataRisk.push(map)
  2623. }
  2624. }
  2625. //地址 人工判研
  2626. if (key==='judgmentResearchAddress'){
  2627. if (dataLists[0]['judgmentResearchAddress']==='人工地址判研-异常'){
  2628. map.name ='【入网提示卡】营业厅地址:【'+ that.companyName +'--'+ that.hallName +'】 工作地址:【'+dataLists[0]['wordAddress'] +'】 现住地址:【'+ dataLists[0]['currentAddress']+'】' ;
  2629. map.text = dataLists[0]['judgmentResearchAddress'];
  2630. that.dataRisk.push(map)
  2631. }
  2632. }
  2633. //地址 智能
  2634. if (key==='judgmentResearch'){
  2635. if (dataLists[0]['judgmentResearch']==='智能地址研判-异常'){
  2636. map.name ='【入网提示卡】 营业厅地址:【'+ that.companyName +'--'+ that.hallName +'】 工作地址:【'+dataLists[0]['wordAddress'] +'】 现住地址:【'+ dataLists[0]['currentAddress']+'】' ;
  2637. map.text = dataLists[0]['judgmentResearch'];
  2638. that.dataRisk.push(map)
  2639. }
  2640. }
  2641. //第二页 排除填写
  2642. if (key==='directRequirements'){
  2643. if (dataLists[0]['directRequirements']===1){
  2644. map.name ='【排查】客户进厅直接要求办理移动号码入网:' ;
  2645. map.text = '是';
  2646. that.dataRisk.push(map)
  2647. }
  2648. }
  2649. if (key==='passOne'){
  2650. if (dataLists[0]['passOne']===1){
  2651. map.name ='【排查】客户主动申请一次性办理超过一个号码:' ;
  2652. map.text = '是';
  2653. that.dataRisk.push(map)
  2654. }
  2655. }
  2656. if (key==='nonConformance'){
  2657. if (dataLists[0]['nonConformance']===1){
  2658. map.name ='【排查】所办号码月缴费金额不符合客户消费能力:' ;
  2659. map.text = '是';
  2660. that.dataRisk.push(map)
  2661. }
  2662. }
  2663. if (key==='isDxNumber'){
  2664. if (dataLists[0]['isDxNumber']===1){
  2665. map.name ='【排查】客户名下无电信号码要求新办(非携入):' ;
  2666. map.text = '是';
  2667. that.dataRisk.push(map)
  2668. }
  2669. }
  2670. if (key==='isBroadband'){
  2671. if (dataLists[0]['isBroadband']===2){
  2672. map.name ='【排查】申请号码办理征信类、融合宽带业务:' ;
  2673. map.text = '否';
  2674. that.dataRisk.push(map)
  2675. }
  2676. }
  2677. if (key==='isUseTo'){
  2678. if (dataLists[0]['isUseTo']===1){
  2679. map.name ='【排查】申请号码使用用途异常:' ;
  2680. map.text = '是';
  2681. that.dataRisk.push(map)
  2682. }
  2683. }
  2684. if (key==='isRefund'){
  2685. if (dataLists[0]['isRefund']===1){
  2686. map.name ='【排查】客户名下号码存在异常高频率充值、退费:' ;
  2687. map.text = '是';
  2688. that.dataRisk.push(map)
  2689. }
  2690. }
  2691. if (key==='isShutDown'){
  2692. if (dataLists[0]['isShutDown']===1){
  2693. map.name ='【排查】客户名下已有号码(含已注销号码)存在各类关停:' ;
  2694. map.text = '是';
  2695. that.dataRisk.push(map)
  2696. }
  2697. }
  2698. if (key==='isNewly'){
  2699. if (dataLists[0]['isNewly']===1){
  2700. map.name ='【排查】客户名下在用号码无使用记录,仍要求新办号码:' ;
  2701. map.text = '是';
  2702. that.dataRisk.push(map)
  2703. }
  2704. }
  2705. if (key==='isChannel'){
  2706. if (dataLists[0]['isChannel']===1){
  2707. map.name ='【排查】在多个渠道多频次入网的异常情况:' ;
  2708. map.text = '是';
  2709. that.dataRisk.push(map)
  2710. }
  2711. }
  2712. if (key==='isInvolvingFraud'){
  2713. if (dataLists[0]['isInvolvingFraud']===1){
  2714. map.name = '【排查】黑名单到期客户新入网的高危疑似涉诈号码:' ;
  2715. map.text = '是';
  2716. that.dataRisk.push(map)
  2717. }
  2718. }
  2719. });
  2720. if (that.dataRisk.length>0) {
  2721. //是否有风险
  2722. that.riskShow=false;//有风险
  2723. }
  2724. },
  2725. /**下一步骤*/
  2726. nextSteps() {
  2727. if (this.current===0){
  2728. var info= this.showCheck0('all');
  2729. if (info===false){
  2730. return
  2731. }
  2732. }
  2733. if (this.current === 1) {
  2734. var info = this.showCheck1('all');
  2735. if (info === false) {
  2736. return
  2737. }
  2738. let that = this;
  2739. console.info(this.model.calltestResults);
  2740. that.addIng == false
  2741. let data = this.getData('next');
  2742. let id = that.model.id;
  2743. let i = 1;
  2744. let dataMessage = '';
  2745. const h = this.$createElement
  2746. this.newDatas = [];
  2747. if (this.model.calltestResults === 1 || this.model.calltestResults === '1') {
  2748. this.calltestResultsName = '关机';
  2749. }
  2750. if (this.model.calltestResults === 2 || this.model.calltestResults === '2') {
  2751. this.calltestResultsName = '未接通';
  2752. }
  2753. if (this.model.calltestResults === 3 || this.model.calltestResults === '3') {
  2754. this.calltestResultsName = '可接通不知晓入网事宜';
  2755. }
  2756. if (this.model.calltestResults === 4 || this.model.calltestResults === '4') {
  2757. this.calltestResultsName = '可接通认可办理';
  2758. }
  2759. //集合遍历
  2760. var company = '';
  2761. var hall = '';
  2762. for (var item of this.sysCompany) {
  2763. if (item.id === this.model.company) {
  2764. this.companyName = item.name
  2765. for (var it of item.sysBusinessHallList) {
  2766. if (it.id === this.model.sysBusinessHall) {
  2767. this.hallName = it.name
  2768. }
  2769. }
  2770. }
  2771. }
  2772. this.newDatas.push('异常信息提醒:')
  2773. this.newDatas.push('该用户以下填写信息可能触发风险请确认是否继续操作!!!')
  2774. // if (data["calltestResults"] === '2') {
  2775. // this.newDatas.push(i++ + '、该用户拨测号码未接通 请确认是否继续操作 。 ')
  2776. //
  2777. // }
  2778. // if ( data["judgmentResearch"] === '3' ) {
  2779. // this.newDatas.push(i++ + '、该用户附件地址人工判研异常 。 ')
  2780. // }
  2781. // if (data["calltestResults"] === '1') {
  2782. // this.newDatas.push(i++ + '、该用户拨测号码关机 请确认是否继续操作 。 ')
  2783. //
  2784. // }
  2785. // if (this.isSizeNumberResults === 'is') {
  2786. // this.newDatas.push(i++ + ' 、该用户有多个不友好研判结果 请确认是否继续操作 。 ')
  2787. //
  2788. // }
  2789. // if (data["judgmentResearch"] === '1' ) {
  2790. // if (parseFloat(this.distance1) > parseFloat(this.distance)) {
  2791. // this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),营业厅地址 距离过远 请确认是否继续操作 。 ')
  2792. // }
  2793. // if (parseFloat(this.distance2) > parseFloat(this.distance)) {
  2794. // this.newDatas.push(i++ + ' 、该用户 工作地址 , 营业厅地址 距离过远 请确认是否继续操作 。 ')
  2795. // }
  2796. // if (parseFloat(this.distance3) > parseFloat(this.distance)) {
  2797. // this.newDatas.push(i++ + ' 、该用户现住地址(到村/小区),工作地址距离过远 请确认是否继续操作 。 ')
  2798. // }
  2799. // }
  2800. this.getDataRisk(data)
  2801. // if (this.newDatas.length === 1) {
  2802. //newDatas.push(h('p', null, i++ +'、 暂无风险提示 请继续操作。 '))
  2803. //} else {
  2804. //是否显示继续操作页面
  2805. this.showInfo = true;
  2806. //document.getElementById('showInfo').innerHTML = h('div', null, this.newDatas)
  2807. // this.$confirm({
  2808. // okText: '继续操作',
  2809. // cancelText: '终止操作',
  2810. // title: "确认是否继续",
  2811. // content: h('div', null, newDatas),
  2812. // onOk: function () {
  2813. //
  2814. // } ,
  2815. // onCancel:function (){
  2816. // data['status']="0";//中断提交
  2817. // that.submit(data,id)
  2818. // }
  2819. // });
  2820. }
  2821. if (this.current < this.steps.length) {
  2822. this.current = this.current + 1;
  2823. }
  2824. },
  2825. /**上一步骤*/
  2826. prevSteps() {
  2827. if (this.current != 0) {
  2828. this.current = this.current - 1;
  2829. }
  2830. },
  2831. /**终止操作页面上一步骤*/
  2832. terminatingPrevSteps() {
  2833. this.showInfo=false;
  2834. if (this.current != 0) {
  2835. this.current = 1;
  2836. }
  2837. },
  2838. getData(info) {
  2839. var arr = '';
  2840. var ope='';
  2841. if (this.model.numberResults instanceof Array){
  2842. }
  2843. if (this.model.numberResults instanceof String){
  2844. }
  2845. if (this.model.numberResults !== undefined && this.model.numberResults !== "undefined" && this.model.numberResults !==''&& this.model.numberResults !==null && this.model.numberResults.length!==0 ) {
  2846. arr = this.model.numberResults+'';
  2847. }
  2848. if (this.model.operatorType!== undefined && this.model.operatorType !== "undefined"
  2849. && this.model.operatorType !==''&& this.model.operatorType !==null && this.model.operatorType.length!==0 ){
  2850. ope =this.model.operatorType+'';
  2851. }
  2852. if (info==='submit'){
  2853. if (this.industryQiTa!=='' || this.industryQiTa!==null){
  2854. if (this.model.industry==='其它'){
  2855. this.model.industry = this.industryQiTa;
  2856. }
  2857. }
  2858. }
  2859. if (info==='submit'){
  2860. if (this.form.value.length>0) {
  2861. this.model.newPhone=this.form.value.join(',');
  2862. }else {
  2863. return this.$message.warning('新办号码至少选择一项!!!', 3);
  2864. }
  2865. }
  2866. let data = {
  2867. "sysBusinessHall": this.model.sysBusinessHall,
  2868. "company": this.model.company,
  2869. //用户id
  2870. "id": this.model.id,
  2871. "yidong": this.model.yidong,
  2872. "dianxin": this.model.dianxin,
  2873. "liantong": this.model.liantong,
  2874. "qita": this.model.qita,
  2875. //联电归属地
  2876. "address": this.model.address,
  2877. //拨测联系电话
  2878. "phone": this.model.phone,
  2879. //拨测结果
  2880. "calltestResults": this.model.calltestResults,
  2881. //证件地址
  2882. "idCardAddress": this.model.idCardAddress,
  2883. //现住地址
  2884. "currentAddress": this.model.currentAddress,
  2885. //现用号码运营商
  2886. "operator": this.model.operator,
  2887. //现用号码运营商类型
  2888. "operatorType": ope,
  2889. //现用号码运营商类型备注
  2890. "operatorTypeNote": this.model.operatorTypeNote,
  2891. //现用号码使用年限
  2892. "useLife": this.model.useLife,
  2893. //现用号码使用用途
  2894. "phonePurpose": this.model.phonePurpose,
  2895. //是否将高危号码上报蓝、紫名单或不可复开关停
  2896. "numberResults": arr ,
  2897. "cardStartTimeAndEnd":this.model.cardStartTimeAndEnd,
  2898. "judgmentResearchAddress":this.model.judgmentResearchAddress,
  2899. "cardNo": this.model.cardNo,
  2900. "cardName": this.model.cardName,
  2901. "cardStartTime": this.model.cardStartTime,
  2902. "cardEndTime": this.model.cardEndTime,
  2903. "wordAddress": this.model.wordAddress,
  2904. // "businessAddress": this.model.businessAddress,
  2905. "positionInformation": this.model.positionInformation,
  2906. "status": '',
  2907. "judgmentResearch":this.model.judgmentResearch,
  2908. "industry":this.model.industry,
  2909. "newPhone": this.model.newPhone,
  2910. //客户名下无电信号码
  2911. "isDxNumber": this.model.isDxNumber,
  2912. //客户名下无电信号码备注
  2913. "isDxNumberNote": this.model.isDxNumberNote,
  2914. //客户直接要求办理移动号码入网
  2915. "directRequirements":this.model.directRequirements,
  2916. "directRequirementsNode":this.model.directRequirementsNode,
  2917. //客户主动申请一次性办理超过一个号码
  2918. "passOne":this.model.passOne,
  2919. "passOneNode":this.model.passOneNode,
  2920. //所办金额不符合客户消费能力
  2921. "nonConformance":this.model.nonConformance,
  2922. "nonConformanceNode":this.model.nonConformanceNode,
  2923. //申请号码办理征信类、融合宽带业务
  2924. "isBroadband": this.model.isBroadband,
  2925. //申请号码办理征信类、融合宽带业务备注
  2926. "isBroadbandNote": this.model.isBroadbandNote,
  2927. //申请号码使用用途异常
  2928. "isUseTo": this.model.isUseTo,
  2929. //申请号码使用用途异常备注
  2930. "isUseToNote": this.model.isUseToNote,
  2931. //客户名下号码存在异常高频率充值、退费
  2932. "isRefund": this.model.isRefund,
  2933. //客户名下号码存在异常高频率充值、退费备注
  2934. "isRefundNote": this.model.isRefundNote,
  2935. //客户名下已有号码(含已注销号码)存在各类关停
  2936. "isShutDown": this.model.isShutDown,
  2937. //客户名下已有号码(含已注销号码)存在各类关停备注
  2938. "isShutDownNote": this.model.isShutDownNote,
  2939. //客户名下在用号码无使用记录,仍要求新办号码
  2940. "isNewly": this.model.isNewly,
  2941. //客户名下在用号码无使用记录,仍要求新办号码备注
  2942. "isNewlyNote": this.model.isNewlyNote,
  2943. //在多个渠道多频次入网的异常情况
  2944. "isChannel": this.model.isChannel,
  2945. //在多个渠道多频次入网的异常情况备注
  2946. "isChannelNote": this.model.isChannelNote,
  2947. //黑名单到期客户新入网的高危疑似涉诈号码
  2948. "isInvolvingFraud": this.model.isInvolvingFraud,
  2949. //黑名单到期客户新入网的高危疑似涉诈号码备注
  2950. "isInvolvingFraudNote": this.model.isInvolvingFraudNote,
  2951. };
  2952. return data;
  2953. },
  2954. submit(data, id) {
  2955. let mes = '提交成功';
  2956. if (data["status"] === '0') {
  2957. mes = "终止操作 数据保存成功! "
  2958. }
  2959. if (this.model.cardNo==='' || this.model.cardNo===null || this.model.cardNo===undefined){
  2960. this.clearModel()
  2961. this.$message.success('证件信息为空,暂不保存', 3);
  2962. this.addIng == true;
  2963. return
  2964. }
  2965. if (id == null) {
  2966. postAction("/businessReminderCard/add", data).then((res) => {
  2967. if (res.success) {
  2968. this.clearModel()
  2969. this.$message.success(mes, 3);
  2970. this.addIng == true
  2971. location.reload();
  2972. // this.onCance ()
  2973. //this.closeCurrent();
  2974. //this.$router.replace({ path: this.$route.path })
  2975. } else {
  2976. this.$message.error("提交失败");
  2977. //location.reload();
  2978. // this.onCance ()
  2979. // this.closeCurrent();
  2980. // this.$router.replace({ path: this.$route.path })
  2981. }
  2982. })
  2983. } else {
  2984. //data['newBusinessAddress']=this.model.sysBusinessHall;
  2985. postAction("/businessReminderCard/editById", data).then((res) => {
  2986. if (res.success) {
  2987. this.clearModel()
  2988. this.$message.success('修改成功', 7);
  2989. this.addIng == true
  2990. this.$router.go(-1);
  2991. this.closeCurrent();
  2992. } else {
  2993. this.$message.error(res.message,);
  2994. this.addIng == true;
  2995. }
  2996. })
  2997. }
  2998. },
  2999. //继续操作
  3000. continueOperation() {
  3001. this.showInfo = false;
  3002. },
  3003. //终止操作
  3004. terminatingOperation() {
  3005. let data = this.getData('submit');
  3006. data['status'] = "0";//中断提交
  3007. this.showInfo = false;
  3008. this.submit(data, this.model.id)
  3009. },
  3010. check3(data){
  3011. var info = true;
  3012. var reg = RegExp(/numberResults/);
  3013. if (data==='all' || reg.exec(data)) {
  3014. if (data==='all'){
  3015. if (this.model.numberResults === '' || this.model.numberResults === null || this.model.numberResults.length === 0) {
  3016. this.numberResults=true;
  3017. info=false;
  3018. } else {
  3019. this.numberResults=false;
  3020. }
  3021. }else {
  3022. if (this.model.numberResults === '' || this.model.numberResults === null || this.model.numberResults.length === 0) {
  3023. this.numberResults=false;
  3024. }
  3025. }
  3026. if(reg.exec(data)){
  3027. for (let i = 0; i < this.model.numberResults.length; i++){
  3028. if (data==='numberResults'+this.model.numberResults[i]){
  3029. //在取消选择
  3030. if (this.model.numberResults.length===1){
  3031. this.numberResults=true;
  3032. info=false;
  3033. }else {
  3034. this.numberResults=false;
  3035. }
  3036. }
  3037. }
  3038. }
  3039. }
  3040. return info;
  3041. },
  3042. /**新增*/
  3043. submitBusiness() {
  3044. var info = true;
  3045. info=this.check3('all');
  3046. if (info===false){
  3047. return
  3048. }
  3049. let that = this;
  3050. that.addIng == false
  3051. let data = this.getData('submit');
  3052. let id = that.model.id;
  3053. let i = 1;
  3054. let dataMessage = '';
  3055. const h = this.$createElement
  3056. const newDatas = [];
  3057. data['status'] = "1";//确认提交
  3058. this.submit(data, id)
  3059. // if( data["calltestResults"] ==='2'){
  3060. // newDatas.push(h('p', null, i++ +'、该用户拨测号码未接通 请确认风险 。 '))
  3061. //
  3062. // }if(this.isSizeNumberResults==='is' ){
  3063. // newDatas.push(h('p', null, i++ +' 、该用户有多个不友好研判结果 请确认风险 。 '))
  3064. //
  3065. // }if(this.isSizeNumberResults==='is' ){
  3066. // newDatas.push(h('p', null, i++ +' 、该用户现住地址(到村/小区),工作地址,营业厅地址距离过远 请确认风险 。 '))
  3067. //
  3068. // }else{
  3069. // newDatas.push(h('p', null, i++ +' 暂无风险提示 请继续。 '))
  3070. // }
  3071. //
  3072. // this.$confirm({
  3073. // title: "确认是否继续提交",
  3074. // content: h('div', null, newDatas),
  3075. // onOk: function () {
  3076. // if (id == null){
  3077. // postAction("/businessReminderCard/add", data).then((res) => {
  3078. // if (res.success) {
  3079. // that.clearModel()
  3080. // that.$message.success("提交成功", 7);
  3081. // that.addIng == true
  3082. // } else {
  3083. // that.$message.error("提交失败");
  3084. // that.addIng == true;
  3085. // }
  3086. // })
  3087. // }else {
  3088. // postAction("/businessReminderCard/editById", data).then((res) => {
  3089. // if (res.success) {
  3090. // that.clearModel()
  3091. // this.$message.success("修改成功", 7);
  3092. // that.addIng == true
  3093. // this.$router.go(-1);
  3094. // this.closeCurrent();
  3095. // } else {
  3096. // this.$message.error("修改失败");
  3097. // that.addIng == true;
  3098. // }
  3099. // })
  3100. //
  3101. // }
  3102. // }
  3103. // });
  3104. },
  3105. /**充值表单*/
  3106. clearModel() {
  3107. this.model = {}
  3108. this.current = 0;
  3109. },
  3110. },
  3111. }
  3112. </script>
  3113. <style scoped>
  3114. .is-error {
  3115. border-color: red
  3116. }
  3117. .example {
  3118. text-align: center;
  3119. background: rgba(0, 0, 0, 0.05);
  3120. border-radius: 4px;
  3121. margin-bottom: 20px;
  3122. padding: 30px 50px;
  3123. margin: 20px 0;
  3124. }
  3125. .box {
  3126. margin: 0;
  3127. padding: 0;
  3128. }
  3129. .redInfo {
  3130. display: inline-block;
  3131. margin-right: 4px;
  3132. color: #f5222d;
  3133. font-size: 14px;
  3134. font-family: SimSun, sans-serif;
  3135. line-height: 1;
  3136. content: '*';
  3137. }
  3138. /deep/.ant-table-tbody .red{
  3139. color: red !important;
  3140. }
  3141. </style>