|
|
|
|
@ -58,7 +58,7 @@
|
|
|
|
|
<template v-slot:street>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>所属街道:
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>所属街道:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.street" filterable style="width: 300px;" placeholder="请选择所属街道">
|
|
|
|
|
@ -102,6 +102,19 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:marry>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>婚姻状况:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.marry" filterable style="width: 300px;" placeholder="请选择婚姻状况">
|
|
|
|
|
<el-option v-for="item in lists.marryList" :key="item.value" :label="item.value" :value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:birthday>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
@ -144,19 +157,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:marry>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>婚姻状况:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.marry" filterable style="width: 300px;" placeholder="请选择婚姻状况">
|
|
|
|
|
<el-option v-for="item in lists.marryList" :key="item.value" :label="item.value" :value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template v-slot:education>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
@ -193,10 +194,11 @@
|
|
|
|
|
<template v-slot:reside>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>现居住地:
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>现居住地:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.reside" placeholder="请输入现居住地" clearable style="width: 300px;"></el-input>
|
|
|
|
|
<avue-input-map :params="mapparams" style="width: 300px;" placeholder="请选择地图" v-model="mapform"></avue-input-map>
|
|
|
|
|
<!-- <el-input v-model="form.reside" placeholder="请输入现居住地" clearable style="width: 300px;"></el-input> -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -322,7 +324,7 @@
|
|
|
|
|
<template v-slot:relationship>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>关系:
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>关系:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.relationship" filterable style="width: 300px;" placeholder="请选择关系">
|
|
|
|
|
@ -381,7 +383,11 @@
|
|
|
|
|
import {
|
|
|
|
|
Message
|
|
|
|
|
} from 'element-ui'
|
|
|
|
|
import AvueMap from 'avue-plugin-map'
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
AvueMap
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
isShow: false,
|
|
|
|
|
@ -389,6 +395,10 @@
|
|
|
|
|
person_id: '',
|
|
|
|
|
type: 'add',
|
|
|
|
|
tableName: 'viewrecords',
|
|
|
|
|
mapparams: {
|
|
|
|
|
zoom: 11,
|
|
|
|
|
},
|
|
|
|
|
mapform: [],
|
|
|
|
|
form: {
|
|
|
|
|
viewtext: '',
|
|
|
|
|
viewtime: "",
|
|
|
|
|
@ -456,6 +466,13 @@
|
|
|
|
|
this.person_id = ''
|
|
|
|
|
this.$refs['dialog'].reset()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mapform(newVal){
|
|
|
|
|
if(newVal){
|
|
|
|
|
this.form.longitude = newVal[0]
|
|
|
|
|
this.form.latitude = newVal[1]
|
|
|
|
|
this.form.reside = newVal[2]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
@ -497,6 +514,8 @@
|
|
|
|
|
household: res?.household,
|
|
|
|
|
address: res?.address,
|
|
|
|
|
reside: res?.reside,
|
|
|
|
|
longitude: res?.longitude,
|
|
|
|
|
latitude:res?.latitude,
|
|
|
|
|
disabilitytext: '',
|
|
|
|
|
number: res?.number,
|
|
|
|
|
disabilitytype: res?.disabilitytype,
|
|
|
|
|
@ -513,6 +532,7 @@
|
|
|
|
|
guardian_telephone: res?.guardian_telephone,
|
|
|
|
|
remark: res?.remark,
|
|
|
|
|
}
|
|
|
|
|
this.mapform = [res.longitude,res.latitude,res.reside]
|
|
|
|
|
},
|
|
|
|
|
async getViewDetail() {
|
|
|
|
|
const res = await show({
|
|
|
|
|
@ -540,6 +560,8 @@
|
|
|
|
|
household: res?.household,
|
|
|
|
|
address: res?.address,
|
|
|
|
|
reside: res?.reside,
|
|
|
|
|
longitude: res?.longitude,
|
|
|
|
|
latitude:res?.latitude,
|
|
|
|
|
disabilitytext: '',
|
|
|
|
|
number: res?.number,
|
|
|
|
|
disabilitytype: res?.disabilitytype,
|
|
|
|
|
@ -556,6 +578,7 @@
|
|
|
|
|
guardian_telephone: res?.guardian_telephone,
|
|
|
|
|
remark: res?.remark,
|
|
|
|
|
}
|
|
|
|
|
this.mapform = [res.longitude,res.latitude,res.reside]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|