Commit f2baa9db by qiyeqing

会话图片和视频处理

1 parent 6b938ed5
......@@ -2,7 +2,7 @@
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'
# 开发环境IP
......
......@@ -2,7 +2,7 @@
ENV = 'production'
# 仟微管理系统/生产环境api
VUE_APP_BASE_API = 'http://146.56.222.200'
VUE_APP_BASE_API = 'http://119.45.28.29:8090'
# 生产环境IP
VUE_APP_BASE_URL = 'http://119.45.28.29:8090'
......@@ -58,10 +58,11 @@
"promise.prototype.finally": "^3.1.2",
"screenfull": "4.2.0",
"sortablejs": "1.8.4",
"uuid": "^8.3.2",
"tui-color-picker": "^2.2.6",
"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-count-to": "1.0.13",
"vue-cropper": "0.4.9",
......@@ -69,6 +70,7 @@
"vue-router": "3.0.2",
"vue-splitpane": "1.0.4",
"vue-ueditor-wrap": "^2.4.4",
"vue-video-player": "^5.0.2",
"vuedraggable": "2.20.0",
"vuex": "3.1.0"
},
......
......@@ -66,7 +66,8 @@ Vue.prototype.msgInfo = function(msg) {
import { pickerOptions } from '@/utils/index'
Vue.prototype.pickerOptions = pickerOptions
import VideoPlayer from 'vue-video-player'
Vue.use(VideoPlayer);
// 全局组件挂载
Vue.component('Pagination', Pagination)
Vue.component('RightToolbar', RightToolbar)
......
......@@ -319,7 +319,7 @@
return data.name.indexOf(value) !== -1;
},
handleNodeClick(data, add) {
if (!data.gender) {
if (!data.userId) {
let querys = {
pageNum: '1',
pageSize: '999',
......@@ -328,15 +328,9 @@
api.getList(querys).then(({
rows
}) => {
if (add == true) {
console.log(this.treeData, data, rows)
this.treeData[0].children = data.children.concat(rows)
return
} else {
const newChild = rows;
this.$set(data, 'children', []);
data.children = rows
}
})
} else {
this.talkName = data.name;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!