From 4fdd869a042a7f63adf42c38acbb464c005851e8 Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期五, 01 八月 2025 16:40:43 +0800
Subject: [PATCH] 1

---
 src/views/basesetting/machine.vue |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/src/views/basesetting/machine.vue b/src/views/basesetting/machine.vue
index 43c1e73..353340d 100644
--- a/src/views/basesetting/machine.vue
+++ b/src/views/basesetting/machine.vue
@@ -80,7 +80,8 @@
             type: 'input',
             prop: 'keyword',
             search: true,
-            hide: true
+            hide: true,
+            showColumn: false
           },
           {
             label: '鏈哄簥缂栧彿4',
@@ -201,18 +202,18 @@
           {
             label: '鎵�灞炵粍缁�',
             prop: 'ownerDept',
-            span: 12
+            span: 12,
+            rules: [
+              {
+                required: true,
+                message: '璇烽�夋嫨鎵�灞炵粍缁�',
+                trigger: 'change'
+              }
+            ]
           },
           {
             label: '鐢熶骇鍟�',
             prop: 'manufacturer',
-            type: 'input',
-            span: 12,
-            dataType: 'string',
-          },
-          {
-            label: '杞鏃堕棿锛堝皬鏃讹級',
-            prop: 'pollingHours',
             type: 'input',
             span: 12,
             dataType: 'string',
@@ -395,14 +396,14 @@
       this.loading = true;
       var obj = {
         keyword: this.search.keyword,
-        machineGroupCode: this.search.machineGroupCode,
+        machineGroupCode: this.search.machineGroupName,
         current: this.mypage.current,
         size: this.mypage.size,
       }
       axios({
         url: '/blade-mdm/machine/page',
         method: 'get',
-        date: obj,
+        params: obj,
       }).then(
         res => {
           const data = res.data.data;

--
Gitblit v1.9.3