From e1fee3c5c1eb50f49d20dad4dc656dfdcb81d4b4 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 29 九月 2025 17:18:33 +0800
Subject: [PATCH] 工控网界面优化
---
src/views/tasks/machinereturnfiles.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/tasks/machinereturnfiles.vue b/src/views/tasks/machinereturnfiles.vue
index c0f6786..d3e00bc 100644
--- a/src/views/tasks/machinereturnfiles.vue
+++ b/src/views/tasks/machinereturnfiles.vue
@@ -70,10 +70,10 @@
total: 0,
},
option: {
- size:'mini',
+ //size:'small',
index: true,
selection: true,
- selectionWidth:20,
+ selectionWidth:30,
addBtn: false,
editBtn: false,
delBtn: false,
@@ -108,7 +108,7 @@
txt = '鍥哄寲';
break;
case 3:
- txt = '鍋忕';
+ txt = '涓存椂鏇存敼鍗�';
break;
default:
txt = '鏈煡';
@@ -272,9 +272,11 @@
},
currentChange(current) {
this.mypage.current = current;
+ this.onLoad();
},
sizeChange(size) {
this.mypage.size = size;
+ this.onLoad();
},
refreshChange() {
@@ -291,12 +293,15 @@
dirType:this.currentNode.dirType,
machineCode: this.currentNode.machineCode,
}
+ console.log('myupage',this.mypage)
axios({
url: '/blade-mdm/machinefile/collect/file-page-for-acceept',
method: 'get',
params: obj,
}).then(
res => {
+ var screenHeight = window.innerHeight;
+ this.option.maxHeight = (screenHeight - 390) + 'px';
const data = res.data.data;
this.mypage.total = data.total;
this.data = data.records;
--
Gitblit v1.9.3