qushaowei
2024-07-12 336dcb70c156c947530eab0f0a96ee17de477929
src/views/eam/MalfunctionRepair.vue
@@ -234,23 +234,27 @@
        @change="handleTableChange"
        :customRow="clickThenSelect"
      >
      <!-- 点击列跳转到事故登记页 -->
        <!-- 点击列跳转到事故登记页 -->
        <template
          slot="accidentRegistrationProgress"
          slot-scope="text, record">
          slot-scope="text, record"
        >
          <a
            v-if="text!==''&&text!==null"
            @click="handleAccidentRegistration(record)">
            @click="handleAccidentRegistration(record)"
          >
            {{text=='yes'? '已确认':'未确认'}}
          </a>
        </template>
        <!-- 点击列跳转到质量隐患页 -->
        <template
          slot="qualityHiddenDangerProgress"
          slot-scope="text, record">
          slot-scope="text, record"
        >
          <a
            v-if="text!==''&&text!==null"
            @click="handleQualityHiddenDanger(record)">
            @click="handleQualityHiddenDanger(record)"
          >
            {{text=='yes'? '已确认':'未确认'}}
          </a>
        </template>
@@ -431,7 +435,13 @@
        {
          title: '单据号',
          align: "center",
          dataIndex: 'num'
          dataIndex: 'num',
          width: 150
        },
        {
          title: '统一编号',
          align: "center",
          dataIndex: 'equipmentNum'
        },
        {
          title: '状态',
@@ -446,7 +456,7 @@
            if (text == '1') {
              return "被动报修";
            } else if (text == '2') {
              return "主动报修";
              return "车间报修";
            } else if (text == '3') {
              return "主动维修";
            }
@@ -470,11 +480,7 @@
          dataIndex: 'specificEquipment',
          scopedSlots: { customRender: 'specificEquipment' }
        },
        {
          title: '统一编号',
          align: "center",
          dataIndex: 'equipmentNum'
        },
        {
          title: '设备名称',
          align: "center",
@@ -554,8 +560,8 @@
          align: "center",
          dataIndex: 'remark'
        },
         //质量隐患确认进度
         {
        //质量隐患确认进度
        {
          title: '质量隐患',
          align: "center",
          dataIndex: 'isConfirm1',
@@ -576,7 +582,7 @@
          width: 100,
          scopedSlots: { customRender: 'action' }
        },
      ],
      url: {
        list: "/eam/equipmentReportRepair/getReportRepairList",