'修改删除参数方式'
This commit is contained in:
@ -149,7 +149,7 @@ const handleDelete = async (ids) => {
|
|||||||
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await qcckPost({ ids }, `/mosty-base/baxx/basq/remove`)
|
await qcckPost({ idList: ids }, `/mosty-base/baxx/basq/remove`)
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
await getList();
|
await getList();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@ -141,7 +141,7 @@ const handleDelete = async (ids) => {
|
|||||||
await proxy.$modal.confirm("是否确认删除该从业人员?")
|
await proxy.$modal.confirm("是否确认删除该从业人员?")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await qcckPost({ ids }, "/mosty-base/baxx/cyry/remove")
|
await qcckPost({ idList: ids }, "/mosty-base/baxx/cyry/remove")
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
getList();
|
getList();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@ -126,7 +126,7 @@ const handleDelete = async (ids) => {
|
|||||||
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await qcckPost({ ids }, "/mosty-base/baxx/pxry/remove")
|
await qcckPost({ idList: ids }, "/mosty-base/baxx/pxry/remove")
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
await getList();
|
await getList();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@ -136,7 +136,7 @@ const handleDelete = async (ids) => {
|
|||||||
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
await proxy.$modal.confirm("是否确认删除该培训人员?")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await qcckPost({ ids }, "/mosty-base/baxx/pxry/remove")
|
await qcckPost({ idList: ids }, "/mosty-base/baxx/pxry/remove")
|
||||||
proxy.$modal.msgSuccess("删除成功");
|
proxy.$modal.msgSuccess("删除成功");
|
||||||
await getList();
|
await getList();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user