xg
“linengliang”
2024-03-13 4acf408253e7366f30885196ac63e077616270d6
src/views/eam/EquipmentListOfTester.vue
@@ -230,6 +230,21 @@
              ></j-date>
            </a-form-model-item>
          </a-col>
          <a-col :span="6">
            <a-form-item
              label="维修班组"
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <j-dict-select-tag
                allow-clear
                placeholder="请选择维修班组"
                :triggerChange="true"
                dictCode="mom_base_team,name,id,del_flag!='1'"
                v-model="queryParam.teamId"
              />
            </a-form-item>
          </a-col>
        </a-row>
      </a-form>
    </div>
@@ -314,7 +329,14 @@
        :customRow="clickThenSelect"
        @change="handleTableChange"
      >
      <template
          slot="technologyStatus"
          slot-scope="text,record"
          >
          <a
            href="javascript:eam/EquipmentCalibrationOrder;"
            @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a>
        </template>
        <template
          slot="htmlSlot"
          slot-scope="text"
@@ -727,6 +749,7 @@
          title: '技术状态',
          align: "center",
          dataIndex: 'technologyStatus_dictText',
          scopedSlots: { customRender: 'technologyStatus' },
        },
        {
          title: '技术状态鉴定类型',
@@ -1081,7 +1104,18 @@
    },
    handleEditSpareParts(record) {
      this.$refs.modalFormSpareParts.edit(record);
    }
    },
    handleTechnologyStatus(record) {
      //路由是eam/EquipmentCalibrationOrder
      this.$router.push({
        path: '/eam/EquipmentCalibrationOrder',
        query: {
          equipmentId: record.id,
          technologyStatus: record.technologyStatus,
          technologyStatusVerificationType: record.technologyStatusVerificationType,
        }
      })
    },
  }
}