|
@@ -15425,8 +15425,8 @@ export default {
|
|
|
let iframe = document.querySelectorAll(".interIframe")[0];
|
|
|
const turndownService = new TurndownService();
|
|
|
|
|
|
- let confirm_next_step = iframe ? iframe.contentWindow.confirm_next_step : '';
|
|
|
- let work_area_text = iframe ? iframe.contentWindow.work_area_text : '';
|
|
|
+ let confirm_next_step = (iframe && iframe.contentWindow) ? iframe.contentWindow.confirm_next_step : '';
|
|
|
+ let work_area_text = (iframe && iframe.contentWindow) ? iframe.contentWindow.work_area_text : '';
|
|
|
if(confirm_next_step){
|
|
|
this.courseText += turndownService.turndown(confirm_next_step)
|
|
|
iframe.contentWindow.confirm_next_step = ''
|
|
@@ -19801,8 +19801,8 @@ ${msg}
|
|
|
// 处理错误,可以尝试重新连接
|
|
|
console.log('EventSource error:', event);
|
|
|
_this.$message.error("哎呀,请求太多了,服务器忙不过来了,请稍等再重试")
|
|
|
- _this.taskDetailLoading.splice(this.taskDetailLoading.indexOf(loading), 1)
|
|
|
- _this.ttaskDetailLoading.splice(this.ttaskDetailLoading.indexOf(loading), 1)
|
|
|
+ _this.taskDetailLoading.splice(_this.taskDetailLoading.indexOf(loading), 1)
|
|
|
+ _this.ttaskDetailLoading.splice(_this.ttaskDetailLoading.indexOf(loading), 1)
|
|
|
_this.isOutlineTaskCancelToken[_tindex2] = null
|
|
|
_this.isOutlineTaskCancelSource[_tindex2].close();
|
|
|
_this.isOutlineTaskCancelSource[_tindex2] = null;
|
|
@@ -20146,8 +20146,8 @@ ${taskArray.length ? '其他任务大纲内容' + taskArray.join(',') : ''}
|
|
|
// 处理错误,可以尝试重新连接
|
|
|
console.log('EventSource error:', event);
|
|
|
_this.$message.error("哎呀,请求太多了,服务器忙不过来了,请稍等再重试")
|
|
|
- _this.taskDetailLoading.splice(this.taskDetailLoading.indexOf(loading), 1)
|
|
|
- _this.ttaskDetailLoading.splice(this.ttaskDetailLoading.indexOf(loading), 1)
|
|
|
+ _this.taskDetailLoading.splice(_this.taskDetailLoading.indexOf(loading), 1)
|
|
|
+ _this.ttaskDetailLoading.splice(_this.ttaskDetailLoading.indexOf(loading), 1)
|
|
|
_this.isOutlineTaskCancelToken[_tindex2] = null
|
|
|
_this.isOutlineTaskCancelSource[_tindex2].close();
|
|
|
_this.isOutlineTaskCancelSource[_tindex2] = null;
|
|
@@ -20318,8 +20318,8 @@ ${_this.aiCallBack.taskDetail}
|
|
|
// 处理错误,可以尝试重新连接
|
|
|
console.log('EventSource error:', event);
|
|
|
_this.$message.error("哎呀,请求太多了,服务器忙不过来了,请稍等再重试")
|
|
|
- _this.taskDetailLoading2.splice(this.taskDetailLoading2.indexOf(loading), 1)
|
|
|
- _this.ttaskDetailLoading2.splice(this.ttaskDetailLoading2.indexOf(loading), 1)
|
|
|
+ _this.taskDetailLoading2.splice(_this.taskDetailLoading2.indexOf(loading), 1)
|
|
|
+ _this.ttaskDetailLoading2.splice(_this.ttaskDetailLoading2.indexOf(loading), 1)
|
|
|
_source.close();
|
|
|
};
|
|
|
},
|
|
@@ -20490,8 +20490,8 @@ ${msg} 输出格式和内容要求参考#格式与要求
|
|
|
// 处理错误,可以尝试重新连接
|
|
|
console.log('EventSource error:', event);
|
|
|
_this.$message.error("哎呀,请求太多了,服务器忙不过来了,请稍等再重试")
|
|
|
- _this.taskDetailLoading3.splice(this.taskDetailLoading3.indexOf(loading), 1)
|
|
|
- _this.ttaskDetailLoading3.splice(this.ttaskDetailLoading3.indexOf(loading), 1)
|
|
|
+ _this.taskDetailLoading3.splice(_this.taskDetailLoading3.indexOf(loading), 1)
|
|
|
+ _this.ttaskDetailLoading3.splice(_this.ttaskDetailLoading3.indexOf(loading), 1)
|
|
|
_source.close();
|
|
|
};
|
|
|
},
|
|
@@ -20859,8 +20859,8 @@ ${_text2}`
|
|
|
// 处理错误,可以尝试重新连接
|
|
|
console.log('EventSource error:', event);
|
|
|
_this.$message.error("哎呀,请求太多了,服务器忙不过来了,请稍等再重试")
|
|
|
- _this.taskDetailLoading5.splice(this.taskDetailLoading5.indexOf(loading), 1)
|
|
|
- _this.ttaskDetailLoading5.splice(this.ttaskDetailLoading5.indexOf(loading), 1)
|
|
|
+ _this.taskDetailLoading5.splice(_this.taskDetailLoading5.indexOf(loading), 1)
|
|
|
+ _this.ttaskDetailLoading5.splice(_this.ttaskDetailLoading5.indexOf(loading), 1)
|
|
|
_source.close();
|
|
|
};
|
|
|
},
|
|
@@ -21051,8 +21051,8 @@ ${(_this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || _this.templatei
|
|
|
// 处理错误,可以尝试重新连接
|
|
|
console.log('EventSource error:', event);
|
|
|
_this.$message.error("哎呀,请求太多了,服务器忙不过来了,请稍等再重试")
|
|
|
- _this.taskDetailLoading5.splice(this.taskDetailLoading5.indexOf(loading), 1)
|
|
|
- _this.ttaskDetailLoading5.splice(this.ttaskDetailLoading5.indexOf(loading), 1)
|
|
|
+ _this.taskDetailLoading5.splice(_this.taskDetailLoading5.indexOf(loading), 1)
|
|
|
+ _this.ttaskDetailLoading5.splice(_this.ttaskDetailLoading5.indexOf(loading), 1)
|
|
|
_source.close();
|
|
|
};
|
|
|
},
|