wq 5 lat temu
rodzic
commit
07ddae1bfc

+ 5 - 5
src/layout/companyuser/companyuserList.vue

@@ -25,11 +25,11 @@
                 <span style="margin-left: 10px">{{scope.row.illtime}}</span>
               </template>
             </el-table-column>
-            <!--<el-table-column label="操作" align="center" width="300px">-->
-              <!--<template slot-scope="scope">-->
-                <!--<el-button class="delete" @click.prevent="deleteRow(scope.row.id)" type="text"><i class="el-icon-delete"></i></el-button>-->
-              <!--</template>-->
-            <!--</el-table-column>-->
+            <el-table-column label="操作" align="center" width="300px">
+              <template slot-scope="scope">
+                <el-button class="delete" @click.prevent="deleteRow(scope.row.id)" type="text"><i class="el-icon-delete"></i></el-button>
+              </template>
+            </el-table-column>
           </el-table>
           <el-row>
             <el-pagination

+ 5 - 5
src/layout/otheruser/otheruserList.vue

@@ -34,11 +34,11 @@
                            title="修改信息"
                 ><i class="el-icon-edit"></i
                 ></el-button>
-                <!--<el-button title="删除"-->
-                           <!--class="delete"-->
-                           <!--@click.prevent="deleteRow(scope.row.id)"-->
-                           <!--type="text"><i class="el-icon-delete"></i>-->
-                <!--</el-button>-->
+                <el-button title="删除"
+                           class="delete"
+                           @click.prevent="deleteRow(scope.row.id)"
+                           type="text"><i class="el-icon-delete"></i>
+                </el-button>
               </template>
             </el-table-column>
           </el-table>