From ebfc872c677569379a84937d2e241a883ec04ff0 Mon Sep 17 00:00:00 2001
From: jiang <1354748262@qq.com>
Date: 星期一, 29 一月 2024 13:58:59 +0800
Subject: [PATCH] 更新采集参数配置工序编号下拉选项

---
 jcdm-ui/src/views/main/da/collectionParamConf/index.vue |  105 ++++++++++------------------------------------------
 1 files changed, 20 insertions(+), 85 deletions(-)

diff --git a/jcdm-ui/src/views/main/da/collectionParamConf/index.vue b/jcdm-ui/src/views/main/da/collectionParamConf/index.vue
index 9358e02..85f94aa 100644
--- a/jcdm-ui/src/views/main/da/collectionParamConf/index.vue
+++ b/jcdm-ui/src/views/main/da/collectionParamConf/index.vue
@@ -10,56 +10,6 @@
               @keyup.enter.native="handleQuery"
             />
           </el-form-item>
-<!--          <el-form-item label="鍙傛暟闆嗙紪鐮�" prop="parameterSetCode">-->
-<!--            <el-input-->
-<!--              v-model="queryParams.parameterSetCode"-->
-<!--              placeholder="璇疯緭鍏ュ弬鏁伴泦缂栫爜"-->
-<!--              clearable-->
-<!--              @keyup.enter.native="handleQuery"-->
-<!--            />-->
-<!--          </el-form-item>-->
-<!--          <el-form-item label="鍙傛暟闆嗗悕绉�" prop="parameterSetName">-->
-<!--            <el-input-->
-<!--              v-model="queryParams.parameterSetName"-->
-<!--              placeholder="璇疯緭鍏ュ弬鏁伴泦鍚嶇О"-->
-<!--              clearable-->
-<!--              @keyup.enter.native="handleQuery"-->
-<!--            />-->
-<!--          </el-form-item>-->
-<!--          <el-form-item label="閲囬泦鍙傛暟ID" prop="collectParameterId">-->
-<!--            <el-input-->
-<!--              v-model="queryParams.collectParameterId"-->
-<!--              placeholder="璇疯緭鍏ラ噰闆嗗弬鏁癐D"-->
-<!--              clearable-->
-<!--              @keyup.enter.native="handleQuery"-->
-<!--            />-->
-<!--          </el-form-item>-->
-<!--          <el-form-item label="閲囬泦鍙傛暟鍚嶇О" prop="collectParameterName">-->
-<!--            <el-input-->
-<!--              v-model="queryParams.collectParameterName"-->
-<!--              placeholder="璇疯緭鍏ラ噰闆嗗弬鏁板悕绉�"-->
-<!--              clearable-->
-<!--              @keyup.enter.native="handleQuery"-->
-<!--            />-->
-<!--          </el-form-item>-->
-<!--          <el-form-item label="鏄惁浣滀负瀵规瘮鍙傛暟" prop="contrastParameterFlag">-->
-<!--            <el-input-->
-<!--              v-model="queryParams.contrastParameterFlag"-->
-<!--              placeholder="璇疯緭鍏ユ槸鍚︿綔涓哄姣斿弬鏁�"-->
-<!--              clearable-->
-<!--              @keyup.enter.native="handleQuery"-->
-<!--            />-->
-<!--          </el-form-item>-->
-<!--          <el-form-item label="閲囬泦鍙傛暟绫诲瀷" prop="collectParameterType">-->
-<!--            <el-select v-model="queryParams.collectParameterType" placeholder="璇烽�夋嫨閲囬泦鍙傛暟绫诲瀷" clearable>-->
-<!--              <el-option-->
-<!--                v-for="dict in dict.type.${dictType}"-->
-<!--                :key="dict.value"-->
-<!--                :label="dict.label"-->
-<!--                :value="dict.value"-->
-<!--              />-->
-<!--            </el-select>-->
-<!--          </el-form-item>-->
           <el-form-item label="浜у搧缂栫爜" prop="productCode">
             <el-input
               v-model="queryParams.productCode"
@@ -137,8 +87,7 @@
           </el-table-column>
           <el-table-column label="鍙傛暟鍚嶇О" align="center" width="160" prop="collectParameterName">
           </el-table-column>
-<!--          <el-table-column label="鏄惁浣滀负瀵规瘮鍙傛暟" align="center" prop="contrastParameterFlag">-->
-<!--          </el-table-column>-->
+
 
           <el-table-column label="閲囬泦鍦板潃" align="center" width="180" prop="gatherAddress">
           </el-table-column>
@@ -149,8 +98,7 @@
           </el-table-column>
           <el-table-column label="鍗曚綅" align="center" width="80" prop="collectParameterUnit">
           </el-table-column>
-<!--          <el-table-column label="鏁版嵁鎻忚堪" align="center" width="160" prop="Descriptives">
-          </el-table-column>-->
+
           <el-table-column label="涓婇檺鍊�" align="center" prop="paramUpper">
           </el-table-column>
           <el-table-column label="涓嬮檺鍊�" align="center" prop="paramLower">
@@ -160,14 +108,12 @@
 
           <el-table-column label="澶囨敞" align="center" width="160" prop="remarks">
           </el-table-column>
-<!--          <el-table-column label="鍒涘缓鐢ㄦ埛" align="center" prop="createUser">-->
-<!--          </el-table-column>-->
-<!--          <el-table-column label="鍒涘缓鏃堕棿" align="center" width="160" prop="createTime">-->
-<!--          </el-table-column>-->
-<!--          <el-table-column label="鏇存敼鐢ㄦ埛" align="center" prop="updateUser">-->
-<!--          </el-table-column>-->
-<!--          <el-table-column label="鏇存敼鏃堕棿" align="center" width="160" prop="updateTime">-->
-<!--          </el-table-column>-->
+          <el-table-column label="鏄惁浣滀负閲囬泦鍙傛暟绫诲瀷" align="center" width="160" prop="contrastParameterFlag">
+            <template slot-scope="scope">
+              <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.contrastParameterFlag"/>
+            </template>
+          </el-table-column>
+
           <el-table-column fixed="right" width="200" label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
             <template slot-scope="scope">
               <el-button
@@ -202,12 +148,12 @@
     />
 
     <!-- 娣诲姞鎴栦慨鏀归噰闆嗗弬鏁伴厤缃璇濇 -->
-    <el-dialog v-dialogpop-up :title="title" :visible.sync="open" width="800px" append-to-body>
+    <el-dialog v-dialogpop-up :title="title" :visible.sync="open" width="1000px" append-to-body>
       <span slot="title">
         <i class="el-icon-s-order"></i>
         {{titleName}}
       </span>
-      <el-form ref="form" inline :model="form" :rules="rules" label-width="120px">
+      <el-form ref="form" inline :model="form" :rules="rules"  label-width="200px" >
         <el-form-item label="宸ュ簭缂栧彿" prop="processesCode">
           <el-select style="width: 100%" @change="handleSelectChangeprocessesCode(form.processesCode)" v-model="form.processesCode" placeholder="璇烽�夋嫨宸ュ簭缂栧彿">
             <el-option
@@ -230,28 +176,16 @@
         <el-form-item label="閲囬泦鍙傛暟鍚嶇О" prop="collectParameterName">
           <el-input v-model="form.collectParameterName" placeholder="璇疯緭鍏ラ噰闆嗗弬鏁板悕绉�" />
         </el-form-item>
-        <el-form-item label="鏄惁浣滀负瀵规瘮鍙傛暟"  prop="contrastParameterFlag" label-width="120">
-<!--          <el-select v-model="form.contrastParameterFlag" placeholder="璇烽�夋嫨鏄惁浣滀负瀵规瘮鍙傛暟">-->
-<!--            <el-option-->
-<!--              v-for="dict in dict.type.sys_yes_no"-->
-<!--              :key="dict.value"-->
-<!--              :label="dict.label"-->
-<!--              :value="dict.value"-->
-<!--            ></el-option>-->
-<!--          </el-select>-->
+        <el-form-item label="鏄惁浣滀负瀵规瘮鍙傛暟"  prop="contrastParameterFlag" >
+          <el-select v-model="form.contrastParameterFlag" placeholder="璇烽�夋嫨鏄惁浣滀负瀵规瘮鍙傛暟">
+            <el-option
+              v-for="dict in dict.type.sys_yes_no"
+              :key="dict.value"
+              :label="dict.label"
+              :value="dict.value"
+            ></el-option>
+          </el-select>
         </el-form-item>
-
-
-<!--        <el-form-item label="閲囬泦鍙傛暟绫诲瀷" prop="collectParameterType">-->
-<!--          <el-select v-model="form.collectParameterType" placeholder="璇烽�夋嫨閲囬泦鍙傛暟绫诲瀷">-->
-<!--            <el-option-->
-<!--              v-for="dict in dict.type.${dictType}"-->
-<!--              :key="dict.value"-->
-<!--              :label="dict.label"-->
-<!--              :value="dict.value"-->
-<!--            ></el-option>-->
-<!--          </el-select>-->
-<!--        </el-form-item>-->
         <el-form-item label="閲囬泦鍙傛暟鍗曚綅" prop="collectParameterUnit">
           <el-input v-model="form.collectParameterUnit" placeholder="璇疯緭鍏ラ噰闆嗗弬鏁板崟浣�" />
         </el-form-item>
@@ -294,6 +228,7 @@
 
 export default {
   name: "CollectionParamConf",
+  dicts: ['subscription_type', 'sys_yes_no', 'data_type','sys_normal_disable'],
   data() {
     return {
       options: [],

--
Gitblit v1.9.3