地址更换
This commit is contained in:
parent
e5b27705e2
commit
dd86228a9c
@ -101,7 +101,7 @@ export default {
|
||||
)
|
||||
.then(() => {
|
||||
axios
|
||||
.get("http://192.168.3.53:8077/manage/task/emergencyStop")
|
||||
.get("http://192.168.50.191:8077/manage/task/emergencyStop")
|
||||
.then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.$message({
|
||||
|
@ -497,7 +497,7 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
// axios
|
||||
// .get("http://192.168.3.53:8077/manage/device/devices")
|
||||
// .get("http://192.168.50.191:8077/manage/device/devices")
|
||||
// .then((res) => {
|
||||
// this.intelligent = res.data.data;
|
||||
// this.loading = false;
|
||||
@ -533,7 +533,7 @@ export default {
|
||||
|
||||
setInterval() {
|
||||
axios
|
||||
.get("http://192.168.3.53:8077/manage/modbus/data", {
|
||||
.get("http://192.168.50.191:8077/manage/modbus/data", {
|
||||
params: {
|
||||
id: this.id,
|
||||
},
|
||||
@ -546,7 +546,7 @@ export default {
|
||||
off() {
|
||||
if (this.id != "") {
|
||||
axios
|
||||
.get("http://192.168.3.53:8077/manage/modbus/operate", {
|
||||
.get("http://192.168.50.191:8077/manage/modbus/operate", {
|
||||
params: {
|
||||
id: this.id,
|
||||
type: 2,
|
||||
@ -566,7 +566,7 @@ export default {
|
||||
on() {
|
||||
if (this.id != "") {
|
||||
axios
|
||||
.get("http://192.168.3.53:8077/manage/modbus/operate", {
|
||||
.get("http://192.168.50.191:8077/manage/modbus/operate", {
|
||||
params: {
|
||||
id: this.id,
|
||||
type: 1,
|
||||
|
@ -359,7 +359,7 @@ export default {
|
||||
|
||||
setInterval() {
|
||||
// axios
|
||||
// .get("http://192.168.3.53:8077/manage/modbus/data", {
|
||||
// .get("http://192.168.50.191:8077/manage/modbus/data", {
|
||||
// params: {
|
||||
// id: this.id,
|
||||
// },
|
||||
@ -372,7 +372,7 @@ export default {
|
||||
upbutton() {
|
||||
if (this.id != "") {
|
||||
axios
|
||||
.get("http://192.168.3.53:8077/manage/robot/powerOn", {
|
||||
.get("http://192.168.50.191:8077/manage/robot/powerOn", {
|
||||
params: {
|
||||
id: this.id,
|
||||
},
|
||||
@ -397,7 +397,7 @@ export default {
|
||||
downbutton() {
|
||||
if (this.id != "") {
|
||||
axios
|
||||
.get("http://192.168.3.53:8077/manage/robot/powerOff", {
|
||||
.get("http://192.168.50.191:8077/manage/robot/powerOff", {
|
||||
params: {
|
||||
id: this.id,
|
||||
},
|
||||
|
@ -667,7 +667,7 @@ export default {
|
||||
const routeId = row.workorderId || this.ids;
|
||||
axios
|
||||
.get("http://192.168.2.104:8077/manage/task/execute?ids=" + routeId)
|
||||
// .get("http://192.168.3.53:8077/manage/task/execute?ids=" + routeId)
|
||||
// .get("http://192.168.50.191:8077/manage/task/execute?ids=" + routeId)
|
||||
// .get("http://127.0.0.1:8077/manage/task/execute?ids=" + routeId)
|
||||
.then((res) => {
|
||||
if (res.data.code === 200) {
|
||||
@ -684,7 +684,7 @@ export default {
|
||||
const routeId = row.workorderId || this.ids;
|
||||
axios
|
||||
.get("http://192.168.2.104:8077/manage/task/suspension?id=" + routeId)
|
||||
// .get("http://192.168.3.53:8077/manage/task/suspension?id=" + routeId)
|
||||
// .get("http://192.168.50.191:8077/manage/task/suspension?id=" + routeId)
|
||||
// .get("http://127.0.0.1:8077/manage/task/suspension?id=" + routeId)
|
||||
.then((res) => {
|
||||
if (res.data.code === 200) {
|
||||
|
@ -36,7 +36,7 @@ module.exports = {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
"/prod-api": {
|
||||
// target: `http://192.168.2.104:8063`,
|
||||
target: `http://192.168.3.53:8063`,
|
||||
target: `http://192.168.50.191:8063`,
|
||||
changeOrigin: true,
|
||||
// pathRewrite: {
|
||||
// ['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
@ -44,7 +44,7 @@ module.exports = {
|
||||
},
|
||||
"/ureport": {
|
||||
// target: `http://192.168.2.104:8063`,
|
||||
target: `http://192.168.3.53:8063`,
|
||||
target: `http://192.168.50.191:8063`,
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
Loading…
Reference in New Issue
Block a user