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
提交
8beb5479
提交
8beb5479
编写于
4月 25, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
注释 console
上级
8a8d8eee
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
18 行增加
和
30 行删除
+18
-30
workbench.js
src/store/followup/workbench.js
+1
-1
set-time-node.vue
src/views/followup/plan-manage/dialog/set-time-node.vue
+4
-16
new-plan.vue
src/views/followup/plan-manage/new-plan.vue
+4
-4
plan-modify.vue
src/views/followup/plan-manage/plan-modify.vue
+3
-3
resident-detail.vue
src/views/followup/plan-manage/resident-detail.vue
+2
-2
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+2
-2
dataSourceBaseInfo2.js
...llowup/record-manage/models/stroke/dataSourceBaseInfo2.js
+1
-1
change-reservation.vue
...followup/reservation-manage/dialog/change-reservation.vue
+1
-1
未找到文件。
src/store/followup/workbench.js
浏览文件 @
8beb5479
...
@@ -9,7 +9,7 @@ export default {
...
@@ -9,7 +9,7 @@ export default {
},
},
mutations
:
{
mutations
:
{
GET_TODAY_PLAN_LIST
(
state
,
payload
)
{
GET_TODAY_PLAN_LIST
(
state
,
payload
)
{
console
.
log
(
'返回数据'
,
payload
)
//
console.log('返回数据', payload)
state
.
todayPlansList
=
payload
state
.
todayPlansList
=
payload
},
},
GET_TODAY_APPOINTS_LIST
(
state
,
payload
)
{
GET_TODAY_APPOINTS_LIST
(
state
,
payload
)
{
...
...
src/views/followup/plan-manage/dialog/set-time-node.vue
浏览文件 @
8beb5479
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
this
.
getConstData
();
this
.
getConstData
();
},
},
mounted
(){
mounted
(){
console
.
log
(
this
.
resourceId
)
//
console.log(this.resourceId)
if
(
!
this
.
planId
){
//新建计划
if
(
!
this
.
planId
){
//新建计划
this
.
initNewForm
();
this
.
initNewForm
();
}
}
...
@@ -216,8 +216,8 @@
...
@@ -216,8 +216,8 @@
}
}
},
},
resourceId
(
val
){
resourceId
(
val
){
console
.
log
(
'props='
,
val
)
//
console.log('props=',val)
console
.
log
(
'activeResourceId='
,
this
.
activeResourceId
)
//
console.log('activeResourceId=',this.activeResourceId)
if
(
parseFloat
(
val
)
>=
0
){
if
(
parseFloat
(
val
)
>=
0
){
if
(
val
!==
this
.
activeResourceId
){
if
(
val
!==
this
.
activeResourceId
){
this
.
activeTab
=
0
+
''
;
this
.
activeTab
=
0
+
''
;
...
@@ -445,7 +445,7 @@
...
@@ -445,7 +445,7 @@
const
len
=
pushData
.
length
;
const
len
=
pushData
.
length
;
const
startDays
=
len
?
pushData
[
0
].
startDays
:
null
;
const
startDays
=
len
?
pushData
[
0
].
startDays
:
null
;
const
resourceId
=
len
?
pushData
[
0
].
resourceId
:
null
;
const
resourceId
=
len
?
pushData
[
0
].
resourceId
:
null
;
console
.
log
(
pushData
)
//
console.log(pushData)
// 如果选了推送时间,没选漫画
// 如果选了推送时间,没选漫画
if
(
len
&&
(
startDays
!==
''
&&
startDays
>=
0
)
&&
!
resourceId
){
if
(
len
&&
(
startDays
!==
''
&&
startDays
>=
0
)
&&
!
resourceId
){
this
.
errMsg
=
'请选择推送的患教漫画'
;
this
.
errMsg
=
'请选择推送的患教漫画'
;
...
@@ -501,7 +501,6 @@
...
@@ -501,7 +501,6 @@
},
},
// 检查是否重复
// 检查是否重复
checkIsRepeat
(
val
,
lastIndex
){
checkIsRepeat
(
val
,
lastIndex
){
console
.
log
(
this
.
activeTab
)
const
inx
=
lastIndex
?
lastIndex
:
this
.
activeTab
;
const
inx
=
lastIndex
?
lastIndex
:
this
.
activeTab
;
for
(
let
i
=
0
;
i
<
this
.
setTimeNodeList
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
this
.
setTimeNodeList
.
length
;
i
++
){
if
(
inx
!=
i
&&
val
==
this
.
setTimeNodeList
[
i
].
timeNo
){
if
(
inx
!=
i
&&
val
==
this
.
setTimeNodeList
[
i
].
timeNo
){
...
@@ -543,7 +542,6 @@
...
@@ -543,7 +542,6 @@
// 时间失去焦点
// 时间失去焦点
timeNoBlur
(
itemTimeForm
){
timeNoBlur
(
itemTimeForm
){
const
lastIndex
=
this
.
activeTab
;
const
lastIndex
=
this
.
activeTab
;
console
.
log
(
'blur之后='
,
this
.
activeTab
)
const
timeNo
=
this
.
setTimeNodeList
[
this
.
activeTab
].
timeNo
;
const
timeNo
=
this
.
setTimeNodeList
[
this
.
activeTab
].
timeNo
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// 这里设置定时器是因为,如果填完时间,直接点击随访方式radio,会立即出发排序和重复事件
// 这里设置定时器是因为,如果填完时间,直接点击随访方式radio,会立即出发排序和重复事件
...
@@ -732,16 +730,6 @@
...
@@ -732,16 +730,6 @@
// 显示tab文字
// 显示tab文字
showTabLabel
(
item
){
showTabLabel
(
item
){
let
str
;
let
str
;
// if(this.isStandedTemplate || this.planId){
// if(item.timeNo){
// str = '开始后' + String(item.timeNo) + this.timeUnitStr
// }else{
// str = '设置时间节点'
// }
// }else{
//
// }
// console.log(item)
if
(
item
.
timeNo
>=
0
&&
item
.
timeNo
!==
''
){
if
(
item
.
timeNo
>=
0
&&
item
.
timeNo
!==
''
){
str
=
'开始后'
+
String
(
item
.
timeNo
)
+
this
.
timeUnitStr
str
=
'开始后'
+
String
(
item
.
timeNo
)
+
this
.
timeUnitStr
}
else
{
}
else
{
...
...
src/views/followup/plan-manage/new-plan.vue
浏览文件 @
8beb5479
...
@@ -193,12 +193,12 @@
...
@@ -193,12 +193,12 @@
},
},
// 监听保存校验结果
// 监听保存校验结果
addListenSave
(
val
){
addListenSave
(
val
){
console
.
log
(
'监听保存校验结果'
,
val
)
//
console.log('监听保存校验结果',val)
this
.
checkForm
=
false
this
.
checkForm
=
false
if
(
val
.
status
){
if
(
val
.
status
){
this
.
baseInfo
.
fPlanTimeReqList
=
val
.
setTimeNodeList
this
.
baseInfo
.
fPlanTimeReqList
=
val
.
setTimeNodeList
// this.baseInfo.time = (new Date(this.baseInfo.time).getTime())
// this.baseInfo.time = (new Date(this.baseInfo.time).getTime())
console
.
log
(
this
.
baseInfo
.
time
)
//
console.log(this.baseInfo.time)
// 提交
// 提交
createFollowPlan
(
this
.
baseInfo
).
then
(
res
=>
{
createFollowPlan
(
this
.
baseInfo
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
if
(
res
.
code
==
'000000'
){
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
this
.
isShowSelectPatient
=
getArguments
[
0
];
this
.
isShowSelectPatient
=
getArguments
[
0
];
const
selectPatients
=
getArguments
[
1
];
// 每次选中获取的人
const
selectPatients
=
getArguments
[
1
];
// 每次选中获取的人
this
.
hasSelectedList
=
selectPatients
;
this
.
hasSelectedList
=
selectPatients
;
console
.
log
(
'呵呵呵呵'
,
arguments
)
//
console.log('呵呵呵呵',arguments)
this
.
baseInfo
.
patientIdList
=
[];
this
.
baseInfo
.
patientIdList
=
[];
selectPatients
.
forEach
((
item
)
=>
{
selectPatients
.
forEach
((
item
)
=>
{
this
.
baseInfo
.
patientIdList
.
push
(
item
.
patientId
);
this
.
baseInfo
.
patientIdList
.
push
(
item
.
patientId
);
...
@@ -281,7 +281,7 @@
...
@@ -281,7 +281,7 @@
this
.
noChoice
=
false
this
.
noChoice
=
false
}
}
if
(
valid
)
{
if
(
valid
)
{
console
.
log
(
'当前选择的随访模板id为'
,
this
.
baseInfo
.
resourceId
)
//
console.log('当前选择的随访模板id为',this.baseInfo.resourceId)
this
.
resourceId
=
String
(
this
.
baseInfo
.
resourceId
)
this
.
resourceId
=
String
(
this
.
baseInfo
.
resourceId
)
// console.log( this.baseInfo.resourceId)
// console.log( this.baseInfo.resourceId)
if
(
this
.
baseInfo
.
resourceId
){
if
(
this
.
baseInfo
.
resourceId
){
...
...
src/views/followup/plan-manage/plan-modify.vue
浏览文件 @
8beb5479
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
},
},
// 监听保存校验结果
// 监听保存校验结果
addListenSave
(
val
){
addListenSave
(
val
){
console
.
log
(
'监听保存校验结果'
,
val
)
//
console.log('监听保存校验结果',val)
this
.
checkForm
=
false
this
.
checkForm
=
false
if
(
val
.
status
){
if
(
val
.
status
){
this
.
$confirm
(
'是否确认保存修改内容?'
,
''
,
{
this
.
$confirm
(
'是否确认保存修改内容?'
,
''
,
{
...
@@ -260,8 +260,8 @@
...
@@ -260,8 +260,8 @@
this
.
planDetailData
.
fPlanTimeReqList
=
val
.
setTimeNodeList
this
.
planDetailData
.
fPlanTimeReqList
=
val
.
setTimeNodeList
// this.planDetailData.joinTime = new Date();
// this.planDetailData.joinTime = new Date();
// this.planDetailData.joinTime = (new Date(this.planDetailData.joinTime)).getTime()
// this.planDetailData.joinTime = (new Date(this.planDetailData.joinTime)).getTime()
console
.
log
(
this
.
planDetailData
.
joinTime
)
//
console.log(this.planDetailData.joinTime)
console
.
log
(
'修改计划前的数据===>>>'
,
this
.
planDetailData
)
//
console.log('修改计划前的数据===>>>',this.planDetailData)
createFollowPlan
(
this
.
planDetailData
).
then
(
res
=>
{
createFollowPlan
(
this
.
planDetailData
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
if
(
res
.
code
==
'000000'
){
// 各种校验通过后,提交编辑内容,toast提示
// 各种校验通过后,提交编辑内容,toast提示
...
...
src/views/followup/plan-manage/resident-detail.vue
浏览文件 @
8beb5479
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
},
},
watch
:
{
watch
:
{
timeNodeList
(
val
)
{
timeNodeList
(
val
)
{
console
.
log
(
'val1'
,
val
)
//
console.log('val1',val)
if
(
val
&&
val
.
length
)
{
if
(
val
&&
val
.
length
)
{
this
.
timeNodes
=
val
[
0
].
id
this
.
timeNodes
=
val
[
0
].
id
}
}
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
this
.
nodePlanPatientsTimesId
=
this
.
timeNodeList
.
filter
(
function
(
item
){
this
.
nodePlanPatientsTimesId
=
this
.
timeNodeList
.
filter
(
function
(
item
){
return
item
.
id
==
val
;
return
item
.
id
==
val
;
});
});
console
.
log
(
this
.
nodePlanPatientsTimesId
)
//
console.log(this.nodePlanPatientsTimesId)
},
},
residentDetail
(
val
)
{
residentDetail
(
val
)
{
this
.
planDetails
=
val
.
fPlanDto
this
.
planDetails
=
val
.
fPlanDto
...
...
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
8beb5479
...
@@ -356,7 +356,7 @@
...
@@ -356,7 +356,7 @@
patientNames
.
push
(
item
.
patientName
)
patientNames
.
push
(
item
.
patientName
)
planPatientsIdList
.
push
(
item
.
fuPlanPatientId
)
planPatientsIdList
.
push
(
item
.
fuPlanPatientId
)
});
});
console
.
log
(
patientIds
)
//
console.log(patientIds)
if
(
patientNames
.
length
>
5
)
{
if
(
patientNames
.
length
>
5
)
{
const
le
=
patientNames
.
length
const
le
=
patientNames
.
length
patientNames
=
patientNames
.
slice
(
0
,
5
)
patientNames
=
patientNames
.
slice
(
0
,
5
)
...
@@ -431,7 +431,7 @@
...
@@ -431,7 +431,7 @@
this
.
showAddPatientTime
=
true
this
.
showAddPatientTime
=
true
},
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
console
.
log
(
'已选居民'
,
val
)
//
console.log('已选居民',val)
this
.
finishPatientList
=
val
;
this
.
finishPatientList
=
val
;
}
}
},
},
...
...
src/views/followup/record-manage/models/stroke/dataSourceBaseInfo2.js
浏览文件 @
8beb5479
...
@@ -19,7 +19,7 @@ export default ($this) => {
...
@@ -19,7 +19,7 @@ export default ($this) => {
],
],
rules
:
[{
required
:
true
,
message
:
'请选择调查时状态'
,
trigger
:
[
'submit'
,
'change'
]
}],
rules
:
[{
required
:
true
,
message
:
'请选择调查时状态'
,
trigger
:
[
'submit'
,
'change'
]
}],
changeFun
:
(
e
)
=>
{
changeFun
:
(
e
)
=>
{
console
.
log
(
e
)
//
console.log(e)
if
(
e
==
'失访'
||
e
==
'死亡'
){
if
(
e
==
'失访'
||
e
==
'死亡'
){
$this
.
showModule
=
false
;
$this
.
showModule
=
false
;
}
else
{
}
else
{
...
...
src/views/followup/reservation-manage/dialog/change-reservation.vue
浏览文件 @
8beb5479
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
},
},
changeHandler
(
val
)
{
changeHandler
(
val
)
{
this
.
getReservationPatients
({
makeAnAppointDate
:
val
});
this
.
getReservationPatients
({
makeAnAppointDate
:
val
});
console
.
log
(
'日期'
,
this
.
getRevervationNum
)
//
console.log('日期',this.getRevervationNum)
},
},
}
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录