|
@@ -558,19 +558,21 @@ export default {
|
|
|
return sums;
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
- handleExport(row) {
|
|
|
- const query = {
|
|
|
- stationId: row.stationId,
|
|
|
- classStructureNo: row.classesNo,
|
|
|
- };
|
|
|
- this.$confirm("是否确认导出此条记录?", "警告", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- }).then(function () {
|
|
|
- exportStructure(query);
|
|
|
- });
|
|
|
- },
|
|
|
+ handleExport(row) {
|
|
|
+ const query = {
|
|
|
+ stationId: row.stationId,
|
|
|
+ classStructureNo: row.classesNo,
|
|
|
+ };
|
|
|
+ this.$confirm("是否确认导出此条记录?", "警告", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ }).then(function () {
|
|
|
+ return exportStructure(query);
|
|
|
+ }).then((response) => {
|
|
|
+ this.download(response.msg);
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|