客户列表编辑客户信息的时候切换人员不重新请求详情信息

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2024-02-23 11:12:26 +08:00
parent 14e236f9cc
commit f2c230b3e7

View File

@@ -247,12 +247,11 @@ export default {
this.infoContent.gender = thisData.gender this.infoContent.gender = thisData.gender
this.infoContent.mobile = thisData.mobile this.infoContent.mobile = thisData.mobile
this.infoContent.departmentName = thisData.departmentName this.infoContent.departmentName = thisData.departmentName
this.getGBCappntDetail()
}, },
getGBCappntDetail() { getGBCappntDetail() {
let params = { let params = {
"projectCode": this.$route.query.projectCode, "projectCode": this.$route.query.projectCode,
"appntId": this.activeAppntId "appntId": this.$route.query.appntId
} }
getGBCappntDetail(params).then(res => { getGBCappntDetail(params).then(res => {
if(res.result == 0) { if(res.result == 0) {
@@ -268,10 +267,11 @@ export default {
"appntId": this.activeAppntId, "appntId": this.activeAppntId,
"connectContent": this.connectContent "connectContent": this.connectContent
} }
console.log(this.infoContent) console.log(this.activeAppntId)
getGBCappntConnectSave(params).then(res=>{ getGBCappntConnectSave(params).then(res=>{
if(res.result == 0) { if(res.result == 0) {
this.$toast('保存成功') this.$toast('保存成功')
this.connectContent = ''
this.activeConnectRecords = false this.activeConnectRecords = false
this.getGBCappntDetail() this.getGBCappntDetail()
} else { } else {