zhaowei
2025-06-10 c46213fa824995bb2155c11ea332824d23232d9c
src/views/eam/DailyMaintenanceOrderList.vue
@@ -1,7 +1,7 @@
<template>
  <a-card
    :bordered="false"
    title="二级保养"
    title=""
  >
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
@@ -61,7 +61,7 @@
              />
            </a-form-item>
          </a-col>
          <a-col :span="6">
          <!-- <a-col :span="6">
            <a-form-item label="移交单状态">
              <j-dict-select-tag
                dictCode="two_maintenance_devolution_status"
@@ -69,7 +69,7 @@
                v-model="queryParam.confirmStatus"
              />
            </a-form-item>
          </a-col>
          </a-col> -->
          <a-col :span="7">
            <a-form-item label="完工时间">
              <a-range-picker
@@ -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 = []