xbot
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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] : '',
|
||||||
|
|||||||
Reference in New Issue
Block a user