From da8761b8f8cad5fe6825ef28c3b877816eeea59e Mon Sep 17 00:00:00 2001
From: gaosp <gaosp>
Date: 星期六, 13 一月 2024 22:24:14 +0800
Subject: [PATCH] update

---
 src/container/Map/addMachine.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/container/Map/addMachine.vue b/src/container/Map/addMachine.vue
index 7c740bc..1a0c427 100644
--- a/src/container/Map/addMachine.vue
+++ b/src/container/Map/addMachine.vue
@@ -1,7 +1,7 @@
 <!--
  * @Date: 2024-01-10 22:28:38
  * @LastEditors: Sneed
- * @LastEditTime: 2024-01-10 23:19:26
+ * @LastEditTime: 2024-01-12 21:21:48
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/Map/addMachine.vue
 -->
 <template>
@@ -111,10 +111,10 @@
         getWsl().then(res => {
             this.workshopList = res.data
         })
-        getRequest('accountQuery',{pageSize: 1000,current: 1}).then(res => {
+        getRequest('accountQuery',{}).then(res => {
             console.log(res)
             try {
-                this.accountList = res.data.records
+                this.accountList = res.data
             } catch (error) {
                 this.accountList = []
             }
@@ -123,6 +123,8 @@
     },
     methods: {
         saveDevice () {
+            this.$emit('setmachineId',this.addInfo.id)
+            return
             this.$http.postJson('/machine/save',{
                 ...this.addInfo,
                 plantId: this.id

--
Gitblit v1.9.3