zhuo
2025-05-08 18a49440d07a717035cbc72fa4adae4e1ff05557
检验项添加抽样类型绑定
已修改3个文件
23 ■■■■ 文件已修改
src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/resourceDemand/device/component/management.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue
@@ -953,7 +953,7 @@
  },
  // 用于上传文件的信息
  computed: {
    ...mapGetters(["userId"]),
    ...mapGetters(["userId", "nickName"]),
    action() {
      return this.javaApi + '/qualityMonitor/importQualityMonitor'
    },
src/views/CNAS/resourceDemand/device/component/management.vue
@@ -16,9 +16,9 @@
                      @keyup.enter.native="refreshTable()">
            </el-input>
          </el-form-item>
          <el-form-item label="规格型号" prop="specificationModel">
          <el-form-item label="管理编号" prop="managementNumber">
            <el-input size="small" placeholder="请输入" clearable
                      v-model="queryParams.specificationModel" @keyup.enter.native="refreshTable()"></el-input>
                      v-model="queryParams.managementNumber" @keyup.enter.native="refreshTable()"></el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" size="mini" @click="refreshTable">查询</el-button>
src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
@@ -175,6 +175,15 @@
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="抽检类型绑定:" prop="spotCheckType">
              <el-select v-model="editForm.spotCheckType" clearable placeholder="请选择" size="small" style="width: 100%">
                <el-option v-for="item in dict.type.spot_check_type" :key="item.value" :label="item.label" :value="item.value"></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
<!--        <el-col :span="12">-->
<!--          <el-form-item label="字典类型:" prop="dic">-->
<!--            <el-select v-model="editForm.dic" clearable placeholder="请选择" size="small" style="width: 100%">-->
@@ -207,7 +216,7 @@
  name: "EditForm",
  // import 引入的组件需要注入到对象中才能使用
  components: {},
  dicts: ['sys_sub_lab', 'inspection_item_type', 'sys_unit', 'inspection_value_type', 'inspection_bsm'],
  dicts: ['sys_sub_lab', 'inspection_item_type', 'sys_unit', 'inspection_value_type', 'inspection_bsm', 'spot_check_type'],
  data() {
    // 这里存放数据
    return {
@@ -237,7 +246,8 @@
        inspectionItemClassEn: '', // 检验项分类EN
        method: '', // 试验方法
        radiusList: [], // 条件
        rates: '', // 条件
        rates: '', // 收费标准(元/次)
        spotCheckType: '', // 抽检类型绑定
        deviceId: [], // 设备
      },
      sampleList: [], // 检验对象下拉框
@@ -313,7 +323,8 @@
            inspectionItemClassEn: '', // 检验项分类EN
            method: '', // 试验方法
            radiusList: [], // 条件
            rates: '', // 条件
            rates: '', // 收费标准(元/次)
            spotCheckType: '', // 抽检类型绑定
        }
        this.resetForm('editForm')
      } else {