地址更换

This commit is contained in:
打豆豆 2024-04-12 16:53:31 +08:00
parent e5b27705e2
commit dd86228a9c
5 changed files with 12 additions and 12 deletions

View File

@ -101,7 +101,7 @@ export default {
) )
.then(() => { .then(() => {
axios axios
.get("http://192.168.3.53:8077/manage/task/emergencyStop") .get("http://192.168.50.191:8077/manage/task/emergencyStop")
.then((res) => { .then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.$message({ this.$message({

View File

@ -497,7 +497,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
// axios // axios
// .get("http://192.168.3.53:8077/manage/device/devices") // .get("http://192.168.50.191:8077/manage/device/devices")
// .then((res) => { // .then((res) => {
// this.intelligent = res.data.data; // this.intelligent = res.data.data;
// this.loading = false; // this.loading = false;
@ -533,7 +533,7 @@ export default {
setInterval() { setInterval() {
axios axios
.get("http://192.168.3.53:8077/manage/modbus/data", { .get("http://192.168.50.191:8077/manage/modbus/data", {
params: { params: {
id: this.id, id: this.id,
}, },
@ -546,7 +546,7 @@ export default {
off() { off() {
if (this.id != "") { if (this.id != "") {
axios axios
.get("http://192.168.3.53:8077/manage/modbus/operate", { .get("http://192.168.50.191:8077/manage/modbus/operate", {
params: { params: {
id: this.id, id: this.id,
type: 2, type: 2,
@ -566,7 +566,7 @@ export default {
on() { on() {
if (this.id != "") { if (this.id != "") {
axios axios
.get("http://192.168.3.53:8077/manage/modbus/operate", { .get("http://192.168.50.191:8077/manage/modbus/operate", {
params: { params: {
id: this.id, id: this.id,
type: 1, type: 1,

View File

@ -359,7 +359,7 @@ export default {
setInterval() { setInterval() {
// axios // axios
// .get("http://192.168.3.53:8077/manage/modbus/data", { // .get("http://192.168.50.191:8077/manage/modbus/data", {
// params: { // params: {
// id: this.id, // id: this.id,
// }, // },
@ -372,7 +372,7 @@ export default {
upbutton() { upbutton() {
if (this.id != "") { if (this.id != "") {
axios axios
.get("http://192.168.3.53:8077/manage/robot/powerOn", { .get("http://192.168.50.191:8077/manage/robot/powerOn", {
params: { params: {
id: this.id, id: this.id,
}, },
@ -397,7 +397,7 @@ export default {
downbutton() { downbutton() {
if (this.id != "") { if (this.id != "") {
axios axios
.get("http://192.168.3.53:8077/manage/robot/powerOff", { .get("http://192.168.50.191:8077/manage/robot/powerOff", {
params: { params: {
id: this.id, id: this.id,
}, },

View File

@ -667,7 +667,7 @@ export default {
const routeId = row.workorderId || this.ids; const routeId = row.workorderId || this.ids;
axios axios
.get("http://192.168.2.104:8077/manage/task/execute?ids=" + routeId) .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) // .get("http://127.0.0.1:8077/manage/task/execute?ids=" + routeId)
.then((res) => { .then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
@ -684,7 +684,7 @@ export default {
const routeId = row.workorderId || this.ids; const routeId = row.workorderId || this.ids;
axios axios
.get("http://192.168.2.104:8077/manage/task/suspension?id=" + routeId) .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) // .get("http://127.0.0.1:8077/manage/task/suspension?id=" + routeId)
.then((res) => { .then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {

View File

@ -36,7 +36,7 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
"/prod-api": { "/prod-api": {
// target: `http://192.168.2.104:8063`, // target: `http://192.168.2.104:8063`,
target: `http://192.168.3.53:8063`, target: `http://192.168.50.191:8063`,
changeOrigin: true, changeOrigin: true,
// pathRewrite: { // pathRewrite: {
// ['^' + process.env.VUE_APP_BASE_API]: '' // ['^' + process.env.VUE_APP_BASE_API]: ''
@ -44,7 +44,7 @@ module.exports = {
}, },
"/ureport": { "/ureport": {
// target: `http://192.168.2.104:8063`, // target: `http://192.168.2.104:8063`,
target: `http://192.168.3.53:8063`, target: `http://192.168.50.191:8063`,
ws: false, ws: false,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {