Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit adf1730c
authored
May 25, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.11.0' of
http://192.168.3.233:8090/saas/scrm-micro-home
into v3.11.0
2 parents
88ddcf42
3be691e6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
src/views/home/components/Marketing/ChatGPT.vue
src/views/home/components/Marketing/MarketingLeft.vue
src/views/home/components/Marketing/components/ScheduleCalendar/index.vue
src/views/home/components/Marketing/ChatGPT.vue
View file @
adf1730
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"error-tips flex-center"
v-if=
"item.type == 'error'"
>
<div
class=
"error-tips flex-center"
v-if=
"item.type == 'error'"
>
<i
class=
"el-icon-error"
></i>
<i
class=
"el-icon-error"
></i>
<span>
{{
item
.
content
}}
</span>
<span>
{{
item
.
content
}}
</span>
<
i
class=
"el-icon-close"
></i
>
<
!--
<i
class=
"el-icon-close"
></i>
--
>
</div>
</div>
<template
v-else
>
<template
v-else
>
<div
:class=
"['chat-item', item.type == 'answer' ? 'is-left' : 'is-right']"
>
<div
:class=
"['chat-item', item.type == 'answer' ? 'is-left' : 'is-right']"
>
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
...
mapState
(
'marketing'
,
[
'calendarDataAll'
])
...
mapState
(
'marketing'
,
[
'calendarDataAll'
,
'activityInfo'
])
},
},
watch
:
{
watch
:
{
chatItem
()
{
chatItem
()
{
...
@@ -95,6 +95,9 @@ export default {
...
@@ -95,6 +95,9 @@ export default {
const
height
=
this
.
$refs
.
chatBRef
.
offsetHeight
-
chatRef
.
offsetHeight
+
40
const
height
=
this
.
$refs
.
chatBRef
.
offsetHeight
-
chatRef
.
offsetHeight
+
40
chatRef
.
scrollTop
=
height
//滚动到最底部
chatRef
.
scrollTop
=
height
//滚动到最底部
})
})
},
activityInfo
()
{
this
.
chatItem
=
[]
}
}
},
},
methods
:
{
methods
:
{
...
...
src/views/home/components/Marketing/MarketingLeft.vue
View file @
adf1730
src/views/home/components/Marketing/components/ScheduleCalendar/index.vue
View file @
adf1730
...
@@ -39,6 +39,7 @@ export default {
...
@@ -39,6 +39,7 @@ export default {
currentDate
:
''
,
currentDate
:
''
,
options
:
{
options
:
{
defaultView
:
'month'
,
defaultView
:
'month'
,
isReadOnly
:
true
,
month
:
{
month
:
{
dayNames
:
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
]
dayNames
:
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
]
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment