Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
46732f7b
提交
46732f7b
编写于
4月 11, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
预约校验增加是否超过发送时间范围的字段
上级
74828ec3
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
20 行增加
和
10 行删除
+20
-10
send-reservation.vue
...s/followup/reservation-manage/dialog/send-reservation.vue
+13
-8
reservation-list.vue
src/views/followup/reservation-manage/reservation-list.vue
+7
-2
未找到文件。
src/views/followup/reservation-manage/dialog/send-reservation.vue
浏览文件 @
46732f7b
...
@@ -192,22 +192,27 @@
...
@@ -192,22 +192,27 @@
//校验额度是否不够
//校验额度是否不够
getCheckReservation
({
getCheckReservation
({
content
:
''
,
content
:
''
,
validContents
:
this
.
validContents
validContents
:
_self
.
validContents
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
const
sendFlagLast
=
data
.
sendFlag
;
const
sendFlagLast
=
data
.
sendFlag
;
const
inServiceTimeFlag
=
data
.
inServiceTimeFlag
;
if
(
sendFlagLast
){
//额度还可用
if
(
sendFlagLast
){
//额度还可用
sendReservation
({
sendReservation
({
...
this
.
reservationForm
,
...
this
.
reservationForm
,
patientAppointList
:
this
.
selectList
patientAppointList
:
_self
.
selectList
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
this
.
$refs
[
'reservationForm'
].
resetFields
();
_self
.
$refs
[
'reservationForm'
].
resetFields
();
this
.
$emit
(
'closeSendReserve'
,
false
);
_self
.
$emit
(
'closeSendReserve'
,
false
);
})
})
}
else
{
}
else
{
console
.
log
(
'余额不足'
)
if
(
!
inServiceTimeFlag
)
{
// 额度不足
_self
.
$message
.
warning
(
'已超过发送时间范围!'
);
this
.
isNoEnoughShow
=
true
;
return
;
return
;
}
else
{
// 额度不足
_self
.
isNoEnoughShow
=
true
;
return
;
}
}
}
})
})
}
else
{
}
else
{
...
...
src/views/followup/reservation-manage/reservation-list.vue
浏览文件 @
46732f7b
...
@@ -281,12 +281,17 @@
...
@@ -281,12 +281,17 @@
content
:
''
,
content
:
''
,
validContents
:
this
.
validContents
validContents
:
this
.
validContents
})
})
const
{
sendFlag
}
=
this
.
checkRevervationData
const
{
sendFlag
,
inServiceTimeFlag
}
=
this
.
checkRevervationData
//判断短信余额是否不足
//判断短信余额是否不足
if
(
sendFlag
){
if
(
sendFlag
){
this
.
isDialogShow
=
true
;
this
.
isDialogShow
=
true
;
}
else
{
}
else
{
this
.
isNoEnoughShow
=
true
;
if
(
!
inServiceTimeFlag
)
{
this
.
$message
.
warning
(
'已超过发送时间范围!'
);
return
;
}
else
{
this
.
isNoEnoughShow
=
true
;
}
}
}
},
},
sendReservation
()
{
sendReservation
()
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录