Commit b213f71b authored by wangdong's avatar wangdong

move

parent da238fc6
......@@ -9,7 +9,7 @@
##### STEPS
``` bash
git clone http://10.25.20.227/project-ai-scheduler/oai_show_app
git clone http://202.204.54.185/project-ai-scheduler/oai_show_app
cd oai_show_app
......
......@@ -78,28 +78,28 @@ export default {
name: "OAI_ENB",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.193?autologin=1&user=root&pass=199710",
"http://202.204.54.185:2222/ssh/host/192.168.1.193?autologin=1&user=root&pass=199710",
},
{
name: "DroneFront",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.36?autologin=1&user=root&pass=199710",
"http://202.204.54.185:2222/ssh/host/192.168.1.36?autologin=1&user=root&pass=199710",
},
{
name: "AI-Engine",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.80?autologin=1&user=root&pass=199710",
"http://202.204.54.185:2222/ssh/host/192.168.1.80?autologin=1&user=root&pass=199710",
},
{
name: "CoreNet",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.12?autologin=1&user=root&pass=199710",
"http://202.204.54.185:2222/ssh/host/192.168.1.12?autologin=1&user=root&pass=199710",
},],
srcs: [
{ name: "FlexRan", active: true, url: "http://10.25.20.227:2224" },
{ name: "FlexRan", active: true, url: "http://202.204.54.185:2224" },
],
menus: [
{ name: "FlexRan", active: true },
......@@ -120,12 +120,12 @@ export default {
let returnCitySN = JSON.parse(res.split("= ")[1].split(";")[0]);
let local = await flexranAPI.DETECT_LOCAL({}, returnCitySN["cip"]);
if (local.area == "北京科技大学") {
this.src = `http://10.25.20.227:2224`;
this.src = `http://202.204.54.185:2224`;
} else {
this.src = `http://ustb-oai.com:2224`;
}
} catch (error) {
this.src = `http://10.25.20.227:2224`;
this.src = `http://202.204.54.185:2224`;
}
},
methods: {
......
......@@ -16,7 +16,7 @@ export default {
dataList:[],
host:'',
action:'',
src:'http://10.25.20.227:2222/ssh/host/192.168.1.210?autologin=1&user=root&pass=199710'
src:'http://202.204.54.185:2222/ssh/host/192.168.1.210?autologin=1&user=root&pass=199710'
};
},
async mounted() {
......@@ -29,7 +29,7 @@ export default {
let returnCitySN = JSON.parse(res.split("= ")[1].split(";")[0])
let local = await flexranAPI.DETECT_LOCAL({},returnCitySN['cip'])
if(local.area=="北京科技大学"){
this.src=`http://10.25.20.227:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
this.src=`http://202.204.54.185:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
}
else{
......@@ -37,7 +37,7 @@ export default {
}
} catch (error) {
this.src=`http://10.25.20.227:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
this.src=`http://202.204.54.185:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
}
......
......@@ -3,7 +3,7 @@ let url = `ustb-oai.com`
export function SET_URL (data = {}) {
// 接口请求
url="10.25.20.227"
url="202.204.54.185"
}
export function GET_URL (data = {}) {
// 接口请求
......
......@@ -40,6 +40,8 @@
<el-dropdown-item command="1">DroneFront</el-dropdown-item>
<el-dropdown-item command="2">AI-Engine</el-dropdown-item>
<el-dropdown-item command="3">CoreNet</el-dropdown-item>
<el-dropdown-item command="4">Video</el-dropdown-item>
<el-dropdown-item command="5">OAI</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
......@@ -82,28 +84,41 @@ export default {
name: "OAI_ENB",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.193?autologin=1&user=root&pass=199710",
"http://202.204.54.185:2222/ssh/host/192.168.1.68?autologin=1&user=root&pass=123456",
},
{
name: "DroneFront",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.36?autologin=1&user=root&pass=199710",
"http://202.204.54.185:2222/ssh/host/192.168.1.61?autologin=1&user=root&pass=123456",
},
{
name: "AI-Engine",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.80?autologin=1&user=root&pass=199710",
"http://202.204.54.185:2222/ssh/host/192.168.1.80?autologin=1&user=root&pass=199710",
},
{
name: "CoreNet",
active: false,
url:
"http://10.25.20.227:2222/ssh/host/192.168.1.12?autologin=1&user=root&pass=199710",
},],
"http://202.204.54.185:2222/ssh/host/192.168.1.61?autologin=1&user=root&pass=123456",
}
,
{
name: "Video",
active: false,
url:
"http://202.204.54.185:82/oai/",
},
{
name: "OAI",
active: false,
url:
"http://202.204.54.185:2222/ssh/host/192.168.1.55?autologin=1&user=root&pass=123456",
}],
srcs: [
{ name: "FlexRan", active: true, url: "http://10.25.20.227:2224" },
{ name: "FlexRan", active: true, url: "http://202.204.54.185:81" },
],
menus: [
{ name: "FlexRan", active: true },
......@@ -124,12 +139,12 @@ export default {
let returnCitySN = JSON.parse(res.split("= ")[1].split(";")[0]);
let local = await flexranAPI.DETECT_LOCAL({}, returnCitySN["cip"]);
if (local.area == "北京科技大学") {
this.src = `http://10.25.20.227:2224`;
this.src = `http://202.204.54.185:2224`;
} else {
this.src = `http://ustb-oai.com:2224`;
}
} catch (error) {
this.src = `http://10.25.20.227:2224`;
this.src = `http://202.204.54.185:2224`;
}
},
methods: {
......
......@@ -16,7 +16,7 @@ export default {
dataList:[],
host:'',
action:'',
src:'http://10.25.20.227:2222/ssh/host/192.168.1.210?autologin=1&user=root&pass=199710'
src:'http://202.204.54.185:2222/ssh/host/192.168.1.210?autologin=1&user=root&pass=199710'
};
},
async mounted() {
......@@ -29,7 +29,7 @@ export default {
let returnCitySN = JSON.parse(res.split("= ")[1].split(";")[0])
let local = await flexranAPI.DETECT_LOCAL({},returnCitySN['cip'])
if(local.area=="北京科技大学"){
this.src=`http://10.25.20.227:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
this.src=`http://202.204.54.185:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
}
else{
......@@ -37,7 +37,7 @@ export default {
}
} catch (error) {
this.src=`http://10.25.20.227:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
this.src=`http://202.204.54.185:2222/ssh/host/${this.host}?autologin=1&user=${this.user}&pass=${this.pass}`
}
......
......@@ -3,7 +3,7 @@ let url = `ustb-oai.com`
export function SET_URL (data = {}) {
// 接口请求
url="10.25.20.227"
url="202.204.54.185"
}
export function GET_URL (data = {}) {
// 接口请求
......
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