提交 ab4061c4 编写于 作者: tao.wu's avatar tao.wu

Merge branch 'dev-followUp-20190312' of...

Merge branch 'dev-followUp-20190312' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-followUp-20190312
...@@ -48,7 +48,11 @@ ...@@ -48,7 +48,11 @@
<div class="c-title">随访方式:</div> <div class="c-title">随访方式:</div>
<div class="c-content">{{enteringInfo.fuPlanType}}</div> <div class="c-content">{{enteringInfo.fuPlanType}}</div>
</div> </div>
<div class="content-div"> <div class="content-div" v-if="enteringInfo.executePlanTime">
<div class="c-title">实际随访时间:</div>
<div class="c-content">{{enteringInfo.executePlanTime}}</div>
</div>
<div class="content-div" v-else>
<div class="c-title">计划随访时间:</div> <div class="c-title">计划随访时间:</div>
<div class="c-content">{{enteringInfo.fuPlanTime}}</div> <div class="c-content">{{enteringInfo.fuPlanTime}}</div>
</div> </div>
......
...@@ -184,15 +184,20 @@ ...@@ -184,15 +184,20 @@
} }
this.$emit('closeSendReserve',false) this.$emit('closeSendReserve',false)
}, },
closeSendReserve(formName){ async initLastCheck() {
this.$refs[formName].validate((valid) => { await this.getCheckReservation({
if (valid) {
//校验额度是否不够
this.getCheckReservation({
content: '', content: '',
validContents: this.validContents validContents: this.validContents
}) })
const { sendFlag } = this.checkRevervationData; },
closeSendReserve(formName){
let _self = this;
_self.$refs[formName].validate((valid) => {
if (valid) {
//校验额度是否不够
_self.initLastCheck();
const { sendFlag } = _self.checkRevervationData;
console.log('sendFlag',sendFlag)
if(sendFlag){ //额度还可用 if(sendFlag){ //额度还可用
sendReservation({ sendReservation({
...this.reservationForm, ...this.reservationForm,
...@@ -202,8 +207,10 @@ ...@@ -202,8 +207,10 @@
this.$emit('closeSendReserve',false); this.$emit('closeSendReserve',false);
}) })
}else { }else {
console.log('余额不足')
// 额度不足 // 额度不足
this.isNoEnoughShow = true; this.isNoEnoughShow = true;
return;
} }
} else { } else {
return false; return false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册