Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
240fbb9c
提交
240fbb9c
编写于
5月 21, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加选择居民弹层
上级
3241777b
变更
2
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
530 行增加
和
12 行删除
+530
-12
select-patitents.vue
src/views/patients/labels-manage/dialog/select-patitents.vue
+501
-0
labels-detail.vue
src/views/patients/labels-manage/labels-detail.vue
+29
-12
未找到文件。
src/views/patients/labels-manage/dialog/select-patitents.vue
0 → 100644
浏览文件 @
240fbb9c
此差异已折叠。
点击以展开。
src/views/patients/labels-manage/labels-detail.vue
浏览文件 @
240fbb9c
<
template
>
<
template
>
<div
class=
"label-list-wrap label-detail-wrap"
>
<div
class=
"label-list-wrap label-detail-wrap"
>
<bread-crumb
<bread-crumb
:curmbFirst=
"curmbFirst"
:curmbFirst=
"curmbFirst"
:curmbSecond=
"curmbSecond"
:curmbSecond=
"curmbSecond"
:curmbThird=
"curmbThird"
:curmbThird=
"curmbThird"
:jumPathThird=
"jumPathThird"
>
:jumPathThird=
"jumPathThird"
>
</bread-crumb>
</bread-crumb>
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
<p
class=
"title"
>
分组成员:
</p>
<p
class=
"title"
>
分组成员:
</p>
<p
class=
"member-number"
>
{{
searchData
.
totalRows
}}
人
</p>
<p
class=
"member-number"
>
{{
searchData
.
totalRows
}}
人
</p>
<div
class=
"right"
>
<div
class=
"right"
>
<el-button
type=
"primary"
size=
"small"
class=
"create-new-label"
v-if=
"!isUngrouped"
>
添加居民
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"create-new-label"
v-if=
"!isUngrouped"
@
click=
"addPatientsHandler"
>
添加居民
</el-button>
<el-button
type=
"default"
size=
"small"
class=
"create-new-label"
v-if=
"!isUngrouped"
@
click=
"handleDeletePatients"
>
批量删除
</el-button>
<el-button
type=
"default"
size=
"small"
class=
"create-new-label"
v-if=
"!isUngrouped"
@
click=
"handleDeletePatients"
>
批量删除
</el-button>
</div>
</div>
</div>
</div>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
:data=
"searchData.tableData"
:data=
"searchData.tableData"
...
@@ -91,9 +91,9 @@
...
@@ -91,9 +91,9 @@
>
>
<el-form>
<el-form>
<el-form-item
:class=
"changeNameClass"
>
<el-form-item
:class=
"changeNameClass"
>
<el-input
<el-input
type=
"textarea"
type=
"textarea"
v-model=
"ruleForm.newLabelName"
v-model=
"ruleForm.newLabelName"
placeholder=
"请填写分组名称,最多15个字符"
placeholder=
"请填写分组名称,最多15个字符"
maxlength=
"15"
maxlength=
"15"
>
>
...
@@ -135,18 +135,25 @@
...
@@ -135,18 +135,25 @@
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
<select-patient
:isShowSelectPatient=
"isShowSelectPatient"
:patientIdList=
"patientIdList"
@
closeSelectPatient=
"closeSelectPatient"
@
sureSelectPatient=
"sureSelectPatient(arguments)"
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
BreadCrumb
from
"@/components/breadcrumb.vue"
;
import
BreadCrumb
from
"@/components/breadcrumb.vue"
;
import
*
as
commonUtil
from
"@/utils/utils"
;
import
*
as
commonUtil
from
"@/utils/utils"
;
import
{
import
{
getLabelDetail
,
getLabelDetail
,
deleteCurrentLabel
,
deleteCurrentLabel
,
changeLabelName
,
changeLabelName
,
deleteCurrentPatients
,
deleteCurrentPatients
,
}
from
'@/utils/patients/patientsapi'
}
from
'@/utils/patients/patientsapi'
import
SelectPatient
from
'./dialog/select-patitents'
;
export
default
{
export
default
{
...
@@ -162,6 +169,8 @@
...
@@ -162,6 +169,8 @@
showChangeLabelNameDialog
:
false
,
showChangeLabelNameDialog
:
false
,
centerDialogVisible
:
false
,
centerDialogVisible
:
false
,
showDeletePatientsDialog
:
false
,
showDeletePatientsDialog
:
false
,
isShowSelectPatient
:
false
,
patientIdList
:
[],
searchData
:
{
searchData
:
{
pageNo
:
1
,
// 第几页
pageNo
:
1
,
// 第几页
pageSize
:
10
,
// 每页条数
pageSize
:
10
,
// 每页条数
...
@@ -176,6 +185,7 @@
...
@@ -176,6 +185,7 @@
},
},
components
:
{
components
:
{
BreadCrumb
,
BreadCrumb
,
SelectPatient
,
},
},
computed
:
{
computed
:
{
changeNameClass
()
{
changeNameClass
()
{
...
@@ -191,7 +201,7 @@
...
@@ -191,7 +201,7 @@
// 挂载到Dom完成时
// 挂载到Dom完成时
mounted
()
{
mounted
()
{
commonUtil
.
resizeHeight
();
commonUtil
.
resizeHeight
();
},
},
methods
:
{
methods
:
{
getDetail
()
{
getDetail
()
{
let
labelId
=
this
.
$route
.
query
.
labelId
;
let
labelId
=
this
.
$route
.
query
.
labelId
;
...
@@ -370,7 +380,14 @@
...
@@ -370,7 +380,14 @@
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
'error: '
,
err
)
console
.
log
(
'error: '
,
err
)
});
});
}
},
addPatientsHandler
()
{
this
.
isShowSelectPatient
=
true
;
},
closeSelectPatient
()
{},
sureSelectPatient
(
arg
)
{
},
}
}
}
}
</
script
>
</
script
>
...
@@ -430,7 +447,7 @@
...
@@ -430,7 +447,7 @@
text-align: right;
text-align: right;
}
}
.table-empty{
.table-empty{
width: 100%;
width: 100%;
height: auto;
height: auto;
text-align: center;
text-align: center;
.empty-pic{
.empty-pic{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录