删除无用的按钮
parent
ec7f2f7c42
commit
3cf0d055dc
|
@ -7,7 +7,6 @@
|
||||||
<a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate"> 新增</a-button>
|
<a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate"> 新增</a-button>
|
||||||
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls" >导入</j-upload-button>
|
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls" >导入</j-upload-button>
|
||||||
<a-button type="primary" @click="handleSyncUser" preIcon="ant-design:sync-outlined"> 同步流程</a-button>
|
|
||||||
<a-button type="primary" @click="openModal(true, {})" preIcon="ant-design:hdd-outlined"> 回收站</a-button>
|
<a-button type="primary" @click="openModal(true, {})" preIcon="ant-design:hdd-outlined"> 回收站</a-button>
|
||||||
<JThirdAppButton biz-type="user" :selected-row-keys="selectedRowKeys" syncToApp syncToLocal @sync-finally="onSyncFinally" />
|
<JThirdAppButton biz-type="user" :selected-row-keys="selectedRowKeys" syncToApp syncToLocal @sync-finally="onSyncFinally" />
|
||||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||||
|
@ -69,7 +68,7 @@
|
||||||
import { useModal } from '/@/components/Modal';
|
import { useModal } from '/@/components/Modal';
|
||||||
import { useMessage } from '/@/hooks/web/useMessage';
|
import { useMessage } from '/@/hooks/web/useMessage';
|
||||||
import { columns, searchFormSchema } from './user.data';
|
import { columns, searchFormSchema } from './user.data';
|
||||||
import { listNoCareTenant, deleteUser, batchDeleteUser, getImportUrl, getExportUrl, frozenBatch, syncUser } from './user.api';
|
import { listNoCareTenant, deleteUser, batchDeleteUser, getImportUrl, getExportUrl, frozenBatch } from './user.api';
|
||||||
import {usePermission} from "/@/hooks/web/usePermission";
|
import {usePermission} from "/@/hooks/web/usePermission";
|
||||||
|
|
||||||
const { createMessage, createConfirm } = useMessage();
|
const { createMessage, createConfirm } = useMessage();
|
||||||
|
@ -222,12 +221,6 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*同步流程
|
|
||||||
*/
|
|
||||||
function handleSyncUser() {
|
|
||||||
syncUser();
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
*同步钉钉和微信回调
|
*同步钉钉和微信回调
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,6 @@ enum Api {
|
||||||
changePassword = '/sys/user/changePassword',
|
changePassword = '/sys/user/changePassword',
|
||||||
frozenBatch = '/sys/user/frozenBatch',
|
frozenBatch = '/sys/user/frozenBatch',
|
||||||
getUserAgent = '/sys/sysUserAgent/queryByUserName',
|
getUserAgent = '/sys/sysUserAgent/queryByUserName',
|
||||||
syncUser = '/act/process/extActProcess/doSyncUser',
|
|
||||||
userQuitAgent = '/sys/user/userQuitAgent',
|
userQuitAgent = '/sys/user/userQuitAgent',
|
||||||
getQuitList = '/sys/user/getQuitList',
|
getQuitList = '/sys/user/getQuitList',
|
||||||
putCancelQuit = '/sys/user/putCancelQuit',
|
putCancelQuit = '/sys/user/putCancelQuit',
|
||||||
|
@ -178,11 +177,6 @@ export const saveOrUpdateAgent = (params) => {
|
||||||
return defHttp.post({ url: url, params });
|
return defHttp.post({ url: url, params });
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* 用户同步流程
|
|
||||||
* @param params
|
|
||||||
*/
|
|
||||||
export const syncUser = () => defHttp.put({ url: Api.syncUser });
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户离职(新增代理人和用户状态变更操作)
|
* 用户离职(新增代理人和用户状态变更操作)
|
||||||
|
|
Loading…
Reference in New Issue