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
提交
5c18dbf2
提交
5c18dbf2
编写于
7月 21, 2021
作者:
lyf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更改红点展示方式
上级
b17ae4fb
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
60 行增加
和
59 行删除
+60
-59
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+60
-58
diagnosis-live.vue
src/views/IM/diagnosis-admin/diagnosis-live.vue
+0
-1
未找到文件。
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
5c18dbf2
...
...
@@ -200,9 +200,8 @@
</div>
</div>
<div
class=
"component-content screenSet"
id=
"screenSet"
>
<el-tabs
v-if=
"tabrefresh"
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-if=
"tabrefresh"
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
:label=
"item.label"
:name=
"item.active"
v-for=
"item in tabpaneList"
...
...
@@ -210,10 +209,9 @@
>
<div
slot=
"label"
>
<span
class=
"span-box"
>
<el-badge
:is-dot=
"item.isdot"
class=
"item"
>
{{
item
.
label
}}
(
{{
item
.
dgCount
}}
)
</el-badge>
<el-badge
:is-dot=
"item.isdot"
class=
"item"
>
{{
item
.
label
}}
(
{{
item
.
dgCount
}}
)
</el-badge>
</span>
</div>
<table-component
...
...
@@ -250,7 +248,6 @@
<match-component
@
search=
"search"
:matchVisible
.
sync=
"matchVisible"
:diagnoseLogId=
"diagnoseLogId"
:batchFlag=
"batchFlag"
...
...
@@ -318,13 +315,13 @@
</
template
>
<
script
>
let
vm
=
null
;
import
{
updateDiagnosis
}
from
"../../../utils/diagnosis"
;
import
{
updateDiagnosis
}
from
"../../../utils/diagnosis"
;
import
{
base64decode
}
from
"../../../utils/utils.js"
;
const
DOWN_URL
=
'/diagnose/admin/diagnose/export'
;
const
LIST_URL
=
'/diagnose/admin/diagnose/list'
;
const
DOWN_URL
=
"/diagnose/admin/diagnose/export"
;
const
LIST_URL
=
"/diagnose/admin/diagnose/list"
;
const
COUNT_QUERY
=
"/diagnose/admin/diagnose/countQuery"
;
const
DEP_URL
=
'/hospital/departments/0'
const
DEP_URL
=
"/hospital/departments/0"
;
import
TableComponent
from
"@/components/list/table-c"
;
import
{
TYPE_LIST
,
...
...
@@ -372,13 +369,13 @@ export default {
orderRangeTime
:
""
,
completeRangeTime
:
""
,
depList
:
[],
tabrefresh
:
true
,
tabrefresh
:
true
,
searchParam
:
{
id
:
""
,
operateName
:
""
,
assistantVal
:
""
,
receptionVal
:
""
,
sort
:
null
,
sort
:
null
,
triageDepartmentId
:
""
,
diagnoseType
:
""
,
//预约问诊类型:1、音频 2、视频 3、图文
createdTimeBegin
:
""
,
...
...
@@ -455,12 +452,9 @@ export default {
},
mounted
()
{
this
.
setTableHeight
();
},
destroyed
(){
destroyed
()
{
clearInterval
(
this
.
timer
);
},
methods
:
{
selectToggle
()
{
...
...
@@ -472,7 +466,6 @@ export default {
this
.
timer
=
setInterval
(()
=>
{
this
.
getTabs
();
},
600000
);
// 600000
},
...
...
@@ -482,10 +475,10 @@ export default {
this
.
GET
(
url
).
then
((
res
)
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
setTable
(
res
.
data
);
this
.
tabrefresh
=
false
this
.
$nextTick
(()
=>
{
this
.
tabrefresh
=
true
})
this
.
tabrefresh
=
false
;
this
.
$nextTick
(()
=>
{
this
.
tabrefresh
=
true
;
});
}
});
},
...
...
@@ -493,18 +486,18 @@ export default {
init
()
{
let
fullPath
=
this
.
$route
.
fullPath
;
let
fromType
=
1
;
if
(
fullPath
.
indexOf
(
"?"
)
>
-
1
)
{
if
(
fullPath
.
indexOf
(
"?"
)
>
-
1
)
{
let
str
=
base64decode
(
fullPath
.
split
(
"?"
)[
1
]);
if
(
str
.
indexOf
(
"?"
))
{
if
(
str
.
indexOf
(
"?"
))
{
fromType
=
str
.
split
(
"="
)[
1
];
}
}
// this.fromType = +(this.$route.query.fromType || 1);
this
.
fromType
=
+
fromType
;
this
.
fromType
=
+
fromType
;
this
.
activeName
=
"99"
;
this
.
searchParam
.
status
=
""
;
this
.
Raw_tabpaneList
=
[]
this
.
Raw_tabpaneList
=
[];
this
.
getTabs
();
this
.
contrastData
();
},
...
...
@@ -512,7 +505,7 @@ export default {
// 不同也main切换不同的tab
setTable
(
data
)
{
let
tabs
=
ALL_TAB_LIST
;
console
.
log
(
"this.fromType"
,
this
.
fromType
)
console
.
log
(
"this.fromType"
,
this
.
fromType
);
switch
(
this
.
fromType
)
{
case
1
:
tabs
=
ALL_TAB_LIST
;
...
...
@@ -549,19 +542,22 @@ export default {
count
=
count
+
data
[
index
].
dgCount
;
let
isdot
=
false
;
if
(
this
.
Raw_tabpaneList
.
length
>
0
)
{
isdot
=
data
[
index
].
dgCount
==
this
.
Raw_tabpaneList
[
i
].
dgCount
?
false
:
true
;
isdot
=
data
[
index
].
dgCount
>
this
.
Raw_tabpaneList
[
i
].
dgCount
?
true
:
false
;
}
tabs
[
i
]
=
{
...
tabs
[
i
],
dgCount
:
data
[
index
].
dgCount
,
isdot
:
isdot
isdot
:
isdot
,
};
}
}
tabs
[
0
].
dgCount
=
count
;
this
.
tabpaneList
=
tabs
;
if
(
this
.
Raw_tabpaneList
.
length
==
0
)
{
this
.
Raw_tabpaneList
=
JSON
.
parse
(
JSON
.
stringify
(
tabs
));
if
(
this
.
Raw_tabpaneList
.
length
==
0
)
{
this
.
Raw_tabpaneList
=
JSON
.
parse
(
JSON
.
stringify
(
tabs
));
}
},
...
...
@@ -596,11 +592,15 @@ export default {
for
(
let
i
=
0
;
i
<
this
.
tabpaneList
.
length
;
i
++
)
{
if
(
this
.
tabpaneList
[
i
].
active
==
val
.
paneName
)
{
this
.
tabpaneList
[
i
].
isdot
=
false
;
this
.
Raw_tabpaneList
[
i
]
=
this
.
tabpaneList
[
i
]
this
.
Raw_tabpaneList
[
i
]
=
this
.
tabpaneList
[
i
];
}
}
this
.
searchParam
.
status
=
val
.
paneName
==
99
?
""
:
val
.
paneName
==
101
||
val
.
paneName
==
102
?
"21"
:
val
.
paneName
;
val
.
paneName
==
99
?
""
:
val
.
paneName
==
101
||
val
.
paneName
==
102
?
"21"
:
val
.
paneName
;
if
(
this
.
fromType
==
5
&&
this
.
searchParam
.
status
)
{
if
(
val
.
paneName
==
101
)
{
this
.
searchParam
.
hasToFollowReason
=
1
;
...
...
@@ -644,35 +644,37 @@ export default {
this
.
resetPage
();
this
.
search
(
true
);
},
sortfunc
(
data
){
sortfunc
(
data
)
{
// ascending 升序
// descending 降序
if
(
data
.
prop
==
"appointBeginTime"
&&
data
.
order
==
"ascending"
){
this
.
searchParam
.
sort
=
1
}
else
if
(
data
.
prop
==
"appointBeginTime"
&&
data
.
order
==
"descending"
){
this
.
searchParam
.
sort
=
2
}
else
if
(
data
.
prop
==
"assistantBeginTime"
&&
data
.
order
==
"ascending"
){
this
.
searchParam
.
sort
=
3
}
else
if
(
data
.
prop
==
"assistantBeginTime"
&&
data
.
order
==
"descending"
){
this
.
searchParam
.
sort
=
4
}
else
{
this
.
searchParam
.
sort
=
null
if
(
data
.
prop
==
"appointBeginTime"
&&
data
.
order
==
"ascending"
)
{
this
.
searchParam
.
sort
=
1
;
}
else
if
(
data
.
prop
==
"appointBeginTime"
&&
data
.
order
==
"descending"
)
{
this
.
searchParam
.
sort
=
2
;
}
else
if
(
data
.
prop
==
"assistantBeginTime"
&&
data
.
order
==
"ascending"
)
{
this
.
searchParam
.
sort
=
3
;
}
else
if
(
data
.
prop
==
"assistantBeginTime"
&&
data
.
order
==
"descending"
)
{
this
.
searchParam
.
sort
=
4
;
}
else
{
this
.
searchParam
.
sort
=
null
;
}
this
.
search
(
true
)
this
.
search
(
true
)
;
},
search
(
isTabs
)
{
this
.
loading
=
true
;
if
(
!
isTabs
)
{
console
.
log
(
"isTabs"
,
isTabs
)
this
.
getTabs
();
if
(
!
isTabs
)
{
console
.
log
(
"isTabs"
,
isTabs
);
this
.
getTabs
();
}
this
.
initTime
();
let
url
=
LIST_URL
;
...
...
@@ -717,7 +719,7 @@ export default {
createdTimeEnd
:
""
,
operateTimeBegin
:
""
,
operateTimeEnd
:
""
,
sort
:
null
,
sort
:
null
,
appointBeginTime
:
""
,
appointEndTime
:
""
,
doneTimeBegin
:
""
,
...
...
@@ -875,8 +877,8 @@ export default {
}
},
//重新匹配医生
reMatchDot
(
row
,
type
)
{
console
.
log
(
row
,
type
)
reMatchDot
(
row
,
type
)
{
console
.
log
(
row
,
type
);
this
.
rematchingVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
this
.
bizType
=
type
;
...
...
src/views/IM/diagnosis-admin/diagnosis-live.vue
浏览文件 @
5c18dbf2
...
...
@@ -353,7 +353,6 @@ export default {
if
(
item
.
status
==
2
){
item
.
timeleft
=
0
}
console
.
log
(
"status"
,
status
)
let
text
=
""
;
switch
(
status
)
{
case
1
:
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录