src/views/system/MdcEquipmentImplementLedger.vue
@@ -5,12 +5,22 @@
      <div class="table-page-search-wrapper">
        <a-form layout="inline" @keyup.enter.native="searchQuery">
          <a-row :gutter="24">
            <a-col :md="5" :sm="5">
            <a-col :md="4" :sm="4">
              <a-form-item label="车间">
                <a-input v-model="queryParam.productionName" allowClear></a-input>
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="4">
              <a-form-item label="工段">
                <a-input v-model="queryParam.sectionName" allowClear></a-input>
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="4">
              <a-form-item label="设备编号">
                <a-input v-model="queryParam.equipmentId" allowClear></a-input>
              </a-form-item>
            </a-col>
            <a-col :md="5" :sm="5">
            <a-col :md="4" :sm="4">
              <a-form-item label="设备名称">
                <a-input v-model="queryParam.equipmentName" allowClear></a-input>
              </a-form-item>
@@ -28,6 +38,12 @@
      <!-- 操作按钮区域· -->
      <div class="table-operator" style="border-top: 5px">
        <a-button @click="handleAdd" type="primary" icon="plus">添加台账</a-button>
        <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader"
                  :action="url.importExcelUrl"
                  @change="handleImportExcel">
          <a-button type="primary" icon="import">导入</a-button>
        </a-upload>
        <!--<a-button type="primary" icon="download" @click="handleExportXls('MDC设备实施台账')">导出</a-button>-->
        <a-dropdown v-if="selectedRowKeys.length > 0">
          <a-menu slot="overlay" @click="handleMenuClick">
            <a-menu-item key="1">
@@ -145,14 +161,14 @@
      scopedSlots: { customRender: 'isMdcInstall' }
    },
    {
      title: 'MDC硬件安装',
      title: 'MDC硬件安装情况',
      dataIndex: 'isMdcHardwareInstall',
      key: 'isMdcHardwareInstall',
      align: 'center',
      width: 150,
      scopedSlots: { customRender: 'isMdcHardwareInstall' }
    },
    { title: '安装时间', dataIndex: 'mdcInstallTime', key: 'mdcInstallTime', align: 'center', width: 150 },
    { title: 'MDC安装时间', dataIndex: 'mdcInstallTime', key: 'mdcInstallTime', align: 'center', width: 150 },
    {
      title: 'DNC安装情况',
      dataIndex: 'isDncInstall',
@@ -162,14 +178,14 @@
      scopedSlots: { customRender: 'isDncInstall' }
    },
    {
      title: 'DNC硬件安装',
      title: 'DNC硬件安装情况',
      dataIndex: 'isDncHardwareInstall',
      key: 'isDncHardwareInstall',
      align: 'center',
      width: 150,
      scopedSlots: { customRender: 'isDncHardwareInstall' }
    },
    { title: '安装时间', dataIndex: 'dncInstallTime', key: 'dncInstallTime', align: 'center', width: 150 },
    { title: 'DNC安装时间', dataIndex: 'dncInstallTime', key: 'dncInstallTime', align: 'center', width: 150 },
    {
      title: '操作',
      dataIndex: 'action',
@@ -257,7 +273,9 @@
        dataList: [],
        url: {
          mdcImplementLedgersList: '/mdc/mdcImplementLedgers/list',
          mdcImplementLedgersSubList: '/mdc/mdcImplementLedgersSub/list'
          mdcImplementLedgersSubList: '/mdc/mdcImplementLedgersSub/list',
          exportXlsUrl: '/mdc/mdcImplementLedgers/exportXls',
          importExcelUrl: '/mdc/mdcImplementLedgers/importExcel'
        },
        columns,
        innerColumns,