From 2d490943e72a4668413b5fe1e091bfaa15398f4e Mon Sep 17 00:00:00 2001 From: CD配唱片 <CD配唱片> Date: 星期四, 08 五月 2025 14:17:46 +0800 Subject: [PATCH] 提交钣金异常料号报表静态页及联调,工艺路线下拉加载表格加入节流优化避免下拉加载1s之内多次调用接口问题 --- src/views/mainPlan/sheetMetalRedundantReport/index.vue | 30 +----------------------------- 1 files changed, 1 insertions(+), 29 deletions(-) diff --git a/src/views/mainPlan/sheetMetalRedundantReport/index.vue b/src/views/mainPlan/sheetMetalRedundantReport/index.vue index 0585e63..b9f7dbf 100644 --- a/src/views/mainPlan/sheetMetalRedundantReport/index.vue +++ b/src/views/mainPlan/sheetMetalRedundantReport/index.vue @@ -84,18 +84,8 @@ <script setup name="Calendar"> import HxlhTable from "@/components/HxlhTable"; -import { - listCalendar, - getCalendar, - delCalendar, - addCalendar, - updateCalendar, -} from "@/api/basicData/calendar"; import { redundantOrderList } from "@/api/basicData/sheetMetalConfig/sheetMetalConfig"; -import axios from "axios"; import { listAll_plant } from "@/api/basicData/plant"; -import { listAll_shop, listAps_shop } from "@/api/basicData/shop"; -import { selectProcessNameList } from "@/api/basicData/processRoute.js"; import { useI18n } from "vue-i18n"; //瑕佸湪js涓娇鐢ㄥ浗闄呭寲 const { t, locale } = useI18n(); const { proxy } = getCurrentInstance(); @@ -103,15 +93,7 @@ const orderList = ref([]); const loading = ref(true); const showSearch = ref(true); -const ids = ref([]); -const single = ref(true); -const multiple = ref(true); -const total = ref(0); -const title = ref(""); const data = reactive({ - form: { - type: "1", - }, queryParams: { pageNum: 1, pageSize: 10, @@ -119,12 +101,8 @@ itemNumber: null, }, }); -const { queryParams, form, rules } = toRefs(data); -const typeRadioNumber = ref(1); +const { queryParams } = toRefs(data); const plantList = ref([]); -const shopList = ref([]); -const allShopList = ref([]); -const processList = ref([]); const height = ref(document.documentElement.clientHeight - 220 + "px;"); // 琛ㄦ牸閰嶇疆-鍒楄〃 const columns = ref([]); @@ -216,12 +194,6 @@ loading.value = false; }); } - -// 琛ㄥ崟閲嶇疆 -function reset() { - proxy.resetForm("queryRef"); -} - /** 鎼滅储鎸夐挳鎿嶄綔 */ function handleQuery() { queryParams.value.pageNum = 1; -- Gitblit v1.9.3