|
@@ -894,7 +894,11 @@ export default {
|
|
|
load.startLoading();
|
|
|
axios(options).then((res) => {
|
|
|
load.endLoading();
|
|
|
- this.$message.info(res.data.data);
|
|
|
+ if(res.data.code == 200) {
|
|
|
+ this.$message.info(res.data.data);
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.data.msg);
|
|
|
+ }
|
|
|
// let blob = new Blob([res.data], {
|
|
|
// // type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8'
|
|
|
// type: "application/vnd.ms-excel;charset=utf-8",
|