|
@@ -178,6 +178,7 @@ import currencyAnalysis from "./currencyAnalysis.vue"; //通用课堂分析
|
|
|
import scienceAnalysis from "./scienceAnalysis.vue"; //科学课堂分析
|
|
|
import extendAnalysis from "./extendAnalysis.vue"; //扩展分析
|
|
|
import analysis from "./analysis.vue";
|
|
|
+
|
|
|
export default {
|
|
|
components: {
|
|
|
baseMessage,
|
|
@@ -1029,6 +1030,25 @@ BSCS 5E教学模型是一种广泛应用于科学教育的教学策略,它鼓
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ getFileId() {
|
|
|
+ let pram = {
|
|
|
+ tid: this.tid,
|
|
|
+ type: "10",
|
|
|
+ };
|
|
|
+ this.ajax
|
|
|
+ .post("https://gpt4.cocorobo.cn/get_classroom_observation_new", pram)
|
|
|
+ .then((res) => {
|
|
|
+ let _data = res.data.FunctionResponse.result.length
|
|
|
+ ? JSON.parse(res.data.FunctionResponse.result)
|
|
|
+ : [];
|
|
|
+ this.$emit('updateFileIdid', _data[0].id)
|
|
|
+ if(_data[0].jsonData !='' ){
|
|
|
+ this.$emit("updateFileId", JSON.parse(_data[0].jsonData).file_ids)
|
|
|
+ }else {
|
|
|
+ this.$emit("updateFileId", '')
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
getCurrencyAndBaseMessageData() {
|
|
|
let pram = {
|
|
|
tid: this.tid,
|
|
@@ -1122,9 +1142,10 @@ BSCS 5E教学模型是一种广泛应用于科学教育的教学策略,它鼓
|
|
|
this.getCurrencyAndBaseMessageData();
|
|
|
this.getScienceData();
|
|
|
this.getExtendData();
|
|
|
+ this.getFileId();
|
|
|
},
|
|
|
saveData(fn) {
|
|
|
- return;
|
|
|
+ // return;
|
|
|
let saveDataList = [];
|
|
|
|
|
|
// 保存基础信息
|