|
|
@@ -2,7 +2,7 @@
|
|
|
<div class="ele-body">
|
|
|
<el-card shadow="never" v-loading="loading">
|
|
|
<div class="ele-border-lighter form-content" v-loading="loading">
|
|
|
- <contact-search @search="reload"> </contact-search>
|
|
|
+ <opportunity-search @search="reload"> </opportunity-search>
|
|
|
|
|
|
<!-- 数据表格 -->
|
|
|
<ele-pro-table
|
|
|
@@ -100,8 +100,8 @@
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
- <AddContactDialog ref="addContactDialogRef" :categoryTreeList="treeList" @done="reload"></AddContactDialog>
|
|
|
- <ContactDetailDialog ref="contactDetailDialogRef"></ContactDetailDialog>
|
|
|
+ <add-opportunity-dialog ref="addContactDialogRef" :categoryTreeList="treeList" @done="reload"></add-opportunity-dialog>
|
|
|
+ <opportunity-detail-dialog ref="contactDetailDialogRef"></opportunity-detail-dialog>
|
|
|
<follow-list ref="followDialogRef"></follow-list>
|
|
|
<!-- 多选删除弹窗 -->
|
|
|
<pop-modal :visible.sync="delVisible" content="是否确定删除?" @done="commitBtn"/>
|
|
|
@@ -109,10 +109,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import ContactSearch from './components/contactSearch.vue';
|
|
|
-import AddContactDialog from './components/addContactDialog.vue';
|
|
|
-import ContactDetailDialog from './components/contactDetailDialog.vue';
|
|
|
-import followList from './components/follow-list.vue';
|
|
|
+import opportunitySearch from './components/opportunitySearch.vue';
|
|
|
+import addOpportunityDialog from './components/addOpportunityDialog.vue';
|
|
|
+import opportunityDetailDialog from './components/opportunityDetailDialog.vue';
|
|
|
+import followList from './components/followList.vue';
|
|
|
import popModal from '@/components/pop-modal';
|
|
|
import {getTableList, getDetail, UpdateInformation, addInformation,deleteInformation,updateStatus} from '@/api/saleManage/businessOpportunity';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
@@ -120,11 +120,11 @@ import dictMixins from '@/mixins/dictMixins';
|
|
|
export default {
|
|
|
mixins: [dictMixins],
|
|
|
components: {
|
|
|
- ContactSearch,
|
|
|
+ opportunitySearch,
|
|
|
followList,
|
|
|
popModal,
|
|
|
- AddContactDialog,
|
|
|
- ContactDetailDialog,
|
|
|
+ addOpportunityDialog,
|
|
|
+ opportunityDetailDialog,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|