|
|
@ -308,9 +308,7 @@ |
|
|
|
getPublishedVersion() { |
|
|
|
publishedVersion().then(({ data = "" }) => { |
|
|
|
this.promptMessage = data |
|
|
|
}).catch(() => { |
|
|
|
this.$message({ type: "error", message: "获取消息失败" }); |
|
|
|
}); |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleQuery() { |
|
|
|
this.getPublishedVersion() |
|
|
@ -407,9 +405,7 @@ |
|
|
|
link.setAttribute('download', dataInfo[dataInfo.length - 1]); |
|
|
|
document.body.appendChild(link); |
|
|
|
link.click(); |
|
|
|
}).catch((e) => { |
|
|
|
this.$message({ type: "error", message: "导出失败" + e }); |
|
|
|
}); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 刷新数据 |
|
|
|
refreshData() { |
|
|
@ -440,7 +436,6 @@ |
|
|
|
this.$message({ type: "success", message: msg }); |
|
|
|
}).catch(() => { |
|
|
|
this.SET_articleDemandLoading(false) |
|
|
|
// this.$message({ type: "error", message: "访问失败" }); |
|
|
|
}); |
|
|
|
}, |
|
|
|
getEditTableDataJson() { |
|
|
@ -475,7 +470,6 @@ |
|
|
|
this.$message({ type: "success", message: "保存成功" }); |
|
|
|
}).catch(() => { |
|
|
|
this.setLoading(false) |
|
|
|
this.$message({ type: "error", message: "保存失败" }); |
|
|
|
}); |
|
|
|
}, |
|
|
|
setLoading(flag) { |
|
|
|