提交 3c629472 编写于 作者: qian.jie's avatar qian.jie

设置toast和显示数据

上级 6c1e8eb8
...@@ -182,6 +182,10 @@ ...@@ -182,6 +182,10 @@
}; };
setPlatformUpper(params).then((res) => { setPlatformUpper(params).then((res) => {
if (res.code === '000000') { if (res.code === '000000') {
this.$message({
message: '保存成功',
type: 'success',
});
this.getPlatformUpper(); this.getPlatformUpper();
} }
}); });
...@@ -253,7 +257,7 @@ ...@@ -253,7 +257,7 @@
}; };
} }
); );
const dutyRosterPreList = res.data.dutyRosterPreList.map( const dutyRosterPreList = (res.data.dutyRosterPreList || []).map(
(item, index) => { (item, index) => {
return { return {
id: index, id: index,
...@@ -264,7 +268,7 @@ ...@@ -264,7 +268,7 @@
}; };
} }
); );
const dutyWorkList = res.data.dutyWorkList.map((item, index) => { const dutyWorkList = (res.data.dutyWorkList || []).map((item, index) => {
return { return {
id: index, id: index,
resourceId: item.doctorId, resourceId: item.doctorId,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册