From 7af4ad0de6b55925d6e6397f0a47740779f2a547 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 13 三月 2025 13:13:51 +0800
Subject: [PATCH] 检验委托单-删除报错
---
src/api/cnas/process/demand/demand.js | 2 +-
src/views/CNAS/process/demand/index.vue | 7 ++++---
src/views/business/reportPreparation/index.vue | 1 +
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/api/cnas/process/demand/demand.js b/src/api/cnas/process/demand/demand.js
index 8d007c1..8f59c49 100644
--- a/src/api/cnas/process/demand/demand.js
+++ b/src/api/cnas/process/demand/demand.js
@@ -57,7 +57,7 @@
export function delInspectionOrder(query) {
return request({
url: '/inspectionOrder/delInspectionOrder',
- method: 'get',
+ method: 'delete',
params: query
})
}
diff --git a/src/views/CNAS/process/demand/index.vue b/src/views/CNAS/process/demand/index.vue
index 2674424..b41d430 100644
--- a/src/views/CNAS/process/demand/index.vue
+++ b/src/views/CNAS/process/demand/index.vue
@@ -28,7 +28,8 @@
<el-button size="small" type="primary" @click="goAdd">鏂板</el-button>
</div>
<div class="table">
- <el-table v-loading="tableListLoading" :data="tableList" height="530" style="width: 100%">
+ <el-table v-loading="tableListLoading" :data="tableList"
+ height="630" style="width: 100%" border :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }">
<el-table-column align="center" label="搴忓彿" type="index" width="60"></el-table-column>
<el-table-column label="璇曟牱鍚嶇О" prop="sampleName" show-overflow-tooltip width="120"></el-table-column>
<el-table-column label="濮旀墭缂栧彿" prop="entrustCode" show-overflow-tooltip width="120"></el-table-column>
@@ -99,7 +100,7 @@
:modal="title != '涓嬭浇'" :title="title" :visible.sync="detailDialogVisible" top="20px" width="1200px">
<div style="max-height: 75vh;overflow-y: auto;">
<div id="dialogBody">
- <table border="1" cellpadding="10" class="tables heads" style="border: 1px dashed black;">
+ <table border="1" cellpadding="10" class="tables heads" style="border: 1px dashed black;width: 100%">
<tr>
<td rowspan="2">
<img alt="" src="@/assets/logo/ZTTlogo.png" style="width: 80%;">
@@ -130,7 +131,7 @@
<p v-if="operationType === 'view'" style="margin-top: 16px;margin-left: 600px;">濮旀墭缂栧彿锛歿{
currentInfo.entrustCode }}
</p>
- <table border="1" cellpadding="10" class="tables">
+ <table border="1" cellpadding="10" class="tables" style="width: 100%">
<tr>
<td colspan="2">
<p>璇曟牱鍚嶇О</p>
diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index 01da7ac..d42d5fd 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -609,6 +609,7 @@
},
fileBeforeUpload(file) {
let flag = true
+ console.log('file----', file)
if (file.size > 1024 * 1024 * 10) {
this.$message.error('涓婁紶鏂囦欢涓嶈秴杩�10M');
this.$refs.upload.clearFiles()
--
Gitblit v1.9.3