会话存档

This commit is contained in:
liuye
2023-06-20 09:50:18 +08:00
parent 852fa0346f
commit a7e4c4528b
4 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
<template>
<section class="AppKeywordManagement">
<template slot="title">
<ai-title title="关键词管理" isShowBottomBorder></ai-title>
</template>
<ai-list>
<template #content>
<ai-search-bar>

View File

@@ -1,5 +1,8 @@
<template>
<section class="list">
<template slot="title">
<ai-title title="敏感词触发" isShowBottomBorder></ai-title>
</template>
<ai-list>
<template #content>
<ai-search-bar>

View File

@@ -86,7 +86,7 @@
<ai-file-list v-if="item.msgType == 'file'"
:fileList="item.files"
:fileOps="{ name: 'name', size: 'fileSizeStr' }"
:fileOps="{ name: 'fileName', size: 'fileSizeStr' }"
></ai-file-list>
<div class="revoke-text" v-if="item.msgType == 'revoke'">{{item.userName}}{{item.msgSendTime.substring(0, 16)}}撤回了一条消息</div>
@@ -278,7 +278,7 @@
if (res.code === 0) {
res.data.records.map((item, index) => {
if(item.msgType == 'file') {
item.files = [{url: item.sdkFileUrl, accessUrl: item.sdkFileUrl, name: item.sdkFileName, fileSizeStr: item.fileSizeStr}]
item.files = [{url: item.sdkFileUrl, accessUrl: item.sdkFileUrl, fileName: item.sdkFileName, fileSizeStr: item.fileSizeStr}]
}
if(item.msgType == 'location') {
this.initMap(item.lng, item.lat, item.zoom, index)

View File

@@ -8,7 +8,7 @@
<div class="addressBook-left__title">
<h2 @click="tabIndex = 0, search.current = 1, getList()" :class="[tabIndex === 0 ? 'tab-active' : '']">
组织架构</h2>
<h2 @click="tabIndex = 1, search.current = 1, getList()" :class="[tabIndex === 1 ? 'tab-active' : '']">行政区划</h2>
<!-- <h2 @click="tabIndex = 1, search.current = 1, getList()" :class="[tabIndex === 1 ? 'tab-active' : '']">行政区划</h2> -->
</div>
<div class="addressBook-left__list--title" v-if="tabIndex === 0">
<el-input