护理站人员 居住信息 修改
This commit is contained in:
parent
8200ea0150
commit
50cb00532d
@ -250,7 +250,7 @@
|
|||||||
:key="item.areaCode"
|
:key="item.areaCode"
|
||||||
:label="item.areaName"
|
:label="item.areaName"
|
||||||
:value="item.areaCode"
|
:value="item.areaCode"
|
||||||
@click.native="province(item)"
|
@click.native="province2(item, index)"
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -266,7 +266,7 @@
|
|||||||
:key="item.areaCode"
|
:key="item.areaCode"
|
||||||
:label="item.areaName"
|
:label="item.areaName"
|
||||||
:value="item.areaCode"
|
:value="item.areaCode"
|
||||||
@click.native="clickcity(item)"
|
@click.native="clickcity2(item, index)"
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -281,7 +281,7 @@
|
|||||||
:key="item.areaCode"
|
:key="item.areaCode"
|
||||||
:label="item.areaName"
|
:label="item.areaName"
|
||||||
:value="item.areaCode"
|
:value="item.areaCode"
|
||||||
@click.native="clickarea(item)"
|
@click.native="clickarea2(item, index)"
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -296,7 +296,6 @@
|
|||||||
:key="item.areaCode"
|
:key="item.areaCode"
|
||||||
:label="item.areaName"
|
:label="item.areaName"
|
||||||
:value="item.areaCode"
|
:value="item.areaCode"
|
||||||
@click.native="clickstreet(item)"
|
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -443,10 +442,10 @@ export default {
|
|||||||
city: "",
|
city: "",
|
||||||
area: "",
|
area: "",
|
||||||
areaCode: "",
|
areaCode: "",
|
||||||
value: "",
|
// value: "",
|
||||||
value3: "",
|
// value3: "",
|
||||||
value2: "",
|
// value2: "",
|
||||||
value1: "",
|
// value1: "",
|
||||||
// 弹出层标题
|
// 弹出层标题
|
||||||
title: "",
|
title: "",
|
||||||
// 是否显示弹出层
|
// 是否显示弹出层
|
||||||
@ -456,6 +455,10 @@ export default {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
city: "",
|
||||||
|
area: "",
|
||||||
|
areaCode: "",
|
||||||
|
province: "",
|
||||||
// areaCode: null,
|
// areaCode: null,
|
||||||
// communityCode: null,
|
// communityCode: null,
|
||||||
// communityName: null,
|
// communityName: null,
|
||||||
@ -550,13 +553,33 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 查询省事件
|
// 查询省事件
|
||||||
province(item) {
|
province(item) {
|
||||||
|
// this.form.xxx[index].code=''
|
||||||
console.log(item);
|
console.log(item);
|
||||||
this.queryParams.city = "";
|
this.queryParams.city = "";
|
||||||
this.queryParams.area = "";
|
this.queryParams.area = "";
|
||||||
this.queryParams.areaCode = "";
|
this.queryParams.areaCode = "";
|
||||||
// this.value1 = "";
|
// this.item.city = "";
|
||||||
// this.value2 = "";
|
// this.item.area = "";
|
||||||
// this.value3 = "";
|
// this.item.areaCode = "";
|
||||||
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.SecondaryLevelInfolist = res.data;
|
||||||
|
// console.log(this.SecondaryLevelInfolist);
|
||||||
|
this.citylist = res.data;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
province2(item, index) {
|
||||||
|
this.form.communityInfoList[index].city = "";
|
||||||
|
this.form.communityInfoList[index].area = "";
|
||||||
|
this.form.communityInfoList[index].areaCode = "";
|
||||||
|
console.log(item);
|
||||||
|
// this.queryParams.city = "";
|
||||||
|
// this.queryParams.area = "";
|
||||||
|
// this.queryParams.areaCode = "";
|
||||||
|
// this.item.city = "";
|
||||||
|
// this.item.area = "";
|
||||||
|
// this.item.areaCode = "";
|
||||||
SecondaryLevelInfo(item.id).then((res) => {
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
this.SecondaryLevelInfolist = res.data;
|
this.SecondaryLevelInfolist = res.data;
|
||||||
@ -566,10 +589,22 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击市
|
// 点击市
|
||||||
clickcity(item) {
|
clickcity(item) {
|
||||||
this.queryParams.area = "";
|
// this.queryParams.area = "";
|
||||||
this.queryParams.areaCode = "";
|
// this.queryParams.areaCode = "";
|
||||||
this.value2 = "";
|
// this.value2 = "";
|
||||||
this.value3 = "";
|
// this.value3 = "";
|
||||||
|
console.log(item);
|
||||||
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.arealists = res.data;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
clickcity2(item, index) {
|
||||||
|
// this.queryParams.area = "";
|
||||||
|
// this.queryParams.areaCode = "";
|
||||||
|
// this.value2 = "";
|
||||||
|
// this.value3 = "";
|
||||||
console.log(item);
|
console.log(item);
|
||||||
SecondaryLevelInfo(item.id).then((res) => {
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
@ -579,7 +614,17 @@ export default {
|
|||||||
//点击区县城
|
//点击区县城
|
||||||
clickarea(item) {
|
clickarea(item) {
|
||||||
// this.queryParams.areaCode = "";
|
// this.queryParams.areaCode = "";
|
||||||
this.value3 = "";
|
// this.value3 = "";
|
||||||
|
console.log(item);
|
||||||
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.streetlist = res.data;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
clickarea2(item, index) {
|
||||||
|
// this.queryParams.areaCode = "";
|
||||||
|
// this.value3 = "";
|
||||||
console.log(item);
|
console.log(item);
|
||||||
SecondaryLevelInfo(item.id).then((res) => {
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
@ -588,8 +633,8 @@ export default {
|
|||||||
},
|
},
|
||||||
//点击街道
|
//点击街道
|
||||||
clickstreet(item) {
|
clickstreet(item) {
|
||||||
this.form.areaCode = item.areaCode;
|
this.queryParams.areaCode = item.areaCode;
|
||||||
console.log(this.form);
|
console.log(this.queryParams);
|
||||||
},
|
},
|
||||||
// 所属省下拉框
|
// 所属省下拉框
|
||||||
loadMore() {
|
loadMore() {
|
||||||
@ -660,13 +705,12 @@ export default {
|
|||||||
// 表单重置
|
// 表单重置
|
||||||
reset() {
|
reset() {
|
||||||
this.form = {
|
this.form = {
|
||||||
|
|
||||||
communityInfoList: [
|
communityInfoList: [
|
||||||
{
|
{
|
||||||
province: "",
|
province: "",
|
||||||
city: "",
|
city: "",
|
||||||
area: "",
|
area: "",
|
||||||
areaCodes: "",
|
// areaCodes: "",
|
||||||
areaCode: "",
|
areaCode: "",
|
||||||
communityCode: "",
|
communityCode: "",
|
||||||
communityName: "",
|
communityName: "",
|
||||||
|
|||||||
@ -393,9 +393,9 @@ export default {
|
|||||||
this.queryParams.city = "";
|
this.queryParams.city = "";
|
||||||
this.queryParams.area = "";
|
this.queryParams.area = "";
|
||||||
this.queryParams.areaCode = "";
|
this.queryParams.areaCode = "";
|
||||||
this.value1 = "";
|
// this.value1 = "";
|
||||||
this.value2 = "";
|
// this.value2 = "";
|
||||||
this.value3 = "";
|
// this.value3 = "";
|
||||||
SecondaryLevelInfo(item.id).then((res) => {
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
this.SecondaryLevelInfolist = res.data;
|
this.SecondaryLevelInfolist = res.data;
|
||||||
@ -407,8 +407,8 @@ export default {
|
|||||||
clickcity(item) {
|
clickcity(item) {
|
||||||
this.queryParams.area = "";
|
this.queryParams.area = "";
|
||||||
this.queryParams.areaCode = "";
|
this.queryParams.areaCode = "";
|
||||||
this.value2 = "";
|
// this.value2 = "";
|
||||||
this.value3 = "";
|
// this.value3 = "";
|
||||||
console.log(item);
|
console.log(item);
|
||||||
SecondaryLevelInfo(item.id).then((res) => {
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
@ -417,7 +417,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//点击区县城
|
//点击区县城
|
||||||
clickarea(item) {
|
clickarea(item) {
|
||||||
this.value3 = "";
|
// this.value3 = "";
|
||||||
console.log(item);
|
console.log(item);
|
||||||
SecondaryLevelInfo(item.id).then((res) => {
|
SecondaryLevelInfo(item.id).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user