|
@@ -47,6 +47,7 @@ import { descs, chioseNum } from "../../constant";
|
|
import { orderType } from "@/constant";
|
|
import { orderType } from "@/constant";
|
|
import lodash from "lodash";
|
|
import lodash from "lodash";
|
|
import organCoop from "./organCoop.vue";
|
|
import organCoop from "./organCoop.vue";
|
|
|
|
+import load from "@/utils/loading";
|
|
export default {
|
|
export default {
|
|
props: ["data", "search", "mdate1"],
|
|
props: ["data", "search", "mdate1"],
|
|
components: {
|
|
components: {
|
|
@@ -361,6 +362,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
async FetchDetail() {
|
|
async FetchDetail() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
|
+ load.startLoading();
|
|
try {
|
|
try {
|
|
const res = await indexCoop({
|
|
const res = await indexCoop({
|
|
...getTimes(this.mdate1, ["startTime", "endTime"]),
|
|
...getTimes(this.mdate1, ["startTime", "endTime"]),
|
|
@@ -375,11 +377,12 @@ export default {
|
|
this.dataCoop.push(item);
|
|
this.dataCoop.push(item);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- // this.dataCoop = res.data || [];
|
|
|
|
this.handleStatus = true;
|
|
this.handleStatus = true;
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
|
+ load.endLoading();
|
|
} catch (error) {
|
|
} catch (error) {
|
|
console.log(error);
|
|
console.log(error);
|
|
|
|
+ load.endLoading();
|
|
}
|
|
}
|
|
this.loading = false;
|
|
this.loading = false;
|
|
this.isClick = false;
|
|
this.isClick = false;
|