diff options
author | 2024-12-04 15:10:45 +0800 | |
---|---|---|
committer | 2024-12-24 02:22:17 +0000 | |
commit | b71bd34b5baa8e3dfedf83f777d62c988c6b9c97 (patch) | |
tree | a5a6a30e6735fe1e2a406746822080043afc65bb /usecaseui-portal/src/app/views/maas/maas.module.ts | |
parent | e5de10348e38a4cac9f70da856ab7c6941bfc347 (diff) |
Optimize the code and fix bug
1. Create a new descripition component code
2. Optimize the code to extract a MaaS feature module and a common module.
3. Optimize the service code and create a new maasService.
4.Click the Q&A Assistant menu, the front-end interface does not deliver an application ID.
Issue-ID: USECASEUI-844
Change-Id: If57938f9c57b186691798eb0fb2cdd2fd64ed58a
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/maas/maas.module.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/maas/maas.module.ts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/maas/maas.module.ts b/usecaseui-portal/src/app/views/maas/maas.module.ts new file mode 100644 index 00000000..814cd635 --- /dev/null +++ b/usecaseui-portal/src/app/views/maas/maas.module.ts @@ -0,0 +1,37 @@ +import { NgModule } from '@angular/core'; +import { MaasRoutingModule } from './maas-routing.module'; +import { ApplicationManagementComponent } from './build/application-management.component'; +import { CreateApplicationManagementComponent } from './build/create-application-management/create-application-management.component'; +import { UseApplicationComponent } from './use/use-application.component'; +import { ApplicationDetailComponent } from './build/application-detail/application-detail.component'; +import { DescriptionComponent } from '@src/app/shared/components/description/description.component'; +import { DescriptionItemComponent } from '@src/app/shared/components/description/descriptions-item.component'; +import { KnowledgeBaseManagementComponent } from './knowledge-base-management/knowledge-base-management.component'; +import { CreateKnowledgeBaseComponent } from './knowledge-base-management/create-knowledge-base/create-knowledge-base.component'; +import { KnowledgeBaseDetailComponent } from './knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component'; +import { SharedModule } from '@src/app/shared/module/sharded.module'; +import { MaasService } from '@src/app/core/services/maas.service'; +// import { EditKnowledgeBaseComponent } from './knowledge-base-management/edit-knowledge-base/edit-knowledge-base.component'; + +@NgModule({ + providers: [ + MaasService + ], + imports: [ + SharedModule, + MaasRoutingModule, + ], + declarations: [ + ApplicationManagementComponent, + CreateApplicationManagementComponent, + UseApplicationComponent, + ApplicationDetailComponent, + DescriptionComponent, + DescriptionItemComponent, + KnowledgeBaseManagementComponent, + CreateKnowledgeBaseComponent, + KnowledgeBaseDetailComponent, + // EditKnowledgeBaseComponent + ] +}) +export class MaasModule { } |