From b794af068ade99e0499dca57bd083aedd6cebd79 Mon Sep 17 00:00:00 2001 From: wangfei <3597712270@qq.com> Date: 星期四, 13 三月 2025 14:51:14 +0800 Subject: [PATCH] 各模块历史任务更新 --- UI-Project/src/views/Returns/upreturns2.vue | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/UI-Project/src/views/Returns/upreturns2.vue b/UI-Project/src/views/Returns/upreturns2.vue index 441f232..ba13560 100644 --- a/UI-Project/src/views/Returns/upreturns2.vue +++ b/UI-Project/src/views/Returns/upreturns2.vue @@ -17,7 +17,7 @@ const blinda = ref(false) const ReportData = ref(true); const blindb = ref(false) -const dialoglea = ref(false) +const blindbd = ref(false) const canSelectProjecta = ref(true); const canSelectProjectb = ref(true); const canSelectProjectc = ref(false); @@ -379,6 +379,12 @@ console.error('鍙戠敓閿欒:', error); } }; +// 鍘嗗彶浠诲姟 +const iframeUrl = ref(''); +const handlehistorical = (row) => { + blindbd.value = true; + iframeUrl.value = `${window.location.origin}/#/Returns/upreturnhistory`; +}; function getStatusType2(filmRemove) { switch (filmRemove) { case 0: @@ -423,6 +429,7 @@ <el-button :disabled="!canSelectProjectb" style="margin-top: 5px;margin-left: 20px;" type="success" @click="handleBind">{{ $t('basicData.startloading') }}</el-button> <el-button :disabled="!canSelectProjectc" style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="warning" @click="handleBinda">{{ $t('basicData.stop') }}</el-button> <el-button :disabled="!canSelectProjectc" style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="danger" @click="deleteTask">{{ $t('searchOrder.deleteTask') }}</el-button> + <el-button style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="info" @click="handlehistorical">{{ $t('searchOrder.historicaltasks') }}</el-button> <el-select disabled v-model="selectValuesa[1]" clearable :placeholder="$t('Mounting.oneloadingline')" style="margin-top: 5px;margin-left: 20px;"> <el-option :label="$t('Mounting.all')" value="0"></el-option> @@ -488,6 +495,17 @@ </div> </div> </div> + <!-- 鍘嗗彶浠诲姟 --> + <el-dialog v-model="blindbd" top="10vh" width="90%"> + <iframe + :src="iframeUrl" + marginwidth="2000px" + marginheight="2000px" + width="100%" + height="700px" + frameborder="0" + ></iframe> + </el-dialog> <el-dialog v-model="blind" top="30vh" width="25%" :title="$t('basicData.startfilm')"> <template #footer> <div id="dialog-footer"> -- Gitblit v1.8.0