Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
77f170d6
提交
77f170d6
编写于
9月 27, 2019
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
app端只传这个字段
上级
b678fc86
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
39 行增加
和
6 行删除
+39
-6
followapis.js
src/utils/followup/followapis.js
+30
-0
add-patient-time.vue
src/views/followup/plan-manage/dialog/add-patient-time.vue
+1
-1
new-plan.vue
src/views/followup/plan-manage/new-plan.vue
+1
-1
diabetes.vue
src/views/followup/record-manage/patient-scale/diabetes.vue
+2
-1
hypertension.vue
...ews/followup/record-manage/patient-scale/hypertension.vue
+2
-1
stroke.vue
src/views/followup/record-manage/patient-scale/stroke.vue
+3
-2
未找到文件。
src/utils/followup/followapis.js
浏览文件 @
77f170d6
...
...
@@ -493,3 +493,33 @@ export const getFirstAccess = () => {
})
}
/**
* Add by Anndy Yang
* 统一验证:量表内是否存在敏感字段、居民是否签署隐私协议、7天内是否发送过授权短信
* @param {[type]} data
{
"scaleNo":"String,量表编号",
// "patientIds":"List<Integer>,医生/居民id集合", // pc端只传这个字段
"planPatientsTimesId": "planPatientsTimesId", // app端只传这个字段
"protocolType":"Integer,协议类型(1:平台用户协议,5:隐私协议)",
"userType":"Integer,用户类型(1:居民,2:医生,3:其他)",
"validateType":"1:3个条件依次校验,2:后面2个条件依次校验"
}
* @return {[type]}
{
"code": "000000",
"message": "成功",
"data": {
"levelType":"类型 1:量表不存在敏感字段,2:居民都已签署协议,3:7天内发送过授权短信,4:7天内未发送过授权短信"
"ids":"List<Integer>,未签署协议的id集合(需要发送授权短信的居民id集合)"
}
}
*/
export
const
uniteValidate
=
(
params
)
=>
{
return
fetch
({
url
:
getFollowUpSC
(
`/followup/protocol/uniteValidate`
),
method
:
'post'
,
data
:
params
,
})
};
src/views/followup/plan-manage/dialog/add-patient-time.vue
浏览文件 @
77f170d6
...
...
@@ -85,7 +85,7 @@
// 创建/修改履约计划
// 4、校验居民/医生是否签署协议
alert
(
'创建/修改履约计划'
)
return
//
return
this
.
$refs
[
'addPatientData'
].
validate
(
valid
=>
{
if
(
valid
)
{
...
...
src/views/followup/plan-manage/new-plan.vue
浏览文件 @
77f170d6
...
...
@@ -277,7 +277,7 @@
// 创建/修改履约计划
// 4、校验居民/医生是否签署协议
alert
(
'创建/修改履约计划'
)
return
//
return
//为方便调试,不做校验
// this.activeTab = 'second';
...
...
src/views/followup/record-manage/patient-scale/diabetes.vue
浏览文件 @
77f170d6
...
...
@@ -209,7 +209,8 @@
this
.
moduleList
=
res
.
data
;
for
(
let
i
=
0
;
i
<
this
.
moduleList
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
this
.
addComponentsSourceList
.
length
;
j
++
){
if
(
this
.
moduleList
[
i
]
==
this
.
addComponentsSourceList
[
j
].
formName
){
// if(this.moduleList[i]==this.addComponentsSourceList[j].formName){
if
(
this
.
moduleList
[
i
].
modelCode
==
this
.
addComponentsSourceList
[
j
].
formName
){
this
.
addComponents
.
push
(
this
.
addComponentsSourceList
[
j
])
}
}
...
...
src/views/followup/record-manage/patient-scale/hypertension.vue
浏览文件 @
77f170d6
...
...
@@ -200,7 +200,8 @@
this
.
moduleList
=
res
.
data
;
for
(
let
i
=
0
;
i
<
this
.
moduleList
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
this
.
addComponentsSourceList
.
length
;
j
++
){
if
(
this
.
moduleList
[
i
]
==
this
.
addComponentsSourceList
[
j
].
formName
){
// if(this.moduleList[i]==this.addComponentsSourceList[j].formName){
if
(
this
.
moduleList
[
i
].
modelCode
==
this
.
addComponentsSourceList
[
j
].
formName
){
this
.
addComponents
.
push
(
this
.
addComponentsSourceList
[
j
])
}
}
...
...
src/views/followup/record-manage/patient-scale/stroke.vue
浏览文件 @
77f170d6
...
...
@@ -232,8 +232,9 @@
this
.
moduleList
=
res
.
data
;
for
(
let
i
=
0
;
i
<
this
.
moduleList
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
this
.
addComponentsSourceList
.
length
;
j
++
){
if
(
this
.
moduleList
[
i
]
==
this
.
addComponentsSourceList
[
j
].
formName
){
this
.
addComponents
.
push
(
this
.
addComponentsSourceList
[
j
])
// if(this.moduleList[i]==this.addComponentsSourceList[j].formName){
if
(
this
.
moduleList
[
i
].
modelCode
==
this
.
addComponentsSourceList
[
j
].
formName
){
this
.
addComponents
.
push
(
this
.
addComponentsSourceList
[
j
])
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录