|
@@ -357,7 +357,7 @@ const editorsNoteModalClose = () => {
|
|
|
|
|
|
const printLoading = ref(false)
|
|
|
const printClick = async ()=>{
|
|
|
- printLoading.value = true
|
|
|
+
|
|
|
if (!searchForm.value.type) {
|
|
|
window.$message.warning('请选择检查类别')
|
|
|
return
|
|
@@ -368,9 +368,10 @@ const printClick = async ()=>{
|
|
|
window.$message.warning('请选择试验检测项目名称')
|
|
|
return
|
|
|
}
|
|
|
+ printLoading.value = true
|
|
|
const { error, code, data } = await printMonth({
|
|
|
...searchForm.value,
|
|
|
- ids:'1635200237830144002',
|
|
|
+ ids: testId.value?.join(','),
|
|
|
contractId:contractId.value,
|
|
|
})
|
|
|
printLoading.value = false
|
|
@@ -384,7 +385,7 @@ const printClick = async ()=>{
|
|
|
}
|
|
|
const downLoading = ref(false)
|
|
|
const downClick = async ()=>{
|
|
|
- downLoading.value = true
|
|
|
+
|
|
|
if (!searchForm.value.type) {
|
|
|
window.$message.warning('请选择检查类别')
|
|
|
return
|
|
@@ -395,9 +396,10 @@ const downClick = async ()=>{
|
|
|
window.$message.warning('请选择试验检测项目名称')
|
|
|
return
|
|
|
}
|
|
|
+ downLoading.value = true
|
|
|
const { error, code, data } = await downloadMonth({
|
|
|
...searchForm.value,
|
|
|
- ids:'1635200237830144002',
|
|
|
+ ids: testId.value?.join(','),
|
|
|
contractId:contractId.value,
|
|
|
})
|
|
|
downLoading.value = false
|