|
@@ -303,7 +303,6 @@ function setScrollBottom () {
|
|
async function getInterviewInviteList () {
|
|
async function getInterviewInviteList () {
|
|
if (!info.value.id) return
|
|
if (!info.value.id) return
|
|
const { data } = await getInterviewInviteListByInviteUserId(info.value.id)
|
|
const { data } = await getInterviewInviteListByInviteUserId(info.value.id)
|
|
- console.log(data, statusList)
|
|
|
|
interview.value = data.slice(0, 1).map(e => {
|
|
interview.value = data.slice(0, 1).map(e => {
|
|
const statusItem = statusList.value.find(_e => _e.value === e.status)
|
|
const statusItem = statusList.value.find(_e => _e.value === e.status)
|
|
const statusText = statusItem?.label || ''
|
|
const statusText = statusItem?.label || ''
|
|
@@ -384,6 +383,8 @@ function handleSendResume () {
|
|
type: 1
|
|
type: 1
|
|
}
|
|
}
|
|
send (JSON.stringify(text), channelItem.value, 105)
|
|
send (JSON.stringify(text), channelItem.value, 105)
|
|
|
|
+ // 提交简历
|
|
|
|
+ // {jobId, title, type, url}
|
|
popup.value.close()
|
|
popup.value.close()
|
|
}
|
|
}
|
|
|
|
|
|
@@ -470,11 +471,23 @@ function handleUploadResume () {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 根据id检测是否有发过简历
|
|
|
|
+async function checkResume (jobId) {
|
|
|
|
+ try {
|
|
|
|
+ const { data } = await getJobFavoriteCheck({ jobId })
|
|
|
|
+ console.log(data)
|
|
|
|
+ } catch (error) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
onLoad(async (options) => {
|
|
onLoad(async (options) => {
|
|
info.value = Object.keys(options).reduce((r, k) => {
|
|
info.value = Object.keys(options).reduce((r, k) => {
|
|
r[k] = decodeURIComponent(options[k])
|
|
r[k] = decodeURIComponent(options[k])
|
|
return r
|
|
return r
|
|
}, {})
|
|
}, {})
|
|
|
|
+ // console.log(info.value)
|
|
|
|
+ // await checkResume(info.value.enterpriseId)
|
|
await init(options.id, options.enterpriseId)
|
|
await init(options.id, options.enterpriseId)
|
|
await getStatusList()
|
|
await getStatusList()
|
|
getInterviewInviteList()
|
|
getInterviewInviteList()
|