Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f3053e19
authored
Jul 20, 2021
by
panjiangyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
移动文件
parent
ea4b527c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
25 deletions
chat.vue
chat-list.vue → components/chat-list.vue
chat-room.vue → components/chat-room.vue
chat-title.vue → components/chat-title.vue
create-chat.vue → components/create-chat.vue
message-input.vue → components/message-input.vue
message-list.vue → components/message-list.vue
msg-shortcut.vue → components/msg-shortcut.vue
chat.vue
View file @
f3053e19
...
@@ -48,14 +48,14 @@ import { Component, Vue } from "vue-property-decorator";
...
@@ -48,14 +48,14 @@ import { Component, Vue } from "vue-property-decorator";
import
remarkList
from
"../components/common/remarkList.vue"
;
import
remarkList
from
"../components/common/remarkList.vue"
;
import
ChatRoom
from
"./chat-room.vue"
;
import
ChatTitle
from
"./chat-title.vue"
;
import
ChatMembers
from
"./components/chat-members.vue"
;
import
ChatMembers
from
"./components/chat-members.vue"
;
import
MessageList
from
"./message-list.vue"
;
import
ChatRoom
from
"./components/chat-room.vue"
;
import
MsgShortCut
from
"./msg-shortcut.vue"
;
import
ChatTitle
from
"./components/chat-title.vue"
;
import
MessageList
from
"./components/message-list.vue"
;
import
MsgShortCut
from
"./components/msg-shortcut.vue"
;
import
buttonThrottle
from
"./utils/button-throttle"
;
import
buttonThrottle
from
"./utils/button-throttle"
;
import
ChatCreator
from
"@/customer-service/create-chat.vue"
;
import
ChatCreator
from
"@/customer-service/c
omponents/c
reate-chat.vue"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
@
Component
({
@
Component
({
...
...
chat-list.vue
→
c
omponents/c
hat-list.vue
View file @
f3053e19
...
@@ -85,8 +85,8 @@
...
@@ -85,8 +85,8 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Ref
,
Vue
}
from
"vue-property-decorator"
;
import
{
Component
,
Prop
,
Ref
,
Vue
}
from
"vue-property-decorator"
;
import
buttonThrottle
from
"./utils/button-throttle"
;
import
buttonThrottle
from
".
.
/utils/button-throttle"
;
import
{
getChatModelInfo
}
from
"./utils/chat-info"
;
import
{
getChatModelInfo
}
from
".
.
/utils/chat-info"
;
import
avatar
from
"@/customer-service/components/avatar.vue"
;
import
avatar
from
"@/customer-service/components/avatar.vue"
;
import
{
chatStore
,
ChatStore
}
from
"@/customer-service/store/model"
;
import
{
chatStore
,
ChatStore
}
from
"@/customer-service/store/model"
;
...
...
chat-room.vue
→
c
omponents/c
hat-room.vue
View file @
f3053e19
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Provide
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
import
{
Component
,
Prop
,
Provide
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
import
MessageInput
from
"@/customer-service/message-input.vue"
;
import
MessageInput
from
"@/customer-service/
components/
message-input.vue"
;
import
messages
from
"@/customer-service/message-list.vue"
;
import
messages
from
"@/customer-service/
components/
message-list.vue"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
type
RoomInfoTab
=
"customer"
|
"order"
;
type
RoomInfoTab
=
"customer"
|
"order"
;
...
...
chat-title.vue
→
c
omponents/c
hat-title.vue
View file @
f3053e19
...
@@ -36,9 +36,9 @@
...
@@ -36,9 +36,9 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
import
buttonThrottle
from
"./utils/button-throttle"
;
import
buttonThrottle
from
".
.
/utils/button-throttle"
;
import
ChatCreator
from
"@/customer-service/create-chat.vue"
;
import
ChatCreator
from
"@/customer-service/c
omponents/c
reate-chat.vue"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
@
Component
({
components
:
{
ChatCreator
}
})
@
Component
({
components
:
{
ChatCreator
}
})
...
...
create-chat.vue
→
c
omponents/c
reate-chat.vue
View file @
f3053e19
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
import
{
ListEasy
,
ListTypes
}
from
"uniplat-sdk"
;
import
{
ListEasy
,
ListTypes
}
from
"uniplat-sdk"
;
import
{
Component
,
Prop
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
import
{
Component
,
Prop
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
import
buttonThrottle
from
"./utils/button-throttle"
;
import
buttonThrottle
from
".
.
/utils/button-throttle"
;
import
avatar
from
"@/customer-service/components/avatar.vue"
;
import
avatar
from
"@/customer-service/components/avatar.vue"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
...
...
message-input.vue
→
components/
message-input.vue
View file @
f3053e19
...
@@ -14,11 +14,11 @@ import { Component, Ref, Vue, Watch } from "vue-property-decorator";
...
@@ -14,11 +14,11 @@ import { Component, Ref, Vue, Watch } from "vue-property-decorator";
import
ChatInput
,
{
import
ChatInput
,
{
FILE_INFO_CLASS
,
FILE_INFO_CLASS
,
isImageOrFile
,
isImageOrFile
,
}
from
"./hybrid-input/index.vue"
;
}
from
".
.
/hybrid-input/index.vue"
;
import
{
Message
}
from
"./model"
;
import
{
Message
}
from
".
.
/model"
;
import
{
uploadFile
}
from
"./service/upload"
;
import
{
uploadFile
}
from
".
.
/service/upload"
;
import
{
ChatLoggerService
}
from
"./xim/logger"
;
import
{
ChatLoggerService
}
from
".
.
/xim/logger"
;
import
xim
from
"./xim/xim"
;
import
xim
from
".
.
/xim/xim"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
...
...
message-list.vue
→
components/
message-list.vue
View file @
f3053e19
...
@@ -39,12 +39,13 @@
...
@@ -39,12 +39,13 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Ref
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
import
{
Component
,
Prop
,
Ref
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
import
ImagePreview
from
"./components/image-preview.vue"
;
import
{
Message
}
from
"../model"
;
import
message
from
"./components/message.vue"
;
import
{
throttle
}
from
"../utils"
;
import
VideoPreview
from
"./components/video-preview.vue"
;
import
{
formatTime
}
from
"../utils/time"
;
import
{
Message
}
from
"./model"
;
import
{
throttle
}
from
"./utils"
;
import
ImagePreview
from
"./image-preview.vue"
;
import
{
formatTime
}
from
"./utils/time"
;
import
message
from
"./message.vue"
;
import
VideoPreview
from
"./video-preview.vue"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
import
{
ChatStore
,
chatStore
}
from
"@/customer-service/store/model"
;
...
...
msg-shortcut.vue
→
components/
msg-shortcut.vue
View file @
f3053e19
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
import
{
ChatStore
,
chatStore
}
from
"./store/model"
;
import
{
ChatStore
,
chatStore
}
from
".
.
/store/model"
;
import
buttonThrottle
from
"./utils/button-throttle"
;
import
buttonThrottle
from
".
.
/utils/button-throttle"
;
@
Component
({
components
:
{}
})
@
Component
({
components
:
{}
})
export
default
class
MsgShortCut
extends
Vue
{
export
default
class
MsgShortCut
extends
Vue
{
@
chatStore
.
Action
(
ChatStore
.
ACTION_SEND_MESSAGE
)
@
chatStore
.
Action
(
ChatStore
.
ACTION_SEND_MESSAGE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment