|
|
@@ -24,7 +24,7 @@
|
|
|
<div>
|
|
|
<a-button type="link" @click="keyupInfoSelect()">身份证件号码检索</a-button>
|
|
|
<a-row>
|
|
|
- <a-col :span="8">
|
|
|
+ <a-col :span="6">
|
|
|
<a-form-model-item label="身份证件号码" prop="cardNo"v-bind="labelCol2">
|
|
|
|
|
|
<a-radio-group v-model="model.cardNo" button-style="solid" slot-scope="text, record">
|
|
|
@@ -34,31 +34,30 @@
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
- <a-col :span="8">
|
|
|
+ <a-col :span="6">
|
|
|
<a-form-model-item label="身份证姓名" v-bind="labelCol2" prop="" >
|
|
|
<a-radio-group v-model="model.cardName" button-style="solid" >
|
|
|
<a-input v-model="model.cardName" placeholder="身份证姓名" :rules="rules.cardName" ></a-input>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
-
|
|
|
- </a-row>
|
|
|
-
|
|
|
-
|
|
|
- <a-row>
|
|
|
- <a-col :span="8" >
|
|
|
- <a-form-item label="证件期限(开始日期)" v-bind="labelCol2" prop="cardStartTime">
|
|
|
- <j-date :show-time="true" prop="cardStartTime" date-format="YYYY-MM-DD" placeholder="请选择开始时间" class="query-group-cust" v-model="model.cardStartTime"></j-date>
|
|
|
+<!-- <a-col :span="8" >-->
|
|
|
+<!-- <a-form-item label="证件期限(开始日期)" v-bind="labelCol2" prop="cardStartTime">-->
|
|
|
+<!-- <j-date :show-time="true" prop="cardStartTime" date-format="YYYY-MM-DD" placeholder="请选择开始时间" class="query-group-cust" v-model="model.cardStartTime"></j-date>-->
|
|
|
+<!-- </a-form-item>-->
|
|
|
+<!-- </a-col>-->
|
|
|
+
|
|
|
+ <a-col :span="12" >
|
|
|
+ <a-form-item label="身份证证件有效期" v-bind="labelCol2">
|
|
|
+ <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间" class="query-group-cust" v-model="model.cardStartTime"></j-date>
|
|
|
+ <span class="query-group-split-cust"></span>
|
|
|
+ <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间" class="query-group-cust" v-model="model.cardEndTime"></j-date>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
- <a-col :span="8" >
|
|
|
- <a-form-item label="证件期限(截止日期)" v-bind="labelCol2">
|
|
|
- <j-date :show-time="true" date-format="YYYY-MM-DD" placeholder="请选择结束时间" class="query-group-cust" v-model="model.cardEndTime"></j-date>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
</a-row>
|
|
|
|
|
|
+
|
|
|
</div>
|
|
|
</a-form-model>
|
|
|
</div>
|
|
|
@@ -93,10 +92,17 @@
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
+<!-- <a-col :span="8">-->
|
|
|
+<!-- <a-form-model-item label="现用号码使用年限" prop="userOpenState" v-bind="labelCol2">-->
|
|
|
+<!-- <a-radio-group v-model="model.useLife" button-style="solid">-->
|
|
|
+<!-- <a-input v-model="model.useLife" placeholder="请输入使用年限"></a-input>-->
|
|
|
+<!-- </a-radio-group>-->
|
|
|
+<!-- </a-form-model-item>-->
|
|
|
+<!-- </a-col>-->
|
|
|
<a-col :span="8">
|
|
|
- <a-form-model-item label="现用号码使用年限" prop="userOpenState" v-bind="labelCol2">
|
|
|
- <a-radio-group v-model="model.useLife" button-style="solid">
|
|
|
- <a-input v-model="model.useLife" placeholder="请输入使用年限"></a-input>
|
|
|
+ <a-form-model-item label="运营商类型" prop="userOpenState" v-bind="labelCol2">
|
|
|
+ <a-radio-group v-model="model.phonePurpose" button-style="solid">
|
|
|
+ <a-input v-model="model.phonePurpose" placeholder="请输入运营商类型"></a-input>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
@@ -106,26 +112,21 @@
|
|
|
|
|
|
<a-row>
|
|
|
<a-col :span="8">
|
|
|
- <a-form-model-item label="现用号码使用用途" prop="userOpenState" v-bind="labelCol2">
|
|
|
+ <a-form-model-item label="新办号码使用用途" prop="userOpenState" v-bind="labelCol2">
|
|
|
<a-radio-group v-model="model.phonePurpose" button-style="solid">
|
|
|
<a-input v-model="model.phonePurpose" placeholder="请输入用途"></a-input>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
+
|
|
|
<a-col :span="8">
|
|
|
- <a-form-model-item label="证件地址(到村/小区)" prop="userOpenState" v-bind="addressCol">
|
|
|
- <a-radio-group v-model="model.idCardAddress" button-style="solid">
|
|
|
- <a-input v-model="model.idCardAddress" placeholder="请输入证件地址"></a-input>
|
|
|
- </a-radio-group>
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="8">
|
|
|
- <a-form-model-item label="现住地址(到村/小区)" prop="userOpenState" v-bind="addressCol">
|
|
|
- <a-radio-group v-model="model.currentAddress" button-style="solid">
|
|
|
- <a-input v-model="model.currentAddress" placeholder="请输入现住地址"></a-input>
|
|
|
+ <a-form-model-item label="客户所属行业" prop="userOpenState" v-bind="addressCol">
|
|
|
+ <a-radio-group v-model="model.industry" button-style="solid">
|
|
|
+ <a-input v-model="model.industry" placeholder="客户所属行业"></a-input>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
+
|
|
|
</a-row>
|
|
|
|
|
|
<a-row>
|
|
|
@@ -183,21 +184,24 @@
|
|
|
<a-list size="large" bordered>
|
|
|
<template>
|
|
|
<a-list-item>
|
|
|
- <a-col :span="12">
|
|
|
+
|
|
|
+ <a-col :span="12" >
|
|
|
<a-form-model-item label="1、客户名下无电信号码" prop="userOpenState" v-bind="labelCol1Pro1A3">
|
|
|
<a-radio-group v-model="model.isDxNumber" button-style="solid">
|
|
|
<a-radio :value="1">是</a-radio>
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isDxNumberNote"
|
|
|
placeholder="请输入排查结果备注信息"
|
|
|
/>
|
|
|
</a-form-model-item>
|
|
|
- </a-col>
|
|
|
+ </a-col>
|
|
|
+
|
|
|
</a-list-item>
|
|
|
|
|
|
<a-list-item>
|
|
|
@@ -208,7 +212,8 @@
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isBroadbandNote"
|
|
|
@@ -226,7 +231,8 @@
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isUseToNote"
|
|
|
@@ -244,7 +250,8 @@
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isRefundNote"
|
|
|
@@ -262,7 +269,8 @@
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isShutDownNote"
|
|
|
@@ -280,7 +288,8 @@
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isNewlyNote"
|
|
|
@@ -298,7 +307,8 @@
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isChannelNote"
|
|
|
@@ -316,7 +326,8 @@
|
|
|
<a-radio :value="2">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</a-form-model-item>
|
|
|
-
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
<a-form-model-item label="备注" prop="userOpenState" v-bind="labelCol1Pro">
|
|
|
<a-textarea
|
|
|
v-model="model.isInvolvingFraudNote"
|
|
|
@@ -353,10 +364,15 @@
|
|
|
<a-radio value="2">已报蓝紫名单</a-radio>
|
|
|
<a-radio value="3">已报关停</a-radio>
|
|
|
</a-radio-group>
|
|
|
+
|
|
|
+
|
|
|
+<!-- <a-checkbox-group v-model="model.numberResults" name="checkboxgroup" :options="plainOptions" />-->
|
|
|
+<!-- <br />-->
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</div>
|
|
|
</a-form-model>
|
|
|
+
|
|
|
</div>
|
|
|
</a-card>
|
|
|
|
|
|
@@ -375,51 +391,94 @@
|
|
|
<div>
|
|
|
<!-- <a-divider orientation="left">附加信息-->
|
|
|
<!-- </a-divider>-->
|
|
|
+
|
|
|
<a-row>
|
|
|
|
|
|
|
|
|
- <a-col :span="8">
|
|
|
- <a-form-model-item label="工作地址" prop="userOpenState" v-bind="labelCol2">
|
|
|
- <a-radio-group v-model="model.wordAddress" button-style="solid">
|
|
|
- <a-input v-model="model.wordAddress" placeholder="请输入工作地址" @keyup="searchKeyWord('model.wordAddress')" ></a-input>
|
|
|
- <div class="map_search_result" v-show="this.showsearchResult" >
|
|
|
- <ul>
|
|
|
- <li @click="markerResult(item,'wordAddress')" v-for="(item,index) in poiList" :key="index">{{item.name}}</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </a-radio-group>
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="8">
|
|
|
- <a-form-model-item label="营业厅地址" prop="userOpenState" v-bind="labelCol2">
|
|
|
- <a-radio-group v-model="model.businessAddress" button-style="solid">
|
|
|
- <!-- <a-input v-model="model.businessAddress" disabled="" placeholder="请输入营业厅地址" ></a-input>--> <span style="color: blue">中国北京电信总部大楼</span>
|
|
|
-<!-- <a-input v-model="model.businessAddress" disabled="" placeholder="请输入营业厅地址" ></a-input>-->
|
|
|
- <a-input v-model="model.businessAddress" placeholder="请输入营业厅地址" @keyup="searchKeyWord('model.businessAddress')" ></a-input>
|
|
|
- <div class="map_search_result" v-show="this.showsearchResultBusinessAddress" >
|
|
|
- <ul>
|
|
|
- <li @click="markerResult(item,'businessAddress')" v-for="(item,index) in poiList" :key="index">{{item.name}}</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <a-col :span="15">
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="8">
|
|
|
+ <a-form-model-item label="工作地址" prop="userOpenState" v-bind="labelCol2">
|
|
|
+ <a-radio-group v-model="model.wordAddress" button-style="solid">
|
|
|
+ <a-input v-model="model.wordAddress" placeholder="请输入工作地址" @keyup="searchKeyWord('model.wordAddress')" ></a-input>
|
|
|
+ <div class="map_search_result" v-show="this.showsearchResult" >
|
|
|
+ <ul>
|
|
|
+ <li @click="markerResult(item,'wordAddress')" v-for="(item,index) in poiList" :key="index">{{item.name}}</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="8">
|
|
|
+ <a-form-model-item label="营业厅地址" prop="userOpenState" v-bind="labelCol2">
|
|
|
+ <a-radio-group v-model="model.businessAddress" button-style="solid">
|
|
|
+ <!-- <a-input v-model="model.businessAddress" disabled="" placeholder="请输入营业厅地址" ></a-input>-->
|
|
|
+<!-- <span style="color: blue">中国北京电信总部大楼</span>-->
|
|
|
+ <!-- <a-input v-model="model.businessAddress" disabled="" placeholder="请输入营业厅地址" ></a-input>-->
|
|
|
+ <a-input v-model="model.businessAddress" placeholder="请输入营业厅地址" @keyup="searchKeyWord('model.businessAddress')" ></a-input>
|
|
|
+ <div class="map_search_result" v-show="this.showsearchResultBusinessAddress" >
|
|
|
+ <ul>
|
|
|
+ <li @click="markerResult(item,'businessAddress')" v-for="(item,index) in poiList" :key="index">{{item.name}}</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
|
|
|
- </a-radio-group>
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+
|
|
|
+<!-- <a-row>-->
|
|
|
+<!-- <a-col :span="8">-->
|
|
|
+<!-- <a-form-model-item label="证件地址(到村/小区)" prop="userOpenState" v-bind="addressCol">-->
|
|
|
+<!-- <a-radio-group v-model="model.idCardAddress" button-style="solid">-->
|
|
|
+<!-- <a-input v-model="model.idCardAddress" placeholder="请输入证件地址"></a-input>-->
|
|
|
+<!-- </a-radio-group>-->
|
|
|
+<!-- </a-form-model-item>-->
|
|
|
+<!-- </a-col>-->
|
|
|
+<!-- </a-row>-->
|
|
|
+
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="8">
|
|
|
+ <a-form-model-item label="现住地址(到村/小区)" prop="userOpenState" v-bind="addressCol">
|
|
|
+ <a-radio-group v-model="model.currentAddress" button-style="solid">
|
|
|
+
|
|
|
+
|
|
|
+ <a-input v-model="model.currentAddress" placeholder="请输入现住地址" @keyup="searchKeyWord('model.currentAddress')" ></a-input>
|
|
|
+ <div class="map_search_result" v-show="this.showsearchcurrentAddress" >
|
|
|
+ <ul>
|
|
|
+ <li @click="markerResult(item,'currentAddress')" v-for="(item,index) in poiList" :key="index">{{item.name}}</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
|
|
|
- <a-col :span="8">
|
|
|
- <a-form-model-item label="" prop="userOpenState" v-bind="labelCol1Results">
|
|
|
- <a-radio-group v-model="model.judgmentResearch" button-style="solid">
|
|
|
- <a-radio value="1" style="color: red" >智能判研-异常</a-radio>
|
|
|
- <a-radio value="2" >人工判研-正常</a-radio>
|
|
|
- </a-radio-group>
|
|
|
- </a-form-model-item>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="8">
|
|
|
+ <a-form-model-item label="" prop="userOpenState" v-bind="labelCol1Results">
|
|
|
+ <a-radio-group v-model="model.judgmentResearch" button-style="solid">
|
|
|
+ <a-radio value="1" style="color: red" >智能判研-异常</a-radio>
|
|
|
+ <a-radio value="2" >人工判研-正常</a-radio>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
</a-col>
|
|
|
|
|
|
+ <a-col :span="9">
|
|
|
+ <div>
|
|
|
+ <div id="container" :style="{width: '400px', height: '400px'}"></div>
|
|
|
+ </div>
|
|
|
+ </a-col>
|
|
|
</a-row>
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
- <div>
|
|
|
- <div id="container" :style="{width: '100%', height: '400px'}"></div>
|
|
|
- </div>
|
|
|
+
|
|
|
</a-form-model>
|
|
|
</div>
|
|
|
</a-card >
|
|
|
@@ -447,6 +506,7 @@ import Popup from './PopupSubTable.vue';
|
|
|
import {httpAction, postAction, getAction} from "@api/manage";
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin'
|
|
|
import AMapLoader from '@amap/amap-jsapi-loader'
|
|
|
+import { reactive } from 'vue';
|
|
|
window._AMapSecurityConfig = {
|
|
|
securityJsCode: 'f762c44f71422cd56f90acc2a8e75144' //填写你的安全密钥
|
|
|
}
|
|
|
@@ -615,6 +675,13 @@ export default {
|
|
|
wrapperCol: {
|
|
|
span: 16
|
|
|
}
|
|
|
+ },labelColDate: {
|
|
|
+ labelCol: {
|
|
|
+ span: 7
|
|
|
+ },
|
|
|
+ wrapperCol: {
|
|
|
+ span: 14
|
|
|
+ }
|
|
|
},
|
|
|
addressCol: {
|
|
|
labelCol: {
|
|
|
@@ -639,11 +706,16 @@ export default {
|
|
|
isSizeNumberResults:'',
|
|
|
showsearchResult:true,
|
|
|
showsearchResultBusinessAddress:true,
|
|
|
+ showsearchcurrentAddress:true,
|
|
|
addressG:'',
|
|
|
lnglat:{},
|
|
|
- distance:'',
|
|
|
+ distance:'20',
|
|
|
+ distance1:'',
|
|
|
+ distance2:'',
|
|
|
+ distance3:'',
|
|
|
//表单信息
|
|
|
model: {
|
|
|
+ industry:'',
|
|
|
judgmentResearch:'',
|
|
|
isShutDownNote:'',
|
|
|
isShutDown:'',
|
|
|
@@ -693,7 +765,7 @@ export default {
|
|
|
content: 'First-content',
|
|
|
},
|
|
|
{
|
|
|
- title: '结果',
|
|
|
+ title: '后期处理',
|
|
|
content: 'First-content',
|
|
|
},
|
|
|
],
|
|
|
@@ -750,12 +822,14 @@ export default {
|
|
|
this.showsearchResult = true;
|
|
|
that.placeSearchComponent.search(that.model.wordAddress, function (status, result) {
|
|
|
if(status==='complete' && result.info === "OK"){
|
|
|
+ that.showsearchResultBusinessAddress = false
|
|
|
that.showsearchResult = true
|
|
|
- that.showsearchResultBusinessAddress = false;
|
|
|
+ that.showsearchcurrentAddress = false
|
|
|
that.poiList = result.poiList.pois
|
|
|
}else{
|
|
|
that.showsearchResult = false
|
|
|
that.showsearchResultBusinessAddress = false;
|
|
|
+ that.showsearchcurrentAddress = false
|
|
|
that.poiList = []
|
|
|
//that.$message.warning("没有查到结果");
|
|
|
}
|
|
|
@@ -767,8 +841,27 @@ export default {
|
|
|
if(status==='complete' && result.info === "OK"){
|
|
|
that.showsearchResultBusinessAddress = true
|
|
|
that.showsearchResult = false
|
|
|
+ that.showsearchcurrentAddress = false
|
|
|
that.poiList = result.poiList.pois
|
|
|
}else{
|
|
|
+ that.showsearchResultBusinessAddress = false
|
|
|
+ that.showsearchResult = false
|
|
|
+ that.showsearchcurrentAddress = false
|
|
|
+ that.poiList = []
|
|
|
+ //that.$message.warning("没有查到结果");
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if (data==='model.currentAddress'){
|
|
|
+ this.showsearchcurrentAddress = true;
|
|
|
+ that.placeSearchComponent.search(that.model.currentAddress, function (status, result) {
|
|
|
+ if(status==='complete' && result.info === "OK"){
|
|
|
+ that.showsearchcurrentAddress = true
|
|
|
+ that.showsearchResult = false
|
|
|
+ that.showsearchResultBusinessAddress = false
|
|
|
+ that.poiList = result.poiList.pois
|
|
|
+ }else{
|
|
|
+ that.showsearchcurrentAddress = false
|
|
|
that.showsearchResultBusinessAddress = false
|
|
|
that.showsearchResult = false
|
|
|
that.poiList = []
|
|
|
@@ -776,7 +869,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
|
|
|
getdiscount(lat1,lng1,lat2,lng2){
|
|
|
@@ -865,13 +957,13 @@ export default {
|
|
|
//this.showInfoWindow(marker);
|
|
|
this.lnglatMaps.set(nameType, [Number(data.location.lng),Number(data.location.lat)]);
|
|
|
this.lnglatMaps.set(nameType+'name', data.name);
|
|
|
- if (this.lnglatMaps.size>4){
|
|
|
- this.lnglats.clear();
|
|
|
- }
|
|
|
- this.lnglats.push( [Number(data.location.lng),Number(data.location.lat)]); //添加坐标
|
|
|
- if (this.model.wordAddress ===null || this.model.businessAddress===null){
|
|
|
- return;
|
|
|
+ if (this.lnglatMaps.size>6){
|
|
|
+ this.lnglatMaps.clear();
|
|
|
}
|
|
|
+ //this.lnglats.push( [Number(data.location.lng),Number(data.location.lat)]); //添加坐标
|
|
|
+ // if (this.model.wordAddress ===null || this.model.businessAddress===null || this.model.currentAddress===null){
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
// if (this.lnglatMaps.size===4){
|
|
|
this.carGPSIP(this.lnglatMaps);//各个点分别显示坐标
|
|
|
@@ -892,12 +984,21 @@ export default {
|
|
|
this.mapResultList.push(map) ;
|
|
|
console.log(data.location.lng +data.location.lat +"thisPosition")
|
|
|
this.$emit("select",thisPosition)
|
|
|
- //暂时写死
|
|
|
- this.space(data.location.lat,data.location.lng,'39.92800','116.40400');
|
|
|
-
|
|
|
- if(parseFloat(this.distance)>20.0){
|
|
|
+ if ( this.lnglatMaps.size===6){
|
|
|
+ var currentAddressD= this.lnglatMaps.get("currentAddress");
|
|
|
+ var wordAddressD= this.lnglatMaps.get("wordAddress");
|
|
|
+ var businessAddressD= this.lnglatMaps.get("businessAddress");
|
|
|
+
|
|
|
+ this.distance1= this.space(currentAddressD[1],currentAddressD[0],businessAddressD[1],businessAddressD[0]);//现住地址 营业厅地址
|
|
|
+ this.distance2= this.space(wordAddressD[1],wordAddressD[0],businessAddressD[1],businessAddressD[0]);//工作地址 营业厅地址
|
|
|
+ this.distance3= this.space(currentAddressD[1],currentAddressD[0],wordAddressD[1],wordAddressD[0]);//现住地址 工作地址
|
|
|
+ if(parseFloat(this.distance1)>parseFloat(this.distance) || parseFloat(this.distance2)>parseFloat(this.distance) ||parseFloat(this.distance3)>parseFloat(this.distance)){
|
|
|
this.model.judgmentResearch = "1";
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
// 获取详细地址
|
|
|
getAddress(center) {
|
|
|
@@ -1066,39 +1167,6 @@ export default {
|
|
|
})
|
|
|
this.isSizeNumberResults =result[i]["isSizeNumberResults"];
|
|
|
|
|
|
- //this.model.cardName =result[i]["cardName"];
|
|
|
- // this.model.cardStartTime =result[i]["cardStartTime"];
|
|
|
- // this.model.cardEndTime =result[i]["cardEndTime"];
|
|
|
- // this.model.idCardAddress =result[i]["idCardAddress"];
|
|
|
- //
|
|
|
- // this.model.isShutDownNote =result[i]["isShutDownNote"];
|
|
|
- // this.mode.isShutDown =result[i]["isShutDown"];
|
|
|
- // this.mode.isRefundNote =result[i]["isRefundNote"];
|
|
|
- // this.mode.isRefund =result[i]["isRefund"];
|
|
|
- // this.mode.isUseToNote =result[i]["isUseToNote"];
|
|
|
- // this.mode.isUseTo =result[i]["isUseTo"];
|
|
|
- // this.mode.isBroadbandNote =result[i]["isBroadbandNote"];
|
|
|
- // this.mode.isBroadband =result[i]["isBroadband"];
|
|
|
- // this.mode.isDxNumberNote =result[i]["isDxNumberNote"];
|
|
|
- // this.mode.isDxNumber =result[i]["isDxNumber"];
|
|
|
- // this.mode.calltestResults =result[i]["calltestResults"];
|
|
|
- // this.mode.operatorType =result[i]["operatorType"];
|
|
|
- // this.mode.operator =result[i]["operator"];
|
|
|
- // this.mode.currentAddress =result[i]["currentAddress"];
|
|
|
- // this.mode.phonePurpose =result[i]["phonePurpose"];
|
|
|
- // this.mode.useLife =result[i]["useLife"];
|
|
|
- // this.mode.address =result[i]["address"];
|
|
|
- // this.mode.isNewly =result[i]["isNewly"];
|
|
|
- // this.mode.isNewlyNote =result[i]["isNewlyNote"];
|
|
|
- // this.mode.isChannel =result[i]["isChannel"];
|
|
|
- // this.mode.isChannelNote =result[i]["isChannelNote"];
|
|
|
- // this.mode.isInvolvingFraud =result[i]["isInvolvingFraud"];
|
|
|
- // this.mode.isInvolvingFraudNote=result[i]["isInvolvingFraudNote"];
|
|
|
- // this.mode.numberResults=result[i]["numberResults"];
|
|
|
- // this.mode.id=result[i]["id"];
|
|
|
- // this.mode.phone=result[i]["phone"];
|
|
|
- // this.mode.wordAddress=result[i]["wordAddress"];
|
|
|
- // this.mode.positionInformation=result[i]["positionInformation"];
|
|
|
}
|
|
|
if (result[i]["isSizeNumberResults"]==='is'){
|
|
|
this.$confirm({
|
|
|
@@ -1170,9 +1238,9 @@ export default {
|
|
|
if (this.model.address===''|| this.model.address===null){
|
|
|
newDatas.push(h('p', null, '<联电归属地> 不可为空... '))
|
|
|
}
|
|
|
- if (this.model.useLife==='' || this.model.useLife===null){
|
|
|
- newDatas.push(h('p', null, '<号码使用年限> 不可为空... '))
|
|
|
- }
|
|
|
+ // if (this.model.useLife==='' || this.model.useLife===null){
|
|
|
+ // newDatas.push(h('p', null, '<号码使用年限> 不可为空... '))
|
|
|
+ // }
|
|
|
if (this.model.phonePurpose==='' || this.model.phonePurpose===null){
|
|
|
newDatas.push(h('p', null, '<号码使用用途> 不可为空... '))
|
|
|
}
|
|
|
@@ -1215,9 +1283,54 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
+ if (this.current===1){
|
|
|
+ let that = this;
|
|
|
+ console.info(this.model.calltestResults);
|
|
|
+ that.addIng == false
|
|
|
+ let data=this.getData();
|
|
|
+ let id = that.model.id;
|
|
|
+ let i=1 ;
|
|
|
+ let dataMessage ='';
|
|
|
+ const h = this.$createElement
|
|
|
+ const newDatas = [];
|
|
|
+
|
|
|
+ if( data["calltestResults"] ==='2'){
|
|
|
+ newDatas.push(h('p', null, i++ +'、该用户拨测号码未接通 请确认是否继续操作 。 '))
|
|
|
+
|
|
|
+ } if( data["calltestResults"] ==='1'){
|
|
|
+ newDatas.push(h('p', null, i++ +'、该用户拨测号码关机 请确认是否继续操作 。 '))
|
|
|
+
|
|
|
+ }if(this.isSizeNumberResults==='is' ){
|
|
|
+ newDatas.push(h('p', null, i++ +' 、该用户有多个不友好研判结果 请确认是否继续操作 。 '))
|
|
|
+
|
|
|
+ }if(parseFloat(this.distance1)>parseFloat(this.distance) ){
|
|
|
+ newDatas.push(h('p', null, i++ +' 、该用户现住地址(到村/小区),营业厅地址 距离过远 请确认是否继续操作 。 '))
|
|
|
+ }if( parseFloat(this.distance2)>parseFloat(this.distance) ){
|
|
|
+ newDatas.push(h('p', null, i++ +' 、该用户 工作地址 , 营业厅地址 距离过远 请确认是否继续操作 。 '))
|
|
|
+ }if(parseFloat(this.distance3)>parseFloat(this.distance) ){
|
|
|
+ newDatas.push(h('p', null, i++ +' 、该用户现住地址(到村/小区),工作地址距离过远 请确认是否继续操作 。 '))
|
|
|
+ }
|
|
|
+
|
|
|
+ if (newDatas.length===0){
|
|
|
+ //newDatas.push(h('p', null, i++ +'、 暂无风险提示 请继续操作。 '))
|
|
|
+ }else{
|
|
|
+ this.$confirm({
|
|
|
+ title: "确认是否继续",
|
|
|
+ content: h('div', null, newDatas),
|
|
|
+ onOk: function () {
|
|
|
+
|
|
|
+ } ,
|
|
|
+ onCancel:function (){
|
|
|
+ data['status']="0";//中断提交
|
|
|
+ that.submit(data,id)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
if (this.current < this.steps.length) {
|
|
|
this.current = this.current + 1;
|
|
|
}
|
|
|
+
|
|
|
},
|
|
|
/**上一步骤*/
|
|
|
prevSteps() {
|
|
|
@@ -1225,129 +1338,176 @@ export default {
|
|
|
this.current = this.current - 1;
|
|
|
}
|
|
|
},
|
|
|
- /**新增*/
|
|
|
- submitBusiness() {
|
|
|
- let that = this;
|
|
|
- that.addIng == false
|
|
|
+
|
|
|
+
|
|
|
+ getData(){
|
|
|
let data = {
|
|
|
//用户id
|
|
|
- "id": that.model.id,
|
|
|
+ "id": this.model.id,
|
|
|
//联电归属地
|
|
|
- "address": that.model.address,
|
|
|
+ "address": this.model.address,
|
|
|
//拨测联系电话
|
|
|
- "phone": that.model.phone,
|
|
|
+ "phone": this.model.phone,
|
|
|
//拨测结果
|
|
|
- "calltestResults": that.model.calltestResults,
|
|
|
+ "calltestResults": this.model.calltestResults,
|
|
|
//证件地址
|
|
|
- "idCardAddress": that.model.idCardAddress,
|
|
|
+ "idCardAddress": this.model.idCardAddress,
|
|
|
//现住地址
|
|
|
- "currentAddress": that.model.currentAddress,
|
|
|
+ "currentAddress": this.model.currentAddress,
|
|
|
//现用号码运营商
|
|
|
- "operator": that.model.operator,
|
|
|
+ "operator": this.model.operator,
|
|
|
//现用号码运营商类型
|
|
|
- "operatorType": that.model.operatorType,
|
|
|
+ "operatorType": this.model.operatorType,
|
|
|
//现用号码运营商类型备注
|
|
|
- "operatorTypeNote": that.model.operatorTypeNote,
|
|
|
+ "operatorTypeNote": this.model.operatorTypeNote,
|
|
|
//现用号码使用年限
|
|
|
- "useLife": that.model.useLife,
|
|
|
+ "useLife": this.model.useLife,
|
|
|
//现用号码使用用途
|
|
|
- "phonePurpose": that.model.phonePurpose,
|
|
|
+ "phonePurpose": this.model.phonePurpose,
|
|
|
|
|
|
//客户名下无电信号码
|
|
|
- "isDxNumber": that.model.isDxNumber,
|
|
|
+ "isDxNumber": this.model.isDxNumber,
|
|
|
//客户名下无电信号码备注
|
|
|
- "isDxNumberNote": that.model.isDxNumberNote,
|
|
|
+ "isDxNumberNote": this.model.isDxNumberNote,
|
|
|
//申请号码办理征信类、融合宽带业务
|
|
|
- "isBroadband": that.model.isBroadband,
|
|
|
+ "isBroadband": this.model.isBroadband,
|
|
|
//申请号码办理征信类、融合宽带业务备注
|
|
|
- "isBroadbandNote": that.model.isBroadbandNote,
|
|
|
+ "isBroadbandNote": this.model.isBroadbandNote,
|
|
|
//申请号码使用用途异常
|
|
|
- "isUseTo": that.model.isUseTo,
|
|
|
+ "isUseTo": this.model.isUseTo,
|
|
|
//申请号码使用用途异常备注
|
|
|
- "isUseToNote": that.model.isUseToNote,
|
|
|
+ "isUseToNote": this.model.isUseToNote,
|
|
|
//客户名下号码存在异常高频率充值、退费
|
|
|
- "isRefund": that.model.isRefund,
|
|
|
+ "isRefund": this.model.isRefund,
|
|
|
//客户名下号码存在异常高频率充值、退费备注
|
|
|
- "isRefundNote": that.model.isRefundNote,
|
|
|
+ "isRefundNote": this.model.isRefundNote,
|
|
|
//客户名下已有号码(含已注销号码)存在各类关停
|
|
|
- "isShutDown": that.model.isShutDown,
|
|
|
+ "isShutDown": this.model.isShutDown,
|
|
|
//客户名下已有号码(含已注销号码)存在各类关停备注
|
|
|
- "isShutDownNote": that.model.isShutDownNote,
|
|
|
+ "isShutDownNote": this.model.isShutDownNote,
|
|
|
//客户名下在用号码无使用记录,仍要求新办号码
|
|
|
- "isNewly": that.model.isNewly,
|
|
|
+ "isNewly": this.model.isNewly,
|
|
|
//客户名下在用号码无使用记录,仍要求新办号码备注
|
|
|
- "isNewlyNote": that.model.isNewlyNote,
|
|
|
+ "isNewlyNote": this.model.isNewlyNote,
|
|
|
//在多个渠道多频次入网的异常情况
|
|
|
- "isChannel": that.model.isChannel,
|
|
|
+ "isChannel": this.model.isChannel,
|
|
|
//在多个渠道多频次入网的异常情况备注
|
|
|
- "isChannelNote": that.model.isChannelNote,
|
|
|
+ "isChannelNote": this.model.isChannelNote,
|
|
|
//黑名单到期客户新入网的高危疑似涉诈号码
|
|
|
- "isInvolvingFraud": that.model.isInvolvingFraud,
|
|
|
+ "isInvolvingFraud": this.model.isInvolvingFraud,
|
|
|
//黑名单到期客户新入网的高危疑似涉诈号码备注
|
|
|
- "isInvolvingFraudNote": that.model.isInvolvingFraudNote,
|
|
|
+ "isInvolvingFraudNote": this.model.isInvolvingFraudNote,
|
|
|
|
|
|
//是否将高危号码上报蓝、紫名单或不可复开关停
|
|
|
- "numberResults": that.model.numberResults,
|
|
|
-
|
|
|
- "cardNo":that.model.cardNo,
|
|
|
- "cardName":that.model.cardName,
|
|
|
- "cardStartTime":that.model.cardStartTime,
|
|
|
- "endStartTime":that.model.endStartTime,
|
|
|
- "wordAddress":that.model.wordAddress,
|
|
|
- "businessAddress":that.model.businessAddress,
|
|
|
- "positionInformation":that.model.positionInformation
|
|
|
+ "numberResults": this.model.numberResults,
|
|
|
|
|
|
+ "cardNo":this.model.cardNo,
|
|
|
+ "cardName":this.model.cardName,
|
|
|
+ "cardStartTime":this.model.cardStartTime,
|
|
|
+ "endStartTime":this.model.endStartTime,
|
|
|
+ "wordAddress":this.model.wordAddress,
|
|
|
+ "businessAddress":this.model.businessAddress,
|
|
|
+ "positionInformation":this.model.positionInformation,
|
|
|
+ "status":''
|
|
|
|
|
|
|
|
|
};
|
|
|
- let id = that.model.id;
|
|
|
- let i=1 ;
|
|
|
- let dataMessage ='';
|
|
|
- const h = this.$createElement
|
|
|
- const newDatas = [];
|
|
|
-
|
|
|
- if( data["calltestResults"] ==='2'){
|
|
|
- newDatas.push(h('p', null, i++ +'、该用户拨测号码未接通 请确认风险 。 '))
|
|
|
-
|
|
|
- }if(this.isSizeNumberResults==='is' ){
|
|
|
- newDatas.push(h('p', null, i++ +' 、该用户有多个不友好研判结果 请确认风险 。 '))
|
|
|
+ return data;
|
|
|
+ },
|
|
|
|
|
|
- }else{
|
|
|
- newDatas.push(h('p', null, i++ +' 暂无风险提示 请继续。 '))
|
|
|
+ submit(data,id){
|
|
|
+ let mes = '提交成功';
|
|
|
+ if (data["status"]==='0'){
|
|
|
+ mes="终止操作 数据保存成功! "
|
|
|
}
|
|
|
|
|
|
- this.$confirm({
|
|
|
- title: "确认是否继续提交",
|
|
|
- content: h('div', null, newDatas),
|
|
|
- onOk: function () {
|
|
|
- if (id == null){
|
|
|
- postAction("/businessReminderCard/add", data).then((res) => {
|
|
|
- if (res.success) {
|
|
|
- that.clearModel()
|
|
|
- that.$message.success("提交成功", 7);
|
|
|
- that.addIng == true
|
|
|
- } else {
|
|
|
- that.$message.error("提交失败");
|
|
|
- that.addIng == true;
|
|
|
- }
|
|
|
- })
|
|
|
- }else {
|
|
|
- postAction("/businessReminderCard/editById", data).then((res) => {
|
|
|
- if (res.success) {
|
|
|
- that.clearModel()
|
|
|
- this.$message.success("修改成功", 7);
|
|
|
- that.addIng == true
|
|
|
- this.$router.go(-1);
|
|
|
- this.closeCurrent();
|
|
|
- } else {
|
|
|
- this.$message.error("修改失败");
|
|
|
- that.addIng == true;
|
|
|
- }
|
|
|
- })
|
|
|
+ if (id == null){
|
|
|
|
|
|
+ postAction("/businessReminderCard/add", data).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ this.clearModel()
|
|
|
+ this.$message.success(mes, 7);
|
|
|
+ this.addIng == true
|
|
|
+ } else {
|
|
|
+ this.$message.error("提交失败");
|
|
|
+ this.addIng == true;
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
+ })
|
|
|
+ }else {
|
|
|
+ postAction("/businessReminderCard/editById", data).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ this.clearModel()
|
|
|
+ this.$message.success(mes, 7);
|
|
|
+ this.addIng == true
|
|
|
+ this.$router.go(-1);
|
|
|
+ this.closeCurrent();
|
|
|
+ } else {
|
|
|
+ this.$message.error("修改失败");
|
|
|
+ this.addIng == true;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ /**新增*/
|
|
|
+ submitBusiness() {
|
|
|
+ let that = this;
|
|
|
+ that.addIng == false
|
|
|
+ let data=this.getData();
|
|
|
+ let id = that.model.id;
|
|
|
+ let i=1 ;
|
|
|
+ let dataMessage ='';
|
|
|
+ const h = this.$createElement
|
|
|
+ const newDatas = [];
|
|
|
+ data['status']="1";//确认提交
|
|
|
+
|
|
|
+ this.submit(data,id)
|
|
|
+
|
|
|
+ // if( data["calltestResults"] ==='2'){
|
|
|
+ // newDatas.push(h('p', null, i++ +'、该用户拨测号码未接通 请确认风险 。 '))
|
|
|
+ //
|
|
|
+ // }if(this.isSizeNumberResults==='is' ){
|
|
|
+ // newDatas.push(h('p', null, i++ +' 、该用户有多个不友好研判结果 请确认风险 。 '))
|
|
|
+ //
|
|
|
+ // }if(this.isSizeNumberResults==='is' ){
|
|
|
+ // newDatas.push(h('p', null, i++ +' 、该用户现住地址(到村/小区),工作地址,营业厅地址距离过远 请确认风险 。 '))
|
|
|
+ //
|
|
|
+ // }else{
|
|
|
+ // newDatas.push(h('p', null, i++ +' 暂无风险提示 请继续。 '))
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // this.$confirm({
|
|
|
+ // title: "确认是否继续提交",
|
|
|
+ // content: h('div', null, newDatas),
|
|
|
+ // onOk: function () {
|
|
|
+ // if (id == null){
|
|
|
+ // postAction("/businessReminderCard/add", data).then((res) => {
|
|
|
+ // if (res.success) {
|
|
|
+ // that.clearModel()
|
|
|
+ // that.$message.success("提交成功", 7);
|
|
|
+ // that.addIng == true
|
|
|
+ // } else {
|
|
|
+ // that.$message.error("提交失败");
|
|
|
+ // that.addIng == true;
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }else {
|
|
|
+ // postAction("/businessReminderCard/editById", data).then((res) => {
|
|
|
+ // if (res.success) {
|
|
|
+ // that.clearModel()
|
|
|
+ // this.$message.success("修改成功", 7);
|
|
|
+ // that.addIng == true
|
|
|
+ // this.$router.go(-1);
|
|
|
+ // this.closeCurrent();
|
|
|
+ // } else {
|
|
|
+ // this.$message.error("修改失败");
|
|
|
+ // that.addIng == true;
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ //
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
|
|
|
},
|
|
|
/**充值表单*/
|
|
|
@@ -1358,7 +1518,23 @@ export default {
|
|
|
},
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+const state = reactive({
|
|
|
+ value1: [],
|
|
|
+ value2: ['1'],
|
|
|
+ value3: ['2'],
|
|
|
+ value4: ['3'],
|
|
|
+});
|
|
|
+const plainOptions = ['1', '2', '3'];
|
|
|
+const options = [{
|
|
|
+ label: '非高危',
|
|
|
+ value: '1',
|
|
|
+}, {
|
|
|
+ label: '已报蓝紫名单',
|
|
|
+ value: '2',
|
|
|
+}, {
|
|
|
+ label: '已报关停',
|
|
|
+ value: '3',
|
|
|
+}];
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|