Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
72317360
提交
72317360
编写于
3月 16, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加计划列表页面
上级
fb12a838
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
165 行增加
和
12 行删除
+165
-12
plan-list.vue
src/views/followup/plan-manage/plan-list.vue
+147
-3
record-list.vue
src/views/followup/record-manage/record-list.vue
+18
-9
未找到文件。
src/views/followup/plan-manage/plan-list.vue
浏览文件 @
72317360
<
template
>
<div>
<h1>
计划管理-计划列表
</h1>
<div
class=
"plan-list-wrapper"
>
<bread-crumb
:curmbFirst=
"curmbFirst"
:curmbSecond=
"curmbSecond"
></bread-crumb>
<div
class=
"plan-list-content f-main-content screenSet"
>
<div
class=
"page-title"
>
计划管理
</div>
<div
class=
"search-div"
>
<div
class=
"search-input"
>
<el-form
ref=
"serchForm"
:model=
"searchData"
:inline=
"true"
label-suffix=
":"
label-width=
"125px"
>
<el-form-item
label=
"随访计划名称"
>
<el-input
v-model=
"searchData.name"
placeholder=
"请输入关键词"
maxlength=
"20"
style=
"width: 250px"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"开始年份"
>
<el-select
v-model=
"searchData.timeRange"
placeholder=
"请选择时间范围"
style=
"width: 250px"
clearable
>
<el-option
v-for=
"(item,index) in timeRangeList"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form>
</div>
<div
class=
"search-btn"
>
<el-button
class=
"button-green"
type=
"primary"
@
click=
"search"
>
查询
</el-button>
<el-button
class=
"button-white"
plain
@
click=
"reseat"
>
重置
</el-button>
</div>
</div>
<div
class=
"table-content"
>
<div
class=
"content-group-btn"
><el-button
type=
"primary"
>
新建随访计划
</el-button></div>
<div>
<el-table
:data=
"planListData"
style=
"width: 100%;margin-top: 20px;"
>
<el-table-column
prop=
"name"
label=
"随访计划名称"
min-width=
"100"
align=
"center"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer"
@
click=
"visitDetail(scope.row)"
>
{{
scope
.
row
.
name
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"startYear"
label=
"开始年份"
min-width=
"100"
align=
"center"
></el-table-column>
<el-table-column
prop=
"totalNum"
label=
"总人数"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
min-width=
"240"
>
<
template
slot-scope=
"scope"
>
<el-button
class=
"btn-right-class"
type=
"text"
@
click=
"visitRow(scope.row)"
>
查看居民
</el-button>
|
<el-button
class=
"btn-right-class"
type=
"text"
@
click=
"changeRow(scope.row)"
>
修改
</el-button>
|
<el-button
type=
"text"
@
click=
"deleteRow(scope.row)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-row
type=
"flex"
justify=
"end"
class=
"margin-top20"
>
<el-pagination
background
v-if=
"planListData.length"
@
size-change=
"handleSizeChangePre"
@
current-change=
"handleCurrentChangePre"
layout=
"total, sizes, prev, pager, next, jumper"
:current-page=
"paginationSet.pageNum"
:page-sizes=
"paginationSet.pageSizes"
:page-size=
"paginationSet.pageSize"
:total=
"paginationSet.total"
>
</el-pagination>
</el-row>
</div>
</div>
</div>
</div>
</template>
<
script
>
export
default
{}
import
BreadCrumb
from
"@/components/breadcrumb"
;
export
default
{
components
:{
BreadCrumb
,
},
data
(){
return
{
curmbFirst
:
'随访管理'
,
curmbSecond
:
'计划管理'
,
searchData
:
{
name
:
''
,
timeRange
:
''
,
},
timeRangeList
:[{
label
:
'10:00~11:00'
,
value
:
1
},{
label
:
'11:00~12:00'
,
value
:
2
}],
planListData
:
[
{
name
:
'糖尿病高危随访'
,
startYear
:
'2018'
,
totalNum
:
'39'
,
}
],
paginationSet
:
{
pageNum
:
1
,
pageSize
:
10
,
total
:
0
,
pageSizes
:
[
10
,
20
,
50
,
100
]
},
}
},
methods
:
{
search
(){
console
.
log
(
'搜索'
)
},
reseat
(){
this
.
searchData
.
name
=
''
;
this
.
searchData
.
timeRange
=
''
;
},
visitDetail
(
row
){
this
.
dialogDetailShow
=
true
;
},
visitRow
(
row
){},
changeRow
(
row
){
// this.statusForm = row;
// this.dialogFormVisible = true;
// if (this.$refs['statusForm']) {
// this.$refs['statusForm'].resetFields();
// }
},
deleteRow
(
row
){},
handleSizeChangePre
(
pageSize
){
this
.
paginationSet
[
'pageSize'
]
=
pageSize
;
this
.
paginationSet
[
'pageNum'
]
=
1
;
},
handleCurrentChangePre
(
pageNum
){
this
.
paginationSet
[
'pageNum'
]
=
pageNum
},
},
filters
:
{},
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
'../../../style/followup/followup-common'
;
@import
'../../../style/followup/element-reset.css'
;
.plan-list-wrapper
{
.plan-list-content
{
.search-input
{
max-width
:
none
;
flex
:
1
;
}
.margin-top20
{
margin-top
:
20px
;
}
.status-span
{
color
:
$picaGreen
;
}
}
.content-group-btn
{
text-align
:
right
;
}
}
</
style
>
src/views/followup/record-manage/record-list.vue
浏览文件 @
72317360
...
...
@@ -10,14 +10,23 @@
<el-input
v-model=
"searchData.name"
placeholder=
"请输入关键词"
style=
"width: 250px"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"随访时间范围"
>
<el-select
v-model=
"searchData.timeRange"
placeholder=
"请选择时间范围"
style=
"width: 250px"
clearable
>
<el-option
v-for=
"(item,index) in timeRangeList"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
<!--
<el-select
v-model=
"searchData.timeRange"
placeholder=
"请选择时间范围"
style=
"width: 250px"
clearable
>
-->
<!--
<el-option-->
<!--v-for="(item,index) in timeRangeList"-->
<!--:key="index"-->
<!--:label="item.label"-->
<!--:value="item.value">-->
<!--
</el-option>
-->
<!--
</el-select>
-->
<el-date-picker
v-model=
"searchData.timeRange"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
clearable
style=
"width:380px;"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"searchData.nickname"
placeholder=
"请输入姓名"
clearable
></el-input>
...
...
@@ -88,7 +97,7 @@
<span>
{{statusForm.status==1 ? '未完成' : '已完成'}}
</span>
</el-form-item>
<el-form-item
label=
"变更原因"
prop=
"reason"
>
<el-input
type=
"textarea"
v-model=
"statusForm.reason"
placeholder=
"请输入变更原因"
rows=
"3"
style=
"width:60%;"
></el-input>
<el-input
type=
"textarea"
v-model=
"statusForm.reason"
placeholder=
"请输入变更原因"
maxlength=
"30"
rows=
"3"
style=
"width:60%;"
></el-input>
</el-form-item>
</el-form>
<!--<div class="form-content">-->
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录