From 597a7fa0913704552bd66e43cedad2dfc6572a98 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期日, 17 八月 2025 16:01:58 +0800
Subject: [PATCH] 修改字段名

---
 src/views/flow/components/TodolistLeft.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/views/flow/components/TodolistLeft.vue b/src/views/flow/components/TodolistLeft.vue
index 2c21bfd..6045327 100644
--- a/src/views/flow/components/TodolistLeft.vue
+++ b/src/views/flow/components/TodolistLeft.vue
@@ -1,7 +1,7 @@
 <!--
  * @Date: 2025-07-01 20:45:15
  * @LastEditors: gaoshp
- * @LastEditTime: 2025-08-13 22:56:43
+ * @LastEditTime: 2025-08-17 11:50:24
  * @FilePath: /mdmweb/src/views/flow/components/TodolistLeft.vue
 -->
 <template>
@@ -10,16 +10,23 @@
              <el-button type="primary" plain @click="addApp">娣诲姞鏂囦欢
                 </el-button>
         </div>
-        <el-table :data="tableData" border @row-click="showContent" max-height="200">
+        <el-table :data="tableData" border @row-click="showContent" max-height="200" highlight-current-row>
             <!-- <el-table-column prop="machineCode" label="鍔犲伐鏈哄簥">
             </el-table-column> -->
 			<el-table-column type="index" label="#" width="40" align="center"/>
             <el-table-column prop="name" label="绋嬪簭鍚嶇О">
+                <template #default="{ row }">
+                    <div style="display: flex;align-items: center;">
+                        <span style="margin-right: 8px;">{{ row.name }}</span>
+                        <el-icon v-if="row.fileType ==='other'"><FolderOpened /></el-icon>
+                        <img v-else src="./app.jpg" alt="" width="16" height="16">
+                    </div>
+                </template>
             </el-table-column>
-            <el-table-column fixed="right" label="鎿嶄綔" width="150" align="center">
+            <el-table-column fixed="right" label="鎿嶄綔" width="100" align="center">
             <template #default="scope" >
-                <el-button v-show="['programmingTask','cureProgramTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)" type="text" size="small" @click.stop="del(scope.$index,scope.row)">鍒犻櫎</el-button>
-                <el-button type="text" size="small" @click.stop="downloadFile(scope.$index,scope.row)">涓嬭浇</el-button>
+                <a style="color: blue;margin-right: 4px;cursor: pointer;font-size: 12px;" v-show="['programmingTask','cureProgramTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)" type="text" size="small" @click.stop="del(scope.$index,scope.row)">鍒犻櫎</a>
+                <a style="color: blue;cursor: pointer;font-size: 12px;" type="text" size="small" @click.stop="downloadFile(scope.$index,scope.row)">涓嬭浇</a>
             </template>
             </el-table-column>
         </el-table>

--
Gitblit v1.9.3