src/pages/equipmentManagement/repair/index.vue
@@ -152,6 +152,7 @@ // 查询列表 const getList = () => { showLoadingToast('加载中...') const params = { current: -1, size: -1, @@ -160,12 +161,27 @@ getRepairPage(params) .then((res) => { repairList.value = res.records || res.data?.records || [] closeToast() }) .catch(() => { closeToast() showToast('获取数据失败') }) } // 显示加载提示 const showLoadingToast = (message) => { uni.showLoading({ title: message, mask: true }); }; // 关闭提示 const closeToast = () => { uni.hideLoading(); }; // 新增维修 - 跳转到维修页面 const addMaintain = (id) => { if (!id) {