<link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | <link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | ||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
<title>菊城人才市场后台管理</title> | <title>菊城人才市场后台管理</title> | ||||
<script type="module" crossorigin src="/assets/index-cr91t7dU.js"></script> | |||||
<link rel="stylesheet" crossorigin href="/assets/index-CoNp0n70.css"> | |||||
<script type="module" crossorigin src="/assets/index-D3g-JIv0.js"></script> | |||||
<link rel="stylesheet" crossorigin href="/assets/index-v0k2Mgv6.css"> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<div id="app"></div> | <div id="app"></div> |
title.value = '新增部门'; | title.value = '新增部门'; | ||||
selectDisabled.value = false; | selectDisabled.value = false; | ||||
} | } | ||||
}) | |||||
}, { immediate: true }) | |||||
</script> | </script> | ||||
<style> | <style> |
// 编辑 | // 编辑 | ||||
let edit_record = ref<Object>(null) | let edit_record = ref<Object>(null) | ||||
const edit = (record : object) => { | const edit = (record : object) => { | ||||
openForm.value = true | |||||
edit_record.value = record; | edit_record.value = record; | ||||
showModal() | showModal() | ||||
} | } | ||||
getData(); | getData(); | ||||
} | } | ||||
const closeAdd = () => { | const closeAdd = () => { | ||||
openForm.value = false | |||||
edit_record.value = null; | edit_record.value = null; | ||||
} | } | ||||
} | } | ||||
watch(() => props.edit_record, (newVal1) => { | watch(() => props.edit_record, (newVal1) => { | ||||
if (newVal1) { | if (newVal1) { | ||||
PostCompanyJobInfo({ id: newVal1.id }).then(res => { | PostCompanyJobInfo({ id: newVal1.id }).then(res => { | ||||
let resData = res.data; | let resData = res.data; | ||||
}) | }) | ||||
} | } | ||||
}) | |||||
}, { immediate: true }) | |||||
</script> | </script> | ||||
// 编辑 | // 编辑 | ||||
let edit_record = ref<Object>(null) | let edit_record = ref<Object>(null) | ||||
const edit = (record : object) => { | const edit = (record : object) => { | ||||
openForm.value = true | |||||
edit_record.value = record; | edit_record.value = record; | ||||
showModal() | showModal() | ||||
} | } | ||||
getData(); | getData(); | ||||
} | } | ||||
const closeAdd = () => { | const closeAdd = () => { | ||||
openForm.value = false | |||||
edit_record.value = null; | edit_record.value = null; | ||||
} | } | ||||
getData(); | getData(); | ||||
} | } | ||||
const closeAdd = () => { | const closeAdd = () => { | ||||
openForm.value = false | |||||
edit_record.value = null; | edit_record.value = null; | ||||
} | } | ||||