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
提交
c5af5d07
提交
c5af5d07
编写于
4月 20, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
55ace172
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19 行增加
和
19 行删除
+19
-19
form-template.vue
src/views/followup/record-manage/form-template.vue
+4
-12
dataSourceTreatmentSituation.js
...cord-manage/models/stroke/dataSourceTreatmentSituation.js
+1
-1
stroke.vue
src/views/followup/record-manage/patient-scale/stroke.vue
+14
-6
未找到文件。
src/views/followup/record-manage/form-template.vue
浏览文件 @
c5af5d07
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<el-col
:span=
"20"
>
心脑血管病危险因素
<el-col
:span=
"20"
>
心脑血管病危险因素
社区、乡镇人群随访表
社区、乡镇人群随访表
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
"showBtn==
1
"
>
<el-col
:span=
"4"
v-if=
"showBtn==
'1'
"
>
<el-button
class=
"button-white"
size=
"small"
plain
@
click=
"formSubmit(2)"
>
暂存
</el-button>
<el-button
class=
"button-white"
size=
"small"
plain
@
click=
"formSubmit(2)"
>
暂存
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"formSubmit(1)"
>
提交
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"formSubmit(1)"
>
提交
</el-button>
</el-col>
</el-col>
...
@@ -22,17 +22,11 @@
...
@@ -22,17 +22,11 @@
<h2>
(适用于社区、乡镇脑卒中高危人群满6个月、12个月时随访和中危人群满12个月时随访使用)
</h2>
<h2>
(适用于社区、乡镇脑卒中高危人群满6个月、12个月时随访和中危人群满12个月时随访使用)
</h2>
</div>
</div>
<!--
<el-row
:gutter=
"24"
class=
"patient-base-info"
>
-->
<!--
<el-col
:span=
"4"
><div
class=
"grid-content bg-purple"
>
居民:戴家康
</div></el-col>
-->
<!--
<el-col
:span=
"12"
><div
class=
"grid-content bg-purple"
>
身份证号:31021212121212121212
</div></el-col>
-->
<!--
<el-col
:span=
"8"
><div
class=
"grid-content bg-purple"
>
随访计划名称:2018年河北省脑卒中随访
</div></el-col>
-->
<!--
</el-row>
-->
<!--模板页面除了显示居民基本信息,将病种展示作为组件引入-->
<!--模板页面除了显示居民基本信息,将病种展示作为组件引入-->
<div
class=
"form-container"
>
<div
class=
"form-container"
>
<!--脑卒中-->
<!--脑卒中-->
<stroke
v-if=
"resourceId=='SCALE0003'"
:checkStart=
"checkStart"
@
checkEnd=
"checkEnd"
:saveWay=
"saveWay"
/>
<stroke
v-if=
"resourceId=='SCALE0003'"
:
showBtn=
"showBtn"
:
checkStart=
"checkStart"
@
checkEnd=
"checkEnd"
:saveWay=
"saveWay"
/>
</div>
</div>
...
@@ -50,7 +44,7 @@
...
@@ -50,7 +44,7 @@
data
(){
data
(){
return
{
return
{
checkStart
:
false
,
checkStart
:
false
,
showBtn
:
1
,
showBtn
:
'1'
,
resourceId
:
''
,
resourceId
:
''
,
saveWay
:
1
saveWay
:
1
}
}
...
@@ -69,12 +63,10 @@
...
@@ -69,12 +63,10 @@
}
}
},
},
created
(){
created
(){
// this.showBtn = false;
// console.log(this.$route.query);
this
.
resourceId
=
this
.
$route
.
query
.
resourceId
;
this
.
resourceId
=
this
.
$route
.
query
.
resourceId
;
this
.
resourceId
=
'SCALE0003'
this
.
resourceId
=
'SCALE0003'
if
(
this
.
$route
.
query
.
showBtn
==
'0'
){
if
(
this
.
$route
.
query
.
showBtn
==
'0'
){
this
.
showBtn
=
this
.
$route
.
query
.
showBtn
;
this
.
showBtn
=
String
(
this
.
$route
.
query
.
showBtn
)
;
}
}
// 0003 脑卒中、0002 糖尿病、0001 高血压
// 0003 脑卒中、0002 糖尿病、0001 高血压
}
}
...
...
src/views/followup/record-manage/models/stroke/dataSourceTreatmentSituation.js
浏览文件 @
c5af5d07
...
@@ -183,7 +183,7 @@ export default ($this) => {
...
@@ -183,7 +183,7 @@ export default ($this) => {
dateType
:
'year'
,
dateType
:
'year'
,
type
:
'date'
,
type
:
'date'
,
rules
:
[{
required
:
true
,
message
:
'手术时间'
,
trigger
:
'submit'
}],
rules
:
[{
required
:
true
,
message
:
'手术时间'
,
trigger
:
'submit'
}],
spanNum
:
6
,
spanNum
:
12
,
},
},
...
...
src/views/followup/record-manage/patient-scale/stroke.vue
浏览文件 @
c5af5d07
...
@@ -88,7 +88,8 @@
...
@@ -88,7 +88,8 @@
},
},
props
:
{
props
:
{
checkStart
:
Boolean
,
checkStart
:
Boolean
,
saveWay
:
Number
saveWay
:
Number
,
showBtn
:
String
,
},
},
watch
:
{
watch
:
{
...
@@ -168,7 +169,10 @@
...
@@ -168,7 +169,10 @@
if
(
res
.
data
.
code
==
'000000'
){
if
(
res
.
data
.
code
==
'000000'
){
this
.
domain
=
res
.
data
.
data
this
.
domain
=
res
.
data
.
data
this
.
getFormModules
();
this
.
getFormModules
();
this
.
getFormDetail
();
if
(
this
.
showBtn
!=
'0'
){
this
.
getFormDetail
();
}
}
}
})
})
},
},
...
@@ -218,14 +222,18 @@
...
@@ -218,14 +222,18 @@
this
.
formData
=
res
.
data
.
data
this
.
formData
=
res
.
data
.
data
for
(
let
i
=
0
;
i
<
this
.
addComponents
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
this
.
addComponents
.
length
;
i
++
){
let
formName
=
this
.
addComponents
[
i
].
formName
;
let
formName
=
this
.
addComponents
[
i
].
formName
;
let
investigationState
=
this
.
formData
[
formName
].
investigationState
;
if
(
this
.
formData
[
formName
]){
if
(
this
.
formData
[
formName
]){
this
.
addComponents
[
i
].
formObject
=
this
.
formData
[
formName
];
let
investigationState
=
this
.
formData
[
formName
].
investigationState
;
if
(
(
investigationState
===
'失访'
||
investigationState
===
'死亡'
)
){
this
.
showModule
=
false
;
}
}
}
if
(
(
investigationState
===
'失访'
||
investigationState
===
'死亡'
)
){
if
(
this
.
formData
[
formName
]
){
this
.
showModule
=
false
;
this
.
addComponents
[
i
].
formObject
=
this
.
formData
[
formName
]
;
}
}
}
}
this
.
canRender
=
true
;
this
.
canRender
=
true
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录