From daf28bb8d2b58858a35fbdeffa9076de9b81706c Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期五, 06 九月 2024 11:50:31 +0800 Subject: [PATCH] 添加图标文件 --- src/views/project/yw/dataManage/graph/GraphIndex.vue | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/project/yw/dataManage/graph/GraphIndex.vue b/src/views/project/yw/dataManage/graph/GraphIndex.vue index 511763f..af642ae 100644 --- a/src/views/project/yw/dataManage/graph/GraphIndex.vue +++ b/src/views/project/yw/dataManage/graph/GraphIndex.vue @@ -86,7 +86,7 @@ highlight-current-row > <el-table-column prop="name" label="鏂囦欢鍚嶇О" fixed="left" show-overflow-tooltip align="left" /> - <el-table-column prop="type" width="120" label="鏂囦欢鏍煎紡" show-overflow-tooltip align="center" /> + <el-table-column prop="type" width="120" label="鏂囦欢绫诲瀷" show-overflow-tooltip align="center" /> <el-table-column prop="time" label="涓婁紶鏃堕棿" show-overflow-tooltip width="280" align="center"></el-table-column> <el-table-column label="鎿嶄綔" width="80" fixed="right" show-overflow-tooltip align="center"> <template #default="scope"> @@ -233,10 +233,6 @@ }).finally(() => {}); if (res?.json_ok) { const resData = (res.values || []) as []; - resData.forEach((item) => { - const type = item?.name.split('.')[1]; - item.type = type; - }); categoryTableData.value = resData; } else { ElMessage.error('鑾峰彇鏂囨。鍒楄〃澶辫触' + (res?.json_msg ? `锛�${JSON.stringify(res.json_msg)}` : '')); @@ -291,6 +287,7 @@ name: 'AddGraph', query: { group_id: currentListID.value, + title: currentTreeNode.value.title, }, }); }; -- Gitblit v1.9.3