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

no message

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