|
|
@@ -86,7 +86,7 @@
|
|
|
<el-dropdown-item v-on:click="changeDept(scope.operationData)">变更机构</el-dropdown-item>
|
|
|
<el-dropdown-item v-on:click="resign(scope.operationData)">操作离职</el-dropdown-item>
|
|
|
<el-dropdown-item v-on:click="transfer(scope.operationData)">资源转移</el-dropdown-item>
|
|
|
- <el-dropdown-item v-on:click="delUser(scope)">删除</el-dropdown-item>
|
|
|
+ <el-dropdown-item v-on:click="delUser(scope.operationData)">删除</el-dropdown-item>
|
|
|
</template>
|
|
|
</el-dropdown>
|
|
|
</template>
|
|
|
@@ -434,6 +434,7 @@ const editorInstitution = (item: any) => {
|
|
|
|
|
|
};
|
|
|
const del = (item: any) => {
|
|
|
+ console.log(item)
|
|
|
// ElPopconfirm('是否确认')
|
|
|
ElMessageBox({
|
|
|
title: '提示',
|
|
|
@@ -575,7 +576,6 @@ function delUser(item: any) {
|
|
|
api.userApi
|
|
|
.userDelete({
|
|
|
ids: [operationForm.value.id],
|
|
|
-
|
|
|
})
|
|
|
.then((res: any) => {
|
|
|
if (res.code == 200) {
|