|
|
@@ -654,7 +654,7 @@
|
|
|
</a-card>
|
|
|
|
|
|
<!--附加信息-->
|
|
|
- <a-card style="margin-bottom:10px" v-show="current==0">
|
|
|
+ <a-card style="margin-bottom:10px" v-show="current==0" v-if='showMap'>
|
|
|
<div>
|
|
|
<a-form-model
|
|
|
ref="form"
|
|
|
@@ -751,7 +751,7 @@
|
|
|
</a-row>
|
|
|
<a-row>
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="人工地址判研" prop="userOpenState" :labelCol="{span:7}"
|
|
|
+ <a-form-model-item label="人工地址判研" prop="judgmentResearchAddress" :labelCol="{span:7}"
|
|
|
:wrapperCol="{span:12}">
|
|
|
<a-radio-group v-model="model.judgmentResearchAddress" button-style="solid" @change="showCheck0('judgmentResearchAddress')" :disabled="isDisabled">
|
|
|
<a-radio value="1" style="color: red">人工判研-异常</a-radio>
|
|
|
@@ -778,6 +778,129 @@
|
|
|
</div>
|
|
|
</a-card>
|
|
|
|
|
|
+ <!--附加信息-->
|
|
|
+ <a-card style="margin-bottom:10px" v-show="current==0" v-if='!showMap'>
|
|
|
+ <div>
|
|
|
+ <a-form-model
|
|
|
+ ref="form"
|
|
|
+ :label-col="labelCol"
|
|
|
+ :wrapper-col="wrapperCol"
|
|
|
+ :model="model"
|
|
|
+ :rules="rules"
|
|
|
+ >
|
|
|
+ <div>
|
|
|
+ <!-- <a-divider orientation="left">附加信息-->
|
|
|
+ <!-- </a-divider>-->
|
|
|
+
|
|
|
+ <a-row>
|
|
|
+
|
|
|
+
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-row>
|
|
|
+ <a-col>
|
|
|
+ <a-form-model-item label="营业厅地址" prop="sysBusinessHallAndSysCompany" v-bind="labelCol2">
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-select placeholder="请选择分公司" v-model="model.company" id="company" :disabled="isDisabled" >
|
|
|
+ <a-select-option v-for="(item,index) in sysCompany" :key="item.id" :value="item.id"
|
|
|
+ @click="change(item.id)">{{ item.name }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-select placeholder="请选择营业厅地址" v-model="model.sysBusinessHall" style="margin: 0px 0px;width: 200px" :disabled="isDisabled">
|
|
|
+ <a-select-option v-for="item in sysBusinessHallList" :key="item.id" :value="item.id" >
|
|
|
+ {{ item.name }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-col>
|
|
|
+ <br>
|
|
|
+ <div v-if="sysBusinessHallNull" style="color: red;margin: 0px 0px" >请选择营业厅地址</div>
|
|
|
+
|
|
|
+ </a-form-model-item>
|
|
|
+
|
|
|
+
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col>
|
|
|
+ <a-form-model-item label="工作地址" prop="industry" :labelCol="{ span:7}" :wrapperCol="{ span: 4}">
|
|
|
+ <!-- <a-radio-group v-model="model.wordAddress" button-style="solid">-->
|
|
|
+ <a-input v-model="model.wordAddress" placeholder="请输入工作地址"
|
|
|
+ id="wordAddress" @blur="showCheck0('wordAddress')" :disabled="isDisabled"></a-input>
|
|
|
+ <div class="map_search_result" v-show="this.showsearchResult">
|
|
|
+ <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; " 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>
|
|
|
+ <a-form-model-item label="现住地址(到村/小区)" prop="industry" :labelCol="{ span:7}" :wrapperCol="{ span: 4}">
|
|
|
+ <!-- <a-radio-group v-model="model.currentAddress" button-style="solid">-->
|
|
|
+
|
|
|
+
|
|
|
+ <a-input v-model="model.currentAddress" placeholder="请输入现住地址"
|
|
|
+ id="currentAddress" @blur="showCheck0('currentAddress')" :disabled="isDisabled"></a-input>
|
|
|
+ <div class="map_search_result" v-show="this.showsearchcurrentAddress">
|
|
|
+ <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; " 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="24">-->
|
|
|
+<!-- <a-form-model-item label="智能地址研判" prop="userOpenState" :labelCol="{span:7}"-->
|
|
|
+<!-- :wrapperCol="{span:12}">-->
|
|
|
+<!-- <a-radio-group v-model="model.judgmentResearch" button-style="solid" @change="showCheck0('judgmentResearch')">-->
|
|
|
+<!-- <a-radio value="1" style="color: red " :disabled="judgmentResearchDisabledY">智能判研-异常</a-radio>-->
|
|
|
+<!-- <a-radio value="2" :disabled="judgmentResearchDisabledZ">智能判研-正常</a-radio>-->
|
|
|
+<!-- </a-radio-group>-->
|
|
|
+
|
|
|
+<!-- <!– <div v-if="judgmentResearchNull" style="color: red;margin-left: 40px">请选择地址研判</div>–>-->
|
|
|
+<!-- </a-form-model-item>-->
|
|
|
+<!-- </a-col>-->
|
|
|
+<!-- </a-row>-->
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-model-item label="人工地址判研" prop="judgmentResearchAddress" :labelCol="{span:7}"
|
|
|
+ :wrapperCol="{span:12}">
|
|
|
+ <a-radio-group v-model="model.judgmentResearchAddress" button-style="solid" @change="showCheck0('judgmentResearchAddress')" :disabled="isDisabled">
|
|
|
+ <a-radio value="1" style="color: red">人工判研-异常</a-radio>
|
|
|
+ <a-radio value="2">人工判研-正常</a-radio>
|
|
|
+ </a-radio-group>
|
|
|
+ <div v-if="judgmentResearchAddressShow" style="color: red;margin-left: 40px">请选择判研结果</div>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+
|
|
|
+ </a-col>
|
|
|
+
|
|
|
+<!-- <a-col :span="9">-->
|
|
|
+<!-- <div>-->
|
|
|
+<!-- <div id="container" :style="{width: '600px', height: '300px'}"></div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </a-col>-->
|
|
|
+ </a-row>
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </a-form-model>
|
|
|
+ </div>
|
|
|
+ </a-card>
|
|
|
|
|
|
<a-card style="position: relative;bottom: 0;width: 100%">
|
|
|
<div style="text-align: center">
|
|
|
@@ -1153,6 +1276,13 @@ export default {
|
|
|
trigger: 'blur'
|
|
|
}
|
|
|
],
|
|
|
+ judgmentResearchAddress: [
|
|
|
+ {
|
|
|
+ required: true,
|
|
|
+ message: '请选择人工判研结果!',
|
|
|
+ trigger: 'blur'
|
|
|
+ }
|
|
|
+ ],
|
|
|
workAddress: [
|
|
|
{
|
|
|
required: true,
|
|
|
@@ -1205,6 +1335,7 @@ export default {
|
|
|
judgmentResearchDisabledZ:true,
|
|
|
spin:false,
|
|
|
showIdCardAddress:false,
|
|
|
+ showMap:false,
|
|
|
//表单信息
|
|
|
model: {
|
|
|
cardStartTimeAndEnd: '',
|
|
|
@@ -1295,6 +1426,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.initTest();
|
|
|
this.getSysCompany();
|
|
|
//DOM初始化完成进行地图初始化
|
|
|
this.initMap();
|
|
|
@@ -1305,6 +1437,25 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ initTest(){
|
|
|
+ if (window.navigator.onLine) {
|
|
|
+ this.showMap=true;
|
|
|
+ console.log('网络正常!');
|
|
|
+ } else {
|
|
|
+ console.log('网络中断!');
|
|
|
+ }
|
|
|
+ // var url ="https://restapi.amap.com/v3/place/text?platform=JS&s=rsv3&logversion=2.0&key=8e513e3c374bdb2dd0095cd337b02ee6&sdkversion=2.0.5.16&appname=http%253A%252F%252Flocalhost%253A3000%252FnetworkAccess%252Fregistration&csid=4E2FC734-B760-4BDC-8A28-EE4089511EBA&jscode=f762c44f71422cd56f90acc2a8e75144&page=1&offset=10&language=zh_cn&s=rsv3&children=&type_=KEYWORD&antiCrab=true&keywords=%E5%8C%97%E4%BA%AC&callback=jsonp_948335_1698657067342";
|
|
|
+ // getAction(url).then((res)=>{
|
|
|
+ // if (window.navigator.onLine) {
|
|
|
+ // console.log('网络正常!');
|
|
|
+ // } else {
|
|
|
+ // console.log('网络中断!');
|
|
|
+ // }
|
|
|
+ // }).catch(e => {
|
|
|
+ // alert()
|
|
|
+ // console.log(e);
|
|
|
+ // })
|
|
|
+ },
|
|
|
validateItemValue(rule, value, callback){
|
|
|
let param = {
|
|
|
itemValue:value,
|