From 9935385d2e894d4a29974d9ac628540b6148ea2b Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期一, 07 七月 2025 19:52:16 +0800
Subject: [PATCH] 优化展示
---
src/views/tasks/machinereturnfileop.vue | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/src/views/tasks/machinereturnfileop.vue b/src/views/tasks/machinereturnfileop.vue
index 2cb713a..5daf5d9 100644
--- a/src/views/tasks/machinereturnfileop.vue
+++ b/src/views/tasks/machinereturnfileop.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2025-06-18 09:17:09
* @LastEditors: gaoshp
- * @LastEditTime: 2025-06-20 09:32:54
+ * @LastEditTime: 2025-06-20 20:58:07
* @FilePath: /mdmweb/src/views/tasks/machinereturnfileop.vue
-->
<template>
@@ -59,6 +59,7 @@
selection: true,
// viewBtn: true,
menuWidth: 100,
+ menu: false,
dialogClickModal: false,
column: [
{
@@ -75,7 +76,7 @@
{
label: '绋嬪簭缂栧彿',
- prop: 'programName',
+ prop: 'code',
},
{
label: '鍥炰紶鏈哄簥',
@@ -84,14 +85,14 @@
{
label: '鏂囦欢鍚嶇О',
- prop: '',
- formatter: (val, value, label) => {
- return `${val?.variables?.machineCode}`;
- },
+ prop: 'name'
},
{
label: '鏂囦欢鍥哄寲鐘舵��',
- prop: 'machineCode',
+ prop: 'isCured',
+ formatter: (val, value, label) => {
+ return `${val==0?'鏈浐鍖�':"宸插浐鍖�"}`;
+ },
},
{
label: '鏂囦欢鍒拌揪鏃堕棿',
@@ -99,11 +100,7 @@
type: 'datetime',
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
- },
- {
- label: '鏂囦欢鏁版嵁搴撶紪鍙�',
- prop: '',
- },
+ }
],
}
}
@@ -153,9 +150,10 @@
// keyword: params.keyword || ''
// }
data = {
- confirmTimeBegin: params.createTimeBegin,
- confirmTimeEnd: params.createTimeEnd,
+ confirmTimeBegin: params.confirmTimeBegin,
+ confirmTimeEnd: params.confirmTimeEnd,
}
+ this.query = data
this.onLoad(this.page, data);
done();
},
@@ -184,13 +182,14 @@
/** * 椤甸潰鍔犺浇鏃惰幏鍙栨暟鎹�
*/
onLoad(page, params = {}) {
+ console.log('onLoad', page, params);
const query = {
...this.query,
// category: params.category ? flowCategory(params.category) : null,
mode: this.mode,
};
try {
- delete query.processCreateTime; // 鍒犻櫎涓嶅繀瑕佺殑鏌ヨ鏉′欢
+ delete query.confirmTime; // 鍒犻櫎涓嶅繀瑕佺殑鏌ヨ鏉′欢
} catch (error) {
console.error('鏃ユ湡鏍煎紡鍖栭敊璇�', error);
}
--
Gitblit v1.9.3