|
@@ -1430,6 +1430,7 @@
|
|
<div
|
|
<div
|
|
class="file"
|
|
class="file"
|
|
v-for="(file, index2) in scope.row.array[index].json.file"
|
|
v-for="(file, index2) in scope.row.array[index].json.file"
|
|
|
|
+ v-if="index2<3"
|
|
:key="index + '-' + index2"
|
|
:key="index + '-' + index2"
|
|
@click.stop="checkFile(file)"
|
|
@click.stop="checkFile(file)"
|
|
>
|
|
>
|
|
@@ -1479,6 +1480,11 @@
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="file_more" v-if="scope.row.array[index].json.file.length>3">
|
|
|
|
+ <el-tooltip class="item" effect="light" content="查看更多" placement="top-start">
|
|
|
|
+ <svg t="1753409620948" @click="checkFileListOpen(scope.row.array[index].json.file)" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4403" width="200" height="200"><path d="M134.26141867 386.08713955c-69.25213392 0-125.91286045 56.66072652-125.91286045 125.91286045s56.66072652 125.91286045 125.91286045 125.91286045S260.17427911 581.25213392 260.17427911 512s-56.66072652-125.91286045-125.91286044-125.91286045z m755.47716266 0c-69.25213392 0-125.91286045 56.66072652-125.91286044 125.91286045s56.66072652 125.91286045 125.91286044 125.91286045S1015.65144178 581.25213392 1015.65144178 512s-56.66072652-125.91286045-125.91286045-125.91286045z m-377.73858133 0c-69.25213392 0-125.91286045 56.66072652-125.91286045 125.91286045S442.74786608 637.91286045 512 637.91286045 637.91286045 581.25213392 637.91286045 512 581.25213392 386.08713955 512 386.08713955z" fill="#515151" p-id="4404"></path></svg>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
v-if="scope.row.array[index].type == 6"
|
|
v-if="scope.row.array[index].type == 6"
|
|
@@ -1987,6 +1993,7 @@
|
|
ref="docxTemplateDialogRef"
|
|
ref="docxTemplateDialogRef"
|
|
@changeCover="changeCover"
|
|
@changeCover="changeCover"
|
|
/>
|
|
/>
|
|
|
|
+ <checkFileListDialog ref="checkFileListDialogRef" @checkFile="checkFile" @downloadFile="downloadFile"/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -2015,6 +2022,9 @@ import { v4 as uuidv4 } from "uuid";
|
|
// word模板
|
|
// word模板
|
|
import docxTemplateDialog from "./docxTemplateDialog";
|
|
import docxTemplateDialog from "./docxTemplateDialog";
|
|
|
|
|
|
|
|
+//查看文件
|
|
|
|
+import checkFileListDialog from "./checkFileListDialog.vue";
|
|
|
|
+
|
|
const getFile = (url) => {
|
|
const getFile = (url) => {
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|
|
var credentials = {
|
|
var credentials = {
|
|
@@ -2071,6 +2081,7 @@ export default {
|
|
wordcloud,
|
|
wordcloud,
|
|
aiBoxRight,
|
|
aiBoxRight,
|
|
docxTemplateDialog,
|
|
docxTemplateDialog,
|
|
|
|
+ checkFileListDialog
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -2443,7 +2454,7 @@ export default {
|
|
// const result = userWork.filter(item => this.cueWord.fieldList.includes(item.tit));
|
|
// const result = userWork.filter(item => this.cueWord.fieldList.includes(item.tit));
|
|
|
|
|
|
let messages = `
|
|
let messages = `
|
|
-NOTICE
|
|
|
|
|
|
+NOTICE
|
|
Role: 你是一个高级数据处理师。
|
|
Role: 你是一个高级数据处理师。
|
|
- 深入理解各种数据处理标准,确保处理流程的准确性。
|
|
- 深入理解各种数据处理标准,确保处理流程的准确性。
|
|
- 熟练掌握数据结构知识,能快速解析“字段名称:具体内容”结构的文本。
|
|
- 熟练掌握数据结构知识,能快速解析“字段名称:具体内容”结构的文本。
|
|
@@ -2451,11 +2462,11 @@ Role: 你是一个高级数据处理师。
|
|
- 有丰富的数据处理经验,能应对多种类型的数据操作。
|
|
- 有丰富的数据处理经验,能应对多种类型的数据操作。
|
|
- 拥有精准的数据分析能力,准确得出处理结果。
|
|
- 拥有精准的数据分析能力,准确得出处理结果。
|
|
- 擅长根据不同评价标准进行数据评价,保证结果符合要求。
|
|
- 擅长根据不同评价标准进行数据评价,保证结果符合要求。
|
|
-- 能够高效地处理大量数据,保证工作的时效性。
|
|
|
|
|
|
+- 能够高效地处理大量数据,保证工作的时效性。
|
|
Language: ${this.getLang()}
|
|
Language: ${this.getLang()}
|
|
|
|
|
|
## 上下文
|
|
## 上下文
|
|
-在数据处理任务缺乏合适工具或人力时,如数据分析项目、数据审核任务场景下,存在多组特定结构的文本数据,需数据处理大师理解标准和内容,制定流程并处理数据,按要求输出结果。
|
|
|
|
|
|
+在数据处理任务缺乏合适工具或人力时,如数据分析项目、数据审核任务场景下,存在多组特定结构的文本数据,需数据处理大师理解标准和内容,制定流程并处理数据,按要求输出结果。
|
|
|
|
|
|
## 数据处理标准
|
|
## 数据处理标准
|
|
${this.cueWord.openCeCon}
|
|
${this.cueWord.openCeCon}
|
|
@@ -2473,7 +2484,7 @@ ${userWork}
|
|
|
|
|
|
## 任务
|
|
## 任务
|
|
1. 数据标准理解:详细了解{数据处理标准}(如准确性、完整性、一致性等要求)
|
|
1. 数据标准理解:详细了解{数据处理标准}(如准确性、完整性、一致性等要求)
|
|
-2. 数据内容理解: 阅读并理解{数据内容}包括多组“字段名称:具体内容”结构的文本数据。
|
|
|
|
|
|
+2. 数据内容理解: 阅读并理解{数据内容}包括多组“字段名称:具体内容”结构的文本数据。
|
|
3. 处理流程制定:根据所理解的{数据处理标准},制定详细的数据处理流程,包括数据分析(如统计分析、关联分析等)、数据评价(根据标准打分或分类等)等步骤。
|
|
3. 处理流程制定:根据所理解的{数据处理标准},制定详细的数据处理流程,包括数据分析(如统计分析、关联分析等)、数据评价(根据标准打分或分类等)等步骤。
|
|
4. 数据处理操作:按照制定的流程对数据进行分析、处理和评价等操作。
|
|
4. 数据处理操作:按照制定的流程对数据进行分析、处理和评价等操作。
|
|
5. 结果输出:仅输出按照用户要求处理后的结果,确保结果清晰、准确且易于理解。
|
|
5. 结果输出:仅输出按照用户要求处理后的结果,确保结果清晰、准确且易于理解。
|
|
@@ -2505,7 +2516,7 @@ ${userWork}
|
|
- 质量指标确定:根据处理标准确定数据质量评估指标。
|
|
- 质量指标确定:根据处理标准确定数据质量评估指标。
|
|
- 数据检查:按照指标对处理过程中的数据进行检查。
|
|
- 数据检查:按照指标对处理过程中的数据进行检查。
|
|
- 结果验证:依据评估结果验证最终输出的数据是否符合要求。
|
|
- 结果验证:依据评估结果验证最终输出的数据是否符合要求。
|
|
-
|
|
|
|
|
|
+
|
|
##响应
|
|
##响应
|
|
严格按照用户的需求进行输出,不要输出多余的内容
|
|
严格按照用户的需求进行输出,不要输出多余的内容
|
|
|
|
|
|
@@ -3137,6 +3148,7 @@ ${userWork}
|
|
console.log("==>",el2)
|
|
console.log("==>",el2)
|
|
if (topic.type == 1) {
|
|
if (topic.type == 1) {
|
|
let _answer = el2.array[i].json.answer2;
|
|
let _answer = el2.array[i].json.answer2;
|
|
|
|
+ if(!_answer)continue;
|
|
for (var k = 0; k < _answer.length; k++) {
|
|
for (var k = 0; k < _answer.length; k++) {
|
|
topic.array[_answer[k]].count++;
|
|
topic.array[_answer[k]].count++;
|
|
topic.count++;
|
|
topic.count++;
|
|
@@ -4494,6 +4506,10 @@ ${JSON.stringify(item.array)}
|
|
this.examineData = null;
|
|
this.examineData = null;
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ //查看文件列表
|
|
|
|
+ checkFileListOpen(list){
|
|
|
|
+ this.$refs.checkFileListDialogRef.open(list);
|
|
|
|
+ }
|
|
},
|
|
},
|
|
|
|
|
|
beforeDestroy() {
|
|
beforeDestroy() {
|
|
@@ -5119,7 +5135,7 @@ ${JSON.stringify(item.array)}
|
|
|
|
|
|
.table_file{
|
|
.table_file{
|
|
max-height: 250px;
|
|
max-height: 250px;
|
|
- overflow-y:scroll ;
|
|
|
|
|
|
+ overflow-x:hidden ;
|
|
}
|
|
}
|
|
|
|
|
|
.table_file > .file {
|
|
.table_file > .file {
|
|
@@ -5612,4 +5628,18 @@ ${JSON.stringify(item.array)}
|
|
padding: 4px;
|
|
padding: 4px;
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.file_more{
|
|
|
|
+ width:20px;
|
|
|
|
+ height:20px;
|
|
|
|
+ margin-left: 10px;
|
|
|
|
+ margin-top: auto;
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.file_more>svg{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height:100%;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|