| | |
| | | import SelectChanceDialog from "@/views/other/commonDialog/SelectChanceDialog" |
| | | import SelectLeadDialog from "@/views/other/commonDialog/SelectLeadDialog" |
| | | import codeMixin from "./mixin/codeMixin" |
| | | import { getContactList } from "@/api/client/contacts" |
| | | // import { getContactList } from "@/api/client/contacts" |
| | | import { mapActions } from "vuex" |
| | | import { getSaleChanceList } from "@/api/sales/salesOpportunity" |
| | | |
| | |
| | | created() { |
| | | this.$store.dispatch("geClient") |
| | | this.$store.dispatch("geContact") |
| | | this.$store.dispatch("geChance") |
| | | // this.$store.dispatch("geChance") |
| | | this.$store.dispatch("geLead") |
| | | this.getCommonData() |
| | | this.getContactInfoList() |
| | |
| | | if (value === "client") { |
| | | this.clientId = item.id |
| | | this.editConfig.infomation.client_name = item.name |
| | | await getContactList({ |
| | | clientId: this.clientId |
| | | }).then((res) => { |
| | | this.getContactFilter(res.data.list) |
| | | }) |
| | | this.isChance = false |
| | | this.getChanceList(item.id) |
| | | // console.log("clientId",this.clientId,this.editConfig.infomation.client_name) |