-
@@ -121,7 +121,7 @@ const auditManager = (row) => {
// 初始化表格数据
const getTableData = () => {
state.tableData.loading = true;
- getAdminManagerPage(state.tableData.param.pageNum,state.tableData.param.pageSize,{}).then(res=>{
+ getAdminManagerPage(state.tableData.param.pageNum,state.tableData.param.pageSize,{"managerName":state.searchName}).then(res=>{
console.log("分页数据",res);
state.tableData.data = res.records;
state.tableData.total = res.total;
@@ -133,7 +133,7 @@ const getTableData = () => {
};
// 打开新增角色弹窗
const addUser = () => {
- administratorRef.value.openDialog();
+ //administratorRef.value.openDialog();
};
// 打开修改角色弹窗
const onOpenEditRole = (type, row) => {
@@ -147,10 +147,10 @@ const deleteUser = (row) => {
type: 'warning',
})
.then(() => {
- remove(row.id).then(res=>{
+ /* remove(row.id).then(res=>{
getTableData();
ElMessage.success('Deleted successfully');
- })
+ })*/
})
.catch(() => {});
};