Lius
2025-04-09 95c09503f711c580514ed613d2ae7240cdf1b089
报修工单调整
已修改2个文件
103 ■■■■■ 文件已修改
src/views/eam/repair/EamRepairOrderList.vue 97 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/repair/modules/EamRepairOrderModal.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/repair/EamRepairOrderList.vue
@@ -12,11 +12,6 @@
          </a-col>
          <template v-if="toggleSearchStatus">
            <a-col :xl="6" :lg="7" :md="8" :sm="24">
              <a-form-item label="报修编号">
                <a-input placeholder="请输入报修编号" v-model="queryParam.reportId"></a-input>
              </a-form-item>
            </a-col>
            <a-col :xl="6" :lg="7" :md="8" :sm="24">
              <a-form-item label="设备编号">
                <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="queryParam.equipmentId"/>
              </a-form-item>
@@ -46,10 +41,6 @@
    <div class="table-operator">
      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
      <a-button type="primary" icon="download" @click="handleExportXls('维修工单')">导出</a-button>
      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"
                @change="handleImportExcel">
        <a-button type="primary" icon="import">导入</a-button>
      </a-upload>
      <a-dropdown v-if="selectedRowKeys.length > 0">
        <a-menu slot="overlay">
          <a-menu-item key="1" @click="batchDel">
@@ -130,30 +121,19 @@
      // 表头
      columns: [
        {
          title: '#',
          dataIndex: '',
          key: 'rowIndex',
          width: 60,
          align: 'center',
          customRender: function(t, r, index) {
            return parseInt(index) + 1
          },
          fixed: 'left'
        },
        {
          title: '工单编号',
          align: 'center',
          dataIndex: 'repairCode',
          width: 200,
          fixed: 'left'
        },
        {
          title: '报修编号',
          align: 'center',
          dataIndex: 'reportId',
          width: 200,
          fixed: 'left'
        },
        // {
        //   title: '报修编号',
        //   align: 'center',
        //   dataIndex: 'reportId',
        //   width: 200,
        //   fixed: 'left'
        // },
        {
          title: '设备编号',
          align: 'center',
@@ -164,7 +144,7 @@
        {
          title: '状态',
          align: 'center',
          dataIndex: 'repairStatus_dicText',
          dataIndex: 'repairStatus_dictText',
          fixed: 'left',
          width: 100
        },
@@ -197,36 +177,36 @@
          dataIndex: 'repairer',
          width: 100
        },
        {
          title: '是否委外',
          align: 'center',
          dataIndex: 'outsourcedFlag',
          width: 100
        },
        {
          title: '委外维修描述',
          align: 'center',
          dataIndex: 'outsourcedRepairDecription',
          width: 300
        },
        {
          title: '委外维修开始时间',
          align: 'center',
          dataIndex: 'outsourcedStartTime',
          width: 200
        },
        {
          title: '委外维修结束时间',
          align: 'center',
          dataIndex: 'outsourcedEndTime',
          width: 200
        },
        {
          title: '委外负责人',
          align: 'center',
          dataIndex: 'outsourcedPerson',
          width: 100
        },
        // {
        //   title: '是否委外',
        //   align: 'center',
        //   dataIndex: 'outsourcedFlag',
        //   width: 100
        // },
        // {
        //   title: '委外维修描述',
        //   align: 'center',
        //   dataIndex: 'outsourcedRepairDecription',
        //   width: 300
        // },
        // {
        //   title: '委外维修开始时间',
        //   align: 'center',
        //   dataIndex: 'outsourcedStartTime',
        //   width: 200
        // },
        // {
        //   title: '委外维修结束时间',
        //   align: 'center',
        //   dataIndex: 'outsourcedEndTime',
        //   width: 200
        // },
        // {
        //   title: '委外负责人',
        //   align: 'center',
        //   dataIndex: 'outsourcedPerson',
        //   width: 100
        // },
        {
          title: '维修图片',
          align: 'center',
@@ -247,7 +227,6 @@
        delete: '/eam/eamRepairOrder/delete',
        deleteBatch: '/eam/eamRepairOrder/deleteBatch',
        exportXlsUrl: 'eam/eamRepairOrder/exportXls',
        importExcelUrl: 'eam/eamRepairOrder/importExcel'
      }
    }
  },
src/views/eam/repair/modules/EamRepairOrderModal.vue
@@ -30,12 +30,6 @@
              <lx-search-equipment-select placeholder="请输入设备编号或名称搜索" v-model="model.equipmentId"/>
            </a-form-model-item>
          </a-col>
          <!--          <a-col :span="12">-->
          <!--            <a-form-model-item prop="repairStatus" label="维修状态">-->
          <!--              <a-input placeholder="请输入维修状态" v-model="model.repairStatus"/>-->
          <!--            </a-form-model-item>-->
          <!--          </a-col>-->
          <a-col :span="12">
            <a-form-model-item prop="faultReason" label="故障原因">
              <a-input placeholder="请输入故障原因" v-model="model.faultReason"/>