From 41a5531dc31a642623f0a7a766fbe9c256ba9247 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 11 二月 2025 13:53:29 +0800
Subject: [PATCH] 优化WMS前端
---
项目代码/WMS/WIDESEA_WMSClient/config/buttons.js | 128 +++++++++++++++++++++++++++++++-----------
1 files changed, 93 insertions(+), 35 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/config/buttons.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/config/buttons.js"
index e6eaf7c..fb1adad 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/config/buttons.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/config/buttons.js"
@@ -20,7 +20,8 @@
onClick: function () {
this.add();
}
-}, {
+},
+{
name: "缂� 杈�",
icon: 'el-icon-edit',
value: 'Update',
@@ -30,7 +31,9 @@
onClick: function () {
this.edit();
}
-}, {
+},
+
+{
name: "鍒� 闄�",
icon: 'el-icon-delete',
class: '',
@@ -39,25 +42,8 @@
onClick: function () {
this.del();
}
-},{
- name: "鍚� 鐢�",
- icon: 'el-icon-circle-check',
- type: 'success',
- // plain: true,
- value: 'EnableLocation',
- onClick: function () {
-
- }
-}, {
- name: "绂� 鐢�",
- icon: 'el-icon-circle-close',
- type: 'danger',
- // plain: true,
- value: 'DisableLocation',
- onClick: function () {
-
- }
-}, {
+},
+{
name: "瀹� 鏍�",
icon: 'el-icon-check',
class: '',
@@ -78,8 +64,8 @@
onClick: function () {
this.import();
}
-}
- , {
+},
+{
name: "瀵� 鍑�",
icon: 'el-icon-bottom',
type: 'success',
@@ -88,19 +74,91 @@
onClick: function () {
this.export();
}
-}
+}, {
+ name: "鍚� 鐢�",
+ icon: '',
+ class: '',
+ value: 'Enable',
+ type: 'primary',
+ onClick: function () {
+ }
+},
+{
+ name: "绂� 鐢�",
+ icon: '',
+ class: '',
+ value: 'Disable',
+ type: 'danger',
+ onClick: function () {
+ }
+},
+{
+ name: "浠诲姟鎭㈠",
+ icon: '',
+ class: '',
+ value: 'TaskRecovery',
+ type: 'danger',
+ onClick: function () {
+ }
+},
+{
+ name: "鏌ョ湅瀹屾暣璺敱",
+ icon: '',
+ class: '',
+ value: 'ViewAllRouter',
+ type: 'info',
+ onClick: function () {
+ }
+},
+{
+ name: "璺敱閰嶇疆",
+ icon: '',
+ class: '',
+ value: 'AddRouters',
+ type: 'success',
+ onClick: function () {
+ }
+},
+{
+ name: "鍥炴粴鍒颁笂涓�姝�",
+ icon: '',
+ class: '',
+ value: 'Previous',
+ type: 'danger',
+ onClick: function () {
+ }
+},
+{
+ name: "璺宠浆鍒颁笅涓�姝�",
+ icon: '',
+ class: '',
+ value: 'Next',
+ type: 'warning',
+ onClick: function () {
+ }
+},
+{
+ name: "绂佺敤鐘舵��",
+ icon: '',
+ class: '',
+ plain: true,
+ value: 'enableStatus',
+ type: 'primary',
+ onClick: function () {
+ }
+},
+{
+ name: "鎵撳嵃",
+ icon: 'el-icon-printer',
+ class: '',
+ plain: true,
+ value: 'print',
+ type: 'primary',
+ onClick: function () {
+ this.print();
+ }
+},
-
-
- // , {
- // name: "鏁版嵁缁撴瀯",
- // icon: 'ios-cog',
- // class: '',
- // value: '',
- // onClick: function () {
- // this.openViewColumns();
- // }
- // }
]
export default buttons
\ No newline at end of file
--
Gitblit v1.9.3