diff --git a/dolphinscheduler-ui-next/docs/e2e/security.md b/dolphinscheduler-ui-next/docs/e2e/security.md index 16e37cd813..1fe3913a27 100644 --- a/dolphinscheduler-ui-next/docs/e2e/security.md +++ b/dolphinscheduler-ui-next/docs/e2e/security.md @@ -11,23 +11,20 @@ class: #### tenant manage -class: - -- [ ] items -- [ ] el-popconfirm -- [ ] el-button--primary -- [ ] tenantCode -- [ ] edit -- [ ] delete - -id: - -- [ ] btnCreateTenant -- [ ] inputTenantCode -- [ ] selectQueue -- [ ] inputDescription -- [ ] btnSubmit -- [ ] btnCancel +| check | class | +| ------------------ |--------------------| +| :white_check_mark: | items | +| | el-popconfirm | +| | el-button--primary | +| :white_check_mark: | tenant-code | +| :white_check_mark: | edit | +| :white_check_mark: | delete | +| :white_check_mark: | btn-create-tenant | +| :white_check_mark: | input-tenant-code | +| :white_check_mark: | select-queue | +| :white_check_mark: | input-description | +| :white_check_mark: | btn-submit | +| :white_check_mark: | btn-cancel | #### user manage diff --git a/dolphinscheduler-ui-next/src/views/security/tenant-manage/components/tenant-modal.tsx b/dolphinscheduler-ui-next/src/views/security/tenant-manage/components/tenant-modal.tsx index 5a7aac56b5..68b040e1be 100644 --- a/dolphinscheduler-ui-next/src/views/security/tenant-manage/components/tenant-modal.tsx +++ b/dolphinscheduler-ui-next/src/views/security/tenant-manage/components/tenant-modal.tsx @@ -101,6 +101,8 @@ const TenantModal = defineComponent({ show={this.showModalRef} onCancel={this.cancelModal} onConfirm={this.confirmModal} + confirmClassName='btn-submit' + cancelClassName='btn-cancel' > {{ default: () => ( @@ -119,6 +121,7 @@ const TenantModal = defineComponent({ path='tenantCode' >
-
- - {t('security.tenant.create_tenant')} - -
-
+ + {t('security.tenant.create_tenant')} + + - + -
+
- +
{ handleEdit(row) } @@ -120,7 +122,8 @@ export function useTable() { { circle: true, type: 'error', - size: 'small' + size: 'small', + class: 'delete' }, { icon: () => h(DeleteOutlined)