-
懒羊羊
2024-04-02 8f0f8d2d5e5492b1db16d5166a5e053511844522
jcdm-ui/src/views/main/da/collectionParamConf/index.vue
@@ -127,27 +127,37 @@
<!--          <el-table-column label="主键id" align="center" prop="id" />-->
          <el-table-column label="产品编码" align="center" width="150" prop="productCode">
          </el-table-column>
          <el-table-column label="产品型号" align="center" prop="productModel">
          </el-table-column>
          <el-table-column label="工序编号" align="center" width="80" prop="processesCode">
          </el-table-column>
          <el-table-column label="参数集编码" align="center" width="130" prop="parameterSetCode">
          <el-table-column label="工序名称" width="150" align="center" prop="processesName">
          </el-table-column>
          <el-table-column label="参数集名称" align="center" width="160" prop="parameterSetName">
          </el-table-column>
          <el-table-column label="参数编码" align="center" width="130" prop="collectParameterId">
          </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>
          <el-table-column label="采集顺序" align="center" width="80" prop="gatherSequence">
          </el-table-column>
          <el-table-column label="设备" width="150" align="center" prop="device">
          </el-table-column>
          <el-table-column label="项目" align="center" prop="project">
          </el-table-column>
<!--          <el-table-column label="参数集编码" align="center" width="130" prop="parameterSetCode">-->
<!--          </el-table-column>-->
<!--          <el-table-column label="参数集名称" align="center" width="160" prop="parameterSetName">-->
<!--          </el-table-column>-->
          <el-table-column label="参数编码" align="center" width="200" prop="collectParameterId">
          </el-table-column>
          <el-table-column label="参数名称" align="center" width="200" prop="collectParameterName">
          </el-table-column>
<!--          <el-table-column label="是否作为对比参数" align="center" prop="contrastParameterFlag">-->
<!--          </el-table-column>-->
          <el-table-column label="参数类型" align="center" width="130" prop="collectParameterType">
          </el-table-column>
          <el-table-column label="单位" align="center" width="80" prop="collectParameterUnit">
          </el-table-column>
          <el-table-column label="精度" align="center" prop="accuracy">
          </el-table-column>
          <el-table-column label="数组长度" align="center" prop="arrayLength">
          </el-table-column>
<!--          <el-table-column label="数据描述" align="center" width="160" prop="Descriptives">
          </el-table-column>-->
@@ -157,8 +167,13 @@
          </el-table-column>
          <el-table-column label="中心值" align="center" prop="paramCentral">
          </el-table-column>
          <el-table-column label="备注" align="center" width="160" prop="remarks">
          <el-table-column label="采集频率" width="107" align="center" prop="acquisitionFrequency">
          </el-table-column>
          <el-table-column label="业务需求部门" width="155" align="center" prop="demandDepartment">
          </el-table-column>
          <el-table-column label="是否采集" align="center" prop="whetherToCollect">
          </el-table-column>
          <el-table-column label="备注" :show-overflow-tooltip='true' align="center" width="160" prop="remarks">
          </el-table-column>
          <el-table-column label="创建用户" align="center" prop="createUser">
          </el-table-column>
@@ -202,29 +217,26 @@
    />
    <!-- 添加或修改采集参数配置对话框 -->
    <el-dialog v-dialogpop-up :title="title" :visible.sync="open" width="700px" append-to-body>
    <el-dialog v-dialogpop-up  :title="title" :visible.sync="open" width="1100px" 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="120px">
        <el-form-item label="工序编号" prop="processesCode">
          <el-input v-model="form.processesCode" placeholder="请输入工序编号" />
        </el-form-item>
        <el-form-item label="参数集编码" prop="parameterSetCode">
          <el-input v-model="form.parameterSetCode" placeholder="请输入参数集编码" />
        </el-form-item>
        <el-form-item label="参数集名称" prop="parameterSetName">
          <el-input v-model="form.parameterSetName" placeholder="请输入参数集名称" />
        </el-form-item>
<!--        <el-form-item label="参数集编码" prop="parameterSetCode">-->
<!--          <el-input v-model="form.parameterSetCode" placeholder="请输入参数集编码" />-->
<!--        </el-form-item>-->
<!--        <el-form-item label="参数集名称" prop="parameterSetName">-->
<!--          <el-input v-model="form.parameterSetName" placeholder="请输入参数集名称" />-->
<!--        </el-form-item>-->
        <el-form-item label="采集参数ID" prop="collectParameterId">
          <el-input v-model="form.collectParameterId" placeholder="请输入采集参数ID" />
        </el-form-item>
        <el-form-item label="采集参数名称" prop="collectParameterName">
          <el-input v-model="form.collectParameterName" placeholder="请输入采集参数名称" />
        </el-form-item>
        <el-form-item label="是否作为对比参数" prop="contrastParameterFlag">
          <el-input v-model="form.contrastParameterFlag" placeholder="请输入是否作为对比参数" />
        </el-form-item>
<!--        <el-form-item label="采集参数类型" prop="collectParameterType">-->
<!--          <el-select v-model="form.collectParameterType" placeholder="请选择采集参数类型">-->
@@ -259,6 +271,33 @@
        </el-form-item>
        <el-form-item label="采集顺序" prop="gatherSequence">
          <el-input v-model="form.gatherSequence" placeholder="请输入采集顺序" />
        </el-form-item>
        <el-form-item label="工序名称" prop="processesName">
          <el-input v-model="form.processesName" placeholder="请输入工序名称" />
        </el-form-item>
        <el-form-item label="设备" prop="device">
          <el-input v-model="form.device" placeholder="请输入设备" />
        </el-form-item>
        <el-form-item label="项目" prop="project">
          <el-input v-model="form.project" placeholder="请输入项目" />
        </el-form-item>
        <el-form-item label="精度" prop="accuracy">
          <el-input v-model="form.accuracy" placeholder="请输入精度" />
        </el-form-item>
        <el-form-item label="数组长度" prop="arrayLength">
          <el-input v-model="form.arrayLength" placeholder="请输入数组长度" />
        </el-form-item>
        <el-form-item label="采集频率" prop="acquisitionFrequency">
          <el-input v-model="form.acquisitionFrequency" placeholder="请输入采集频率" />
        </el-form-item>
        <el-form-item label="业务需求部门" prop="demandDepartment">
          <el-input v-model="form.demandDepartment" placeholder="请输入业务需求部门" />
        </el-form-item>
        <el-form-item label="是否采集" prop="whetherToCollect">
          <el-input v-model="form.whetherToCollect" placeholder="请输入是否采集" />
        </el-form-item>
        <el-form-item label="默认值" prop="defaultValue">
          <el-input v-model="form.defaultValue" placeholder="请输入默认值" />
        </el-form-item>
        <el-form-item label="备注" prop="remarks">
          <el-input v-model="form.remarks" placeholder="请输入备注" />
@@ -366,7 +405,18 @@
        spareField1: null,
        spareField2: null,
        spareField3: null,
        spareField4: null
        spareField4: null,
        processesName: null,
        device: null,
        project: null,
        accuracy: null,
        arrayLength: null,
        acquisitionFrequency: null,
        demandDepartment: null,
        whetherToCollect: null,
        defaultValue: null,
        productModel: null
      };
      this.resetForm("form");
    },