|
@@ -389,18 +389,16 @@ const getQuery = async () => {
|
|
|
|
|
|
// 填充
|
|
// 填充
|
|
const handleAnalyzeFill = (data) => {
|
|
const handleAnalyzeFill = (data) => {
|
|
- // debugger
|
|
|
|
const person = data?.person || null
|
|
const person = data?.person || null
|
|
if (!person && !Object.keys(person).length) return Snackbar.warning('无可用内容!')
|
|
if (!person && !Object.keys(person).length) return Snackbar.warning('无可用内容!')
|
|
if (data.lastEmployed) {
|
|
if (data.lastEmployed) {
|
|
- // debugger
|
|
|
|
if (data.lastEmployed.enterpriseName) person.enterpriseId = person.enterpriseName = data.lastEmployed.enterpriseName
|
|
if (data.lastEmployed.enterpriseName) person.enterpriseId = person.enterpriseName = data.lastEmployed.enterpriseName
|
|
- if (data.lastEmployed.positionName) person.positionId = person.positionName = data.lastEmployed.positionName
|
|
|
|
- if (person.enterpriseName) getEnterpriseData(person.enterpriseName)
|
|
|
|
|
|
+ if (data.lastEmployed.positionName) person.positionId = person.positionName = positionName = data.lastEmployed.positionName
|
|
|
|
+ // console.log('person', person)
|
|
}
|
|
}
|
|
if (data.lastPositionId) person.interestedPositionList = [data.lastPositionId]
|
|
if (data.lastPositionId) person.interestedPositionList = [data.lastPositionId]
|
|
- // debugger
|
|
|
|
items.value.options.forEach((e) => {
|
|
items.value.options.forEach((e) => {
|
|
|
|
+ console.log(e.key, person[e.key])
|
|
if (person[e.key]) e.value = person[e.key]
|
|
if (person[e.key]) e.value = person[e.key]
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -422,7 +420,7 @@ const uploadFileSubmit = async () => {
|
|
analyzeLoading.value = false
|
|
analyzeLoading.value = false
|
|
}
|
|
}
|
|
|
|
|
|
-handleAnalyzeFill(JSON.parse(JSON.stringify(analyzeTestData)))
|
|
|
|
|
|
+// handleAnalyzeFill(JSON.parse(JSON.stringify(analyzeTestData)))
|
|
|
|
|
|
const attachmentCount = ref(0)
|
|
const attachmentCount = ref(0)
|
|
const getAttachmentList = async () => {
|
|
const getAttachmentList = async () => {
|