|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
<!-- <a-radio-group v-model="model.cardNo" button-style="solid" slot-scope="text, record">-->
|
|
<!-- <a-radio-group v-model="model.cardNo" button-style="solid" slot-scope="text, record">-->
|
|
|
<a-input v-model="model.cardNo" placeholder="请输入身份证件号码" @keyup="keyupInfo()" ></a-input>
|
|
<a-input v-model="model.cardNo" placeholder="请输入身份证件号码" @keyup="keyupInfo()" ></a-input>
|
|
|
-<!-- </a-radio-group>-->
|
|
|
|
|
|
|
+<!-- </a-radio-group>--><a-icon slot="prefix" type="user" :style="{ color: 'rgba(0,0,0,.25)' }"/>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
</a-col>
|
|
@@ -458,14 +458,14 @@
|
|
|
<a-col>
|
|
<a-col>
|
|
|
<a-form-model-item label="营业厅地址" prop="sysBusinessHallAndSysCompany" v-bind="labelCol2">
|
|
<a-form-model-item label="营业厅地址" prop="sysBusinessHallAndSysCompany" v-bind="labelCol2">
|
|
|
<a-col :span="10">
|
|
<a-col :span="10">
|
|
|
- <a-select placeholder="请选择分公司" v-model="sysBusinessHallAndSysCompany.company">
|
|
|
|
|
|
|
+ <a-select placeholder="请选择分公司" v-model="model.company">
|
|
|
<a-select-option v-for="(item,index) in sysCompany" :key="item.id" :value="item.id"
|
|
<a-select-option v-for="(item,index) in sysCompany" :key="item.id" :value="item.id"
|
|
|
@click="change(item.id)">{{ item.name }}
|
|
@click="change(item.id)">{{ item.name }}
|
|
|
</a-select-option>
|
|
</a-select-option>
|
|
|
</a-select>
|
|
</a-select>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
<a-col :span="10">
|
|
<a-col :span="10">
|
|
|
- <a-select placeholder="请选择营业厅地址" v-model="sysBusinessHallAndSysCompany.sysBusinessHall">
|
|
|
|
|
|
|
+ <a-select placeholder="请选择营业厅地址" v-model="model.sysBusinessHall">
|
|
|
<a-select-option v-for="item in sysBusinessHallList" :key="item.id" :value="item.id"
|
|
<a-select-option v-for="item in sysBusinessHallList" :key="item.id" :value="item.id"
|
|
|
@click="searchKeyWordsysBusinessHall('中国电信'+item.name,'businessAddress')">
|
|
@click="searchKeyWordsysBusinessHall('中国电信'+item.name,'businessAddress')">
|
|
|
{{ item.name }}
|
|
{{ item.name }}
|
|
@@ -494,8 +494,8 @@
|
|
|
<a-input v-model="model.wordAddress" placeholder="请输入工作地址"
|
|
<a-input v-model="model.wordAddress" placeholder="请输入工作地址"
|
|
|
@keyup="searchKeyWord('model.wordAddress')"></a-input>
|
|
@keyup="searchKeyWord('model.wordAddress')"></a-input>
|
|
|
<div class="map_search_result" v-show="this.showsearchResult">
|
|
<div class="map_search_result" v-show="this.showsearchResult">
|
|
|
- <ul>
|
|
|
|
|
- <li @click="markerResult(item,'wordAddress')" v-for="(item,index) in poiList" :key="index">
|
|
|
|
|
|
|
+ <ul style=" border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
|
|
|
|
|
+ <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">
|
|
|
{{ item.name }}
|
|
{{ item.name }}
|
|
|
</li>
|
|
</li>
|
|
|
</ul>
|
|
</ul>
|
|
@@ -505,17 +505,6 @@
|
|
|
</a-col>
|
|
</a-col>
|
|
|
</a-row>
|
|
</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-row>
|
|
|
<a-col>
|
|
<a-col>
|
|
|
<a-form-model-item label="现住地址(到村/小区)" prop="currentAddress" :labelCol="{ span:7}" :wrapperCol="{ span: 7}">
|
|
<a-form-model-item label="现住地址(到村/小区)" prop="currentAddress" :labelCol="{ span:7}" :wrapperCol="{ span: 7}">
|
|
@@ -525,8 +514,8 @@
|
|
|
<a-input v-model="model.currentAddress" placeholder="请输入现住地址"
|
|
<a-input v-model="model.currentAddress" placeholder="请输入现住地址"
|
|
|
@keyup="searchKeyWord('model.currentAddress')"></a-input>
|
|
@keyup="searchKeyWord('model.currentAddress')"></a-input>
|
|
|
<div class="map_search_result" v-show="this.showsearchcurrentAddress">
|
|
<div class="map_search_result" v-show="this.showsearchcurrentAddress">
|
|
|
- <ul>
|
|
|
|
|
- <li @click="markerResult(item,'currentAddress')" v-for="(item,index) in poiList"
|
|
|
|
|
|
|
+ <ul style=" border-radius: 5px ;border: 0.5px solid #f1f1f1;padding: 0px; background-color: #f1f1f1;">
|
|
|
|
|
+ <li style=" border-radius: 5px;list-style: none;border: 0px solid;padding: 0px; "@click="markerResult(item,'currentAddress')" v-for="(item,index) in poiList"
|
|
|
:key="index">{{ item.name }}
|
|
:key="index">{{ item.name }}
|
|
|
</li>
|
|
</li>
|
|
|
</ul>
|
|
</ul>
|
|
@@ -628,10 +617,7 @@ export default {
|
|
|
province: '',
|
|
province: '',
|
|
|
city: ''
|
|
city: ''
|
|
|
},
|
|
},
|
|
|
- sysBusinessHallAndSysCompany: {
|
|
|
|
|
- sysBusinessHall: '',
|
|
|
|
|
- company: ''
|
|
|
|
|
- },
|
|
|
|
|
|
|
+
|
|
|
ruleValidate: '',
|
|
ruleValidate: '',
|
|
|
countryName: "",
|
|
countryName: "",
|
|
|
cityName: "",
|
|
cityName: "",
|
|
@@ -910,14 +896,21 @@ export default {
|
|
|
message: '请选择客户名下无电信号码!',
|
|
message: '请选择客户名下无电信号码!',
|
|
|
trigger: 'blur'
|
|
trigger: 'blur'
|
|
|
}
|
|
}
|
|
|
|
|
+ ],
|
|
|
|
|
+ judgmentResearch:[
|
|
|
|
|
+ {
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: '请选择判研结果结果!',
|
|
|
|
|
+ trigger: 'blur'
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
poiList: '',
|
|
poiList: '',
|
|
|
isSizeNumberResults: '',
|
|
isSizeNumberResults: '',
|
|
|
- showsearchResult: true,
|
|
|
|
|
|
|
+ showsearchResult: false,
|
|
|
showsearchResultBusinessAddress: true,
|
|
showsearchResultBusinessAddress: true,
|
|
|
- showsearchcurrentAddress: true,
|
|
|
|
|
|
|
+ showsearchcurrentAddress: false,
|
|
|
addressG: '',
|
|
addressG: '',
|
|
|
lnglat: {},
|
|
lnglat: {},
|
|
|
distance: '20',
|
|
distance: '20',
|
|
@@ -928,6 +921,8 @@ export default {
|
|
|
newDatas: [],
|
|
newDatas: [],
|
|
|
//表单信息
|
|
//表单信息
|
|
|
model: {
|
|
model: {
|
|
|
|
|
+ sysBusinessHall: '',
|
|
|
|
|
+ company: '',
|
|
|
industry: '',
|
|
industry: '',
|
|
|
judgmentResearch: '',
|
|
judgmentResearch: '',
|
|
|
isShutDownNote: '',
|
|
isShutDownNote: '',
|
|
@@ -1103,7 +1098,7 @@ export default {
|
|
|
that.showsearchResult = false
|
|
that.showsearchResult = false
|
|
|
that.showsearchcurrentAddress = false
|
|
that.showsearchcurrentAddress = false
|
|
|
that.poiList = result.poiList.pois
|
|
that.poiList = result.poiList.pois
|
|
|
- that.markerResult(that.poiList[0], 'businessAddress')
|
|
|
|
|
|
|
+ that.markerResult(that.poiList[0], nameType)
|
|
|
} else {
|
|
} else {
|
|
|
that.showsearchResultBusinessAddress = false
|
|
that.showsearchResultBusinessAddress = false
|
|
|
that.showsearchResult = false
|
|
that.showsearchResult = false
|
|
@@ -1483,8 +1478,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
keyupInfo() {
|
|
keyupInfo() {
|
|
|
|
|
|
|
|
- //反显地址
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
//身份证输入查询
|
|
//身份证输入查询
|
|
|
if (this.model.cardNo.length === 15 || this.model.cardNo.length === 18) {
|
|
if (this.model.cardNo.length === 15 || this.model.cardNo.length === 18) {
|
|
@@ -1526,6 +1519,21 @@ export default {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ for (var item of this.sysCompany) {
|
|
|
|
|
+ if (item.id === this.model.company) {
|
|
|
|
|
+ this.companyName = item.name
|
|
|
|
|
+ for (var it of item.sysBusinessHallList) {
|
|
|
|
|
+ if (it.id === this.model.sysBusinessHall) {
|
|
|
|
|
+ this.hallName = it.name
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ this.searchKeyWordsysBusinessHall(this.model.wordAddress,'wordAddress');
|
|
|
|
|
+ this.searchKeyWordsysBusinessHall('中国电信'+this.hallName,'businessAddress');
|
|
|
|
|
+ this.searchKeyWordsysBusinessHall(this.model.currentAddress,'currentAddress');
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
/**获取详情*/
|
|
/**获取详情*/
|
|
@@ -1650,10 +1658,10 @@ export default {
|
|
|
var company = '';
|
|
var company = '';
|
|
|
var hall = '';
|
|
var hall = '';
|
|
|
for (var item of this.sysCompany) {
|
|
for (var item of this.sysCompany) {
|
|
|
- if (item.id === this.sysBusinessHallAndSysCompany.company) {
|
|
|
|
|
|
|
+ if (item.id === this.model.company) {
|
|
|
this.companyName = item.name
|
|
this.companyName = item.name
|
|
|
for (var it of item.sysBusinessHallList) {
|
|
for (var it of item.sysBusinessHallList) {
|
|
|
- if (it.id === this.sysBusinessHallAndSysCompany.sysBusinessHall) {
|
|
|
|
|
|
|
+ if (it.id === this.model.sysBusinessHall) {
|
|
|
this.hallName = it.name
|
|
this.hallName = it.name
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1727,8 +1735,8 @@ export default {
|
|
|
arr = this.model.numberResults.join(",");
|
|
arr = this.model.numberResults.join(",");
|
|
|
}
|
|
}
|
|
|
let data = {
|
|
let data = {
|
|
|
- "sysBusinessHall": this.sysBusinessHallAndSysCompany.sysBusinessHall,
|
|
|
|
|
- "company": this.sysBusinessHallAndSysCompany.company,
|
|
|
|
|
|
|
+ "sysBusinessHall": this.model.sysBusinessHall,
|
|
|
|
|
+ "company": this.model.company,
|
|
|
//用户id
|
|
//用户id
|
|
|
"id": this.model.id,
|
|
"id": this.model.id,
|
|
|
//联电归属地
|
|
//联电归属地
|