“linengliang”
2024-03-12 ddd7e6f6c57c2f39305e94a74650e28bbf31f9e7
src/views/eam/DailyMaintenanceStandardList.vue
@@ -1,6 +1,6 @@
<template>
  <a-card
    title="周期性保养标准"
    title="二级保养标准"
    :bordered='false'
  >
    <div class='table-page-search-wrapper'>
@@ -28,10 +28,10 @@
            :md='8'
            :sm='24'
          >
            <a-form-item label='设备名称'>
            <a-form-item label='统一编号'>
              <a-input
                placeholder='请输入设备名称'
                v-model='queryParam.name'
                placeholder='请输入统一编号'
                v-model='queryParam.equipmentNum'
              ></a-input>
            </a-form-item>
          </a-col>
@@ -113,6 +113,7 @@
        <a-button
          type="primary"
          icon="import"
          v-has="'dailyMaintenanceStandard:import'"
        >导入</a-button>
      </a-upload>
    </div>
@@ -233,7 +234,7 @@
            <daily-maintenance-standard-detail :maintenanceStandardId='maintenanceStandardId' />
          </div>
        </a-tab-pane>
        <a-tab-pane
        <!-- <a-tab-pane
          tab='计划用料'
          key="2"
        >
@@ -265,7 +266,7 @@
          >
            <maintenance-standard-work-instruction :maintenanceStandardId='maintenanceStandardId' />
          </div>
        </a-tab-pane>
        </a-tab-pane> -->
      </a-tabs>
    </div>
@@ -458,8 +459,8 @@
      /* 分页参数 */
      ipagination: {
        current: 1,
        pageSize: 5,
        pageSizeOptions: ['5', '10', '50'],
        pageSize: 20,
        pageSizeOptions: ['5', '10', '20', '50'],
        showTotal: (total, range) => {
          return range[0] + '-' + range[1] + ' 共' + total + '条'
        },
@@ -468,7 +469,7 @@
        total: 0
      },
      maintenanceStandardId: '-1',
      queryParam: { type: 'daily' }
      queryParam: { type: 'daily', maintenanceType: '2' }
    }
  },
  computed: {
@@ -588,7 +589,7 @@
    searchReset() {
      this.maintenanceStandardId = '-1'
      this.queryParam = { type: 'daily' }
      this.queryParam = { type: 'daily', maintenanceType: '2' }
      this.loadData(1);
    },
  }