| | |
| | | v-for="(multiChatItem, multiChatIndex) in subItem.subStep" |
| | | > |
| | | <component |
| | | v-if="multiChatItem.type === MultiChatType.Select" |
| | | |
| | | :order="`${stepIndex + 1}-${multiChatIndex + 1}`" |
| | | :item="multiChatItem" |
| | | :is="multiChatTypeMapCom[multiChatItem.type]" |
| | | :disabled="!(stepIndex + 1 === msg?.stepGroup?.[index].value.length && isTalking && isLast)" |
| | | /> |
| | | <component |
| | | v-else-if="multiChatItem.type === MultiChatType.Result" |
| | | :is="answerTypeMapCom['summary']" |
| | | :data="multiChatItem.data.content.values" |
| | | :originData="multiChatItem.data" |
| | | /> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | <!-- #endregion --> |
| | | </div> |
| | | <!-- #endregion --> |
| | | |
| | | <!-- result 时 recordSetTable 已经加载,summary 时又加载了一次,导致比例列 push 了两次 |
| | | 为了解决这个问题,等到 msg.historyId 存在时,再渲染 recordSetTable |
| | | --> |
| | | <component |
| | | v-if="msg.content?.values?.[index]" |
| | | |
| | | v-if="msg.content?.values?.[index] && msg.historyId" |
| | | :reportIndex="index" |
| | | :conclusion="msg.content.values[index].conclusion" |
| | | :is="answerTypeMapCom[msg.content.values[index].content.type]" |