| | |
| | | } |
| | | |
| | | // /inspectionTask/addOrEditInspectionTask |
| | | // å·¡æ£ä¸ä¼ |
| | | // å·¡æ£ç®¡ç |
| | | export function uploadInspectionTask(query) { |
| | | return request({ |
| | | url: '/inspectionTask/addOrEditInspectionTask', |
| | |
| | | // å·¡æ£ä¸ä¼ |
| | | // å·¡æ£ç®¡ç |
| | | import request from '@/utils/request' |
| | | |
| | | // äºç»´ç 管ç表æ¥è¯¢ |
| | |
| | | { |
| | | "path": "pages/inspectionUpload/index", |
| | | "style": { |
| | | "navigationBarTitleText": "å·¡æ£ä¸ä¼ ", |
| | | "navigationBarTitleText": "å·¡æ£ç®¡ç", |
| | | "navigationStyle": "custom", |
| | | "enablePullDownRefresh": true, |
| | | "backgroundColor": "#f8f8f8" |
| | |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/xunjianshangchuan@2x.png", |
| | | label: "å·¡æ£ä¸ä¼ ", |
| | | label: "å·¡æ£ç®¡ç", |
| | | }, |
| | | ]); |
| | | |
| | |
| | | url: "/pages/equipmentManagement/upkeep/index", |
| | | }); |
| | | break; |
| | | case "å·¡æ£ä¸ä¼ ": |
| | | case "å·¡æ£ç®¡ç": |
| | | uni.navigateTo({ |
| | | url: "/pages/inspectionUpload/index", |
| | | }); |
| | |
| | | { icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "è¿è¡ç®¡ç" }, |
| | | { icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "è®¾å¤æ¥ä¿®" }, |
| | | { icon: "/static/images/icon/shbeibaoyang@2x.png", label: "设å¤ä¿å
»" }, |
| | | { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "å·¡æ£ä¸ä¼ " }, |
| | | { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "å·¡æ£ç®¡ç" }, |
| | | ]; |
| | | const filteredEquipment = originalEquipment.filter(item => { |
| | | return allowedMenuTitles.has(item.label); |
| | |
| | | url: "/pages/equipmentManagement/upkeep/index", |
| | | }); |
| | | break; |
| | | case "å·¡æ£ä¸ä¼ ": |
| | | case "å·¡æ£ç®¡ç": |
| | | uni.navigateTo({ |
| | | url: "/pages/inspectionUpload/index", |
| | | }); |
| | |
| | | // åªæå label åæ°çå¼ï¼å»é¤å¯è½éå çæ¥è¯¢åæ° |
| | | let labelValue = options.label; |
| | | // 妿 label å
å« ? 符å·ï¼åªå ? ä¹åçé¨å |
| | | if (labelValue.includes('?')) { |
| | | labelValue = labelValue.split('?')[0]; |
| | | if (labelValue.includes("?")) { |
| | | labelValue = labelValue.split("?")[0]; |
| | | } |
| | | operationType.value = labelValue; |
| | | if (operationType.value === "èå¤ç®¡ç") { |