#
Junjie
3 天以前 070dd3ec9ad599e9c668351ce3d0bd78b54f9745
src/main/webapp/views/user/user.html
@@ -115,6 +115,16 @@
            line-height: 34px;
        }
        .search-form .el-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .search-form .el-button [class^="el-icon"] {
            line-height: 1;
        }
        .table-wrap {
            padding: 12px 18px 16px;
        }
@@ -285,15 +295,13 @@
                            </el-tag>
                        </template>
                    </el-table-column>
                    <el-table-column label="状态" width="130" align="center">
                    <el-table-column label="状态" width="88" align="center">
                        <template slot-scope="scope">
                            <div class="status-switch">
                                <el-switch
                                    v-model="scope.row.status"
                                    :active-value="1"
                                    :inactive-value="0"
                                    active-text="正常"
                                    inactive-text="禁用"
                                    @change="toggleStatus(scope.row)">
                                </el-switch>
                            </div>