|
@@ -24,7 +24,7 @@
|
|
|
<el-col :span="1"> </el-col>
|
|
|
<el-col :span="20" style="margin-top: 15px">
|
|
|
<div style="display: flex" class="xl_input">
|
|
|
- <el-date-picker
|
|
|
+ <!-- <el-date-picker
|
|
|
v-model="value1"
|
|
|
type="daterange"
|
|
|
range-separator="至"
|
|
@@ -33,7 +33,7 @@
|
|
|
@change="timeChange"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
-
|
|
|
+ -->
|
|
|
<el-input
|
|
|
placeholder="请输入用户姓名"
|
|
|
v-model="nameSearch"
|
|
@@ -113,12 +113,12 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="identifier" align="center" label="编号">
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
prop="createTime"
|
|
|
align="center"
|
|
|
label="测试时间"
|
|
|
:formatter="dateForMa"
|
|
|
- ></el-table-column>
|
|
|
+ ></el-table-column> -->
|
|
|
<!-- <el-table-column prop="profession" label="职业"></el-table-column> -->
|
|
|
<el-table-column label="操作" align="center">
|
|
|
<template slot-scope="scope">
|
|
@@ -196,7 +196,7 @@ export default {
|
|
|
//获取数组集合
|
|
|
let idArr = [];
|
|
|
for (let i = 0; i < this.multipleSelection.length; i++) {
|
|
|
- idArr.push(this.multipleSelection[i].id);
|
|
|
+ idArr.push(this.multipleSelection[i].identifier);
|
|
|
}
|
|
|
this.batchDownloadOriginal(val, value, idArr);
|
|
|
},
|
|
@@ -205,7 +205,7 @@ export default {
|
|
|
let that = this;
|
|
|
let arr = [];
|
|
|
//原始数据批量下载路径
|
|
|
- let path = `chat/chatRecord/AllDownload?identifier=${that.nameSearch}&beginDate=${that.startDate}&endDate=${that.endDate}`;
|
|
|
+ let path = `intelligent/dialogueRecord/AllDownload?identifier=${that.nameSearch}`;
|
|
|
// let path = `record/download`;
|
|
|
let baseUrl = sessionStorage.getItem("baseUrl");
|
|
|
//window.location.href = `${baseUrl}${path}?ids=${arr}`;
|
|
@@ -237,7 +237,7 @@ export default {
|
|
|
//原始数据批量下载路径
|
|
|
let path = `v1/record/download/source`;
|
|
|
if (val === 2) {
|
|
|
- path = `chat/chatRecord/batchDownload`;
|
|
|
+ path = `intelligent/dialogueRecord/batchDownload`;
|
|
|
}
|
|
|
if ((val === 1 && value === 1) || (val === 2 && value === 1)) {
|
|
|
arr = idArr;
|
|
@@ -250,15 +250,15 @@ export default {
|
|
|
let a =arr.join();
|
|
|
axios({
|
|
|
method: "get",
|
|
|
- url: `${baseUrl}${path}?ids=${a}`,
|
|
|
+ url: `${baseUrl}${path}?identifiers=${a}`,
|
|
|
timeout: 600000, // 请求超时时间,数据量多后台响应慢的情况可以调大点,没生效的话可能是vue.config.js里的配置影响了
|
|
|
responseType: "blob", // 返回类型为数据流
|
|
|
data: {
|
|
|
- ids: arr,
|
|
|
- flag: that.flag,
|
|
|
- startDate: that.startDate,
|
|
|
- endDate: that.endDate,
|
|
|
- userName: that.nameSearch,
|
|
|
+ // identifiers: arr,
|
|
|
+ // flag: that.flag,
|
|
|
+ // startDate: that.startDate,
|
|
|
+ // endDate: that.endDate,
|
|
|
+ // userName: that.nameSearch,
|
|
|
}, // 需要传参的话,在这传
|
|
|
}).then((res) => {
|
|
|
if (res && res.data) {
|
|
@@ -304,7 +304,7 @@ export default {
|
|
|
queryEle() {
|
|
|
let that = this;
|
|
|
that.$http.get(
|
|
|
- `/chat/chat/list?identifier=${that.nameSearch}&beginDate=${that.startDate}&endDate=${that.endDate}&pageNum=${that.pageNum}&pageSize=${that.pageSize}`,
|
|
|
+ `/intelligent/dialogueList?identifier=${that.nameSearch}&pageNum=${that.pageNum}&pageSize=${that.pageSize}`,
|
|
|
{
|
|
|
// pageNum: that.pageNum,
|
|
|
// pageSize: that.pageSize,
|
|
@@ -335,7 +335,7 @@ export default {
|
|
|
},
|
|
|
singleDownload(index, row) {
|
|
|
let baseUrl = sessionStorage.getItem("baseUrl");
|
|
|
- let path = `/chat/chatRecord/download?id=${row.id}`;
|
|
|
+ let path = `/intelligent/dialogueRecord/download?identifier=${row.identifier}`;
|
|
|
// let arr = [row.id];
|
|
|
axios({
|
|
|
method: "get",
|