From cbcff3e56c65e8b0d10498571f2705a5ae730ff9 Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期三, 06 九月 2023 10:42:34 +0800 Subject: [PATCH] 导入字段校验调整 --- src/views/eam/DailyMaintenanceOrderList3m.vue | 40 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 39 insertions(+), 1 deletions(-) diff --git a/src/views/eam/DailyMaintenanceOrderList3m.vue b/src/views/eam/DailyMaintenanceOrderList3m.vue index b326091..094356d 100644 --- a/src/views/eam/DailyMaintenanceOrderList3m.vue +++ b/src/views/eam/DailyMaintenanceOrderList3m.vue @@ -55,6 +55,27 @@ icon="plus" v-has="'dailyMaintenanceOrder:add'" >鏂板</a-button> + <a-button + v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" + @click="handlePrintPrecision(selectionRows[0])" + type="primary" + style="margin-left: 8px" + >绮惧害妫�楠屽崟鎵撳嵃 + </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" @@ -262,7 +283,7 @@ slot-scope="text, record" > <a - v-if="record.status === '3' || record.status === '4' ||record.status === '5' ||record.status === '7' " + v-if="record.status === '3' || record.status === '4' ||record.status === '5' ||record.status === '7' ||record.status === '8'" class="lot" @click="handleOrderExe(record)" >{{record.num}}</a> @@ -500,6 +521,23 @@ this.selectionRows = selectionRows; }, + handlePrintPrecision(record) { + let href = `${window._CONFIG['domianURL']}/jmreport/view/858844938446508032?id=`+record.id; //缃戠珯閾炬帴 + window.open(href, "_blank"); + }, + + 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 = '鏃ュ父淇濆吇宸ュ崟鎵ц' -- Gitblit v1.9.3