diff --git a/src/apps/AppSpecialPeople/add.vue b/src/apps/AppSpecialPeople/add.vue index 55ac7217..1af1a6f7 100644 --- a/src/apps/AppSpecialPeople/add.vue +++ b/src/apps/AppSpecialPeople/add.vue @@ -213,18 +213,17 @@ export default { this.getType() }, onShow() { - this.appId = this.$route.query.appId if (this.isEdit) { document.title = "编辑人员" + this.appId = this.$route.query.appId this.getDetail() } else { document.title = '新增人员' - if (this.appId) { + if (this.$route.query.appId) { + this.appId = this.$route.query.appId this.typeConfirm([this.$route.query]) } } - - }, methods: { ...mapActions(['selectEnterpriseContact']),