| | |
| | | <!-- |
| | | * @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> |
| | |
| | | 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 = [] |
| | | } |
| | |
| | | }, |
| | | methods: { |
| | | saveDevice () { |
| | | this.$emit('setmachineId',this.addInfo.id) |
| | | return |
| | | this.$http.postJson('/machine/save',{ |
| | | ...this.addInfo, |
| | | plantId: this.id |