src/views/eam/DailyMaintenanceOrderList.vue
@@ -1,7 +1,7 @@
<template>
  <a-card
    :bordered="false"
    title="二级保养"
    title=""
  >
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
@@ -100,18 +100,19 @@
        style="margin-left: 8px"
      >查询</a-button>
      <a-button
        type="primary"
        type="info"
        @click="searchReset"
        icon="reload"
        style="margin-left: 8px"
      >重置</a-button>
      <a-button
        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
        v-show="selectedRowKeys.length == 1 && (selectionRows[0].status === '5' || selectionRows[0].status === '8')"
        @click="handlePrintInfo(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >移交单打印
      </a-button>
      <!-- v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" -->
      <!-- <a-button
        v-show="selectedRowKeys.length > 0"
        type="primary"
@@ -540,7 +541,7 @@
    },
    handlePrintInfo(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/857408393168490496?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934663658030161920?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
@@ -641,6 +642,7 @@
    },
    searchReset() {
      this.onClearSelected();
      this.queryParam = { maintenanceType: '2' }
      this.loadData(1);
      this.finishTime = []