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

no message

上级 53cc962c
...@@ -161,7 +161,14 @@ ...@@ -161,7 +161,14 @@
this.$emit('closeSelectCartoon') this.$emit('closeSelectCartoon')
}, },
sureSelect() { sureSelect() {
this.$emit('confirmSelectComent', this.sendObj); if(this.sendObj.id){
this.$emit('confirmSelectComent', this.sendObj);
}else{
this.$message({
message: '请选择漫画',
type: 'warning'
});
}
}, },
}, },
} }
......
...@@ -266,11 +266,9 @@ ...@@ -266,11 +266,9 @@
this.messagePatientNum = res.data.messagePatientNum; this.messagePatientNum = res.data.messagePatientNum;
this.totalNumber = this.wechatPatientNum + this.messagePatientNum this.totalNumber = this.wechatPatientNum + this.messagePatientNum
}else{ }else{
this.$notify.success({ this.$message({
title: '提交失败', message: '提交失败',
message: res.message, type: 'error'
showClose: false,
duration: 500
}); });
} }
}) })
...@@ -474,11 +472,9 @@ ...@@ -474,11 +472,9 @@
checkIsRepeat(val){ checkIsRepeat(val){
this.setTimeNodeList.forEach((item,index)=>{ this.setTimeNodeList.forEach((item,index)=>{
if(this.activeTab!=index && val==item.timeNo){ if(this.activeTab!=index && val==item.timeNo){
this.$notify.success({ this.$message({
title: '时间节点重复',
message: '时间节点重复', message: '时间节点重复',
showClose: false, type: 'warning'
duration: 500
}); });
this.isValied = false; this.isValied = false;
this.setTimeNodeList[this.activeTab].timeNo = ''; this.setTimeNodeList[this.activeTab].timeNo = '';
......
...@@ -258,7 +258,6 @@ ...@@ -258,7 +258,6 @@
// 关闭弹层,继续创建 // 关闭弹层,继续创建
}).catch(() => { }).catch(() => {
// 确定放弃,跳出当前编辑页面 // 确定放弃,跳出当前编辑页面
// this.getTimeNodeList([])
this.$router.push({path: '/followup/plan-manage/plan-list'}) this.$router.push({path: '/followup/plan-manage/plan-list'})
}); });
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册