diff --git a/src/views/mobileSupervise/Inspection.vue b/src/views/mobileSupervise/Inspection.vue index 8c90d66..fba8ee1 100644 --- a/src/views/mobileSupervise/Inspection.vue +++ b/src/views/mobileSupervise/Inspection.vue @@ -342,7 +342,7 @@ @@ -1613,8 +1613,10 @@ const getTaskType = (val) => { return "日常督察"; } else if (val === 'testing_alcohol') { return "禁酒督察"; - } else { + } else if(val === 'selfexamination') { return "所队自查"; + }else{ + return "重点人员督察" } } @@ -1700,6 +1702,27 @@ const peopleQuery = ref({ current: 1, }) +/** + * 数据导出 + * */ +const handleExport = async ()=>{ + let data = Object.assign({},editData.value) + delete data.samplingPolices + delete data.startTime + delete data.endTime + if(!data.samplingTime){ + delete data.samplingTime + } + if(data.samplingObjectList){ + data.orgStr = + data.samplingObjectList.map(s=>s.deptId).join(",") + delete data.samplingObjectList + }else{ + + } + window.open(`${BASE_PATH}/sampling/export/samplingPoling?` + new URLSearchParams(data).toString()) +} + // 获取禁酒督察详情 async function handleTestingDetailShow(row) { testingDetailShow.value = true;