diff --git a/dolphinscheduler-ui-next/docs/e2e/security.md b/dolphinscheduler-ui-next/docs/e2e/security.md index 48634a143a..b581ff970f 100644 --- a/dolphinscheduler-ui-next/docs/e2e/security.md +++ b/dolphinscheduler-ui-next/docs/e2e/security.md @@ -51,21 +51,19 @@ id: #### worker group manage -class: -- [ ] items -- [ ] el-popconfirm -- [ ] el-button--primary -- [ ] vue-treeselect__menu -- [ ] name -- [ ] edit -- [ ] delete - -id: -- [ ] btnCreateWorkerGroup -- [ ] inputWorkerGroupName -- [ ] selectWorkerAddress -- [ ] btnSubmit -- [ ] btnCancel +| check | class | +|--------------------|--------------------------------| +| :white_check_mark: | items | +| | el-popconfirm | +| | el-button--primary | +| :white_check_mark: | name | +| :white_check_mark: | edit | +| :white_check_mark: | delete | +| :white_check_mark: | btn-create-worker-group | +| :white_check_mark: | input-worker-group-name | +| :white_check_mark: | select-worker-address | +| :white_check_mark: | btn-submit | +| :white_check_mark: | btn-cancel | #### queue manage diff --git a/dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/worker-group-modal.tsx b/dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/worker-group-modal.tsx index bdc2ed299a..62c7f051fa 100644 --- a/dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/worker-group-modal.tsx +++ b/dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/worker-group-modal.tsx @@ -100,6 +100,8 @@ const WorkerGroupModal = defineComponent({ onCancel={this.cancelModal} onConfirm={this.confirmModal} confirmDisabled={!this.model.name || this.model.addrList.length < 1} + confirmClassName='btn-submit' + cancelClassName='btn-cancel' > {{ default: () => ( @@ -113,6 +115,7 @@ const WorkerGroupModal = defineComponent({ path='name' > @@ -122,6 +125,7 @@ const WorkerGroupModal = defineComponent({ path='addrList' > - + {t('security.worker_group.create_worker_group')} - + - + - + { handleEdit(row) } @@ -124,7 +126,8 @@ export function useTable() { { circle: true, type: 'error', - size: 'small' + size: 'small', + class: 'delete' }, { icon: () => h(DeleteOutlined)