lcw
This commit is contained in:
@ -128,7 +128,7 @@ const handleResignation = async ({ xm = '', id = "" }) => {
|
||||
await proxy.$modal.confirm(`是否确认处理${xm}离职吗?`)
|
||||
|
||||
try {
|
||||
await qcckPost({ id, sflz: 1 }, "/mosty-base/baxx/cyry/szlzzt")
|
||||
await qcckPost({ id, sflz: 1 }, "/bagl/mosty-base/baxx/cyry/szlzzt")
|
||||
proxy.$modal.msgSuccess("离职成功");
|
||||
await getList();
|
||||
} catch (error) {
|
||||
@ -141,7 +141,7 @@ const handleDelete = async (ids) => {
|
||||
await proxy.$modal.confirm("是否确认删除该从业人员?")
|
||||
|
||||
try {
|
||||
await qcckPost({ idList: ids }, "/mosty-base/baxx/cyry/remove")
|
||||
await qcckPost({ idList: ids }, "/bagl/mosty-base/baxx/cyry/remove")
|
||||
proxy.$modal.msgSuccess("删除成功");
|
||||
getList();
|
||||
} catch (error) {
|
||||
@ -155,7 +155,7 @@ const getList = async () => {
|
||||
const res = await qcckPost({
|
||||
...pageData.pageConfiger,
|
||||
...queryFrom.value
|
||||
}, `/mosty-base/baxx/cyry/page`)
|
||||
}, `/bagl/mosty-base/baxx/cyry/page`)
|
||||
|
||||
if(res) {
|
||||
// 处理sflz为null默认为0
|
||||
|
||||
Reference in New Issue
Block a user