zhanghua
2022-10-17 d22f9b9278303f340e2f8efd6f5a98f0b614c05c
src/views/systemSetting/baseSetting/authority/index.vue
@@ -11,7 +11,7 @@
                </div>
                <div class="addUser">
                    <el-button class="addBtn" type="primary" @click="dialogCreate = true">添加用户</el-button>
                    <el-dialog :visible.sync="dialogCreate" width="45%">
                    <el-dialog :visible.sync="dialogCreate" width="45%" v-if="dialogCreate">
                        <createUser :refresh="getUserList" />
                    </el-dialog>
                </div>
@@ -63,7 +63,7 @@
                    </el-table-column>
                </el-table>
                <!-- 查看修改页面 -->
                <el-dialog :visible.sync="dialogUpdate" width="45%">
                <el-dialog :visible.sync="dialogUpdate" width="45%" v-if="dialogUpdate">
                    <updateUser :updateFlag="updateFlag" :userInfo=userInfo />
                </el-dialog>
                <!-- 分页 -->
@@ -94,7 +94,7 @@
            updateFlag: false,
            userInfo: '',
            totalNum: 200,
            pageSize: 10,
            pageSize: 4,
            currentPage: 1,
        }
    },
@@ -129,7 +129,7 @@
                        item.status == 1 ? item.status = true : item.status = false;
                    })
                    that.totalNum = res.data.records.length;
                    that.tableData = res.data.records.slice((that.currentPage - 1) * 10, that.currentPage * 10)
                    that.tableData = res.data.records;
                }
            })
        },
@@ -186,7 +186,7 @@
                        item.status == 1 ? item.status = true : item.status = false;
                    })
                    that.totalNum = res.data.records.length;
                    that.tableData = res.data.records.slice((that.currentPage - 1) * 10, that.currentPage * 10)
                    that.tableData = res.data.records;
                }
            })
        }