|
@@ -222,7 +222,8 @@ const handleAction = async (index, type, { id }, item) => {
|
|
|
|
|
|
// 关闭职位提醒
|
|
// 关闭职位提醒
|
|
if (index === 0) {
|
|
if (index === 0) {
|
|
- Confirm('系统提示', '是否确认关闭所选职位?关闭后再激活需重新收取费用!').then(async () => {
|
|
|
|
|
|
+ const text = baseInfo.value?.entitlement?.publishJobCount && baseInfo.value?.entitlement?.publishJobCount > 0 ? '将消耗一个发布点数' : '将重新收取费用'
|
|
|
|
+ Confirm('系统提示', `是否确认关闭所选职位?关闭后再激活,${text}`).then(async () => {
|
|
await apiList[index](ids)
|
|
await apiList[index](ids)
|
|
Snackbar.success(t('common.operationSuccessful'))
|
|
Snackbar.success(t('common.operationSuccessful'))
|
|
// 清空选项
|
|
// 清空选项
|