|
@@ -718,6 +718,7 @@ const quest = async (isFllow) => {
|
|
|
} else if (activeTab.value === 'original') {
|
|
|
body = {
|
|
|
query: question.value,
|
|
|
+ history: isFllow ? getFlowHistory() : [],
|
|
|
stream: true
|
|
|
}
|
|
|
}
|
|
@@ -1048,7 +1049,9 @@ const sessionId = ref('');
|
|
|
const sessionCreate = () => {
|
|
|
const sendData = {
|
|
|
tittle: historys.value[historyIndex].currentResponse.question,
|
|
|
- creator: userStore.user.syUser.Id
|
|
|
+ creator: userStore.user.syUser.Id,
|
|
|
+ userName: userStore.user.syUser.Name,
|
|
|
+ deptName: userStore.user.syUser.OrganizationLine
|
|
|
}
|
|
|
ManagerAPI.create(sendData).then((res) => {
|
|
|
if (res.data) {
|
|
@@ -1186,6 +1189,7 @@ const collectQuestion = () => {
|
|
|
const questions = ref([]);
|
|
|
|
|
|
const getQuestionKeyWords = async () => {
|
|
|
+ return;
|
|
|
const { question } = historys.value[historyIndex].currentResponse;
|
|
|
const myHeaders = new Headers();
|
|
|
myHeaders.append('Content-Type', 'application/json');
|