diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 8745c27..985d230 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -148,6 +148,11 @@ } // 单选选中 const radioChange = () => { + console.log('---------') + + console.log(singleChecked.value) + console.log(props.data) + const checkValue = props.data.find((item: any) => item.id == singleChecked.value) emit('multiSelect', [checkValue]) } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 8745c27..985d230 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -148,6 +148,11 @@ } // 单选选中 const radioChange = () => { + console.log('---------') + + console.log(singleChecked.value) + console.log(props.data) + const checkValue = props.data.find((item: any) => item.id == singleChecked.value) emit('multiSelect', [checkValue]) } diff --git a/src/utils/scheduleDict.ts b/src/utils/scheduleDict.ts index 6c5dbf3..09e8b6d 100644 --- a/src/utils/scheduleDict.ts +++ b/src/utils/scheduleDict.ts @@ -20,4 +20,5 @@ DEVICE_FIX_APPROVAL = 'sbglsbjxsq', // 设备检修申请 DEVICE_FIX_ACCEPTANCE = 'sbglsbjxbyysd', // 设备检修保养验收单 BUSINESS_CERT_PRINT = 'ywglzsdy', // 证书打印 + BUSINESS_REPORT_ON_CREDENTIALS = 'ywglzsbg', // 证书报告 } diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 8745c27..985d230 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -148,6 +148,11 @@ } // 单选选中 const radioChange = () => { + console.log('---------') + + console.log(singleChecked.value) + console.log(props.data) + const checkValue = props.data.find((item: any) => item.id == singleChecked.value) emit('multiSelect', [checkValue]) } diff --git a/src/utils/scheduleDict.ts b/src/utils/scheduleDict.ts index 6c5dbf3..09e8b6d 100644 --- a/src/utils/scheduleDict.ts +++ b/src/utils/scheduleDict.ts @@ -20,4 +20,5 @@ DEVICE_FIX_APPROVAL = 'sbglsbjxsq', // 设备检修申请 DEVICE_FIX_ACCEPTANCE = 'sbglsbjxbyysd', // 设备检修保养验收单 BUSINESS_CERT_PRINT = 'ywglzsdy', // 证书打印 + BUSINESS_REPORT_ON_CREDENTIALS = 'ywglzsbg', // 证书报告 } diff --git a/src/views/business/lab/components/environmentalDialog.vue b/src/views/business/lab/components/environmentalDialog.vue index c009446..ff64af3 100644 --- a/src/views/business/lab/components/environmentalDialog.vue +++ b/src/views/business/lab/components/environmentalDialog.vue @@ -1,125 +1,132 @@ - -