|
|
|
@ -350,17 +350,15 @@ const getMeetingInfo = async (meetingId) => { |
|
|
|
|
const resp = await MeetingApi.getMeetingDetail({ meetingId }) |
|
|
|
|
loading.value = false |
|
|
|
|
if (resp) { |
|
|
|
|
form.value = { |
|
|
|
|
...form.value, |
|
|
|
|
...resp, |
|
|
|
|
startTime: formatDate(resp.startTime, 'YYYY-MM-DD HH:mm'), |
|
|
|
|
expectEndTime: formatDate(resp.expectEndTime, 'YYYY-MM-DD HH:mm'), |
|
|
|
|
expectUsers: resp.expectUsers || [], |
|
|
|
|
actualUsers: resp.actualUsers || [], |
|
|
|
|
meetingSummaryList: resp.meetingSummaryList.map((item) => ({ |
|
|
|
|
let summaryList = [] |
|
|
|
|
if (resp.meetingSummaryList && resp.meetingSummaryList.length > 0) { |
|
|
|
|
summaryList = resp.meetingSummaryList.map((item) => ({ |
|
|
|
|
...item, |
|
|
|
|
isCreateAgentWork: !!item.isCreateAgentWork |
|
|
|
|
})) || [ |
|
|
|
|
isCreateAgentWork: !!item.isCreateAgentWork, |
|
|
|
|
agentUserList: item.agentUserList ? item.agentUserList.map((it) => it + '') : [] |
|
|
|
|
})) |
|
|
|
|
} else { |
|
|
|
|
summaryList = [ |
|
|
|
|
{ |
|
|
|
|
summary: resp.meetingSummary || '', |
|
|
|
|
agentUserList: [], |
|
|
|
@ -369,6 +367,16 @@ const getMeetingInfo = async (meetingId) => { |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
form.value = { |
|
|
|
|
...form.value, |
|
|
|
|
...resp, |
|
|
|
|
startTime: formatDate(resp.startTime, 'YYYY-MM-DD HH:mm'), |
|
|
|
|
expectEndTime: formatDate(resp.expectEndTime, 'YYYY-MM-DD HH:mm'), |
|
|
|
|
expectUsers: resp.expectUsers || [], |
|
|
|
|
actualUsers: resp.actualUsers || [], |
|
|
|
|
meetingSummaryList: summaryList |
|
|
|
|
} |
|
|
|
|
currentContentId.value = 0 |
|
|
|
|
expectUserOptions.value = userOptions.value.filter((user) => |
|
|
|
|
form.value.expectUsers.some((it) => it == user.id) |
|
|
|
|