From 68373881b4876956e412ce68d164fe214c420e15 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 16 一月 2025 10:57:13 +0800
Subject: [PATCH] 查询语句 字符数量修改

---
 src/views/data/ind/item/DerIndDefineForm.vue |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/views/data/ind/item/DerIndDefineForm.vue b/src/views/data/ind/item/DerIndDefineForm.vue
index f5b4235..cba741f 100644
--- a/src/views/data/ind/item/DerIndDefineForm.vue
+++ b/src/views/data/ind/item/DerIndDefineForm.vue
@@ -7,6 +7,18 @@
       :rules="formRules" label-width="100px">
       <el-row>
         <el-col :span="12">
+          <el-form-item label="指标编码" prop="itemNo">
+            <el-input v-model="formData.itemNo" disabled/>
+          </el-form-item>
+        </el-col>
+        <el-col :span="12">
+          <el-form-item label="指标名称" prop="itemName">
+            <el-input v-model="formData.itemName"/>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="12">
           <el-form-item label="原子指标" prop="atomItem.itemId">
             <el-select v-model="formData.atomItem.itemId" clearable placeholder="请选择原子指标"
                        @change="handleChange($event)">
@@ -22,18 +34,6 @@
         <el-col :span="12">
           <el-form-item label="原子指标名称" prop="atomItem.itemName">
             <el-input v-model="formData.atomItem.itemName" disabled/>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="12">
-          <el-form-item label="指标编码" prop="itemNo">
-            <el-input v-model="formData.itemNo" disabled/>
-          </el-form-item>
-        </el-col>
-        <el-col :span="12">
-          <el-form-item label="指标名称" prop="itemName">
-            <el-input v-model="formData.itemName"/>
           </el-form-item>
         </el-col>
       </el-row>
@@ -88,7 +88,7 @@
                 v-for="item in dataSetFieldList"
                 :key="item.id"
                 :label="item.fieldCode"
-                :value="item.id + ''"
+                :value="item.fieldCode"
               />
             </el-select>
           </el-form-item>
@@ -135,7 +135,7 @@
                 v-for="item in dataSetFieldList"
                 :key="item.id"
                 :label="item.fieldCode"
-                :value="item.id + ''"
+                :value="item.fieldCode"
               />
             </el-select>
           </el-form-item>
@@ -243,6 +243,7 @@
         }else {
           formData.value.derItem.dimension = ""
         }
+        showTimeChange.value = formData.value.derItem.timeLimit === 'CUSTOM'
         await handleChange(formData.value.derItem.atomItemId)
       } finally {
         formLoading.value = false

--
Gitblit v1.9.3