|
@@ -1247,20 +1247,31 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="whiteBg" style="background: #fff; margin: 0 0 10px;padding: 0 0 15px;" v-loading="textLoading" element-loading-text="小可正在努力生成中,请稍等..." v-if="(isuseT === 2)">
|
|
|
|
|
|
|
+ <div class="whiteBg" style="background: #fff; margin: 0 0 10px;padding: 0 0 15px;" v-loading="textLoading" element-loading-text="小可正在努力生成中,请稍等..." v-show="(isuseT === 2)">
|
|
|
<div class="whiteBg" style="border-radius: 0; margin-top: 15px">
|
|
<div class="whiteBg" style="border-radius: 0; margin-top: 15px">
|
|
|
<div class="c_info_title" style="margin: 0 20px 0 20px;position:relative;">
|
|
<div class="c_info_title" style="margin: 0 20px 0 20px;position:relative;">
|
|
|
- 课程概况<span class="inter_setting" @click="openInterPanSetting"></span>
|
|
|
|
|
|
|
+ 课程概况<span class="inter_setting" @click="openInterPanSetting2"></span>
|
|
|
<div class="inter_setting_panel" v-show="interSetting">
|
|
<div class="inter_setting_panel" v-show="interSetting">
|
|
|
<div class="panel_title">配置工作流</div>
|
|
<div class="panel_title">配置工作流</div>
|
|
|
<div class="panel_tips">您可在创作者中心中创建工作流后,复制工作流链接并贴入</div>
|
|
<div class="panel_tips">您可在创作者中心中创建工作流后,复制工作流链接并贴入</div>
|
|
|
<div class="panel_input">
|
|
<div class="panel_input">
|
|
|
- <input type="text" :placeholder="this.aiJson.agentid ? this.aiJson.agentid : '请输入agentid'" class="binfo_input" v-model="agentid"/>
|
|
|
|
|
|
|
+ <input type="text" :placeholder="'请输入agentid'" class="binfo_input" v-model="r_agentid"/>
|
|
|
|
|
+ <div class="panel_input_record">
|
|
|
|
|
+ <span>议程和问题引导</span>
|
|
|
|
|
+ <textarea rows="5" class="binfo_input binfo_textarea" cols v-model="courseText" placeholder="议程和问题引导"></textarea>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="panel_input_record">
|
|
|
|
|
+ <span>查看进度</span>
|
|
|
|
|
+ <textarea rows="5" class="binfo_input binfo_textarea" cols v-model="courseText" placeholder="议程和问题引导"></textarea>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="panel_input_record">
|
|
|
|
|
+ <span>总结并生成课程概况</span>
|
|
|
|
|
+ <textarea rows="5" class="binfo_input binfo_textarea" cols v-model="courseText" placeholder="议程和问题引导"></textarea>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="panel_button">
|
|
|
|
|
- <button class="c_pub_button_confirm" @click="setAgentid">确认</button>
|
|
|
|
|
- <button class="c_pub_button_confirm" @click="rebuildAgentid" v-if="istemplate != 1">复原</button>
|
|
|
|
|
- <button class="c_pub_button_return" @click="cancelInterSetting">取消</button>
|
|
|
|
|
|
|
+ <div class="panel_button" style="justify-content: flex-end;">
|
|
|
|
|
+ <button class="c_pub_button_confirm" @click="setAgentid2" style="margin-right: 10px;">确认</button>
|
|
|
|
|
+ <button class="c_pub_button_return" @click="cancelInterSetting2">取消</button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 0 0 auto;" @click="interPan = !interPan,forceUpdate2()">{{ interPan ? '折叠' : '展开'}}</button>
|
|
<button class="c_pub_button_confirm" style="margin: 0 0 0 auto;" @click="interPan = !interPan,forceUpdate2()">{{ interPan ? '折叠' : '展开'}}</button>
|
|
@@ -1271,11 +1282,14 @@
|
|
|
:videoText2.sync="recordVideoText"
|
|
:videoText2.sync="recordVideoText"
|
|
|
:audioUrl2.sync="recordAudioUrl"></recordV>
|
|
:audioUrl2.sync="recordAudioUrl"></recordV>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="inter_box" v-show="interPan" style="margin: 0 0 0 10px">
|
|
|
|
|
- <aiBoxCourseDetail
|
|
|
|
|
|
|
+ <div class="inter_box" v-show="interPan" style="margin: 0 0 0 10px;max-width: 50%;max-height:500px;">
|
|
|
|
|
+ <aiBoxCourseDetail
|
|
|
|
|
+ v-if="aiJson.recordAgentid && chatid"
|
|
|
:languageSetting="languageSetting"
|
|
:languageSetting="languageSetting"
|
|
|
:courseId="chatid"
|
|
:courseId="chatid"
|
|
|
- :courseText2="courseText"
|
|
|
|
|
|
|
+ :courseText2.sync="courseText"
|
|
|
|
|
+ :viedoText="recordVideoText"
|
|
|
|
|
+ :agentid="aiJson.recordAgentid"
|
|
|
:fileids='[...knowFileids, ...knowFileids2]'></aiBoxCourseDetail>
|
|
:fileids='[...knowFileids, ...knowFileids2]'></aiBoxCourseDetail>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -7722,6 +7736,7 @@ export default {
|
|
|
isDialog: 0,
|
|
isDialog: 0,
|
|
|
recordVideoText: "",
|
|
recordVideoText: "",
|
|
|
recordAudioUrl: "",
|
|
recordAudioUrl: "",
|
|
|
|
|
+ r_agentid: ""
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
directives: {
|
|
directives: {
|
|
@@ -7945,7 +7960,7 @@ export default {
|
|
|
let sagentid = this.aiJson.sagentid
|
|
let sagentid = this.aiJson.sagentid
|
|
|
let url = ''
|
|
let url = ''
|
|
|
if(sagentid){
|
|
if(sagentid){
|
|
|
- url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
|
|
|
|
+ url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${sagentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
}else{
|
|
}else{
|
|
|
url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
}
|
|
}
|
|
@@ -12727,6 +12742,9 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
|
|
|
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
|
|
|
+ this.aiJson.recordAgentid = this.aiJson.recordAgentid ? this.aiJson.recordAgentid : 'eb6c7ca4-9684-11ef-a04e-12e77c4cb76b'
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
// if(this.templateid == '4480d65a-1e48-11ef-bee5-005056b86db5'){
|
|
// if(this.templateid == '4480d65a-1e48-11ef-bee5-005056b86db5'){
|
|
|
// this.aiJson.aiCpoteTask = this.aiJson.aiCpoteTask ? this.aiJson.aiCpoteTask : '请根据<任务簇>,帮我取出里面对应的任务名'
|
|
// this.aiJson.aiCpoteTask = this.aiJson.aiCpoteTask ? this.aiJson.aiCpoteTask : '请根据<任务簇>,帮我取出里面对应的任务名'
|
|
@@ -14737,6 +14755,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
|
|
|
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
|
|
|
+ this.aiJson.recordAgentid = this.aiJson.recordAgentid ? this.aiJson.recordAgentid : 'eb6c7ca4-9684-11ef-a04e-12e77c4cb76b'
|
|
|
this.templateid = res.data[3][0].template;
|
|
this.templateid = res.data[3][0].template;
|
|
|
this.getTipsTemplateIsDialog()
|
|
this.getTipsTemplateIsDialog()
|
|
|
}catch(error){
|
|
}catch(error){
|
|
@@ -14901,6 +14920,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
|
|
|
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
|
|
|
+ this.aiJson.recordAgentid = this.aiJson.recordAgentid ? this.aiJson.recordAgentid : 'eb6c7ca4-9684-11ef-a04e-12e77c4cb76b'
|
|
|
if(res.data[0][0].cpote){
|
|
if(res.data[0][0].cpote){
|
|
|
try {
|
|
try {
|
|
|
this.cpote = JSON.parse(res.data[0][0].cpote);
|
|
this.cpote = JSON.parse(res.data[0][0].cpote);
|
|
@@ -17288,6 +17308,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.interSetting = false
|
|
this.interSetting = false
|
|
|
|
|
+ this.interPan = true
|
|
|
},
|
|
},
|
|
|
changeLang(){
|
|
changeLang(){
|
|
|
window.course_lang = this.languageSetting
|
|
window.course_lang = this.languageSetting
|
|
@@ -17304,6 +17325,14 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
this.agentid = ''
|
|
this.agentid = ''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ openInterPanSetting2(){
|
|
|
|
|
+ this.interSetting = !this.interSetting
|
|
|
|
|
+ if(this.interSetting){
|
|
|
|
|
+ this.r_agentid = this.aiJson.recordAgentid
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.r_agentid = ''
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
setAgentid(){
|
|
setAgentid(){
|
|
|
if(!this.agentid.trim()){
|
|
if(!this.agentid.trim()){
|
|
|
this.$message.error('请输入工作流链接')
|
|
this.$message.error('请输入工作流链接')
|
|
@@ -17320,6 +17349,14 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
}, 100);
|
|
}, 100);
|
|
|
this.interSetting = false
|
|
this.interSetting = false
|
|
|
},
|
|
},
|
|
|
|
|
+ setAgentid2(){
|
|
|
|
|
+ if(!this.r_agentid.trim()){
|
|
|
|
|
+ this.$message.error('请输入工作流链接')
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.aiJson.recordAgentid = this.r_agentid.trim()
|
|
|
|
|
+ this.interSetting = false
|
|
|
|
|
+ },
|
|
|
rebuildAgentid(){
|
|
rebuildAgentid(){
|
|
|
this.aiJson.sagentid = ''
|
|
this.aiJson.sagentid = ''
|
|
|
this.interFlash = false
|
|
this.interFlash = false
|
|
@@ -17332,6 +17369,10 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
this.agentid = ''
|
|
this.agentid = ''
|
|
|
this.interSetting = false
|
|
this.interSetting = false
|
|
|
},
|
|
},
|
|
|
|
|
+ cancelInterSetting2(){
|
|
|
|
|
+ this.r_agentid = ''
|
|
|
|
|
+ this.interSetting = false
|
|
|
|
|
+ },
|
|
|
openAiDialog2(clickType, type, callback, index, tindex){
|
|
openAiDialog2(clickType, type, callback, index, tindex){
|
|
|
if (this.taskLoading.length) {
|
|
if (this.taskLoading.length) {
|
|
|
let _pan = 1
|
|
let _pan = 1
|
|
@@ -24736,6 +24777,7 @@ ${msg}
|
|
|
|
|
|
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
this.aiJson.agentid = this.aiJson.agentid ? this.aiJson.agentid : '8e71322c-6c2a-11ef-8ce0-12e77c4cb76b'
|
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
this.aiJson.sagentid = this.aiJson.sagentid ? this.aiJson.sagentid : ''
|
|
|
|
|
+ this.aiJson.recordAgentid = this.aiJson.recordAgentid ? this.aiJson.recordAgentid : 'eb6c7ca4-9684-11ef-a04e-12e77c4cb76b'
|
|
|
}
|
|
}
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
// this.timer2 = setInterval(() => {
|
|
// this.timer2 = setInterval(() => {
|
|
@@ -26523,7 +26565,7 @@ ol {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.whiteBIcon {
|
|
.whiteBIcon {
|
|
|
- width: 80px;
|
|
|
|
|
|
|
+ width: 60px;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
@@ -26552,6 +26594,7 @@ ol {
|
|
|
.whiteBIcon>div:nth-child(2) {
|
|
.whiteBIcon>div:nth-child(2) {
|
|
|
height: 20px;
|
|
height: 20px;
|
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
|
|
|
+ text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.check {
|
|
.check {
|
|
@@ -29279,11 +29322,21 @@ ol {
|
|
|
.panel_input{
|
|
.panel_input{
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.panel_button{
|
|
.panel_button{
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.panel_input_record {
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.panel_input_record > span{
|
|
|
|
|
+ margin-bottom: 5px;
|
|
|
|
|
+ display: block;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.custom-switch >>> .el-switch__label.is-active {
|
|
.custom-switch >>> .el-switch__label.is-active {
|
|
|
color: #0061FF;
|
|
color: #0061FF;
|
|
|
}
|
|
}
|