This commit is contained in:
liuye
2023-08-22 16:53:05 +08:00
parent 2fec49ad6d
commit a380648a12
4 changed files with 10 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
<template> <template>
<div class="conversationDetail"> <div class="conversationDetail">
<AiTopFixed> <AiTopFixed>
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#ffffff" <!-- <u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#ffffff"
inactive-color="#666666" :bar-style="barStyle" :active-item-style="activeStyle" active-color="#3975C6 " @change="change"> inactive-color="#666666" :bar-style="barStyle" :active-item-style="activeStyle" active-color="#3975C6 " @change="change">
</u-tabs> </u-tabs> -->
<div class="top-search"> <div class="top-search">
<div class="left" @click="isShowDate=true"> <div class="left" @click="isShowDate=true">
<div class="color-999" v-if="!dateList.length">开始时间-结束时间</div> <div class="color-999" v-if="!dateList.length">开始时间-结束时间</div>
@@ -236,7 +236,7 @@ export default {
this.preveHeight = res.height this.preveHeight = res.height
}).exec(); }).exec();
} }
this.$http.post(`/app/appsessionarchiveinfo/list`, null, { this.$http.post(`/app/appsessionarchiveinfo/listForXbot`, null, {
params: { params: {
current: this.current, current: this.current,
size: 10, size: 10,

View File

@@ -1,9 +1,9 @@
<template> <template>
<div class="conversation-list"> <div class="conversation-list">
<AiTopFixed> <AiTopFixed>
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" <!-- <u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6"
inactive-color="#A1C1E8" :bar-style="barStyle" :active-item-style="activeStyle" active-color="#ffffff " @change="change"> inactive-color="#A1C1E8" :bar-style="barStyle" :active-item-style="activeStyle" active-color="#ffffff " @change="change">
</u-tabs> </u-tabs> -->
<div class="top-search"> <div class="top-search">
<div class="left"> <div class="left">
<AiPagePicker type="dept" :selected.sync="deptUserList" nodeKey="id" single @select="deptSelect"> <AiPagePicker type="dept" :selected.sync="deptUserList" nodeKey="id" single @select="deptSelect">
@@ -103,7 +103,7 @@ export default {
this.getList() this.getList()
}, },
onShow() { onShow() {
document.title = '会话存档' document.title = '群聊会话'
}, },
methods: { methods: {
clearDept() { clearDept() {
@@ -131,7 +131,7 @@ export default {
}, },
getList() { getList() {
if(this.current > this.pages) return if(this.current > this.pages) return
this.$http.post(`/app/appsessionarchiveindex/list`, null, { this.$http.post(`/app/appsessionarchiveindex/listForXbot`, null, {
params: { params: {
current: this.current, current: this.current,
size: 15, size: 15,

View File

@@ -91,7 +91,7 @@ export default {
}) })
}, },
toConversationRecord(row) { toConversationRecord(row) {
uni.navigateTo({url: `./conversationRecord?userId=${row.userId}&toUserId=${row.toUserId}&toName=${row.toName}&type=${row.type}&seq=${row.seq}&msgId=${row.msgId}`}) uni.navigateTo({url: `./conversationRecord?userId=${row.userId}&roomId=${row.roomId}&toName=${row.toName}&type=${row.type}&seq=${row.seq}&msgId=${row.msgId}`})
}, },
deptSelect(e) { deptSelect(e) {
this.deptUserList = e this.deptUserList = e

View File

@@ -184,13 +184,12 @@ export default {
this.getListInit() this.getListInit()
}, },
getKeywordList() { getKeywordList() {
this.$http.post(`/app/appsessionarchiveinfo/listByKeywordRecord`, null, { this.$http.post(`/app/appsessionarchiveinfo/listForXbot`, null, {
params: { params: {
userId: this.id, userId: this.id,
size: 10, size: 10,
// msgType: this.msgTypeList[this.msgType].value, // msgType: this.msgTypeList[this.msgType].value,
toUserId: this.params.type == 1 ? '' : this.params.toUserId, roomId: this.params.roomId,
roomId: this.params.type == 1 ? this.params.roomId : '',
type: this.params.type, type: this.params.type,
content: this.keyword, content: this.keyword,
startTime: this.time ? this.time[0] : '', startTime: this.time ? this.time[0] : '',