From 4d6b02dada557b4186cdcef843cd3859aeeaac01 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 02 四月 2026 19:28:57 +0800
Subject: [PATCH] #

---
 rsf-design/src/views/basic-info/task-path-template-node/taskPathTemplateNodeTable.columns.js |   42 ++++++++++++++++++++++--------------------
 1 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/rsf-design/src/views/basic-info/task-path-template-node/taskPathTemplateNodeTable.columns.js b/rsf-design/src/views/basic-info/task-path-template-node/taskPathTemplateNodeTable.columns.js
index 68e74b3..2604f03 100644
--- a/rsf-design/src/views/basic-info/task-path-template-node/taskPathTemplateNodeTable.columns.js
+++ b/rsf-design/src/views/basic-info/task-path-template-node/taskPathTemplateNodeTable.columns.js
@@ -1,6 +1,7 @@
 import { h } from 'vue'
 import { ElTag } from 'element-plus'
 import ArtButtonMore from '@/components/core/forms/art-button-more/index.vue'
+import { $t } from '@/locales'
 import {
   getTaskPathTemplateNodeBooleanMeta,
   getTaskPathTemplateNodeTypeMeta
@@ -13,57 +14,57 @@
   canEdit = true,
   canDelete = true
 } = {}) {
-  const operations = [{ key: 'view', label: '璇︽儏', icon: 'ri:eye-line' }]
+  const operations = [{ key: 'view', label: $t('common.actions.detail'), icon: 'ri:eye-line' }]
 
   if (canEdit && handleEdit) {
-    operations.push({ key: 'edit', label: '缂栬緫', icon: 'ri:pencil-line' })
+    operations.push({ key: 'edit', label: $t('common.actions.edit'), icon: 'ri:pencil-line' })
   }
 
   if (canDelete && handleDelete) {
-    operations.push({ key: 'delete', label: '鍒犻櫎', icon: 'ri:delete-bin-5-line', color: 'var(--art-error)' })
+    operations.push({ key: 'delete', label: $t('common.actions.delete'), icon: 'ri:delete-bin-5-line', color: 'var(--art-error)' })
   }
 
   return [
     { type: 'selection', width: 48, align: 'center' },
-    { type: 'globalIndex', label: '搴忓彿', width: 72, align: 'center' },
+    { type: 'globalIndex', label: $t('table.index'), width: 72, align: 'center' },
     {
       prop: 'templateId',
-      label: '妯℃澘ID',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.templateId'),
       width: 110,
       align: 'center',
       formatter: (row) => row.templateId ?? '--'
     },
     {
       prop: 'templateCode',
-      label: '妯℃澘缂栫爜',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.templateCode'),
       minWidth: 160,
       showOverflowTooltip: true,
       formatter: (row) => row.templateCode || '--'
     },
     {
       prop: 'nodeOrder',
-      label: '鑺傜偣椤哄簭',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.nodeOrder'),
       width: 100,
       align: 'center',
       formatter: (row) => row.nodeOrder ?? '--'
     },
     {
       prop: 'nodeCode',
-      label: '鑺傜偣缂栫爜',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.nodeCode'),
       minWidth: 150,
       showOverflowTooltip: true,
       formatter: (row) => row.nodeCode || '--'
     },
     {
       prop: 'nodeName',
-      label: '鑺傜偣鍚嶇О',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.nodeName'),
       minWidth: 160,
       showOverflowTooltip: true,
       formatter: (row) => row.nodeName || '--'
     },
     {
       prop: 'nodeTypeText',
-      label: '鑺傜偣绫诲瀷',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.nodeType'),
       width: 120,
       align: 'center',
       formatter: (row) => {
@@ -73,21 +74,21 @@
     },
     {
       prop: 'systemCode',
-      label: '绯荤粺缂栫爜',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.systemCode'),
       minWidth: 150,
       showOverflowTooltip: true,
       formatter: (row) => row.systemCode || '--'
     },
     {
       prop: 'systemName',
-      label: '绯荤粺鍚嶇О',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.systemName'),
       minWidth: 150,
       showOverflowTooltip: true,
       formatter: (row) => row.systemName || '--'
     },
     {
       prop: 'mandatoryText',
-      label: '蹇呴』鑺傜偣',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.mandatory'),
       width: 100,
       align: 'center',
       formatter: (row) => {
@@ -97,7 +98,7 @@
     },
     {
       prop: 'parallelExecutableText',
-      label: '鍙苟琛�',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.parallelExecutable'),
       width: 100,
       align: 'center',
       formatter: (row) => {
@@ -107,30 +108,31 @@
     },
     {
       prop: 'timeoutMinutes',
-      label: '瓒呮椂(鍒�)',
+      label: $t('pages.basicInfo.taskPathTemplateNode.table.timeoutMinutes'),
       width: 110,
       align: 'center',
       formatter: (row) => row.timeoutMinutes ?? '--'
     },
     {
       prop: 'updateTimeText',
-      label: '鏇存柊鏃堕棿',
+      label: $t('table.updateTime'),
       minWidth: 170,
       showOverflowTooltip: true,
       formatter: (row) => row.updateTimeText || '--'
     },
     {
       prop: 'createTimeText',
-      label: '鍒涘缓鏃堕棿',
+      label: $t('table.createTime'),
       minWidth: 170,
       showOverflowTooltip: true,
       formatter: (row) => row.createTimeText || '--'
     },
     {
       prop: 'operation',
-      label: '鎿嶄綔',
-      width: 160,
-      align: 'right',
+      label: $t('table.operation'),
+      width: 120,
+      align: 'center',
+      fixed: 'right',
       formatter: (row) =>
         h(ArtButtonMore, {
           list: operations,

--
Gitblit v1.9.1