Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
pica-admin-consultation-new
pica-admin-consultation
提交
dfae20ac
提交
dfae20ac
编写于
9月 07, 2021
作者:
lyf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
解决分包不能互相调用的问题
上级
5733472a
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
9 行增加
和
11 行删除
+9
-11
package.json
package.json
+1
-0
diagnosis-live.vue
src/components/IM/diagnosis-live.vue
+0
-1
index.js
src/store/modules/main/index.js
+2
-1
index.js
src/store/modules/socket/index.js
+4
-3
workbench.vue
src/views/IM/diagnosis-admin/workbench.vue
+1
-4
Layout.vue
src/views/layout/Layout.vue
+1
-1
slidebar.vue
src/views/layout/components/slidebar.vue
+0
-1
未找到文件。
package.json
浏览文件 @
dfae20ac
...
...
@@ -31,6 +31,7 @@
"
qiniu-js
"
:
"
^3.1.2
"
,
"
socket.io-client
"
:
"
2.2.0
"
,
"
storejs
"
:
"
^1.1.0
"
,
"
vant
"
:
"
^2.12.27
"
,
"
vconsole
"
:
"
^3.3.4
"
,
"
vue
"
:
"
^2.6.11
"
,
"
vue-fragment
"
:
"
^1.5.1
"
,
...
...
src/components/IM/diagnosis-live.vue
浏览文件 @
dfae20ac
...
...
@@ -205,7 +205,6 @@
},
},
created
()
{
console
.
log
(
'diagnoseType--'
,
this
.
diagnoseType
);
},
beforeDestroy
()
{
...
...
src/store/modules/main/index.js
浏览文件 @
dfae20ac
...
...
@@ -45,6 +45,7 @@ const main = {
state
.
RawCurrentCalList
=
[];
},
updateCurrentCalList
(
state
,
obj
)
{
console
.
log
(
'obj-------111111111111111-------'
,
obj
);
const
NewData
=
obj
;
if
(
state
.
RawCurrentCalList
.
length
==
0
)
{
state
.
RawCurrentCalList
=
obj
;
...
...
@@ -82,7 +83,7 @@ const main = {
state
.
noticeList
=
obj
;
},
updateIsSuperAdmin
(
state
,
obj
)
{
console
.
log
(
'obj---------'
,
obj
);
console
.
log
(
'obj----
11111
-----'
,
obj
);
state
.
isSuperAdmin
=
obj
;
},
},
...
...
src/store/modules/socket/index.js
浏览文件 @
dfae20ac
...
...
@@ -6,7 +6,6 @@ const socket = {
},
actions
:
{
initSocket
(
context
,
payload
)
{
console
.
log
(
'payload--'
,
payload
);
const
socketClient
=
io
.
connect
(
payload
.
url
,
{
query
:
{
loginUserNum
:
`diagnose_list_socket_
${
payload
.
userId
}
`
,
...
...
@@ -27,11 +26,13 @@ const socket = {
// state.socketClient.connect();
});
socketClient
.
on
(
'diagnose_push_event'
,
(
socket
)
=>
{
console
.
log
(
'diagnose_push_event---'
,
socket
);
const
{
list
,
allSize
,
countRespList
}
=
socket
;
console
.
log
(
'sdjfhsdjkfhsajkdfhasjkdfhasjk------------'
)
context
.
commit
(
'main/updateCurrentCalList'
,
countRespList
,{
root
:
true
});
context
.
commit
(
'updateCurrentDiagList'
,
list
);
context
.
commit
(
'updateAllSize'
,
allSize
);
context
.
commit
(
'updateCurrentCalList'
,
countRespList
);
// context.commit('updateCurrentCalList', countRespList);
});
socketClient
.
on
(
'diagnose_call_push_event'
,
(
socket
)
=>
{
console
.
log
(
'diagnose_call_push_event---'
,
socket
);
...
...
src/views/IM/diagnosis-admin/workbench.vue
浏览文件 @
dfae20ac
...
...
@@ -34,7 +34,6 @@
class=
"circle-red"
/>
</el-radio-button>
<!--
<el-radio-button
label=
"1"
>
待处理(
{{
currentCalList
}}
)
</el-radio-button>
-->
</el-radio-group>
</div>
<div
class=
"workbench-content"
>
...
...
@@ -148,7 +147,6 @@
},
watch
:
{
isSuperAdmin
(
newdata
,
olddata
)
{
console
.
log
(
'newdata---'
,
newdata
,
this
.
isSuperAdmin
);
if
(
newdata
!==
olddata
&&
newdata
.
userID
)
{
console
.
log
(
'-isSuperAdminisSuperAdmin'
,
newdata
);
const
s
=
storejs
.
get
(
'soketQuest'
);
...
...
@@ -169,10 +167,9 @@
},
},
created
()
{
console
.
log
(
'currentCalList---------------------'
,
this
.
currentCalList
);
},
mounted
()
{
console
.
log
(
'this.isSuperAdmin.userID----------'
,
this
.
isSuperAdmin
);
const
s
=
storejs
.
get
(
'soketQuest'
);
const
t
=
s
?
s
.
returnStatus
:
1
;
this
.
tabPosition
=
t
;
...
...
src/views/layout/Layout.vue
浏览文件 @
dfae20ac
...
...
@@ -77,7 +77,7 @@
currentChat
:
(
state
)
=>
state
.
assign
.
main
.
currentChat
,
showAdvice
:(
state
)
=>
state
.
assign
.
main
.
showAdvice
,
}),
...
mapGetters
(
'common'
,[
'_token'
])
...
mapGetters
(
'common'
,
[
'_token'
])
},
created
()
{
vm
=
this
;
...
...
src/views/layout/components/slidebar.vue
浏览文件 @
dfae20ac
...
...
@@ -93,7 +93,6 @@
i
.
isSuper
=
false
;
}
});
console
.
log
(
'updateIsSuperAdmin----'
,
this
.
$store
.
state
);
this
.
$store
.
commit
(
'main/updateIsSuperAdmin'
,
i
);
this
.
items
=
vueMenuDtos
;
sessionStorage
.
setItem
(
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录