Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
04043fbd
提交
04043fbd
编写于
4月 22, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
a835491b
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
40 行增加
和
30 行删除
+40
-30
form-template.vue
src/views/followup/record-manage/form-template.vue
+16
-4
stroke.vue
src/views/followup/record-manage/patient-scale/stroke.vue
+21
-23
record-list.vue
src/views/followup/record-manage/record-list.vue
+1
-1
home.vue
src/views/home.vue
+2
-2
未找到文件。
src/views/followup/record-manage/form-template.vue
浏览文件 @
04043fbd
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"form-template"
>
<div
class=
"form-template"
>
<BreadCrumb
<BreadCrumb
:curmbFirst=
"'随访管理'"
:curmbFirst=
"'随访管理'"
:curmbSecond=
"
'录入管理'
"
:curmbSecond=
"
breadTxt
"
:curmbThird=
"'录入量表'"
:curmbThird=
"'录入量表'"
:jumPathThird=
"jumPathThird"
:jumPathThird=
"jumPathThird"
/>
/>
...
@@ -46,11 +46,12 @@
...
@@ -46,11 +46,12 @@
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
breadTxt
:
'录入管理'
,
jumPathThird
:
'/followup/record-manage/record-list'
,
checkStart
:
false
,
checkStart
:
false
,
showBtn
:
'1'
,
showBtn
:
'1'
,
resourceId
:
''
,
resourceId
:
''
,
saveWay
:
1
,
saveWay
:
1
,
jumPathThird
:
'/followup/record-manage/record-list'
}
}
},
},
components
:
{
components
:
{
...
@@ -73,7 +74,18 @@
...
@@ -73,7 +74,18 @@
this
.
showBtn
=
String
(
this
.
$route
.
query
.
showBtn
);
this
.
showBtn
=
String
(
this
.
$route
.
query
.
showBtn
);
}
}
// 0003 脑卒中、0002 糖尿病、0001 高血压
// 0003 脑卒中、0002 糖尿病、0001 高血压
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
==
'planDetail'
){
vm
.
breadTxt
=
'计划管理'
;
vm
.
jumPathThird
=
'/followup/plan-manage/plan-list'
}
else
{
vm
.
breadTxt
=
'录入管理'
;
vm
.
jumPathThird
=
'/followup/record-manage/record-list'
}
})
},
}
}
</
script
>
</
script
>
...
@@ -81,7 +93,7 @@
...
@@ -81,7 +93,7 @@
@import
'../../../style/followup/followup-common'
;
@import
'../../../style/followup/followup-common'
;
@import
'../../../style/followup/element-reset.css'
;
@import
'../../../style/followup/element-reset.css'
;
.form-show-scrollY
{
.form-show-scrollY
{
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
overflow-y
:
scroll
;
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
overflow-y
:
scroll
;
&
:
:-
webkit-scrollbar
{
&
:
:-
webkit-scrollbar
{
...
...
src/views/followup/record-manage/patient-scale/stroke.vue
浏览文件 @
04043fbd
...
@@ -161,9 +161,8 @@
...
@@ -161,9 +161,8 @@
created
(){
created
(){
this
.
instance
=
axios
.
create
({
this
.
instance
=
axios
.
create
({
headers
:{
headers
:{
// sysCode: 17,
// token: '7B74969E396C4041A4DFCAC75711AA71',
token
:
'7B74969E396C4041A4DFCAC75711AA71'
,
token
:
localStorage
.
getItem
(
'storageToken'
)
// token: localStorage.getItem('storageToken')
},
},
timeout
:
45000
,
timeout
:
45000
,
});
});
...
@@ -240,30 +239,29 @@
...
@@ -240,30 +239,29 @@
data
:
JSON
.
stringify
(
this
.
formData
),
data
:
JSON
.
stringify
(
this
.
formData
),
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
formData
=
res
.
data
.
data
this
.
formData
=
res
.
data
.
data
for
(
let
i
=
0
;
i
<
this
.
addComponents
.
length
;
i
++
){
let
keysList
=
Object
.
keys
(
this
.
formData
);
let
formName
=
this
.
addComponents
[
i
].
formName
;
if
(
keysList
.
length
>
0
){
if
(
this
.
formData
[
formName
]){
for
(
let
i
=
0
;
i
<
this
.
addComponents
.
length
;
i
++
){
let
investigationState
=
this
.
formData
[
formName
].
investigationState
;
let
formName
=
this
.
addComponents
[
i
].
formName
;
if
(
(
investigationState
===
'失访'
||
investigationState
===
'死亡'
)
){
this
.
showModule
=
false
;
}
this
.
addComponents
[
i
].
formObject
=
this
.
formData
[
formName
];
}
else
{
console
.
log
(
123
)
}
}
this
.
canRender
=
true
;
if
(
this
.
formData
[
formName
]){
this
.
$forceUpdate
();
let
investigationState
=
this
.
formData
[
formName
].
investigationState
;
// 量表字段回显,会触发change校验,所以这里拿到数据渲染页面后,重置验证
if
(
(
investigationState
===
'失访'
||
investigationState
===
'死亡'
)
){
for
(
let
i
=
0
;
i
<
this
.
addComponents
.
length
;
i
++
){
this
.
showModule
=
false
;
if
(
this
.
$refs
[
'form'
+
i
].
length
>
0
){
}
this
.
$refs
[
'form'
+
i
][
0
].
resetFields
();
this
.
addComponents
[
i
].
formObject
=
this
.
formData
[
formName
];
}
}
this
.
canRender
=
true
;
this
.
$forceUpdate
();
// 量表字段回显,会触发change校验,所以这里拿到数据渲染页面后,重置验证
for
(
let
i
=
0
;
i
<
this
.
addComponents
.
length
;
i
++
){
if
(
this
.
$refs
[
'form'
+
i
].
length
>
0
){
this
.
$refs
[
'form'
+
i
][
0
].
resetFields
();
}
}
}
}
}
})
})
},
},
// 提交量表
// 提交量表
...
...
src/views/followup/record-manage/record-list.vue
浏览文件 @
04043fbd
...
@@ -226,7 +226,7 @@
...
@@ -226,7 +226,7 @@
this
.
$router
.
push
({
path
:
'/followup/record-manage/form-template'
,
this
.
$router
.
push
({
path
:
'/followup/record-manage/form-template'
,
query
:
{
doctorId
:
this
.
formList
.
doctorId
,
scaleNo
:
this
.
formList
.
scalesList
[
0
].
resourceId
,
planPatientsTimesId
:
row
.
fuPlanPatientTimesId
,
planTimesId
:
row
.
fuPlanTimesId
,
showBtn
:
1
}})
query
:
{
doctorId
:
this
.
formList
.
doctorId
,
scaleNo
:
this
.
formList
.
scalesList
[
0
].
resourceId
,
planPatientsTimesId
:
row
.
fuPlanPatientTimesId
,
planTimesId
:
row
.
fuPlanTimesId
,
showBtn
:
1
}})
}
else
{
}
else
{
this
.
$message
.
warning
(
'暂
不支持录入
量表!'
)
this
.
$message
.
warning
(
'暂
无
量表!'
)
}
}
// 不区分量表列表长度问题,直接调试量表录入
// 不区分量表列表长度问题,直接调试量表录入
// this.$router.push({
// this.$router.push({
...
...
src/views/home.vue
浏览文件 @
04043fbd
...
@@ -224,7 +224,7 @@ export default {
...
@@ -224,7 +224,7 @@ export default {
this
.
$router
.
push
({
path
:
'/followup/record-manage/form-template'
,
this
.
$router
.
push
({
path
:
'/followup/record-manage/form-template'
,
query
:
{
doctorId
:
this
.
formList
.
doctorId
,
scaleNo
:
this
.
formList
.
scalesList
[
0
].
resourceId
,
planPatientsTimesId
:
row
.
planPatientTimesId
,
showBtn
:
1
}})
query
:
{
doctorId
:
this
.
formList
.
doctorId
,
scaleNo
:
this
.
formList
.
scalesList
[
0
].
resourceId
,
planPatientsTimesId
:
row
.
planPatientTimesId
,
showBtn
:
1
}})
}
else
{
}
else
{
this
.
$message
.
warning
(
'暂
不支持录入
量表!'
)
this
.
$message
.
warning
(
'暂
无
量表!'
)
}
}
},
},
changeFollowStatus
(
row
)
{
changeFollowStatus
(
row
)
{
...
@@ -347,7 +347,7 @@ export default {
...
@@ -347,7 +347,7 @@ export default {
color
:
#666
;
color
:
#666
;
margin-top
:
15px
;
margin-top
:
15px
;
}
}
}
}
}
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录