Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yanghaoyuan.sh
DolphinScheduler
提交
7382284b
DolphinScheduler
项目概览
yanghaoyuan.sh
/
DolphinScheduler
与 Fork 源项目一致
Fork自
apache / DolphinScheduler
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
7382284b
编写于
4月 24, 2022
作者:
L
labbomb
提交者:
GitHub
4月 24, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[Feature]The utils configuration files are centrally managed under common (#9706)
上级
48d526f2
变更
46
隐藏空白更改
内联
并排
Showing
46 changed file
with
54 addition
and
54 deletion
+54
-54
dolphinscheduler-ui-next/src/common/column-width-config.ts
dolphinscheduler-ui-next/src/common/column-width-config.ts
+0
-0
dolphinscheduler-ui-next/src/common/common.ts
dolphinscheduler-ui-next/src/common/common.ts
+0
-0
dolphinscheduler-ui-next/src/common/timezone.ts
dolphinscheduler-ui-next/src/common/timezone.ts
+0
-0
dolphinscheduler-ui-next/src/common/types.ts
dolphinscheduler-ui-next/src/common/types.ts
+0
-0
dolphinscheduler-ui-next/src/layouts/content/use-dataList.ts
dolphinscheduler-ui-next/src/layouts/content/use-dataList.ts
+1
-1
dolphinscheduler-ui-next/src/service/modules/process-instances/types.ts
...er-ui-next/src/service/modules/process-instances/types.ts
+1
-1
dolphinscheduler-ui-next/src/store/timezone/types.ts
dolphinscheduler-ui-next/src/store/timezone/types.ts
+1
-1
dolphinscheduler-ui-next/src/views/data-quality/rule/use-table.ts
...cheduler-ui-next/src/views/data-quality/rule/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/data-quality/task-result/use-table.ts
...r-ui-next/src/views/data-quality/task-result/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/datasource/list/use-columns.ts
...cheduler-ui-next/src/views/datasource/list/use-columns.ts
+1
-1
dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/use-table.ts
...-next/src/views/monitor/statistics/audit-log/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/list/use-table.ts
...hinscheduler-ui-next/src/views/projects/list/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-dependent.ts
...ews/projects/task/components/node/fields/use-dependent.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/task/components/node/types.ts
...-ui-next/src/views/projects/task/components/node/types.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/task/definition/use-table.ts
...r-ui-next/src/views/projects/task/definition/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/task/instance/index.tsx
...eduler-ui-next/src/views/projects/task/instance/index.tsx
+1
-1
dolphinscheduler-ui-next/src/views/projects/task/instance/types.ts
...heduler-ui-next/src/views/projects/task/instance/types.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts
...ler-ui-next/src/views/projects/task/instance/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-context-menu.tsx
...ews/projects/workflow/components/dag/dag-context-menu.tsx
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-startup-param.tsx
...ws/projects/workflow/components/dag/dag-startup-param.tsx
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/types.ts
...-next/src/views/projects/workflow/components/dag/types.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts
...views/projects/workflow/components/dag/use-node-status.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx
.../projects/workflow/definition/components/timing-modal.tsx
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts
...iews/projects/workflow/definition/components/use-modal.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts
...rc/views/projects/workflow/definition/timing/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/index.tsx
...ext/src/views/projects/workflow/definition/tree/index.tsx
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts
...-next/src/views/projects/workflow/definition/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/process-instance-condition.tsx
...rkflow/instance/components/process-instance-condition.tsx
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/components/gantt-chart.tsx
...ojects/workflow/instance/gantt/components/gantt-chart.tsx
+2
-2
dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/type.ts
...i-next/src/views/projects/workflow/instance/gantt/type.ts
+1
-1
dolphinscheduler-ui-next/src/views/projects/workflow/instance/use-table.ts
...ui-next/src/views/projects/workflow/instance/use-table.ts
+3
-3
dolphinscheduler-ui-next/src/views/resource/file/create/index.tsx
...cheduler-ui-next/src/views/resource/file/create/index.tsx
+1
-1
dolphinscheduler-ui-next/src/views/resource/file/table/table-action.tsx
...er-ui-next/src/views/resource/file/table/table-action.tsx
+1
-1
dolphinscheduler-ui-next/src/views/resource/file/table/use-table.ts
...eduler-ui-next/src/views/resource/file/table/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/resource/task-group/option/use-table.ts
...ui-next/src/views/resource/task-group/option/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/resource/task-group/queue/use-table.ts
...-ui-next/src/views/resource/task-group/queue/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/resource/udf/function/use-table.ts
...uler-ui-next/src/views/resource/udf/function/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/resource/udf/resource/use-table.ts
...uler-ui-next/src/views/resource/udf/resource/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/security/alarm-group-manage/use-table.ts
...i-next/src/views/security/alarm-group-manage/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-table.ts
...ext/src/views/security/alarm-instance-manage/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/security/environment-manage/use-table.ts
...i-next/src/views/security/environment-manage/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/use-table.ts
...next/src/views/security/k8s-namespace-manage/use-table.ts
+2
-2
dolphinscheduler-ui-next/src/views/security/tenant-manage/use-table.ts
...ler-ui-next/src/views/security/tenant-manage/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/security/token-manage/use-table.ts
...uler-ui-next/src/views/security/token-manage/use-table.ts
+1
-1
dolphinscheduler-ui-next/src/views/security/user-manage/use-columns.ts
...ler-ui-next/src/views/security/user-manage/use-columns.ts
+1
-1
dolphinscheduler-ui-next/src/views/security/user-manage/use-table.ts
...duler-ui-next/src/views/security/user-manage/use-table.ts
+1
-1
未找到文件。
dolphinscheduler-ui-next/src/
utils
/column-width-config.ts
→
dolphinscheduler-ui-next/src/
common
/column-width-config.ts
浏览文件 @
7382284b
文件已移动
dolphinscheduler-ui-next/src/
utils
/common.ts
→
dolphinscheduler-ui-next/src/
common
/common.ts
浏览文件 @
7382284b
文件已移动
dolphinscheduler-ui-next/src/
utils
/timezone.ts
→
dolphinscheduler-ui-next/src/
common
/timezone.ts
浏览文件 @
7382284b
文件已移动
dolphinscheduler-ui-next/src/
utils
/types.ts
→
dolphinscheduler-ui-next/src/
common
/types.ts
浏览文件 @
7382284b
文件已移动
dolphinscheduler-ui-next/src/layouts/content/use-dataList.ts
浏览文件 @
7382284b
...
...
@@ -50,7 +50,7 @@ import {
}
from
'
@vicons/antd
'
import
{
useRoute
}
from
'
vue-router
'
import
{
useUserStore
}
from
'
@/store/user/user
'
import
{
timezoneList
}
from
'
@/
utils
/timezone
'
import
{
timezoneList
}
from
'
@/
common
/timezone
'
import
type
{
UserInfoRes
}
from
'
@/service/modules/users/types
'
export
function
useDataList
()
{
...
...
dolphinscheduler-ui-next/src/service/modules/process-instances/types.ts
浏览文件 @
7382284b
...
...
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
type
{
ITaskState
}
from
'
@/
utils
/types
'
import
type
{
ITaskState
}
from
'
@/
common
/types
'
interface
CodeReq
{
projectCode
:
number
...
...
dolphinscheduler-ui-next/src/store/timezone/types.ts
浏览文件 @
7382284b
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
import
{
timezoneList
}
from
'
@/
utils
/timezone
'
import
{
timezoneList
}
from
'
@/
common
/timezone
'
type
Timezone
=
typeof
timezoneList
[
number
]
...
...
dolphinscheduler-ui-next/src/views/data-quality/rule/use-table.ts
浏览文件 @
7382284b
...
...
@@ -24,7 +24,7 @@ import TableAction from './components/table-action'
import
_
from
'
lodash
'
import
{
format
}
from
'
date-fns
'
import
{
TableColumns
}
from
'
naive-ui/es/data-table/src/interface
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
export
function
useTable
(
viewRuleEntry
=
(
unusedRuleJson
:
string
):
void
=>
{})
{
const
{
t
}
=
useI18n
()
...
...
dolphinscheduler-ui-next/src/views/data-quality/task-result/use-table.ts
浏览文件 @
7382284b
...
...
@@ -24,12 +24,12 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
ResultItem
,
ResultListRes
}
from
'
@/service/modules/data-quality/types
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
export
function
useTable
()
{
const
{
t
}
=
useI18n
()
...
...
dolphinscheduler-ui-next/src/views/datasource/list/use-columns.ts
浏览文件 @
7382284b
...
...
@@ -32,7 +32,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
TableColumns
}
from
'
./types
'
export
function
useColumns
(
onCallback
:
Function
)
{
...
...
dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/use-table.ts
浏览文件 @
7382284b
...
...
@@ -20,7 +20,7 @@ import { reactive, ref } from 'vue'
import
{
useAsyncState
}
from
'
@vueuse/core
'
import
{
queryAuditLogListPaging
}
from
'
@/service/modules/audit
'
import
{
format
}
from
'
date-fns
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
type
{
AuditListRes
}
from
'
@/service/modules/audit/types
'
export
function
useTable
()
{
...
...
dolphinscheduler-ui-next/src/views/projects/list/use-table.ts
浏览文件 @
7382284b
...
...
@@ -20,7 +20,7 @@ import { useI18n } from 'vue-i18n'
import
{
useAsyncState
}
from
'
@vueuse/core
'
import
ButtonLink
from
'
@/components/button-link
'
import
{
queryProjectListPaging
}
from
'
@/service/modules/projects
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
{
deleteProject
}
from
'
@/service/modules/projects
'
import
{
format
}
from
'
date-fns
'
import
{
useRouter
}
from
'
vue-router
'
...
...
@@ -36,7 +36,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
Router
}
from
'
vue-router
'
import
type
{
ProjectRes
}
from
'
@/service/modules/projects/types
'
import
{
DeleteOutlined
,
EditOutlined
}
from
'
@vicons/antd
'
...
...
dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-dependent.ts
浏览文件 @
7382284b
...
...
@@ -21,7 +21,7 @@ import { NIcon } from 'naive-ui'
import
{
useRelationCustomParams
,
useDependentTimeout
}
from
'
.
'
import
{
useTaskNodeStore
}
from
'
@/store/project/task-node
'
import
{
queryAllProjectList
}
from
'
@/service/modules/projects
'
import
{
tasksState
}
from
'
@/
utils
/common
'
import
{
tasksState
}
from
'
@/
common
/common
'
import
{
queryProcessDefinitionList
,
getTasksByDefinitionList
...
...
dolphinscheduler-ui-next/src/views/projects/task/components/node/types.ts
浏览文件 @
7382284b
...
...
@@ -31,7 +31,7 @@ export type {
WorkflowInstance
}
from
'
@/views/projects/workflow/components/dag/types
'
export
type
{
IResource
,
ProgramType
,
IMainJar
}
from
'
@/store/project/types
'
export
type
{
ITaskState
}
from
'
@/
utils
/types
'
export
type
{
ITaskState
}
from
'
@/
common
/types
'
type
SourceType
=
'
MYSQL
'
|
'
HDFS
'
|
'
HIVE
'
type
ModelType
=
'
import
'
|
'
export
'
...
...
dolphinscheduler-ui-next/src/views/projects/task/definition/use-table.ts
浏览文件 @
7382284b
...
...
@@ -35,7 +35,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
TaskDefinitionItem
,
TaskDefinitionRes
...
...
dolphinscheduler-ui-next/src/views/projects/task/instance/index.tsx
浏览文件 @
7382284b
...
...
@@ -34,7 +34,7 @@ import Card from '@/components/card'
import
LogModal
from
'
@/components/log-modal
'
import
{
useAsyncState
}
from
'
@vueuse/core
'
import
{
queryLog
}
from
'
@/service/modules/log
'
import
{
stateType
}
from
'
@/
utils
/common
'
import
{
stateType
}
from
'
@/
common
/common
'
import
styles
from
'
./index.module.scss
'
const
TaskInstance
=
defineComponent
({
...
...
dolphinscheduler-ui-next/src/views/projects/task/instance/types.ts
浏览文件 @
7382284b
...
...
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
{
ITaskState
}
from
'
@/
utils
/types
'
import
{
ITaskState
}
from
'
@/
common
/types
'
export
type
{
Router
}
from
'
vue-router
'
export
type
{
TaskInstancesRes
}
from
'
@/service/modules/task-instances/types
'
...
...
dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts
浏览文件 @
7382284b
...
...
@@ -32,12 +32,12 @@ import {
}
from
'
@vicons/antd
'
import
{
format
}
from
'
date-fns
'
import
{
useRoute
,
useRouter
}
from
'
vue-router
'
import
{
parseTime
,
tasksState
}
from
'
@/
utils
/common
'
import
{
parseTime
,
tasksState
}
from
'
@/
common
/common
'
import
{
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
Router
,
TaskInstancesRes
,
IRecord
,
ITaskState
}
from
'
./types
'
export
function
useTable
()
{
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-context-menu.tsx
浏览文件 @
7382284b
...
...
@@ -21,7 +21,7 @@ import { defineComponent, onMounted, PropType, inject, ref } from 'vue'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
useRoute
}
from
'
vue-router
'
import
styles
from
'
./menu.module.scss
'
import
{
uuid
}
from
'
@/
utils
/common
'
import
{
uuid
}
from
'
@/
common
/common
'
import
{
IWorkflowTaskInstance
}
from
'
./types
'
const
props
=
{
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-startup-param.tsx
浏览文件 @
7382284b
...
...
@@ -20,7 +20,7 @@ import { defineComponent, onMounted, PropType, ref, computed } from 'vue'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
listAlertGroupById
}
from
'
@/service/modules/alert-group
'
import
{
queryAllWorkerGroups
}
from
'
@/service/modules/worker-groups
'
import
{
runningType
,
warningTypeList
}
from
'
@/
utils
/common
'
import
{
runningType
,
warningTypeList
}
from
'
@/
common
/common
'
import
{
IStartupParam
}
from
'
./types
'
import
styles
from
'
./startup.module.scss
'
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/types.ts
浏览文件 @
7382284b
...
...
@@ -16,7 +16,7 @@
*/
import
{
TaskType
}
from
'
@/views/projects/task/constants/task-type
'
export
type
{
ITaskState
}
from
'
@/
utils
/types
'
export
type
{
ITaskState
}
from
'
@/
common
/types
'
export
interface
ProcessDefinition
{
id
:
number
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts
浏览文件 @
7382284b
...
...
@@ -18,7 +18,7 @@
import
{
render
,
h
,
ref
}
from
'
vue
'
import
{
useRoute
}
from
'
vue-router
'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
tasksState
}
from
'
@/
utils
/common
'
import
{
tasksState
}
from
'
@/
common
/common
'
import
{
NODE
,
NODE_STATUS_MARKUP
}
from
'
./dag-config
'
import
{
queryTaskListByProcessId
}
from
'
@/service/modules/process-instances
'
import
NodeStatus
from
'
@/views/projects/workflow/components/dag/dag-node-status
'
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx
浏览文件 @
7382284b
...
...
@@ -47,7 +47,7 @@ import {
NPopover
}
from
'
naive-ui
'
import
{
ArrowDownOutlined
,
ArrowUpOutlined
}
from
'
@vicons/antd
'
import
{
timezoneList
}
from
'
@/
utils
/timezone
'
import
{
timezoneList
}
from
'
@/
common
/timezone
'
import
Crontab
from
'
@/components/crontab
'
const
props
=
{
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts
浏览文件 @
7382284b
...
...
@@ -35,7 +35,7 @@ import {
updateSchedule
,
previewSchedule
}
from
'
@/service/modules/schedules
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
{
EnvironmentItem
}
from
'
@/service/modules/environment/types
'
import
{
ITimingState
}
from
'
./types
'
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts
浏览文件 @
7382284b
...
...
@@ -35,7 +35,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
{
format
}
from
'
date-fns-tz
'
import
{
ISearchParam
}
from
'
./types
'
import
styles
from
'
../index.module.scss
'
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/index.tsx
浏览文件 @
7382284b
...
...
@@ -27,7 +27,7 @@ import { Router, useRouter } from 'vue-router'
import
{
viewTree
}
from
'
@/service/modules/process-definition
'
import
{
SelectMixedOption
}
from
'
naive-ui/lib/select/src/interface
'
import
{
find
}
from
'
lodash
'
import
{
tasksState
}
from
'
@/
utils
/common
'
import
{
tasksState
}
from
'
@/
common
/common
'
import
type
{
ITaskTypeNodeOption
}
from
'
./types
'
export
default
defineComponent
({
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts
浏览文件 @
7382284b
...
...
@@ -38,7 +38,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
IDefinitionParam
}
from
'
./types
'
import
type
{
Router
}
from
'
vue-router
'
import
type
{
TableColumns
,
RowKey
}
from
'
naive-ui/es/data-table/src/interface
'
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/process-instance-condition.tsx
浏览文件 @
7382284b
...
...
@@ -28,7 +28,7 @@ import {
import
{
defineComponent
,
ref
}
from
'
vue
'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
format
}
from
'
date-fns
'
import
{
stateType
}
from
'
@/
utils
/common
'
import
{
stateType
}
from
'
@/
common
/common
'
export
default
defineComponent
({
name
:
'
ProcessInstanceCondition
'
,
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/components/gantt-chart.tsx
浏览文件 @
7382284b
...
...
@@ -20,9 +20,9 @@ import * as echarts from 'echarts'
import
type
{
Ref
}
from
'
vue
'
import
{
useI18n
}
from
'
vue-i18n
'
import
initChart
from
'
@/components/chart
'
import
{
tasksState
}
from
'
@/
utils
/common
'
import
{
tasksState
}
from
'
@/
common
/common
'
import
{
format
}
from
'
date-fns
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
type
{
ISeriesData
,
ITaskState
}
from
'
../type
'
const
props
=
{
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/type.ts
浏览文件 @
7382284b
...
...
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
{
ITaskState
}
from
'
@/
utils
/types
'
import
{
ITaskState
}
from
'
@/
common
/types
'
interface
ITask
{
taskName
:
string
...
...
dolphinscheduler-ui-next/src/views/projects/workflow/instance/use-table.ts
浏览文件 @
7382284b
...
...
@@ -29,15 +29,15 @@ import {
}
from
'
@/service/modules/process-instances
'
import
{
execute
}
from
'
@/service/modules/executors
'
import
TableAction
from
'
./components/table-action
'
import
{
runningType
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
runningType
}
from
'
@/
common
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
styles
from
'
./index.module.scss
'
import
{
renderStateCell
}
from
'
../../task/instance/use-table
'
import
{
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
Router
}
from
'
vue-router
'
import
type
{
IWorkflowInstance
}
from
'
@/service/modules/process-instances/types
'
import
type
{
ICountDownParam
}
from
'
./types
'
...
...
dolphinscheduler-ui-next/src/views/resource/file/create/index.tsx
浏览文件 @
7382284b
...
...
@@ -24,7 +24,7 @@ import Card from '@/components/card'
import
MonacoEditor
from
'
@/components/monaco-editor
'
import
{
useCreate
}
from
'
./use-create
'
import
{
useForm
}
from
'
./use-form
'
import
{
fileTypeArr
}
from
'
@/
utils
/common
'
import
{
fileTypeArr
}
from
'
@/
common
/common
'
import
styles
from
'
../index.module.scss
'
...
...
dolphinscheduler-ui-next/src/views/resource/file/table/table-action.tsx
浏览文件 @
7382284b
...
...
@@ -28,7 +28,7 @@ import {
import
_
from
'
lodash
'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
ResourceFileTableData
}
from
'
../types
'
import
{
fileTypeArr
}
from
'
@/
utils
/common
'
import
{
fileTypeArr
}
from
'
@/
common
/common
'
import
{
downloadResource
,
deleteResource
}
from
'
@/service/modules/resources
'
import
{
IRenameFile
,
IRtDisb
}
from
'
../types
'
import
type
{
Router
}
from
'
vue-router
'
...
...
dolphinscheduler-ui-next/src/views/resource/file/table/use-table.ts
浏览文件 @
7382284b
...
...
@@ -18,7 +18,7 @@
import
{
h
}
from
'
vue
'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
useRouter
}
from
'
vue-router
'
import
{
bytesToSize
}
from
'
@/
utils
/common
'
import
{
bytesToSize
}
from
'
@/
common
/common
'
import
{
useFileStore
}
from
'
@/store/file/file
'
import
TableAction
from
'
./table-action
'
import
{
IRenameFile
}
from
'
../types
'
...
...
@@ -27,7 +27,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
Router
}
from
'
vue-router
'
import
type
{
TableColumns
}
from
'
naive-ui/es/data-table/src/interface
'
...
...
dolphinscheduler-ui-next/src/views/resource/task-group/option/use-table.ts
浏览文件 @
7382284b
...
...
@@ -22,12 +22,12 @@ import { queryTaskGroupListPaging } from '@/service/modules/task-group'
import
{
queryAllProjectList
}
from
'
@/service/modules/projects
'
import
TableAction
from
'
./components/table-action
'
import
_
from
'
lodash
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
{
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
TableColumns
}
from
'
naive-ui/es/data-table/src/interface
'
export
function
useTable
(
...
...
dolphinscheduler-ui-next/src/views/resource/task-group/queue/use-table.ts
浏览文件 @
7382284b
...
...
@@ -29,8 +29,8 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
import
{
parseTime
}
from
'
@/
utils
/common
'
}
from
'
@/
common
/column-width-config
'
import
{
parseTime
}
from
'
@/
common
/common
'
export
function
useTable
(
updatePriority
=
(
unusedQueueId
:
number
,
unusedPriority
:
number
):
void
=>
{},
...
...
dolphinscheduler-ui-next/src/views/resource/udf/function/use-table.ts
浏览文件 @
7382284b
...
...
@@ -31,7 +31,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
IUdfFunctionParam
}
from
'
./types
'
export
function
useTable
()
{
...
...
dolphinscheduler-ui-next/src/views/resource/udf/resource/use-table.ts
浏览文件 @
7382284b
...
...
@@ -18,7 +18,7 @@
import
{
h
,
ref
,
reactive
}
from
'
vue
'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
useRouter
}
from
'
vue-router
'
import
{
bytesToSize
}
from
'
@/
utils
/common
'
import
{
bytesToSize
}
from
'
@/
common
/common
'
import
{
useFileStore
}
from
'
@/store/file/file
'
import
type
{
Router
}
from
'
vue-router
'
import
type
{
TableColumns
}
from
'
naive-ui/es/data-table/src/interface
'
...
...
@@ -36,7 +36,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
IUdfResourceParam
}
from
'
./types
'
const
goSubFolder
=
(
router
:
Router
,
item
:
any
)
=>
{
...
...
dolphinscheduler-ui-next/src/views/security/alarm-group-manage/use-table.ts
浏览文件 @
7382284b
...
...
@@ -25,7 +25,7 @@ import {
delAlertGroupById
}
from
'
@/service/modules/alert-group
'
import
{
DeleteOutlined
,
EditOutlined
}
from
'
@vicons/antd
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
type
{
AlarmGroupRes
}
from
'
@/service/modules/alert-group/types
'
export
function
useTable
()
{
...
...
dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-table.ts
浏览文件 @
7382284b
...
...
@@ -21,7 +21,7 @@ import {
deleteAlertPluginInstance
}
from
'
@/service/modules/alert-plugin
'
import
{
format
}
from
'
date-fns
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
type
{
IRecord
}
from
'
./types
'
export
function
useTable
()
{
...
...
dolphinscheduler-ui-next/src/views/security/environment-manage/use-table.ts
浏览文件 @
7382284b
...
...
@@ -29,12 +29,12 @@ import type {
EnvironmentRes
,
EnvironmentItem
}
from
'
@/service/modules/environment/types
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
{
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
export
function
useTable
()
{
const
{
t
}
=
useI18n
()
...
...
dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/use-table.ts
浏览文件 @
7382284b
...
...
@@ -29,12 +29,12 @@ import type {
NamespaceListRes
,
NamespaceItem
}
from
'
@/service/modules/k8s-namespace/types
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
{
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
export
function
useTable
()
{
const
{
t
}
=
useI18n
()
...
...
dolphinscheduler-ui-next/src/views/security/tenant-manage/use-table.ts
浏览文件 @
7382284b
...
...
@@ -28,7 +28,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
export
function
useTable
()
{
const
{
t
}
=
useI18n
()
...
...
dolphinscheduler-ui-next/src/views/security/token-manage/use-table.ts
浏览文件 @
7382284b
...
...
@@ -22,7 +22,7 @@ import { NButton, NIcon, NPopconfirm, NSpace, NTooltip } from 'naive-ui'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
DeleteOutlined
,
EditOutlined
}
from
'
@vicons/antd
'
import
{
queryAccessTokenList
,
deleteToken
}
from
'
@/service/modules/token
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
type
{
TokenRes
}
from
'
@/service/modules/token/types
'
export
function
useTable
()
{
...
...
dolphinscheduler-ui-next/src/views/security/user-manage/use-columns.ts
浏览文件 @
7382284b
...
...
@@ -31,7 +31,7 @@ import {
COLUMN_WIDTH_CONFIG
,
calculateTableWidth
,
DefaultTableWidth
}
from
'
@/
utils
/column-width-config
'
}
from
'
@/
common
/column-width-config
'
import
type
{
TableColumns
,
InternalRowData
}
from
'
./types
'
export
function
useColumns
(
onCallback
:
Function
)
{
...
...
dolphinscheduler-ui-next/src/views/security/user-manage/use-table.ts
浏览文件 @
7382284b
...
...
@@ -18,7 +18,7 @@
import
{
reactive
,
onMounted
}
from
'
vue
'
import
{
queryUserList
,
delUserById
}
from
'
@/service/modules/users
'
import
{
format
}
from
'
date-fns
'
import
{
parseTime
}
from
'
@/
utils
/common
'
import
{
parseTime
}
from
'
@/
common
/common
'
import
type
{
IRecord
,
TAuthType
}
from
'
./types
'
export
function
useTable
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录