mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-12-12 05:37:05 +08:00
* add document action * order processing structure * add document action * order processing structure * correcting errors when Process Order * correcting initial load error * update document action before processing * refres action document * add Markdown of chat * Solve all chat problems * Duplicate Record Error * Library of MArkDown Co-authored-by: Yamel Senih <ysenih@erpya.com>
50 lines
1.4 KiB
Vue
50 lines
1.4 KiB
Vue
<template>
|
|
<div>
|
|
<el-card
|
|
v-if="isNote"
|
|
class="box-card"
|
|
>
|
|
<div slot="header" class="clearfix">
|
|
<span>{{ $t('window.containerInfo.notes') }}</span>
|
|
</div>
|
|
<el-scrollbar wrap-class="scroll-window-log-chat">
|
|
<el-timeline>
|
|
<el-timeline-item
|
|
v-for="(chats, key) in gettersLischat"
|
|
:key="key"
|
|
:timestamp="translateDate(chats.logDate)"
|
|
placement="top"
|
|
>
|
|
<!-- <field-text-long /> -->
|
|
<el-card shadow="hover">
|
|
<div>
|
|
<div v-markdown="chats.characterData" />
|
|
</div>
|
|
</el-card>
|
|
</el-timeline-item>
|
|
</el-timeline>
|
|
</el-scrollbar>
|
|
</el-card>
|
|
<el-card class="box-card">
|
|
<div slot="header" class="clearfix">
|
|
{{ $t('window.containerInfo.logWorkflow.addNote') }}
|
|
</div>
|
|
<chat-text-long
|
|
v-model="chatNote"
|
|
/>
|
|
<el-button icon="el-icon-success" style="background: #008fd3; float: right" type="primary" circle @click="sendComment(chatNote)" />
|
|
</el-card>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { MixinInfo } from '@/components/ADempiere/ContainerInfo/mixinInfo'
|
|
import chatTextLong from '@/components/ADempiere/Field/chatTextLong'
|
|
export default {
|
|
name: 'ChatEntries',
|
|
components: {
|
|
chatTextLong
|
|
},
|
|
mixins: [MixinInfo]
|
|
}
|
|
</script>
|