Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
48ee1bfd
提交
48ee1bfd
编写于
3月 18, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed
上级
fcb202e4
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
45 行增加
和
3 行删除
+45
-3
followapis.js
src/utils/followup/followapis.js
+16
-1
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+17
-1
reservation-list.vue
src/views/followup/reservation-manage/reservation-list.vue
+12
-1
未找到文件。
src/utils/followup/followapis.js
浏览文件 @
48ee1bfd
...
...
@@ -2,24 +2,39 @@ import axios from '../fetch';
import
utils
from
'./followupUtils'
;
// 随访接口域名
let
domain
=
' '
;
if
(
process
.
env
.
APIDOMAIN
===
'prod'
)
{
domain
=
' '
;
}
else
if
(
process
.
env
.
APIDOMAIN
===
'test'
)
{
domain
=
' '
;
}
else
if
(
process
.
env
.
APIDOMAIN
===
'uat'
)
{
domain
=
' '
;
}
else
if
(
process
.
env
.
APIDOMAIN
===
'dev'
)
{
domain
=
' '
;
}
/*计划管理API*/
const
planManageApi
=
[
{
url
:
'/followup/planPatient'
,
method
:
'GET'
,
params
:
'params'
,
name
:
'get
Approve
List'
,
name
:
'get
Resident
List'
,
description
:
'获取居民列表'
,
},
]
const
api
=
{};
const
apis
=
[...
planManageApi
];
apis
.
forEach
(
item
=>
api
[
item
.
name
]
=
(
params
=
{},
extraConfig
=
{})
=>
{
const
config
=
{
baseURL
:
domain
,
url
:
item
.
url
,
method
:
item
.
method
,
};
...
...
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
48ee1bfd
...
...
@@ -155,7 +155,9 @@
created
()
{
console
.
log
(
'api'
,
api
)
},
mounted
()
{},
mounted
()
{
this
.
getResidentList
()
},
methods
:
{
handleSizeChangePre
()
{
...
...
@@ -167,6 +169,20 @@
alert
(
1
+
patientId
)
this
.
$router
.
push
(
'/followup/plan-manage/resident-detail'
)
},
getResidentList
()
{
//获取居民列表
api
.
getResidentList
({
pageNum
:
this
.
pageNum
,
pageSize
:
this
.
pageSize
,
status
:
0
,
startData
:
''
,
planId
:
''
,
mobile
:
''
,
patientName
:
''
}).
then
(({
data
})
=>
{
});
}
}
}
...
...
src/views/followup/reservation-manage/reservation-list.vue
浏览文件 @
48ee1bfd
...
...
@@ -66,6 +66,9 @@
prop=
"patientName"
label=
"姓名"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goPatientDetail(scope.row.patientId)"
>
{{
scope
.
row
.
patientName
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"sexName"
...
...
@@ -135,7 +138,15 @@
}],
tableType
:
0
,
//列表筛选条件
reservationData
:
[
{
"patientId"
:
"居民ID"
,
"patientName"
:
"居民姓名"
,
"sex"
:
"性别"
,
"sexName"
:
"性别名字"
,
"time"
:
"随访开始时间"
,
"labelId"
:
"分组ID"
,
"labelName"
:
"分组名字"
}
],
//居民列表
pageNum
:
1
,
pageSize
:
15
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录