提交 fca903e0 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

fixed

上级 de5e6832
...@@ -174,7 +174,10 @@ ...@@ -174,7 +174,10 @@
this.agesList = data.data.P057; this.agesList = data.data.P057;
} }
}).catch((error) => { }).catch((error) => {
this.$message({
message: error,
type: 'error'
});
}); });
}, },
getDiseaseData() { getDiseaseData() {
...@@ -183,7 +186,10 @@ ...@@ -183,7 +186,10 @@
this.diseaseList = data.data; this.diseaseList = data.data;
} }
}).catch((error) => { }).catch((error) => {
this.$message({
message: error,
type: 'error'
});
}); });
}, },
getGroupList() { getGroupList() {
...@@ -195,7 +201,10 @@ ...@@ -195,7 +201,10 @@
this.groupList = data.data.labelNameList; this.groupList = data.data.labelNameList;
} }
}).catch((error) => { }).catch((error) => {
this.$message({
message: error,
type: 'error'
});
}); });
}, },
getPatients(payload) { getPatients(payload) {
...@@ -253,8 +262,11 @@ ...@@ -253,8 +262,11 @@
}) })
} }
}).catch((data) => { }).catch((error) => {
this.$message({
message: error,
type: 'error'
});
}) })
}, },
handleSizeChange(val) { handleSizeChange(val) {
......
...@@ -131,12 +131,12 @@ ...@@ -131,12 +131,12 @@
this.notCompleteList = data.data this.notCompleteList = data.data
console.log('1212',this.notCompleteList) console.log('1212',this.notCompleteList)
} }
}).catch(function (error) { }).catch((error) => {
this.$message({ this.$message({
message: error, message: error,
type: 'error' type: 'error'
}); });
}); })
}, },
sendMessageSingle(item) { //发送单个提醒 sendMessageSingle(item) { //发送单个提醒
sendCompleteMessage({ sendCompleteMessage({
...@@ -154,12 +154,12 @@ ...@@ -154,12 +154,12 @@
type: 'error' type: 'error'
}); });
} }
}).catch(function (error) { }).catch((error) => {
this.$message({ this.$message({
message: error, message: error,
type: 'error' type: 'error'
}); });
}); })
}, },
sendCompleteMessageMultiple() { sendCompleteMessageMultiple() {
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
type: 'error' type: 'error'
}); });
} }
}).catch(function (error) { }).catch((error) => {
this.$message({ this.$message({
message: error, message: error,
type: 'error' type: 'error'
...@@ -201,12 +201,12 @@ ...@@ -201,12 +201,12 @@
if(data.code == "000000") { if(data.code == "000000") {
this.pagination.totalRows = data.data; this.pagination.totalRows = data.data;
} }
}).catch(function (error) { }).catch((error) => {
this.$message({ this.$message({
message: error, message: error,
type: 'error' type: 'error'
}); });
}); })
} }
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册