Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4b2a6969
提交
4b2a6969
编写于
4月 18, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
a5ae3b93
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
11 行删除
+18
-11
form-template.vue
src/views/followup/record-manage/form-template.vue
+6
-4
stroke.vue
src/views/followup/record-manage/patient-scale/stroke.vue
+12
-7
未找到文件。
src/views/followup/record-manage/form-template.vue
浏览文件 @
4b2a6969
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
社区、乡镇人群随访表
社区、乡镇人群随访表
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
"showBtn"
>
<el-col
:span=
"4"
v-if=
"showBtn"
>
<el-button
class=
"button-white"
size=
"small"
plain
@
click=
"formSubmit"
>
暂存
</el-button>
<el-button
class=
"button-white"
size=
"small"
plain
@
click=
"formSubmit
(2)
"
>
暂存
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"formSubmit"
>
提交
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"formSubmit
(1)
"
>
提交
</el-button>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"form-container"
>
<div
class=
"form-container"
>
<!--脑卒中-->
<!--脑卒中-->
<stroke
v-if=
"resourceId=='SCALE0003'"
:checkStart=
"checkStart"
@
checkEnd=
"checkEnd"
:showBtn=
"showBtn"
/>
<stroke
v-if=
"resourceId=='SCALE0003'"
:checkStart=
"checkStart"
@
checkEnd=
"checkEnd"
:showBtn=
"showBtn"
:saveWay=
"saveWay"
/>
</div>
</div>
...
@@ -52,6 +52,7 @@
...
@@ -52,6 +52,7 @@
checkStart
:
false
,
checkStart
:
false
,
showBtn
:
true
,
showBtn
:
true
,
resourceId
:
''
,
resourceId
:
''
,
saveWay
:
1
}
}
},
},
components
:
{
components
:
{
...
@@ -59,7 +60,8 @@
...
@@ -59,7 +60,8 @@
BreadCrumb
,
BreadCrumb
,
},
},
methods
:
{
methods
:
{
formSubmit
(){
formSubmit
(
val
){
this
.
saveWay
=
val
this
.
checkStart
=
true
;
this
.
checkStart
=
true
;
},
},
checkEnd
(
val
){
checkEnd
(
val
){
...
...
src/views/followup/record-manage/patient-scale/stroke.vue
浏览文件 @
4b2a6969
...
@@ -53,6 +53,9 @@
...
@@ -53,6 +53,9 @@
return
{
return
{
canRender
:
true
,
canRender
:
true
,
bmi
:
0
,
bmi
:
0
,
planPatientsTimesId
:
''
,
scaleNo
:
''
,
doctorId
:
''
,
addComponents
:
[
addComponents
:
[
{
name
:
'BaseInfo0'
,
formObject
:
{},
formName
:
'stroke_001'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo0
(
this
),
hideTitle
:
true
,
title
:
'一、量表脑卒中随访人员信息表'
},
{
name
:
'BaseInfo0'
,
formObject
:
{},
formName
:
'stroke_001'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo0
(
this
),
hideTitle
:
true
,
title
:
'一、量表脑卒中随访人员信息表'
},
{
name
:
'BaseInfo'
,
formObject
:
{},
formName
:
'stroke_002'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo
(
this
),
title
:
'一、基本信息'
},
{
name
:
'BaseInfo'
,
formObject
:
{},
formName
:
'stroke_002'
,
className
:
'obj-form-title'
,
dataSource
:
dataSourceBaseInfo
(
this
),
title
:
'一、基本信息'
},
...
@@ -80,6 +83,7 @@
...
@@ -80,6 +83,7 @@
props
:
{
props
:
{
showBtn
:
Boolean
,
showBtn
:
Boolean
,
checkStart
:
Boolean
,
checkStart
:
Boolean
,
saveWay
:
Number
},
},
watch
:
{
watch
:
{
checkStart
(
val
){
checkStart
(
val
){
...
@@ -108,10 +112,10 @@
...
@@ -108,10 +112,10 @@
});
});
}
}
console
.
log
(
this
.
formData
)
console
.
log
(
this
.
formData
)
this
.
formData
.
doctorId
=
1
this
.
formData
.
doctorId
=
this
.
doctorId
this
.
formData
.
saveWay
=
1
this
.
formData
.
saveWay
=
this
.
saveWay
this
.
formData
.
scaleNo
=
'SCALE0003'
this
.
formData
.
scaleNo
=
this
.
scaleNo
this
.
formData
.
planPatientsTimesId
=
1
this
.
formData
.
planPatientsTimesId
=
this
.
planPatientsTimesId
console
.
log
(
JSON
.
stringify
(
this
.
formData
))
console
.
log
(
JSON
.
stringify
(
this
.
formData
))
if
(
this
.
valid
){
if
(
this
.
valid
){
...
@@ -152,11 +156,12 @@
...
@@ -152,11 +156,12 @@
},
},
created
(){
created
(){
// /scale/{patientTimesId}/{scaleNo}/info
// /scale/{patientTimesId}/{scaleNo}/info
let
planPatientsTimesId
=
this
.
$route
.
query
.
planPatientsTimesId
this
.
planPatientsTimesId
=
this
.
$route
.
query
.
planPatientsTimesId
let
scaleNo
=
this
.
$route
.
query
.
scaleNo
this
.
scaleNo
=
this
.
$route
.
query
.
scaleNo
this
.
doctorId
=
this
.
$route
.
query
.
doctorId
axios
({
axios
({
method
:
'get'
,
method
:
'get'
,
url
:
getFollowUpSC
(
`/scale/
${
planPatientsTimesId
}
/
${
scaleNo
}
/info?type=2`
),
url
:
getFollowUpSC
(
`/scale/
${
this
.
planPatientsTimesId
}
/
${
this
.
scaleNo
}
/info?type=2`
),
data
:
JSON
.
stringify
(
this
.
formData
),
data
:
JSON
.
stringify
(
this
.
formData
),
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
formData
=
res
.
data
.
data
this
.
formData
=
res
.
data
.
data
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录