Browse Source

2022/10/14 增加新字段

Cheng 3 năm trước cách đây
mục cha
commit
58520d5fcb
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      src/views/role/index.vue

+ 7 - 1
src/views/role/index.vue

@@ -178,7 +178,7 @@
         direction="rtl"
         append-to-body
         destroy-on-close
-        size="800px">
+        size="900px">
       <el-container class="project-form">
         <el-main class="project-form-main">
 
@@ -247,6 +247,12 @@
             </el-table-column>
             <el-table-column label="人员名称" prop="name" align="center" show-overflow-tooltip>
             </el-table-column>
+            <el-table-column label="所属角色" prop="name" align="center" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <span v-for="item in scope.row.roleList">{{ item.name }},
+                </span>
+              </template>
+            </el-table-column>
             <el-table-column label="所属部门" align="center" show-overflow-tooltip>
               <template slot-scope="scope">
                 <span v-for="item in scope.row.positions">{{ item.departmentName }},