Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 f2baa9db
authored
Mar 05, 2021
by
qiyeqing
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
会话图片和视频处理
1 parent
6b938ed5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
12 deletions
linkwe-ui/.env.development
linkwe-ui/.env.production
linkwe-ui/package.json
linkwe-ui/src/main.js
linkwe-ui/src/views/conversation/component/chat.vue
linkwe-ui/src/views/conversation/page/employeeTest.vue
linkwe-ui/.env.development
View file @
f2baa9d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
ENV = 'development'
ENV = 'development'
# 仟微管理系统/开发环境
# 仟微管理系统/开发环境
VUE_APP_BASE_API =
'http://146.56.222.200/api
'
VUE_APP_BASE_API =
'http://119.45.28.29:8090
'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# 开发环境IP
# 开发环境IP
...
...
linkwe-ui/.env.production
View file @
f2baa9d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
ENV = 'production'
ENV = 'production'
# 仟微管理系统/生产环境api
# 仟微管理系统/生产环境api
VUE_APP_BASE_API = 'http://1
46.56.222.20
0'
VUE_APP_BASE_API = 'http://1
19.45.28.29:809
0'
# 生产环境IP
# 生产环境IP
VUE_APP_BASE_URL = 'http://119.45.28.29:8090'
VUE_APP_BASE_URL = 'http://119.45.28.29:8090'
linkwe-ui/package.json
View file @
f2baa9d
...
@@ -58,10 +58,11 @@
...
@@ -58,10 +58,11 @@
"promise.prototype.finally"
:
"^3.1.2"
,
"promise.prototype.finally"
:
"^3.1.2"
,
"screenfull"
:
"4.2.0"
,
"screenfull"
:
"4.2.0"
,
"sortablejs"
:
"1.8.4"
,
"sortablejs"
:
"1.8.4"
,
"uuid"
:
"^8.3.2"
,
"tui-color-picker"
:
"^2.2.6"
,
"tui-color-picker"
:
"^2.2.6"
,
"tui-image-editor"
:
"^3.11.0"
,
"tui-image-editor"
:
"^3.11.0"
,
"video.js"
:
"^7.10.2"
,
"uuid"
:
"^8.3.2"
,
"video.js"
:
"^7.11.4"
,
"videojs-contrib-hls"
:
"^5.15.0"
,
"vue"
:
"2.6.10"
,
"vue"
:
"2.6.10"
,
"vue-count-to"
:
"1.0.13"
,
"vue-count-to"
:
"1.0.13"
,
"vue-cropper"
:
"0.4.9"
,
"vue-cropper"
:
"0.4.9"
,
...
@@ -69,6 +70,7 @@
...
@@ -69,6 +70,7 @@
"vue-router"
:
"3.0.2"
,
"vue-router"
:
"3.0.2"
,
"vue-splitpane"
:
"1.0.4"
,
"vue-splitpane"
:
"1.0.4"
,
"vue-ueditor-wrap"
:
"^2.4.4"
,
"vue-ueditor-wrap"
:
"^2.4.4"
,
"vue-video-player"
:
"^5.0.2"
,
"vuedraggable"
:
"2.20.0"
,
"vuedraggable"
:
"2.20.0"
,
"vuex"
:
"3.1.0"
"vuex"
:
"3.1.0"
},
},
...
...
linkwe-ui/src/main.js
View file @
f2baa9d
...
@@ -66,7 +66,8 @@ Vue.prototype.msgInfo = function(msg) {
...
@@ -66,7 +66,8 @@ Vue.prototype.msgInfo = function(msg) {
import
{
pickerOptions
}
from
'@/utils/index'
import
{
pickerOptions
}
from
'@/utils/index'
Vue
.
prototype
.
pickerOptions
=
pickerOptions
Vue
.
prototype
.
pickerOptions
=
pickerOptions
import
VideoPlayer
from
'vue-video-player'
Vue
.
use
(
VideoPlayer
);
// 全局组件挂载
// 全局组件挂载
Vue
.
component
(
'Pagination'
,
Pagination
)
Vue
.
component
(
'Pagination'
,
Pagination
)
Vue
.
component
(
'RightToolbar'
,
RightToolbar
)
Vue
.
component
(
'RightToolbar'
,
RightToolbar
)
...
...
linkwe-ui/src/views/conversation/component/chat.vue
View file @
f2baa9d
This diff is collapsed.
Click to expand it.
linkwe-ui/src/views/conversation/page/employeeTest.vue
View file @
f2baa9d
...
@@ -319,7 +319,7 @@
...
@@ -319,7 +319,7 @@
return
data
.
name
.
indexOf
(
value
)
!==
-
1
;
return
data
.
name
.
indexOf
(
value
)
!==
-
1
;
},
},
handleNodeClick
(
data
,
add
)
{
handleNodeClick
(
data
,
add
)
{
if
(
!
data
.
gender
)
{
if
(
!
data
.
userId
)
{
let
querys
=
{
let
querys
=
{
pageNum
:
'1'
,
pageNum
:
'1'
,
pageSize
:
'999'
,
pageSize
:
'999'
,
...
@@ -328,15 +328,9 @@
...
@@ -328,15 +328,9 @@
api
.
getList
(
querys
).
then
(({
api
.
getList
(
querys
).
then
(({
rows
rows
})
=>
{
})
=>
{
if
(
add
==
true
)
{
console
.
log
(
this
.
treeData
,
data
,
rows
)
this
.
treeData
[
0
].
children
=
data
.
children
.
concat
(
rows
)
return
}
else
{
const
newChild
=
rows
;
const
newChild
=
rows
;
this
.
$set
(
data
,
'children'
,
[]);
this
.
$set
(
data
,
'children'
,
[]);
data
.
children
=
rows
data
.
children
=
rows
}
})
})
}
else
{
}
else
{
this
.
talkName
=
data
.
name
;
this
.
talkName
=
data
.
name
;
...
...
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