zhaowei
2025-07-24 1451e36b1767a4d7883e80078b371b6273e9eb41
src/views/eam/technical/EamTechnicalStatusEvaluationOrderList.vue
@@ -43,8 +43,34 @@
    <!-- table区域-begin -->
    <a-table bordered rowKey="id" :columns="columns" :dataSource="dataSource" :pagination="ipagination"
             :scroll="{ x: 'max-content' }" :loading="loading" @change="handleTableChange">
      <!--安全装置检查结果-->
      <template slot="safetyEquipmentCheckResult" slot-scope="text">
        <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/>
      </template>
        <span slot="action" slot-scope="text, record">
      <!--精度参数检查结果-->
      <template slot="precisionCheckResult" slot-scope="text">
        <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/>
      </template>
      <!--功能状态检查结果-->
      <template slot="functionalCheckResult" slot-scope="text">
        <a-switch v-if="text!=='NONE'" checked-children="是" un-checked-children="否" :checked="text==='YES'" disabled/>
        <span v-else>无</span>
      </template>
      <!--其他检查结果-->
      <template slot="otherCheckResult" slot-scope="text">
        <a-switch v-if="text!=='NONE'" checked-children="是" un-checked-children="否" :checked="text==='YES'" disabled/>
        <span v-else>无</span>
      </template>
      <!--试件检查结果-->
      <template slot="sampleCheckResult" slot-scope="text">
        <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/>
      </template>
      <span slot="action" slot-scope="text, record">
          <template v-if="record.evaluationStatus === 'WAIT_EVALUATION'">
            <a-popconfirm title="确定领取吗?" @confirm="handleReceive(record.id)">
            <a>领取</a>
@@ -53,13 +79,13 @@
           <a-divider type="vertical"/>
          </template>
          <template v-if="record.evaluationStatus == 'WAIT_EVALUATION'||record.evaluationStatus=='LOCKED'">
          <template v-if="record.evaluationStatus === 'WAIT_EVALUATION'||record.evaluationStatus==='LOCKED'">
             <a @click="handleOrderChange(record)">变更</a>
             <a-divider type="vertical"/>
          </template>
          <a @click="handleDetail(record)">详情</a>
          <a @click="handleDetail(record)" v-if="record.evaluationStatus!=='CHANGING'">详情</a>
        </span>
    </a-table>
    <!-- table区域-end -->
@@ -129,6 +155,12 @@
            fixed: 'left'
          },
          {
            title: '鉴定状态',
            align: 'center',
            dataIndex: 'evaluationStatus_dictText',
            fixed: 'left'
          },
          {
            title: '工单号',
            align: 'center',
            dataIndex: 'orderNum'
@@ -164,11 +196,6 @@
            dataIndex: 'evaluator_dictText'
          },
          {
            title: '鉴定状态',
            align: 'center',
            dataIndex: 'evaluationStatus_dictText'
          },
          {
            title: '创建方式',
            align: 'center',
            dataIndex: 'creationMethod_dictText'
@@ -176,42 +203,47 @@
          {
            title: '安全装置检查结果',
            align: 'center',
            dataIndex: 'safetyEquipmentCheckResult'
            dataIndex: 'safetyEquipmentCheckResult',
            scopedSlots: { customRender: 'safetyEquipmentCheckResult' }
          },
          {
            title: '精度参数检查结果',
            align: 'center',
            dataIndex: 'precisionCheckResult'
            dataIndex: 'precisionCheckResult',
            scopedSlots: { customRender: 'precisionCheckResult' }
          },
          {
            title: '功能状态检查结果',
            align: 'center',
            dataIndex: 'functionalCheckResult'
            dataIndex: 'functionalCheckResult',
            scopedSlots: { customRender: 'functionalCheckResult' }
          },
          {
            title: '其他检查结果',
            align: 'center',
            dataIndex: 'otherCheckResult'
            dataIndex: 'otherCheckResult',
            scopedSlots: { customRender: 'otherCheckResult' }
          },
          {
            title: '维修室主任签字',
            align: 'center',
            dataIndex: 'repairManagerSignature'
            dataIndex: 'repairManagerSignature_dictText'
          },
          {
            title: '维修室主任签字时间',
            align: 'center',
            dataIndex: 'repairManagerSignatureTime1'
            dataIndex: 'repairManagerSignatureTime'
          },
          {
            title: '试件检查结果',
            align: 'center',
            dataIndex: 'sampleCheckResult'
            dataIndex: 'sampleCheckResult',
            scopedSlots: { customRender: 'sampleCheckResult' }
          },
          {
            title: '工艺员签字',
            align: 'center',
            dataIndex: 'processTechnicianSignature'
            dataIndex: 'processTechnicianSignature_dictText'
          },
          {
            title: '工艺员签字时间',
@@ -221,7 +253,7 @@
          {
            title: '鉴定结果',
            align: 'center',
            dataIndex: 'evaluationResult'
            dataIndex: 'evaluationResult_dictText'
          },
          {
            title: '限/禁用原因',
@@ -231,7 +263,7 @@
          {
            title: '设备检查人签字',
            align: 'center',
            dataIndex: 'inspectorSignature'
            dataIndex: 'inspectorSignature_dictText'
          },
          {
            title: '设备检查人签字时间',
@@ -263,7 +295,8 @@
            dataIndex: 'action',
            align: 'center',
            scopedSlots: { customRender: 'action' },
            fixed: 'right'
            fixed: 'right',
            width: 200
          }
        ],
        url: {
@@ -316,7 +349,7 @@
        this.$refs.technicalStatusEvaluationApprovalModal.title = '详情'
        this.$refs.technicalStatusEvaluationApprovalModal.visible = true
        this.$refs.technicalStatusEvaluationApprovalModal.disableSubmit = true
        this.$refs.technicalStatusEvaluationApprovalModal.recordDetail(record)
        this.$refs.technicalStatusEvaluationApprovalModal.handleDetail(record)
      }
    }
  }