From 19520d076777a22f76477c4b29e1a6e7a3891196 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期二, 10 六月 2025 11:48:32 +0800
Subject: [PATCH] 修改方案字段以及接口上传

---
 src/views/basicInformation/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/basicInformation/index.vue b/src/views/basicInformation/index.vue
index 9f5927e..c8be716 100644
--- a/src/views/basicInformation/index.vue
+++ b/src/views/basicInformation/index.vue
@@ -23,16 +23,16 @@
       <div>
         <data-table :loading="loading" :table-data="tableData" :columns="columns"
           @selection-change="handleSelectionChange" @edit="handleEdit" :show-selection="true" :border="true">          <!-- 瀛楁鍚嶇О鍒楃殑鑷畾涔夋彃妲� - 鏄剧ず涓烘爣绛� -->
-          <template v-if="tabName === 'coalQualityMaintenance'" #coalFields="{ row }">
-            <template v-if="typeof row.coalFields === 'string' && row.coalFields.includes(',')">
-              <el-tag v-for="(field, index) in row.coalFields.split(',')" :key="index" type="primary" size="small"
+          <template v-if="tabName === 'coalQualityMaintenance'" #fieldIds="{ row }">
+            <template v-if="typeof row.fieldIds === 'string' && row.fieldIds.includes(',')">
+              <el-tag v-for="(field, index) in row.fieldIds.split(',')" :key="index" type="primary" size="small"
                 style="margin-right: 4px; margin-bottom: 2px;">
                 {{ getFieldDisplayName(field.trim()) }}
               </el-tag>
             </template>
             <template v-else>
               <el-tag type="primary" size="small">
-                {{ getFieldDisplayName(row.coalFields) || '--' }}
+                {{ getFieldDisplayName(row.fieldIds) || '--' }}
               </el-tag>
             </template>
           </template>
@@ -380,7 +380,7 @@
 const coalQualityMaintenanceColumns = ref([
   { prop: "plan", label: "鏂规鍚嶇О", minWidth: 100 },
   {
-    prop: "coalFields",
+    prop: "fieldIds",
     label: "瀛楁鍚嶇О",
     minWidth: 200,
     showOverflowTooltip: true,

--
Gitblit v1.9.3