qushaowei
2024-03-28 e7eca504e167de53fd97e5c2cc1fc039a8e758cc
src/views/eam/Daily3MaintenanceOrderList.vue
@@ -97,25 +97,40 @@
        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"
@@ -700,6 +715,15 @@
      window.open(href, "_blank");
    },
    handlePrintTechnology(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/932475014657814528?id=` + record.id; //网站链接
      window.open(href, "_blank");
    },
    handlePrintStove(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/932491838782910464?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 = []