diff --git a/src/views/GBC/customerDetail.vue b/src/views/GBC/customerDetail.vue index 46351e69f..c4ed4d660 100644 --- a/src/views/GBC/customerDetail.vue +++ b/src/views/GBC/customerDetail.vue @@ -247,12 +247,11 @@ export default { this.infoContent.gender = thisData.gender this.infoContent.mobile = thisData.mobile this.infoContent.departmentName = thisData.departmentName - this.getGBCappntDetail() }, getGBCappntDetail() { let params = { "projectCode": this.$route.query.projectCode, - "appntId": this.activeAppntId + "appntId": this.$route.query.appntId } getGBCappntDetail(params).then(res => { if(res.result == 0) { @@ -268,10 +267,11 @@ export default { "appntId": this.activeAppntId, "connectContent": this.connectContent } - console.log(this.infoContent) + console.log(this.activeAppntId) getGBCappntConnectSave(params).then(res=>{ if(res.result == 0) { this.$toast('保存成功') + this.connectContent = '' this.activeConnectRecords = false this.getGBCappntDetail() } else {