Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
22517712
提交
22517712
编写于
3月 22, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
工作台fixed
上级
088673c7
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
30 行增加
和
7 行删除
+30
-7
workbench.js
src/store/followup/workbench.js
+2
-1
home.vue
src/views/home.vue
+28
-6
未找到文件。
src/store/followup/workbench.js
浏览文件 @
22517712
...
...
@@ -12,7 +12,8 @@ export default {
// state.todayPlansList = payload.data
state
.
todayPlansList
=
[
{
planName
:
'wewe'
,
patientName
:
'wewe'
,
status
:
1
,
appointTime
:
'2019-03-05'
}
]
...
...
src/views/home.vue
浏览文件 @
22517712
...
...
@@ -10,7 +10,7 @@
<span
class=
"type-button"
:style=
"
{background:(planBtn?'rgba(68,146,132,0.06)':'#ffffff')}" @click="changeTodayPlansList(0)">未完成
</span>
<span
class=
"type-button"
:style=
"
{background:(!planBtn?'rgba(68,146,132,0.06)':'#ffffff')}" @click="changeTodayPlansList(1)">已过期
</span>
</div>
<span
class=
"visitor-more"
@
click=
"lookMore"
>
查看更多
</span>
<span
class=
"visitor-more"
@
click=
"lookMore
(1)
"
>
查看更多
</span>
</div>
<div
class=
"visitor-info"
>
<el-table
...
...
@@ -21,7 +21,7 @@
<el-table-column
prop=
"style"
label=
"随访方式"
></el-table-column>
<el-table-column
prop=
"content"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<span
class=
"text-btn"
>
随访录入
</span>
|
<span
class=
"text-btn"
>
变更随访状态
</span>
<span
class=
"text-btn"
>
随访录入
</span>
|
<span
class=
"text-btn"
@
click=
"changeFollowStatus(scope.row)"
>
变更随访状态
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -33,7 +33,7 @@
<span
class=
"type-button"
:style=
"{background:(appointBtn?'rgba(68,146,132,0.06)':'#ffffff')}"
@
click=
"changeTodayAppointsList(0)"
style=
"margin-left: 10px;"
>
未完成
</span>
<span
class=
"type-button"
:style=
"{background:(!appointBtn?'rgba(68,146,132,0.06)':'#ffffff')}"
@
click=
"changeTodayAppointsList(1)"
>
已过期
</span>
</div>
<span
class=
"visitor-more"
@
click=
"lookMore"
>
查看更多
</span>
<span
class=
"visitor-more"
@
click=
"lookMore
(2)
"
>
查看更多
</span>
</div>
<div
class=
"visitor-info"
>
<el-table
...
...
@@ -73,16 +73,22 @@
</el-col>
</el-row>
</div>
<change-followup-status
:isShowChangeDialog=
"isShowChangeDialog"
:statusForm=
"statusForm"
@
closeChangeStatus=
"closeChangeStatus()"
></change-followup-status>
</div>
</template>
<
script
>
import
BreadCrumb
from
'../components/breadcrumb.vue'
import
{
setTimeout
,
setInterval
}
from
'timers'
import
ChangeFollowupStatus
from
"./followup/record-manage/dialog/change-followup-status"
;
import
{
mapGetters
,
mapState
,
mapActions
}
from
'vuex'
let
vm
=
null
export
default
{
components
:
{
BreadCrumb
BreadCrumb
,
ChangeFollowupStatus
},
data
()
{
return
{
...
...
@@ -94,6 +100,8 @@ export default {
messageList
:[],
planBtn
:
true
,
appointBtn
:
true
,
isShowChangeDialog
:
false
,
statusForm
:
{},
}
},
created
()
{
...
...
@@ -122,8 +130,12 @@ export default {
methods
:
{
...
mapActions
(
'workbench'
,
[
'getTodayPlansList'
,
'getTodayAppointsList'
,
'getTodayOverview'
]),
// 查看更多
lookMore
()
{
lookMore
(
type
)
{
if
(
type
==
1
)
{
this
.
$router
.
push
(
'/followup/record-manage/record-list'
);
}
else
if
(
type
==
2
)
{
this
.
$router
.
push
(
'/followup/reservation-manage/reservation-list'
);
}
},
// 获取系统消息数据
getSystemData
()
{
...
...
@@ -157,6 +169,16 @@ export default {
},
goToReservation
(
planName
,
appointTime
)
{
this
.
$router
.
push
({
path
:
'/followup/reservation-manage/reservation-list'
,
query
:
{
planName
:
planName
,
appointTime
:
appointTime
}});
},
closeChangeStatus
(
val
){
this
.
isShowChangeDialog
=
val
;
},
changeFollowStatus
(
row
)
{
this
.
statusForm
=
{
nickname
:
row
.
patientName
,
status
:
row
.
status
,
}
this
.
isShowChangeDialog
=
true
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录