From 3c6566a26c6bb6f68deed9f2c8e7b6eab1209134 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 28 八月 2026 15:42:42 +0800
Subject: [PATCH] feat(order): 添加产品检验项选择功能并增加导入导出功能 - 实现产品检验项的选择状态管理和计数显示功能 - 添加标准物质和设备管理模块的导入导出功能 - 新增导入模板下载和上传验证机制 - 调整表单验证规则,移除生产单位必填限制

---
 src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue b/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue
index 8fbb501..d316543 100644
--- a/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue
+++ b/src/views/CNAS/resourceDemand/device/component/usageAuthorization.vue
@@ -3,7 +3,6 @@
     <div class="search">
       <el-button size="small" type="primary" @click="refreshTableList">鍒� 鏂�</el-button>
       <el-button size="small" type="primary" @click="openDia('add')">鏂� 澧�</el-button>
-      <el-button :loading="outLoading" size="small" type="primary" @click="openHandleOut">瀵� 鍑�</el-button>
     </div>
     <div>
       <lims-table :tableData="tableData" :column="column"
@@ -119,9 +118,8 @@
 import {
   addImpower,
   deleteImpower, deviceScopeSearch, getImpowerDetail, reviewImpowerStatus,
-  selectDeviceImpowerByPage, submitReviewImpowerStatus, updateImpower
+  selectDeviceImpowerByPage, submitReviewImpowerStatus, updateImpower, exportDeviceImpower
 } from "@/api/cnas/resourceDemand/device";
-import {exportQualityMonitorDetail} from "@/api/cnas/process/ensureResults/qualityMonitor";
 import {selectUserCondition} from "@/api/system/user";
 import {mapGetters} from "vuex";
 
@@ -209,6 +207,13 @@
               disabled: (row) => {
                 return row.status === 1 || this.userId !== row.auditId;
               },
+            },
+            {
+              name: '瀵煎嚭',
+              type: 'text',
+              clickFun: (row) => {
+                this.openHandleOut(row);
+              }
             },
             {
               name: '鍒犻櫎',
@@ -415,10 +420,10 @@
       })
     },
     openHandleOut (row) {
-      exportQualityMonitorDetail({ impowerId: row.impowerId }).then(res => {
+      exportDeviceImpower({ impowerId: row.impowerId }).then(res => {
         this.outLoading = false
         const blob = new Blob([res], { type: 'application/msword' });
-        this.$download.saveAs(blob, row.monitorName + '.docx')
+        this.$download.saveAs(blob, '璁惧浣跨敤鎺堟潈琛�' + '.docx')
       })
     },
     handleDeleteClick(row) {

--
Gitblit v1.9.3