Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-consultation
提交
2059ca65
提交
2059ca65
编写于
8月 04, 2021
作者:
lyf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改红点展示
上级
811eb6ac
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
21 行增加
和
15 行删除
+21
-15
App.vue
src/App.vue
+1
-1
index.js
src/store/mutations/index.js
+4
-1
utils.js
src/utils/utils.js
+1
-1
workbench.vue
src/views/IM/diagnosis-admin/workbench.vue
+15
-12
未找到文件。
src/App.vue
浏览文件 @
2059ca65
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
bindDragHeader
(
'.c-header'
,
'.chat-wrap'
);
bindDragHeader
(
'.c-header'
,
'.chat-wrap'
,
'.wenzenbox'
);
},
1000
)
},
1000
)
},
},
...
...
src/store/mutations/index.js
浏览文件 @
2059ca65
...
@@ -6,6 +6,7 @@ export default {
...
@@ -6,6 +6,7 @@ export default {
// 改变原数据
// 改变原数据
changeRawCurrentCalList
(
state
,
obj
){
changeRawCurrentCalList
(
state
,
obj
){
// console.log("obj",obj)
// console.log("obj",obj)
let
index
=
state
.
RawCurrentCalList
.
findIndex
(
val
=>
{
let
index
=
state
.
RawCurrentCalList
.
findIndex
(
val
=>
{
return
val
.
status
==
obj
.
status
return
val
.
status
==
obj
.
status
})
})
...
@@ -13,7 +14,9 @@ export default {
...
@@ -13,7 +14,9 @@ export default {
state
.
RawCurrentCalList
[
index
]
=
obj
state
.
RawCurrentCalList
[
index
]
=
obj
state
.
currentCalList
[
index
].
is_dot
=
false
state
.
currentCalList
[
index
].
is_dot
=
false
}
}
},
clearRawCurrentCalList
(
state
){
state
.
RawCurrentCalList
=
[]
},
},
updateCurrentCalList
(
state
,
obj
)
{
updateCurrentCalList
(
state
,
obj
)
{
let
NewData
=
obj
let
NewData
=
obj
...
...
src/utils/utils.js
浏览文件 @
2059ca65
...
@@ -816,7 +816,7 @@ const change = (num) => {
...
@@ -816,7 +816,7 @@ const change = (num) => {
}
}
return
num
;
return
num
;
}
}
// 拖拽
export
const
bindDragHeader
=
(
classname
,
content
)
=>
{
export
const
bindDragHeader
=
(
classname
,
content
)
=>
{
const
dragDom
=
document
.
querySelector
(
classname
);
const
dragDom
=
document
.
querySelector
(
classname
);
const
con
=
document
.
querySelector
(
content
);
const
con
=
document
.
querySelector
(
content
);
...
...
src/views/IM/diagnosis-admin/workbench.vue
浏览文件 @
2059ca65
...
@@ -93,7 +93,7 @@ export default {
...
@@ -93,7 +93,7 @@ export default {
returnStatus
:
s
?
s
.
returnStatus
:
1
,
returnStatus
:
s
?
s
.
returnStatus
:
1
,
};
};
this
.
searchParam
=
p
;
this
.
searchParam
=
p
;
this
.
inquirySearch
();
this
.
inquirySearch
(
'clear'
);
}
}
},
},
},
},
...
@@ -150,13 +150,13 @@ export default {
...
@@ -150,13 +150,13 @@ export default {
const
s
=
this
.
searchParam
;
const
s
=
this
.
searchParam
;
s
.
returnStatus
=
val
;
s
.
returnStatus
=
val
;
this
.
searchParam
=
s
;
this
.
searchParam
=
s
;
this
.
inquirySearch
();
this
.
inquirySearch
(
'tab'
);
},
},
changeDatetime
(
val
)
{
changeDatetime
(
val
)
{
const
s
=
this
.
searchParam
;
const
s
=
this
.
searchParam
;
s
.
dateTime
=
val
.
format
(
"yyyy-MM-dd"
);
s
.
dateTime
=
val
.
format
(
"yyyy-MM-dd"
);
this
.
searchParam
=
s
;
this
.
searchParam
=
s
;
this
.
inquirySearch
();
this
.
inquirySearch
(
'clear'
);
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
const
s
=
this
.
searchParam
;
const
s
=
this
.
searchParam
;
...
@@ -169,20 +169,23 @@ export default {
...
@@ -169,20 +169,23 @@ export default {
this
.
searchParam
=
s
;
this
.
searchParam
=
s
;
this
.
inquirySearch
();
this
.
inquirySearch
();
},
},
inquirySearch
()
{
inquirySearch
(
type
)
{
const
p
=
this
.
searchParam
;
const
p
=
this
.
searchParam
;
if
(
type
==
'clear'
){
this
.
$store
.
commit
(
"clearRawCurrentCalList"
)
}
this
.
POST
(
"/diagnose/socket/condition/update"
,
p
).
then
((
res
)
=>
{
this
.
POST
(
"/diagnose/socket/condition/update"
,
p
).
then
((
res
)
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
this
.
$store
.
commit
(
"updateSoketQuest"
,
p
);
this
.
$store
.
commit
(
"updateSoketQuest"
,
p
);
const
returnStatus
=
p
.
returnStatus
if
(
type
==
'tab'
){
const
RespList
=
res
.
data
.
list
[
0
].
recordResp
.
countRespList
.
filter
(
val
=>
{
const
returnStatus
=
p
.
returnStatus
return
val
.
status
==
returnStatus
const
RespList
=
res
.
data
.
list
[
0
].
recordResp
.
countRespList
.
filter
(
val
=>
{
})
return
val
.
status
==
returnStatus
})
this
.
$store
.
commit
(
"changeRawCurrentCalList"
,
RespList
[
0
])
}
this
.
$store
.
commit
(
"changeRawCurrentCalList"
,
RespList
[
0
])
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
res
.
message
,
message
:
res
.
message
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录