src/views/eam/Daily3MaintenanceOrderList.vue
@@ -1,7 +1,7 @@
<template>
  <a-card
    :bordered="false"
    title="三级保养"
    title=""
  >
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
@@ -91,31 +91,46 @@
        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].isNotStoveCategoryFlag == false && selectionRows[0].precisionParameters == '1' "
        @click="handlePrintPrecision(selectionRows[0])"
        type="primary"
        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'"
        @click="handlePrintCheck(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 == 1 && selectionRows[0].status == '8'"
        @click="handlePrintInfo(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >移交单打印
      </a-button>
      <a-button
        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '5' && selectionRows[0].isNotStoveCategoryFlag == false && selectionRows[0].precisionParameters != '1'"
        @click="handlePrintTechnology(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >技术状态鉴定打印
      </a-button>
      <a-button
        v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '5' && selectionRows[0].isNotStoveCategoryFlag == true"
        @click="handlePrintStove(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >炉类检测打印
      </a-button>
      <!-- <a-button
        v-if="selectedRowKeys.length > 0"
@@ -579,12 +594,12 @@
        //   align: "center",
        //   dataIndex: 'workingHourQuota'
        // },
        // {
        //   title: '计划开始时间',
        //   align: "center",
        //   dataIndex: 'planStartTime',
        //   //width: '120px',
        // },
        {
          title: '计划开始时间',
          align: "center",
          dataIndex: 'planStartTime',
          //width: '120px',
        },
        // {
        //   title: '计划结束时间',
        //   align: "center",
@@ -685,12 +700,12 @@
    },
    handlePrintPrecision(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858844938446508032?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/938231672512131072?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
    handlePrintCheck(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858867141388996608?id=` + record.id; //网站链接
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934647514367975424?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
@@ -700,6 +715,15 @@
      window.open(href, "_blank");
    },
    handlePrintTechnology(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/938226141894488064?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
    handlePrintStove(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/934611893956042752?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
    handleOrderExe(record) {
      this.$refs.DailyMaintenanceOrderExeDrawer.visible = true
@@ -839,6 +863,7 @@
    },
    searchReset() {
      this.onClearSelected();
      this.queryParam = { maintenanceType: '3' }
      this.loadData(1);
      this.finishTime = []