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
提交
6e01b7fb
提交
6e01b7fb
编写于
12月 03, 2021
作者:
qian.jie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
超出样式修复
上级
41703cd8
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
60 行增加
和
4 行删除
+60
-4
administrators.js
src/api/administrators.js
+7
-1
department-doctor.vue
src/components/common/department-doctor.vue
+24
-0
administrators.vue
src/views/IM/diagnosis-admin/administrators.vue
+28
-3
operation.vue
src/views/IM/diagnosis-admin/operation.vue
+1
-0
未找到文件。
src/api/administrators.js
浏览文件 @
6e01b7fb
...
@@ -5,4 +5,10 @@ export const getMatchList = async() => {
...
@@ -5,4 +5,10 @@ export const getMatchList = async() => {
url
:
'/diagnose/match/list'
,
url
:
'/diagnose/match/list'
,
method
:
'get'
,
method
:
'get'
,
});
});
};
};
\ No newline at end of file
export
const
getCountByDay
=
async
(
data
)
=>
{
return
request
({
url
:
`/im/team/callOp/countByDay?startTimestamp=
${
data
.
startTimestamp
}
&endTimestamp=
${
data
.
endTimestamp
}
`
,
method
:
'get'
,
});
};
\ No newline at end of file
src/components/common/department-doctor.vue
浏览文件 @
6e01b7fb
...
@@ -103,6 +103,30 @@
...
@@ -103,6 +103,30 @@
color
:
#0D9078
!
important
;
color
:
#0D9078
!
important
;
font-size
:
16px
!
important
;
font-size
:
16px
!
important
;
}
}
.is-active
{
border
:
none
;
position
:
relative
;
&
:
:
after
{
content
:
''
;
position
:
absolute
;
bottom
:
0
;
left
:
50%
;
right
:
0
;
height
:
2px
;
background
:
#0D9078
;
width
:
50px
;
transform
:
translateX
(
-50%
);
}
}
.el-tabs__item.is-top
:nth-child
(
2
)
{
padding-left
:
22px
!
important
;
}
.el-tabs__item.is-top
:last-child
{
padding-right
:
22px
!
important
;
}
.el-tab-pane
{
padding
:
10px
20px
;
}
}
}
</
style
>
</
style
>
src/views/IM/diagnosis-admin/administrators.vue
浏览文件 @
6e01b7fb
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
type=
"date"
type=
"date"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
placeholder=
"选择日期"
:picker-options=
"pickerOptions"
@
change=
"getWorkbenchTime"
/>
/>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -30,9 +32,9 @@
...
@@ -30,9 +32,9 @@
<div
class=
"right"
>
<div
class=
"right"
>
<span
class=
"totalNumShow"
>
累计汇总数
</span>
<span
class=
"totalNumShow"
>
累计汇总数
</span>
<span
class=
"callDoctorShow"
>
呼叫医助次数
</span>
<span
class=
"callDoctorShow"
>
呼叫医助次数
</span>
<span
class=
"callDoctorNum"
>
389
</span>
<span
class=
"callDoctorNum"
>
{{
callDoctorNum
}}
</span>
<span
class=
"laterDoctorShow"
>
接诊医生迟到人数
</span>
<span
class=
"laterDoctorShow"
>
接诊医生迟到人数
</span>
<span
class=
"laterDoctorNum"
>
167
</span>
<span
class=
"laterDoctorNum"
>
{{
doctorLaterNum
}}
</span>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -72,7 +74,7 @@
...
@@ -72,7 +74,7 @@
<
script
>
<
script
>
import
consultationlist
from
'@/components/common/consultation'
;
import
consultationlist
from
'@/components/common/consultation'
;
import
{
getMatchList
}
from
'@/api/administrators'
;
import
{
getMatchList
,
getCountByDay
}
from
'@/api/administrators'
;
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -85,11 +87,19 @@
...
@@ -85,11 +87,19 @@
return
{
return
{
workbenchAdminDate
:
d
,
workbenchAdminDate
:
d
,
operatorslist
:
[],
operatorslist
:
[],
pickerOptions
:
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
>
new
Date
().
getTime
();
// 减去一天的时间代表可以选择同一天;
},
},
callDoctorNum
:
''
,
doctorLaterNum
:
''
};
};
},
},
watch
:
{},
watch
:
{},
created
()
{
created
()
{
this
.
init
();
this
.
init
();
this
.
getCountByDay
();
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
...
@@ -99,6 +109,21 @@
...
@@ -99,6 +109,21 @@
}
}
});
});
},
},
getWorkbenchTime
(
value
)
{
this
.
workbenchAdminDate
=
value
;
this
.
getCountByDay
();
},
getCountByDay
()
{
const
params
=
{
startTimestamp
:
new
Date
(
this
.
workbenchAdminDate
).
getTime
(),
endTimestamp
:
new
Date
(
this
.
workbenchAdminDate
).
getTime
()
+
86400
*
1000
};
getCountByDay
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
this
.
callDoctorNum
=
res
.
data
;
}
});
}
},
},
};
};
</
script
>
</
script
>
...
...
src/views/IM/diagnosis-admin/operation.vue
浏览文件 @
6e01b7fb
...
@@ -116,6 +116,7 @@
...
@@ -116,6 +116,7 @@
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
$message
.
success
(
'保存成功'
);
this
.
$message
.
success
(
'保存成功'
);
this
.
getCheckList
();
}
}
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录