192.168.50.191

This commit is contained in:
打豆豆 2024-05-21 10:48:49 +08:00
parent e8209988e6
commit 85d25e662b
7 changed files with 26 additions and 26 deletions

View File

@ -3,15 +3,15 @@
<transition name="sidebarLogoFade">
<router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
<!-- 制造大师 -->
<!-- <img src="../../../assets/images/logo-b.png" class="sidebar-logo-small"> -->
<img src="../../../assets/images/logo-b.png" class="sidebar-logo-small">
<!-- 蚂蚁工业 -->
<img src="../../../assets/images/logo-b1.png" class="sidebar-logo-small">
<!-- <img src="../../../assets/images/logo-b1.png" class="sidebar-logo-small"> -->
</router-link>
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
<!-- 制造大师 -->
<!-- <img src="../../../assets/images/logo-small.png" class="sidebar-logo"> -->
<img src="../../../assets/images/logo-small.png" class="sidebar-logo">
<!-- 蚂蚁工业 -->
<img src="../../../assets/images/logo-small1.png" class="sidebar-logo">
<!-- <img src="../../../assets/images/logo-small1.png" class="sidebar-logo"> -->
</router-link>
</transition>
</div>

View File

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

View File

@ -533,8 +533,8 @@ export default {
setInterval() {
axios
.get("http://192.168.2.104:8077/manage/modbus/data", {
// .get("http://192.168.50.191:8077/manage/modbus/data", {
// .get("http://192.168.2.104:8077/manage/modbus/data", {
.get("http://192.168.50.191:8077/manage/modbus/data", {
params: {
id: this.id,
},
@ -547,8 +547,8 @@ export default {
off() {
if (this.id != "") {
axios
.get("http://192.168.2.104:8077/manage/modbus/operate", {
// .get("http://192.168.50.191:8077/manage/modbus/operate", {
// .get("http://192.168.2.104:8077/manage/modbus/operate", {
.get("http://192.168.50.191:8077/manage/modbus/operate", {
params: {
id: this.id,
type: 2,
@ -568,8 +568,8 @@ export default {
on() {
if (this.id != "") {
axios
.get("http://192.168.2.104:8077/manage/modbus/operate", {
// .get("http://192.168.50.191:8077/manage/modbus/operate", {
// .get("http://192.168.2.104:8077/manage/modbus/operate", {
.get("http://192.168.50.191:8077/manage/modbus/operate", {
params: {
id: this.id,
type: 1,

View File

@ -372,8 +372,8 @@ export default {
upbutton() {
if (this.id != "") {
axios
.get("http://192.168.2.104:8077/manage/robot/powerOn", {
// .get("http://192.168.50.191:8077/manage/robot/powerOn", {
// .get("http://192.168.2.104:8077/manage/robot/powerOn", {
.get("http://192.168.50.191:8077/manage/robot/powerOn", {
params: {
id: this.id,
},
@ -398,8 +398,8 @@ export default {
downbutton() {
if (this.id != "") {
axios
.get("http://192.168.2.104:8077/manage/robot/powerOff", {
// .get("http://192.168.50.191:8077/manage/robot/powerOff", {
// .get("http://192.168.2.104:8077/manage/robot/powerOff", {
.get("http://192.168.50.191:8077/manage/robot/powerOff", {
params: {
id: this.id,
},

View File

@ -673,8 +673,8 @@ export default {
const routeId = row.workorderId || this.ids;
if (routeId !== "") {
axios
.get("http://192.168.2.104:8077/manage/task/execute?ids=" + routeId)
// .get("http://192.168.50.191:8077/manage/task/execute?ids=" + routeId)
// .get("http://192.168.2.104: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) {
@ -698,8 +698,8 @@ export default {
Pendingproduction(row) {
const routeId = row.workorderId || this.ids;
axios
.get("http://192.168.2.104:8077/manage/task/suspension?id=" + routeId)
// .get("http://192.168.50.191:8077/manage/task/suspension?id=" + routeId)
// .get("http://192.168.2.104: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) {

View File

@ -732,8 +732,8 @@ export default {
if (this.remainingquantity != 0) {
axios
.post(
"http://192.168.2.104:8077/manage/matter/storageItem",
// "http://192.168.50.191:8063/manage/matter/storageItem",
// "http://192.168.2.104:8077/manage/matter/storageItem",
"http://192.168.50.191:8063/manage/matter/storageItem",
this.perform
)
.then(function (res) {

View File

@ -36,20 +36,20 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
"/prod-api": {
// 蚂蚁工业
target: `http://192.168.2.104:8063`,
// target: `http://192.168.2.104:8063`,
// 内网
// target: `http://192.168.50.191:8063`,
// 线上
// target: `http://mes.jshengzheng.com:7072`,
target: `http://mes.jshengzheng.com:7072`,
changeOrigin: true,
// pathRewrite: {
// ['^' + process.env.VUE_APP_BASE_API]: ''
// }
},
"/ureport": {
target: `http://192.168.2.104:8063`,
// target: `http://192.168.2.104:8063`,
// target: `http://192.168.50.191:8063`,
// target: `http://mes.jshengzheng.com:7072`,
target: `http://mes.jshengzheng.com:7072`,
ws: false,
changeOrigin: true,
pathRewrite: {