| | |
| | | showDialog: false, |
| | | isLoging: false, |
| | | onSubmit_text: "立即创建", |
| | | saveUrl: "./api/platform/save", |
| | | saveUrl: "/api/platform/save", |
| | | |
| | | platform: { |
| | | id: null, |
| | |
| | | this.saveUrl = "/api/platform/add"; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url:`./api/platform/server_config` |
| | | url:`/api/platform/server_config` |
| | | }).then(function (res) { |
| | | console.log(res); |
| | | if (res.data.code === 0) { |
| | |
| | | var that = this; |
| | | await that.$axios({ |
| | | method: 'get', |
| | | url:`./api/platform/exit/${deviceGbId}`}) |
| | | url:`/api/platform/exit/${deviceGbId}`}) |
| | | .then(function (res) { |
| | | if (res.data.code === 0) { |
| | | result = res.data.data; |