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 @@
-
-
- {{ row.created_at?.slice(0, 10) || '-' }}
-
-
@@ -21,10 +16,9 @@
-
+
编辑
- 分享
删除
@@ -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)