yangys
2024-01-13 f466ae4fdc645c66c9f25e2e4598b9809e2b41af
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