|
@@ -4260,7 +4260,48 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
</div> -->
|
|
-
|
|
|
|
|
|
+ <div class="tool" :class="{
|
|
|
|
+ isToolChoose:
|
|
|
|
+ itemTool.tool.indexOf(72) != -1,
|
|
|
|
+ }" @click="
|
|
|
|
+ addTools(72, itemTaskIndex, toolIndex)
|
|
|
|
+ ">
|
|
|
|
+ <div class="whiteBIcon" @click.stop="
|
|
|
|
+ openTools(itemTaskIndex, 72, toolIndex)
|
|
|
|
+ ">
|
|
|
|
+ <img
|
|
|
|
+ style="object-fit: cover;height: 60px;"
|
|
|
|
+
|
|
|
|
+ :src="unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson ?
|
|
|
|
+ unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson.json.icon :
|
|
|
|
+ require('../../../assets/icon/firstToolList/appStore.png')"
|
|
|
|
+ alt />
|
|
|
|
+
|
|
|
|
+ <div style="margin: 5px 0" >
|
|
|
|
+ <div
|
|
|
|
+ v-if="unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson"
|
|
|
|
+ >
|
|
|
|
+ <el-tooltip class="item" effect="dark"
|
|
|
|
+ :content="unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson.name"
|
|
|
|
+ placement="top">
|
|
|
|
+ <div class="Ovh">
|
|
|
|
+ {{unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson.name}}
|
|
|
|
+ </div>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <span v-else>
|
|
|
|
+ 应用中心
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="noCTool">
|
|
|
|
+ <img src="../../../assets/icon/new/isToolC.png" alt="" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="isCTool" v-if="itemTool.tool.indexOf(72) != -1">
|
|
|
|
+ <img src="../../../assets/icon/new/isToolC.png" alt="" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="toolSort" v-if="itemTool.toolType == 1">
|
|
<div class="toolSort" v-if="itemTool.toolType == 1">
|
|
<div class="tool" :class="{
|
|
<div class="tool" :class="{
|
|
@@ -4940,48 +4981,6 @@
|
|
<img src="../../../assets/icon/new/isToolC.png" alt="" />
|
|
<img src="../../../assets/icon/new/isToolC.png" alt="" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="tool" :class="{
|
|
|
|
- isToolChoose:
|
|
|
|
- itemTool.tool.indexOf(72) != -1,
|
|
|
|
- }" @click="
|
|
|
|
- addTools(72, itemTaskIndex, toolIndex)
|
|
|
|
- ">
|
|
|
|
- <div class="whiteBIcon" @click.stop="
|
|
|
|
- openTools(itemTaskIndex, 72, toolIndex)
|
|
|
|
- ">
|
|
|
|
- <img
|
|
|
|
- style="object-fit: cover;height: 60px;"
|
|
|
|
-
|
|
|
|
- :src="unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson ?
|
|
|
|
- unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson.json.icon :
|
|
|
|
- require('../../../assets/icon/firstToolList/appStore.png')"
|
|
|
|
- alt />
|
|
|
|
-
|
|
|
|
- <div style="margin: 5px 0" >
|
|
|
|
- <div
|
|
|
|
- v-if="unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson"
|
|
|
|
- >
|
|
|
|
- <el-tooltip class="item" effect="dark"
|
|
|
|
- :content="unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson.name"
|
|
|
|
- placement="top">
|
|
|
|
- <div class="Ovh">
|
|
|
|
- {{unitJson[unitIndex].chapterInfo[0].taskJson[itemTaskIndex].toolChoose[toolIndex].appJson.name}}
|
|
|
|
- </div>
|
|
|
|
- </el-tooltip>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <span v-else>
|
|
|
|
- 应用中心
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="noCTool">
|
|
|
|
- <img src="../../../assets/icon/new/isToolC.png" alt="" />
|
|
|
|
- </div>
|
|
|
|
- <div class="isCTool" v-if="itemTool.tool.indexOf(72) != -1">
|
|
|
|
- <img src="../../../assets/icon/new/isToolC.png" alt="" />
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="toolSort" v-if="itemTool.toolType == 7">
|
|
<div class="toolSort" v-if="itemTool.toolType == 7">
|
|
<div class="tool" :class="{
|
|
<div class="tool" :class="{
|
|
@@ -8125,7 +8124,7 @@ export default {
|
|
knowInfoData3: [],
|
|
knowInfoData3: [],
|
|
knowFileids3: [],
|
|
knowFileids3: [],
|
|
pjTemplateArray: [ 'cf5722a4-401b-11ef-b873-005056b86cp5', '68629cfb-e719-48e9-a03d-56f189fb9cb0' ],
|
|
pjTemplateArray: [ 'cf5722a4-401b-11ef-b873-005056b86cp5', '68629cfb-e719-48e9-a03d-56f189fb9cb0' ],
|
|
- pjIndex: [52, 48, 1, 3, 16, 45, 47, 41],
|
|
|
|
|
|
+ pjIndex: [52, 48, 1, 3, 16, 45, 47, 41, 72],
|
|
taskAnLoading: [],
|
|
taskAnLoading: [],
|
|
taskAnCancelToken: [],
|
|
taskAnCancelToken: [],
|
|
dialogTemplateArray: [ 'cf5722a4-401b-11ef-b873-005056b86cd2', '68629cfb-e719-48e9-a03d-56f189fb9cb0' ],
|
|
dialogTemplateArray: [ 'cf5722a4-401b-11ef-b873-005056b86cd2', '68629cfb-e719-48e9-a03d-56f189fb9cb0' ],
|
|
@@ -23348,7 +23347,8 @@ ${_this.aiCallBack.taskDetail}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ let tool = _this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].tool[0]
|
|
|
|
+ let appJson = _this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].appJson
|
|
// **重点考虑该任务及工具名和工具内容的情况下*
|
|
// **重点考虑该任务及工具名和工具内容的情况下*
|
|
let messages = `NOTICE
|
|
let messages = `NOTICE
|
|
Role: 你是一名老师,可以给与学生的指示,对应到学生活动,你应该用友好,但是又清晰明确的口吻来撰写,内容不要以markdown形式出现,只需要口语化的形式。
|
|
Role: 你是一名老师,可以给与学生的指示,对应到学生活动,你应该用友好,但是又清晰明确的口吻来撰写,内容不要以markdown形式出现,只需要口语化的形式。
|
|
@@ -23362,6 +23362,8 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
任务描述:${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].taskDetail}
|
|
任务描述:${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].taskDetail}
|
|
工具名称:${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].tool[0] ? _this.toolsData[_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].tool[0]].name : '无'}
|
|
工具名称:${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].tool[0] ? _this.toolsData[_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].tool[0]].name : '无'}
|
|
工具内容:${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].toolDetail}
|
|
工具内容:${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].toolChoose[_tindex3].toolDetail}
|
|
|
|
+${tool == 72 && appJson && appJson.name && `应用名称:${appJson.name}`}
|
|
|
|
+${tool == 72 && appJson && appJson.detail && `应用描述:${appJson.detail}`}
|
|
|
|
|
|
## 要求
|
|
## 要求
|
|
${msg} 输出格式和内容要求参考#格式与要求
|
|
${msg} 输出格式和内容要求参考#格式与要求
|