|
@@ -2,10 +2,6 @@
|
|
|
<el-container class="workspace-dashboard">
|
|
|
<el-main>
|
|
|
<CommonUse class="main-module"></CommonUse>
|
|
|
- <BusinessProfile
|
|
|
- v-if="businessProfileShow"
|
|
|
- class="main-module"
|
|
|
- ></BusinessProfile>
|
|
|
<div
|
|
|
class="main-module card-list-module"
|
|
|
v-for="(moduleList, floor) in mainModuleList"
|
|
@@ -17,11 +13,18 @@
|
|
|
:is="name"
|
|
|
></component>
|
|
|
</div>
|
|
|
- <div class="main-module card-list-module" v-if="dataReportShow">
|
|
|
+ <MyUseCountVue></MyUseCountVue>
|
|
|
+ <!-- <div class="main-module card-list-module" v-if="dataReportShow">
|
|
|
<DataReport></DataReport>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
+ <BusinessProfile
|
|
|
+ v-if="businessProfileShow"
|
|
|
+ class="main-module"
|
|
|
+ ></BusinessProfile>
|
|
|
</el-main>
|
|
|
<el-aside width="369px">
|
|
|
+ <AccountInfo></AccountInfo>
|
|
|
+ <ChatList></ChatList>
|
|
|
<MessageTips class="aside-module"></MessageTips>
|
|
|
<AsideOthers class="aside-module"></AsideOthers>
|
|
|
</el-aside>
|
|
@@ -37,17 +40,23 @@ import { Container, Aside, Main } from 'element-ui'
|
|
|
import MessageTips from './components/MessageTips.vue'
|
|
|
import CommonUse from './components/CommonUse.vue'
|
|
|
import SubscribeList from './components/SubscribeList.vue'
|
|
|
-import MyCollections from './components/MyCollections.vue'
|
|
|
-import ProjectFollow from './components/ProjectFollow.vue'
|
|
|
-import EntFollow from './components/EntFollow.vue'
|
|
|
-import DataReport from './components/DataReport.vue'
|
|
|
+// import MyCollections from './components/MyCollections.vue'
|
|
|
+// import ProjectFollow from './components/ProjectFollow.vue'
|
|
|
+// import EntFollow from './components/EntFollow.vue'
|
|
|
+// import DataReport from './components/DataReport.vue'
|
|
|
import AsideOthers from './components/AsideOthers.vue'
|
|
|
-import ClaimList from './components/ClaimList.vue'
|
|
|
+// import ClaimList from './components/ClaimList.vue'
|
|
|
import ActivityDialog from '@/components/ad/activity-dialog.vue'
|
|
|
import GuideIntroDialog from '@/components/ad/guide-intro-dialog.vue'
|
|
|
+import AccountInfo from './components/AccountInfo.vue'
|
|
|
+import ChatList from './components/ChatList.vue'
|
|
|
+import BusinessToDo from './components/BusinessToDo.vue'
|
|
|
+import NewsList from './components/NewsList.vue'
|
|
|
+import AnalysisReport from './components/AnalysisReport.vue'
|
|
|
+import MyUseCountVue from './components/MyUseCount.vue'
|
|
|
const BusinessProfile = () => import('./components/BusinessProfile.vue')
|
|
|
-const MyCustomer = () => import('./components/MyCustomer.vue')
|
|
|
-const CustomerWatcher = () => import('./components/CustomerWatcher.vue')
|
|
|
+// const MyCustomer = () => import('./components/MyCustomer.vue')
|
|
|
+// const CustomerWatcher = () => import('./components/CustomerWatcher.vue')
|
|
|
export default {
|
|
|
name: 'WorkspaceDashboard',
|
|
|
components: {
|
|
@@ -59,27 +68,36 @@ export default {
|
|
|
MessageTips,
|
|
|
CommonUse,
|
|
|
BusinessProfile,
|
|
|
- MyCustomer,
|
|
|
- CustomerWatcher,
|
|
|
+ // MyCustomer,
|
|
|
+ // CustomerWatcher,
|
|
|
SubscribeList,
|
|
|
- MyCollections,
|
|
|
- ProjectFollow,
|
|
|
- DataReport,
|
|
|
+ // MyCollections,
|
|
|
+ // ProjectFollow,
|
|
|
+ // DataReport,
|
|
|
AsideOthers,
|
|
|
- EntFollow,
|
|
|
- ClaimList
|
|
|
+ // EntFollow,
|
|
|
+ // ClaimList,
|
|
|
+ AccountInfo,
|
|
|
+ ChatList,
|
|
|
+ BusinessToDo,
|
|
|
+ NewsList,
|
|
|
+ AnalysisReport,
|
|
|
+ MyUseCountVue
|
|
|
},
|
|
|
computed: {
|
|
|
componentsPowerMap() {
|
|
|
const { myCustomerShow, customerWatcherShow, hasMemberNJPower } = this
|
|
|
return {
|
|
|
- ClaimList: hasMemberNJPower,
|
|
|
- MyCustomer: myCustomerShow,
|
|
|
- CustomerWatcher: customerWatcherShow,
|
|
|
+ BusinessToDo: true,
|
|
|
+ NewsList: true,
|
|
|
+ // ClaimList: hasMemberNJPower,
|
|
|
+ // MyCustomer: myCustomerShow,
|
|
|
+ // CustomerWatcher: customerWatcherShow,
|
|
|
SubscribeList: true,
|
|
|
- MyCollections: true,
|
|
|
- ProjectFollow: true,
|
|
|
- EntFollow: true
|
|
|
+ // MyCollections: true,
|
|
|
+ AnalysisReport: true
|
|
|
+ // ProjectFollow: true,
|
|
|
+ // EntFollow: true
|
|
|
}
|
|
|
},
|
|
|
mainModuleList() {
|