From f93cb40b76468c6f1063081a3be16027d69b4832 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 04 一月 2024 09:46:01 +0800
Subject: [PATCH] 指标完成
---
src/views/repositoryai/templateku/index.vue | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/views/repositoryai/templateku/index.vue b/src/views/repositoryai/templateku/index.vue
index 0cca167..d09ab6b 100644
--- a/src/views/repositoryai/templateku/index.vue
+++ b/src/views/repositoryai/templateku/index.vue
@@ -210,7 +210,7 @@
>
<template slot-scope="scope">
<div v-if="scope.row.deptNames">
- <span v-for="item in scope.row.deptNames.split(",")"
+ <span v-for="item in scope.row.deptNames.split(',')"
>{{ item }}
</span>
</div>
@@ -225,15 +225,15 @@
width="160"
:show-overflow-tooltip="true"
>
- <template slot-scope="scope" >
+ <template slot-scope="scope">
<div v-if="scope.row.labelInfo">
- <span v-for="item in JSON.parse(scope.row.labelInfo)"
- >{{ item.tagname }}</span>
+ <span v-for="item in JSON.parse(scope.row.labelInfo)">{{
+ item.tagname
+ }}</span>
</div>
<div v-else>
<span>鏃�</span>
</div>
- </span>
</template>
</el-table-column>
<el-table-column
@@ -244,9 +244,11 @@
width="160"
:show-overflow-tooltip="true"
>
- <template slot-scope="scope" >
+ <template slot-scope="scope">
<div v-if="scope.row.campus">
- <span v-for="item in JSON.parse(scope.row.campus)">{{ item.label }} </span>
+ <span v-for="item in JSON.parse(scope.row.campus)"
+ >{{ item.label }}
+ </span>
</div>
<div v-else>
<span>鏃�</span>
--
Gitblit v1.9.3