From 3a05fd672f3cf6fcd847e28d93ad3e3b9c01fea2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 16 四月 2025 15:58:32 +0800
Subject: [PATCH] 网络分析仪

---
 src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue |   39 +++++++++++++++++++++++++++++++--------
 1 files changed, 31 insertions(+), 8 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
index c9cd538..5e9a4f5 100644
--- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
+++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
@@ -30,8 +30,9 @@
           <el-col :span="12">
             <el-form-item label="妫�楠屽璞★細" prop="sample">
               <el-cascader v-model="editForm.sample" :options="itemParameterData.cascaderField.sample.tree"
-                :props="{ value: 'name', label: 'name', checkStrictly: true, multiple: true }" :show-all-levels="false"
-                clearable filterable placeholder="璇烽�夋嫨" size="small" style="width: 100%;"></el-cascader>
+                :props="{ value: 'labelName', label: 'name', checkStrictly: true, multiple: true }"
+                :show-all-levels="false" clearable filterable placeholder="璇烽�夋嫨" size="small"
+                style="width: 100%;"></el-cascader>
             </el-form-item>
           </el-col>
           <el-col :span="12">
@@ -148,7 +149,7 @@
           </el-col>
         </el-row>
         <el-row>
-          <el-col :span="12">
+          <!-- <el-col :span="12">
             <el-form-item label="璇曢獙鏂规硶锛�" prop="method">
               <el-select v-model="editForm.method" clearable multiple placeholder="璇烽�夋嫨" size="small"
                 style="width: 100%">
@@ -156,8 +157,8 @@
                   :value="item.label"></el-option>
               </el-select>
             </el-form-item>
-          </el-col>
-          <!-- <el-col :span="12">
+          </el-col> -->
+          <el-col :span="12">
             <el-form-item label="璇曢獙鏉′欢锛�" prop="radiusList">
               <el-select v-model="editForm.radiusList" allow-create default-first-option filterable multiple
                 placeholder="璇烽�夋嫨" size="small" style="width: 100%">
@@ -165,12 +166,29 @@
                   :value="item.value"></el-option>
               </el-select>
             </el-form-item>
-          </el-col> -->
-        </el-row>
-        <el-row>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="棰戞锛�" prop="frequency">
+              <el-input v-model="editForm.frequency" clearable size="small"></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="鏀惰垂鏍囧噯鍒嗙粍" prop="ratesGroup">
+              <el-input v-model="editForm.ratesGroup" clearable size="small"></el-input>
+            </el-form-item>
+          </el-col>
           <el-col :span="12">
             <el-form-item label="鏀惰垂鏍囧噯(鍏�/娆�)锛�" prop="rates">
               <el-input v-model="editForm.rates" clearable size="small"></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="鏄惁濮旀墭瑕佹眰锛�" prop="rates">
+              <el-select v-model="editForm.delegateRequestFlag" clearable placeholder="璇烽�夋嫨" size="small"
+                style="width: 100%">
+                <el-option v-for="item in dict.type.inspection_bsm" :key="item.value" :label="item.label"
+                  :value="item.value"></el-option>
+              </el-select>
             </el-form-item>
           </el-col>
         </el-row>
@@ -236,6 +254,9 @@
         method: '', // 璇曢獙鏂规硶
         radiusList: [], // 鏉′欢
         rates: '', // 鏉′欢
+        delegateRequestFlag: null,//鏄惁濮旀墭瑕佹眰
+        frequency: null,
+        ratesGroup: null,
       },
       sampleList: [], // 妫�楠屽璞′笅鎷夋
       laboratoryList: [], // 鍦烘墍涓嬫媺妗�
@@ -309,6 +330,7 @@
           method: '', // 璇曢獙鏂规硶
           radiusList: [], // 鏉′欢
           rates: '', // 鏉′欢
+          delegateRequestFlag: null,//鏄惁濮旀墭瑕佹眰
         }
         this.resetForm('editForm')
       } else {
@@ -389,6 +411,7 @@
         val.children.forEach(a => {
           a.label = a.name
           a.value = a.id
+          a.labelName = a.name
           this.cascaderFieldData(a)
         })
       }

--
Gitblit v1.9.3