From 842704f0958115df9704c225711ec9c8b3f4fd2a Mon Sep 17 00:00:00 2001 From: TianyangZhang Date: Wed, 25 Mar 2026 17:12:36 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"feat(admin):=20=E8=81=8C=E4=BD=8D?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=97=B6=E9=97=B4=E5=92=8C=E5=88=86=E4=BA=AB=E6=8C=89?= =?UTF-8?q?=E9=92=AE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 10fa8aedfe1fb0318af12ad413c65914edd51786. --- .../src/views/admin/JobManageView.vue | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/offer_frontend/src/views/admin/JobManageView.vue b/offer_frontend/src/views/admin/JobManageView.vue index 403e79f..da7e394 100644 --- a/offer_frontend/src/views/admin/JobManageView.vue +++ b/offer_frontend/src/views/admin/JobManageView.vue @@ -9,11 +9,6 @@ - - - - + @@ -161,25 +155,6 @@ async function handleSave() { } } -function shareJob(row) { - // 生成职位详情页链接 - const jobUrl = `${window.location.origin}/#/jobs/${row.id}` - - // 复制到剪贴板 - navigator.clipboard.writeText(jobUrl).then(() => { - ElMessage.success(`已复制链接:${jobUrl}`) - }).catch(() => { - // 降级方案:使用传统方法 - const textArea = document.createElement('textarea') - textArea.value = jobUrl - document.body.appendChild(textArea) - textArea.select() - document.execCommand('copy') - document.body.removeChild(textArea) - ElMessage.success(`已复制链接:${jobUrl}`) - }) -} - async function handleDelete(id) { await ElMessageBox.confirm('确认删除该职位?', '提示', { type: 'warning' }) await deleteJob(id)