|
@@ -99,6 +99,7 @@
|
|
|
<el-dialog
|
|
<el-dialog
|
|
|
v-model="exportModalVisable"
|
|
v-model="exportModalVisable"
|
|
|
:title="exportModalTitle"
|
|
:title="exportModalTitle"
|
|
|
|
|
+ :close-on-click-modal="false"
|
|
|
width="200px"
|
|
width="200px"
|
|
|
>
|
|
>
|
|
|
<div class="df aic jcsb">
|
|
<div class="df aic jcsb">
|
|
@@ -743,10 +744,17 @@ async function exportZip() {
|
|
|
"post",
|
|
"post",
|
|
|
type
|
|
type
|
|
|
);
|
|
);
|
|
|
- ElNotification({
|
|
|
|
|
- title: "导出成功!",
|
|
|
|
|
- type: "success",
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ if (res.status == 0) {
|
|
|
|
|
+ ElNotification({
|
|
|
|
|
+ title: "导出成功!",
|
|
|
|
|
+ type: "success",
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ ElNotification({
|
|
|
|
|
+ title: "暂无数据",
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
isLoadingZip.value = false;
|
|
isLoadingZip.value = false;
|
|
|
currentMonth.value = "";
|
|
currentMonth.value = "";
|
|
|
exportModalVisable.value = false;
|
|
exportModalVisable.value = false;
|