Commit d87568e0 by miss_lian

upate

parent 667bec7a
......@@ -108,6 +108,7 @@ export default class cityList extends Vue {
this.$emit("childCityList", ary);
}
onCancel(){
this.$emit("cancelCityList");
//this.showCancel=false
}
}
......
......@@ -59,7 +59,7 @@
/>
<van-popup v-model="showBirthplace" position="bottom">
<!-- <city-list @childCityList="birthCity" :showBirthplace="showCancel" /> -->
<city-list @childCityList="birthCity" />
<city-list @childCityList="birthCity" @cancelCityList="cancelCityList" />
</van-popup>
<!-- 民族 -->
<van-field
......@@ -157,7 +157,7 @@
@click="showFile = true"
/>
<van-popup v-model="showFile" position="bottom">
<city-list @childCityList="localCity" />
<city-list @childCityList="localCity" @cancelCityList="cancelCityList" />
</van-popup>
<!-- 开始工作时间 -->
<van-field
......@@ -386,6 +386,10 @@ export default class personInfo extends Vue {
}
});
}
cancelCityList(){
this.showFile=false;
this.showBirthplace=false;
}
}
</script>
......
......@@ -126,7 +126,7 @@
</van-popup>
<!-- 原社保缴纳省市 -->
<van-popup v-model="showSocialCity" position="bottom">
<city-list @childCityList="socialCity" />
<city-list @childCityList="socialCity" @cancelCityList="cancelCityList" />
</van-popup>
<!-- 与原单位关系 -->
<van-popup v-model="showRelationUnit" position="bottom">
......@@ -332,6 +332,9 @@ export default class socialInfo extends Vue {
this.getSalaryInfo();
this.getSocialInfo();
}
cancelCityList(){
this.showSocialCity=false;
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment