| | |
| | | </div> |
| | | </div> |
| | | <!-- 新建/编辑跟进记录 --> |
| | | <AddFollowupRecordsDialog v-if="editConfig.visible" :edit-contacts-config="editConfig" /> |
| | | <AddFollowupRecordsDialog :is-detail="isDetail" v-if="editConfig.visible" :edit-contacts-config="editConfig" /> |
| | | <!-- 联系人详情 --> |
| | | <DetailContacts v-if="contactsDeail.visible" :contacts-detail="contactsDeail" /> |
| | | <!-- 客户详情 --> |
| | |
| | | if (this.addConfig.keywordType === "销售机会") { |
| | | content = this.addConfig.id |
| | | } else { |
| | | content = this.addConfig.common_name |
| | | content = this.addConfig.id |
| | | } |
| | | this.search_map = { |
| | | [this.addConfig.id_name]: content |
| | |
| | | }, |
| | | // 搜索 |
| | | onFilterSearch(searchText) { |
| | | this.search_map.name = searchText ?? "" |
| | | this.search_map.client_name = searchText ?? "" |
| | | this.pagerOptions.currPage = 1 |
| | | this.getData() |
| | | }, |
| | | // 新建 |
| | | addBtnClick() { |
| | | this.editConfig.title = "新建" |
| | | this.editConfig.infomation = { ...this.addConfig } |
| | | this.editConfig.infomation = { ...this.addConfig ,contact_name:"",sales_leads_name:"",sale_chance_name:""} |
| | | this.editConfig.visible = true |
| | | }, |
| | | // 编辑 |