diff --git a/public/index.html b/public/index.html
index 78aa5e3..11c8690 100644
--- a/public/index.html
+++ b/public/index.html
@@ -39,8 +39,8 @@
<% } %>
diff --git a/src/components/Overlay.vue b/src/components/Overlay.vue
new file mode 100644
index 0000000..502bc7f
--- /dev/null
+++ b/src/components/Overlay.vue
@@ -0,0 +1,45 @@
+
+
+
请稍后......
+
+
+
+
+
+
diff --git a/src/views/modules/pms/blenderOrder/components/ListViewWithHead.vue b/src/views/modules/pms/blenderOrder/components/ListViewWithHead.vue
index c590362..1ebff94 100644
--- a/src/views/modules/pms/blenderOrder/components/ListViewWithHead.vue
+++ b/src/views/modules/pms/blenderOrder/components/ListViewWithHead.vue
@@ -14,6 +14,9 @@
+
+
+
@@ -21,11 +24,13 @@
import BaseListTable from "@/components/BaseListTable.vue";
import BaseSearchForm from "@/components/BaseSearchForm.vue";
import DialogJustForm from "./edit-dialog.vue";
+import Overlay from '@/components/Overlay.vue';
+
import moment from "moment";
export default {
name: "ListViewWithHead",
- components: { BaseSearchForm, BaseListTable, DialogJustForm },
+ components: { BaseSearchForm, BaseListTable, DialogJustForm, Overlay },
props: {
tableConfig: {
type: Object,
@@ -64,6 +69,7 @@ export default {
tableLoading: false,
refreshLayoutKey: null,
dialogBomCode: "",
+ overlayVisible: false
};
},
inject: ["urls"],
@@ -211,6 +217,7 @@ export default {
type: "warning",
})
.then(() => {
+ this.overlayVisible = true;
const realUrl = type === 'detach' ? this.urls.detach : type === 'pause-blender' ? this.urls.pauseBlender : this.urls.startBlender
return this.$http
.post(realUrl, data /* { id: data } */, { headers: { "Content-Type": "application/json" } })
@@ -231,6 +238,7 @@ export default {
duration: 1500,
});
}
+ this.overlayVisible = false;
});
});
}