|
@@ -500,6 +500,7 @@ export default {
|
|
|
showRoleList: false,
|
|
|
showGetTextLoading: false,
|
|
|
roleListIndex: 0,
|
|
|
+ userId:this.$route.query['userid'],
|
|
|
recordedForm: {
|
|
|
time: "00:00:00", //时间
|
|
|
status: 0, //0--未录音 1--正在录音 2--暂停 3--录音结束
|
|
@@ -812,7 +813,7 @@ export default {
|
|
|
this.scrollBottom();
|
|
|
let params = {
|
|
|
assistant_id: _item.assistant_id,
|
|
|
- userId: "602def61-005d-11ee-91d8-005056b86db5",
|
|
|
+ userId: this.userId,
|
|
|
message: _replaceText,
|
|
|
session_name: `${this.tid}-classroomObservation`,
|
|
|
uid: _uid,
|
|
@@ -1343,7 +1344,7 @@ export default {
|
|
|
getRoleList() {
|
|
|
this.roleList = [];
|
|
|
let params = {
|
|
|
- userId: "602def61-005d-11ee-91d8-005056b86db5",
|
|
|
+ userId: this.userId,
|
|
|
};
|
|
|
this.ajax
|
|
|
.post("https://gpt4.cocorobo.cn/get_ai_agent_assistant_list", params)
|
|
@@ -1361,7 +1362,7 @@ export default {
|
|
|
getPublicRoleList() {
|
|
|
this.publicRoleList = [];
|
|
|
let params = {
|
|
|
- userId: "602def61-005d-11ee-91d8-005056b86db5",
|
|
|
+ userId: this.userId,
|
|
|
organizeid: "45facc0a-1211-11ec-80ad-005056b86db5",
|
|
|
};
|
|
|
this.ajax
|
|
@@ -1472,7 +1473,7 @@ export default {
|
|
|
if (!this.tid) return setTimeout(() => this.getChatList(), 100);
|
|
|
this.chatLoading = true;
|
|
|
let params = {
|
|
|
- userid: "602def61-005d-11ee-91d8-005056b86db5",
|
|
|
+ userid: this.userId,
|
|
|
groupid: "602def61-005d-11ee-91d8-005056b8q12w",
|
|
|
// session_name:``
|
|
|
session_name: `${this.tid}-classroomObservation`,
|
|
@@ -1523,7 +1524,7 @@ export default {
|
|
|
let _data = this.chatList.find((i) => i.uid == _uid);
|
|
|
if (!_data) return;
|
|
|
let params = {
|
|
|
- userId: "602def61-005d-11ee-91d8-005056b86db5",
|
|
|
+ userId: this.userId,
|
|
|
userName: "qgt",
|
|
|
groupId: "602def61-005d-11ee-91d8-005056b8q12w",
|
|
|
answer: _data.aiContent,
|