xbot
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="conversationDetail">
|
||||
<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">
|
||||
</u-tabs>
|
||||
</u-tabs> -->
|
||||
<div class="top-search">
|
||||
<div class="left" @click="isShowDate=true">
|
||||
<div class="color-999" v-if="!dateList.length">开始时间-结束时间</div>
|
||||
@@ -236,7 +236,7 @@ export default {
|
||||
this.preveHeight = res.height
|
||||
}).exec();
|
||||
}
|
||||
this.$http.post(`/app/appsessionarchiveinfo/list`, null, {
|
||||
this.$http.post(`/app/appsessionarchiveinfo/listForXbot`, null, {
|
||||
params: {
|
||||
current: this.current,
|
||||
size: 10,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="conversation-list">
|
||||
<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">
|
||||
</u-tabs>
|
||||
</u-tabs> -->
|
||||
<div class="top-search">
|
||||
<div class="left">
|
||||
<AiPagePicker type="dept" :selected.sync="deptUserList" nodeKey="id" single @select="deptSelect">
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
onShow() {
|
||||
document.title = '会话存档'
|
||||
document.title = '群聊会话'
|
||||
},
|
||||
methods: {
|
||||
clearDept() {
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
},
|
||||
getList() {
|
||||
if(this.current > this.pages) return
|
||||
this.$http.post(`/app/appsessionarchiveindex/list`, null, {
|
||||
this.$http.post(`/app/appsessionarchiveindex/listForXbot`, null, {
|
||||
params: {
|
||||
current: this.current,
|
||||
size: 15,
|
||||
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
})
|
||||
},
|
||||
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) {
|
||||
this.deptUserList = e
|
||||
|
||||
@@ -184,13 +184,12 @@ export default {
|
||||
this.getListInit()
|
||||
},
|
||||
getKeywordList() {
|
||||
this.$http.post(`/app/appsessionarchiveinfo/listByKeywordRecord`, null, {
|
||||
this.$http.post(`/app/appsessionarchiveinfo/listForXbot`, null, {
|
||||
params: {
|
||||
userId: this.id,
|
||||
size: 10,
|
||||
// msgType: this.msgTypeList[this.msgType].value,
|
||||
toUserId: this.params.type == 1 ? '' : this.params.toUserId,
|
||||
roomId: this.params.type == 1 ? this.params.roomId : '',
|
||||
roomId: this.params.roomId,
|
||||
type: this.params.type,
|
||||
content: this.keyword,
|
||||
startTime: this.time ? this.time[0] : '',
|
||||
|
||||
Reference in New Issue
Block a user