Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
377ecdd8
提交
377ecdd8
编写于
10月 16, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提交量表提示语修改
上级
30b4cc70
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
54 行增加
和
3 行删除
+54
-3
diabetes.vue
src/views/followup/record-manage/patient-scale/diabetes.vue
+18
-1
hypertension.vue
...ews/followup/record-manage/patient-scale/hypertension.vue
+18
-1
stroke.vue
src/views/followup/record-manage/patient-scale/stroke.vue
+18
-1
未找到文件。
src/views/followup/record-manage/patient-scale/diabetes.vue
浏览文件 @
377ecdd8
...
...
@@ -321,10 +321,27 @@
});
this
.
medication
=
[...
this
.
medication
,...
arrNew
];
this
.
formData
.
h_s_002
=
this
.
medication
//判断是否放开敏感字段
let
hasDisabled
=
false
;
this
.
addComponents
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
disabled
===
true
)
{
hasDisabled
=
true
}
})
postScale
(
this
.
domain
,
this
.
formData
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
// let doMsg = (this.saveWay==1) ? '提交成功' : '保存成功';
let
doMsg
=
(
this
.
saveWay
==
1
)
?
'非敏感信息提交成功'
:
'保存成功'
;
// let doMsg = (this.saveWay==1 && hasDisabled === true) ? '非敏感信息提交成功' : '保存成功';
let
doMsg
=
''
;
if
(
this
.
saveWay
==
1
)
{
if
(
hasDisabled
===
true
){
doMsg
=
'非敏感信息提交成功'
}
else
{
doMsg
=
'提交成功'
}
}
else
{
doMsg
=
'保存成功'
}
this
.
$message
({
message
:
doMsg
,
type
:
'success'
...
...
src/views/followup/record-manage/patient-scale/hypertension.vue
浏览文件 @
377ecdd8
...
...
@@ -340,9 +340,26 @@
}
this
.
formData
.
hypertension_001
.
symptom
=
JSON
.
stringify
(
this
.
formData
.
hypertension_001
.
symptom
);
// console.log(this.formData)
//判断是否放开敏感字段
let
hasDisabled
=
false
;
this
.
addComponents
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
disabled
===
true
)
{
hasDisabled
=
true
}
})
postScale
(
this
.
domain
,
this
.
formData
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
let
doMsg
=
(
this
.
saveWay
==
1
)
?
'非敏感信息提交成功'
:
'保存成功'
;
// let doMsg = (this.saveWay==1) ? '非敏感信息提交成功' : '保存成功';
let
doMsg
=
''
;
if
(
this
.
saveWay
==
1
)
{
if
(
hasDisabled
===
true
){
doMsg
=
'非敏感信息提交成功'
}
else
{
doMsg
=
'提交成功'
}
}
else
{
doMsg
=
'保存成功'
}
this
.
$message
({
message
:
doMsg
,
type
:
'success'
...
...
src/views/followup/record-manage/patient-scale/stroke.vue
浏览文件 @
377ecdd8
...
...
@@ -320,9 +320,26 @@
this
.
formData
.
scaleNo
=
this
.
scaleNo
;
this
.
formData
.
isLine
=
2
;
// console.log(JSON.stringify(this.formData))
//判断是否放开敏感字段
let
hasDisabled
=
false
;
this
.
addComponents
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
disabled
===
true
)
{
hasDisabled
=
true
}
})
postScale
(
this
.
domain
,
this
.
formData
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
let
doMsg
=
(
this
.
saveWay
==
1
)
?
'非敏感信息提交成功'
:
'保存成功'
;
// let doMsg = (this.saveWay==1) ? '非敏感信息提交成功' : '保存成功';
let
doMsg
=
''
;
if
(
this
.
saveWay
==
1
)
{
if
(
hasDisabled
===
true
){
doMsg
=
'非敏感信息提交成功'
}
else
{
doMsg
=
'提交成功'
}
}
else
{
doMsg
=
'保存成功'
}
this
.
$message
({
message
:
doMsg
,
type
:
'success'
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录