Commit ea6fd601 authored by 黄贤军's avatar 黄贤军

bug修改

parent 411e9609
Pipeline #21553 passed with stage
in 1 minute and 12 seconds
...@@ -6,7 +6,7 @@ var authAPI = 'http://47.110.145.204:8095/' ...@@ -6,7 +6,7 @@ var authAPI = 'http://47.110.145.204:8095/'
// var erPiUrl = 'http://47.100.21.215:40402' // var erPiUrl = 'http://47.100.21.215:40402'
var mesAPI = 'http://47.110.145.204:8109/' // var mesAPI = 'http://47.110.145.204:8109/' //
mesAPI = 'http://192.168.4.116:5000/' mesAPI = 'http://192.168.4.116:5000/'
mesAPI = 'http://192.168.4.116:23000/' // mesAPI = 'http://192.168.4.116:23000/'
var mockAPI = 'http://47.110.145.204:8082/mock/239' var mockAPI = 'http://47.110.145.204:8082/mock/239'
module.exports = { module.exports = {
build: { build: {
......
...@@ -422,6 +422,8 @@ export default { ...@@ -422,6 +422,8 @@ export default {
}, },
// 保存远程数据库 // 保存远程数据库
set_remote_server() { set_remote_server() {
this.remote_server.project_no = this.ruleForm.project_no
console.log(this.remote_server)
this.$API.post(`mesAPI/connection/remote_server/`, {}, {}, this.remote_server).then(res => { this.$API.post(`mesAPI/connection/remote_server/`, {}, {}, this.remote_server).then(res => {
if (res.data.message === '保存成功') { this.$message.success(res.data.message) } else { if (res.data.message === '保存成功') { this.$message.success(res.data.message) } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment