From c6c595785847e5b49609a989973f46a20d51a362 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 19 三月 2025 11:01:55 +0800
Subject: [PATCH] 检验任务复核-上传文件报错

---
 src/views/business/reportPreparation/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index 01da7ac..61584a6 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -207,6 +207,7 @@
 import limsTable from "@/components/Table/lims-table.vue";
 import {delFile, downFile, getFileList} from "@/api/business/rawMaterialOrder";
 export default {
+  name: 'ReportPreparation',
   components: { limsTable, onlyoffice },
   data() {
     return {
@@ -609,6 +610,7 @@
     },
     fileBeforeUpload(file) {
       let flag = true
+      console.log('file----', file)
       if (file.size > 1024 * 1024 * 10) {
         this.$message.error('涓婁紶鏂囦欢涓嶈秴杩�10M');
         this.$refs.upload.clearFiles()
@@ -813,7 +815,7 @@
     },
     // 鑾峰彇浜哄憳鍒楄〃
     getAuthorizedPerson() {
-      selectUserCondition({ type: 0 }).then((res) => {
+      selectUserCondition({ type: 1 }).then((res) => {
         let data = [];
         res.data.forEach((a) => {
           data.push({

--
Gitblit v1.9.3