cuijian
2023-09-05 1227a827fc531da057f1f50c967dd79d2a673a3a
三级保养打印功能
已修改2个文件
28 ■■■■■ 文件已修改
src/views/eam/DailyMaintenanceOrderList.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceOrderList3m.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceOrderList.vue
@@ -71,7 +71,7 @@
        @click="handlePrintInfo(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >打印
      >移交单打印
      </a-button>
      <!-- <a-button
        v-if="selectedRowKeys.length > 0"
src/views/eam/DailyMaintenanceOrderList3m.vue
@@ -55,6 +55,20 @@
        icon="plus"
        v-has="'dailyMaintenanceOrder:add'"
      >新增</a-button>
      <a-button
        v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
        @click="handlePrintCheck(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >验收单打印
      </a-button>
      <a-button
        v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
        @click="handlePrintInfo(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >移交单打印
      </a-button>
      <!-- <a-button
        v-if="selectedRowKeys.length > 0"
        type="primary"
@@ -500,6 +514,18 @@
      this.selectionRows = selectionRows;
    },
    handlePrintCheck(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858867141388996608?id=`+record.id; //网站链接
      window.open(href, "_blank");
    },
    handlePrintInfo(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858930685061042176?id=`+record.id; //网站链接
      window.open(href, "_blank");
    },
    handleOrderExe(record) {
      this.$refs.DailyMaintenanceOrderExeDrawer.visible = true
      this.$refs.DailyMaintenanceOrderExeDrawer.title = '日常保养工单执行'