From 7ed5f33e7bd9ca26fb41700e518234b973841921 Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: 星期三, 24 四月 2024 22:30:52 +0800 Subject: [PATCH] !107 add 新增岗位编码与部门编码 并将岗位放到部门下 * add 新增获取岗位选择框列表 * update 岗位查询树表和单表相互undefined * update 岗位查询增加单部门查询 * update 优化类别编码与后台一致性 * add 新增岗位部门树以及类别编码 * add 部门增加类别代码 --- src/plugins/modal.ts | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/plugins/modal.ts b/src/plugins/modal.ts index b2d3b56..a8b0548 100644 --- a/src/plugins/modal.ts +++ b/src/plugins/modal.ts @@ -3,55 +3,55 @@ let loadingInstance: LoadingInstance; export default { // 娑堟伅鎻愮ず - msg(content: string) { + msg(content: any) { ElMessage.info(content); }, // 閿欒娑堟伅 - msgError(content: string) { + msgError(content: any) { ElMessage.error(content); }, // 鎴愬姛娑堟伅 - msgSuccess(content: string) { + msgSuccess(content: any) { ElMessage.success(content); }, // 璀﹀憡娑堟伅 - msgWarning(content: string) { + msgWarning(content: any) { ElMessage.warning(content); }, // 寮瑰嚭鎻愮ず - alert(content: string) { + alert(content: any) { ElMessageBox.alert(content, '绯荤粺鎻愮ず'); }, // 閿欒鎻愮ず - alertError(content: string) { + alertError(content: any) { ElMessageBox.alert(content, '绯荤粺鎻愮ず', { type: 'error' }); }, // 鎴愬姛鎻愮ず - alertSuccess(content: string) { + alertSuccess(content: any) { ElMessageBox.alert(content, '绯荤粺鎻愮ず', { type: 'success' }); }, // 璀﹀憡鎻愮ず - alertWarning(content: string) { + alertWarning(content: any) { ElMessageBox.alert(content, '绯荤粺鎻愮ず', { type: 'warning' }); }, // 閫氱煡鎻愮ず - notify(content: string) { + notify(content: any) { ElNotification.info(content); }, // 閿欒閫氱煡 - notifyError(content: string) { + notifyError(content: any) { ElNotification.error(content); }, // 鎴愬姛閫氱煡 - notifySuccess(content: string) { + notifySuccess(content: any) { ElNotification.success(content); }, // 璀﹀憡閫氱煡 - notifyWarning(content: string) { + notifyWarning(content: any) { ElNotification.warning(content); }, // 纭绐椾綋 - confirm(content: string): Promise<MessageBoxData> { + confirm(content: any): Promise<MessageBoxData> { return ElMessageBox.confirm(content, '绯荤粺鎻愮ず', { confirmButtonText: '纭畾', cancelButtonText: '鍙栨秷', @@ -59,7 +59,7 @@ }); }, // 鎻愪氦鍐呭 - prompt(content: string) { + prompt(content: any) { return ElMessageBox.prompt(content, '绯荤粺鎻愮ず', { confirmButtonText: '纭畾', cancelButtonText: '鍙栨秷', -- Gitblit v1.9.3