|
|
@ -80,7 +80,7 @@ |
|
|
|
v-hasPermi="['system:permission:assign-user-role']"> |
|
|
|
<Icon icon="ep:circle-check" />分配角色 |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" link @click="handleFree(scope.row.id)"> |
|
|
|
<el-button type="primary" link @click="handleFree(scope.row.id)" v-hasPermi="['system:user:update-password']" v-if="userStore.getUser.userType=='MASTER'"> |
|
|
|
<Icon icon="ep:edit" />解冻 |
|
|
|
</el-button> |
|
|
|
<el-button type="danger" link @click="handleDelete(scope.row.id)" v-hasPermi="['system:user:delete']"> |
|
|
@ -116,6 +116,9 @@ import UserImportForm from './UserImportForm.vue' |
|
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
|
import UserAssignRoleForm from './UserAssignRoleForm.vue' |
|
|
|
import DeptTree from './DeptTree.vue' |
|
|
|
|
|
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
|
const userStore = useUserStore() |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
|
defineOptions({ name: 'SystemUser' }) |
|
|
|