sc
This commit is contained in:
@@ -350,17 +350,15 @@ const getMeetingInfo = async (meetingId) => {
|
|||||||
const resp = await MeetingApi.getMeetingDetail({ meetingId })
|
const resp = await MeetingApi.getMeetingDetail({ meetingId })
|
||||||
loading.value = false
|
loading.value = false
|
||||||
if (resp) {
|
if (resp) {
|
||||||
form.value = {
|
let summaryList = []
|
||||||
...form.value,
|
if (resp.meetingSummaryList && resp.meetingSummaryList.length > 0) {
|
||||||
...resp,
|
summaryList = resp.meetingSummaryList.map((item) => ({
|
||||||
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) => ({
|
|
||||||
...item,
|
...item,
|
||||||
isCreateAgentWork: !!item.isCreateAgentWork
|
isCreateAgentWork: !!item.isCreateAgentWork,
|
||||||
})) || [
|
agentUserList: item.agentUserList ? item.agentUserList.map((it) => it + '') : []
|
||||||
|
}))
|
||||||
|
} else {
|
||||||
|
summaryList = [
|
||||||
{
|
{
|
||||||
summary: resp.meetingSummary || '',
|
summary: resp.meetingSummary || '',
|
||||||
agentUserList: [],
|
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
|
currentContentId.value = 0
|
||||||
expectUserOptions.value = userOptions.value.filter((user) =>
|
expectUserOptions.value = userOptions.value.filter((user) =>
|
||||||
form.value.expectUsers.some((it) => it == user.id)
|
form.value.expectUsers.some((it) => it == user.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user