summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/maas/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html
diff options
context:
space:
mode:
authorkaixiliu <liukaixi@chinamobile.com>2024-12-04 15:10:45 +0800
committerKaixi LIU <liukaixi@chinamobile.com>2024-12-24 02:22:17 +0000
commitb71bd34b5baa8e3dfedf83f777d62c988c6b9c97 (patch)
treea5a6a30e6735fe1e2a406746822080043afc65bb /usecaseui-portal/src/app/views/maas/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html
parente5de10348e38a4cac9f70da856ab7c6941bfc347 (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/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html')
-rw-r--r--usecaseui-portal/src/app/views/maas/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html22
1 files changed, 18 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/views/maas/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html b/usecaseui-portal/src/app/views/maas/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html
index 9653f29f..b491df86 100644
--- a/usecaseui-portal/src/app/views/maas/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html
+++ b/usecaseui-portal/src/app/views/maas/knowledge-base-management/knowledge-base-detail/knowledge-base-detail.component.html
@@ -13,9 +13,23 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<nz-modal [(nzVisible)]="showModel" nzTitle="Knowledge Base Detail" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()"
+<nz-modal [(nzVisible)]="showModal" nzTitle="Knowledge Base Detail" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()"
nzWidth="56%" nzHeight="800px" class="intent-management-modal">
- <div>
- <app-description-info [data]="data"></app-description-info>
- </div>
+ <app-descriptions>
+ <app-descriptions-item nzTitle="Knowledge Base Name">{{knowledgeBaseDetail.knowledgeBaseName}}
+ </app-descriptions-item>
+ <app-descriptions-item nzTitle="Operator Name">{{knowledgeBaseDetail.operatorName}}
+ </app-descriptions-item>
+ <app-descriptions-item nzTitle="MaaS Platform Name">{{knowledgeBaseDetail.maaSPlatformName}}
+ </app-descriptions-item>
+ <app-descriptions-item nzTitle="Update Time">
+ {{knowledgeBaseDetail.updateTime}}
+ </app-descriptions-item>
+ <app-descriptions-item nzTitle="Files Name">
+ {{knowledgeBaseService.getFiles(knowledgeBaseDetail)}}
+ </app-descriptions-item>
+ <app-descriptions-item [nzSpan]="3"
+ nzTitle="Knowledge Base Description">{{knowledgeBaseDetail.knowledgeBaseDescription}}
+ </app-descriptions-item>
+ </app-descriptions>
</nz-modal> \ No newline at end of file