Browse Source

[Fix][UI] Fix the problem of too large spacing in operation. (#11090)

* [Fix][UI] Fix the problem of too large spacing in operation.

* [Fix][UI] Fix the problem of too large spacing in operation.
3.0.0/version-upgrade
songjianet 2 years ago committed by caishunfeng
parent
commit
8581a464db
  1. 2
      dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts
  2. 8
      dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss
  3. 2
      dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts
  4. 1
      dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts

2
dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts

@ -25,7 +25,6 @@ import {
} from '@/service/modules/process-definition' } from '@/service/modules/process-definition'
import { DeleteOutlined, ExclamationCircleOutlined } from '@vicons/antd' import { DeleteOutlined, ExclamationCircleOutlined } from '@vicons/antd'
import { NSpace, NTooltip, NButton, NPopconfirm, NTag } from 'naive-ui' import { NSpace, NTooltip, NButton, NPopconfirm, NTag } from 'naive-ui'
import styles from '../index.module.scss'
import type { Router } from 'vue-router' import type { Router } from 'vue-router'
import type { TableColumns } from 'naive-ui/es/data-table/src/interface' import type { TableColumns } from 'naive-ui/es/data-table/src/interface'
@ -86,7 +85,6 @@ export function useTable(
variables.columns.push({ variables.columns.push({
title: t('project.workflow.operation'), title: t('project.workflow.operation'),
key: 'operation', key: 'operation',
className: styles.operation,
render: (_row: any) => { render: (_row: any) => {
return h(NSpace, null, { return h(NSpace, null, {
default: () => [ default: () => [

8
dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss

@ -72,14 +72,6 @@
margin-top: 20px; margin-top: 20px;
} }
.operation {
> div {
> div {
margin-right: 5px !important;
}
}
}
.startup { .startup {
align-items: center; align-items: center;
> div:first-child { > div:first-child {

2
dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts

@ -38,7 +38,6 @@ import {
} from '@/common/column-width-config' } from '@/common/column-width-config'
import { format } from 'date-fns-tz' import { format } from 'date-fns-tz'
import { ISearchParam } from './types' import { ISearchParam } from './types'
import styles from '../index.module.scss'
import type { Router } from 'vue-router' import type { Router } from 'vue-router'
export function useTable() { export function useTable() {
@ -138,7 +137,6 @@ export function useTable() {
title: t('project.workflow.operation'), title: t('project.workflow.operation'),
key: 'operation', key: 'operation',
...COLUMN_WIDTH_CONFIG['operation'](3), ...COLUMN_WIDTH_CONFIG['operation'](3),
className: styles.operation,
render: (row: any) => { render: (row: any) => {
return h(NSpace, null, { return h(NSpace, null, {
default: () => [ default: () => [

1
dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts

@ -186,7 +186,6 @@ export function useTable() {
title: t('project.workflow.operation'), title: t('project.workflow.operation'),
key: 'operation', key: 'operation',
...COLUMN_WIDTH_CONFIG['operation'](8.5), ...COLUMN_WIDTH_CONFIG['operation'](8.5),
className: styles.operation,
render: (row) => render: (row) =>
h(TableAction, { h(TableAction, {
row, row,

Loading…
Cancel
Save