|
|
@ -8,7 +8,7 @@ import API from '@/util/http' |
|
|
|
// 表格数据 |
|
|
|
const tableData = ref([]) |
|
|
|
const total = ref(100) |
|
|
|
const handleDialogClose = function(){ |
|
|
|
const handleDialogClose = function () { |
|
|
|
closeUserAddVisible() |
|
|
|
console.log('hhh'); |
|
|
|
} |
|
|
@ -695,7 +695,7 @@ const handleMarketChangeEditUser = (value) => { |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
const addUserProps ={ |
|
|
|
const addUserProps = { |
|
|
|
multiple: true, |
|
|
|
} |
|
|
|
/*// 计算属性:控制级联选择器的选项禁用状态 |
|
|
@ -800,6 +800,8 @@ const confirmResetPassword = async function () { |
|
|
|
if (result.code === 200) { // 使用严格相等运算符 |
|
|
|
ElMessage.success('重置密码成功'); |
|
|
|
resetConfirmVisible.value = false; // 关闭弹窗 |
|
|
|
await getPermission() |
|
|
|
|
|
|
|
} else { |
|
|
|
ElMessage.error(result.message || '重置密码失败'); |
|
|
|
} |
|
|
@ -812,6 +814,7 @@ const confirmResetPassword = async function () { |
|
|
|
ElMessage.error('您没有修改' + currentRow.value.market + '地区的用户密码的权限'); |
|
|
|
resetConfirmVisible.value = false; // 关闭弹窗 |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 取消重置密码 |
|
|
@ -992,7 +995,8 @@ onMounted(async function () { |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 新增用户权限 --> |
|
|
|
<el-dialog v-model="userAddVisible" title="新增用户权限" width="800px" :close-on-click-modal="false" @close="handleDialogClose"> |
|
|
|
<el-dialog v-model="userAddVisible" title="新增用户权限" width="800px" :close-on-click-modal="false" |
|
|
|
@close="handleDialogClose"> |
|
|
|
<template #footer> |
|
|
|
<!-- 居中显示 --> |
|
|
|
|
|
|
|