Commit a2d3eb2d authored by 仇晓婷's avatar 仇晓婷

Merge branch 'portal' of http://git.mes123.com/zhouyx/mes-ui into portal

parents dccec6a9 548c0b83
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
} }
}, },
created() { created() {
this.fileUrlPath = iconImg + this.imgUrl this.fileUrlPath = "/" +this.imgUrl
}, },
props: { props: {
value: [String, Number, Array, Object], value: [String, Number, Array, Object],
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
} }
}, },
getCodes(e) { getCodes(e) {
let url = `${routeUrl}/orderproductcode/getbyorderid` let url = `${PlanUrl}/orderproductcode/getbyorderid`
if (this.eid) { if (this.eid) {
this.$api.get(url, { id: this.eid }).then((r) => { this.$api.get(url, { id: this.eid }).then((r) => {
if (r.success) { if (r.success) {
......
...@@ -129,11 +129,11 @@ export default { ...@@ -129,11 +129,11 @@ export default {
width: 500px; width: 500px;
height: 540px; height: 540px;
padding: 20px 50px; padding: 20px 50px;
margin: 200px auto auto;
border-radius: 10px; border-radius: 10px;
left: 50%; left: 50%;
margin-left: -250px;; top:50%;
color: #ddd; color: #ddd;
transform: translate(-50%,-50%);
box-shadow: 1px 15px 35px #022d36; box-shadow: 1px 15px 35px #022d36;
.mt20 { .mt20 {
margin-top: 50px; margin-top: 50px;
......
const systemApi = { const systemApi = {
//本地测试: local: 'localhost',
// dev:'192.168.0.88', product: '39.100.148.168',
dev: '39.100.148.168', dev:"49.232.68.61",
aps:'47.92.102.113'
bjdev: 'localhost', }
//环境切换(只修改此处):
let address=systemApi.dev;
//本地88服务器: //let address=systemApi.product;
localServer: '39.100.148.168', //let address=systemApi.local;
local: '192.168.0.88',
// localServer:'192.168.0.159', window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
//云上228服务器: window.designUrl = `http://${address}:10000/process`; // 工艺规程
cloudServer: '39.100.148.168', window.PlanUrl = `http://${address}:10000/plan`; //订单
product:"49.232.68.61", window.bugUrl = `http://${address}:10000/bug`; //bug
window.fileUrl = `http://${address}:10080/fileServer`; //文件上传url
//云上113服务器: window.fileUrlDown = `http://${address}`; //文件下载url
//cloudServer:'47.92.111.113', window.resourceUrl = `http://${address}:10000/resource`; // 制造资源地址
//上传文件 window.workflowUrl = `http://${address}:10000/workflow`; // 工作流地址
fileServer: '192.168.0.204', window.certificateUrl = `http://${address}:10000/qms`; //质量
//此处添加其他环境: window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管理
//…… window.apsUrl = `http://${systemApi.aps}:10000/aps`;//aps排产
} \ No newline at end of file
//环境切换(只修改此处):
//let address=systemApi.dev;
let local = systemApi.dev;
let hostAddress = "localhost"; //192.168.0.159
let filePath = '39.100.148.168'; //文件上传ip
let filePathDown = '39.100.148.168'; //文件上传ip
let apsAdress = '47.92.102.113'
let address = systemApi.cloudServer;
//占位符自动替换:
window.systemUrl = `http://${address}:10020/api/services/app`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
window.designUrl = `http://${address}:10030/api/services/app`; //Process-api 工艺规程
window.PlanUrl = `http://${address}:10050/api/services/app`; //Process-api
window.routeUrl = `http://${address}:10050/api/services/app`; //Process-api
window.bugUrl = `http://${address}:10070/api/services/app`; //Process-api
window.fileUrl = `http://${filePath}:10080/fileServer`; //文件上传url
window.fileUrlDown = `http://${filePathDown}:80`; //文件下载url
window.resourceUrl = `http://${address}:10040/api/services/app`; // 制造资源地址
window.workflowUrl = `http://${address}:10060/api/services/app`; // 工作流地址
window.certificateUrl = `http://${address}:10090/api/services/app`; //Process-api
window.crmUrl = `http://${address}:10100/api/services/app`; //crm客户、合同、项目管理
window.iconImg = `http://${hostAddress}:3000/imgicon/`; //待办任务图标路径
window.apsManualUrl = `http://${apsAdress}:10091/api/services/app`;//aps手工排产
window.apsUrl = `http://${apsAdress}:10110/api/services/app`;//aps排产
//oidc配置:
window.authConfig = {
authority: `http://${address}:10010`,
client_id: 'js',
redirect_uri: `http://${hostAddress}:3006/callback`,
response_type: 'code',
scope: 'openid profile system process plan resource qms bug workflow crm aps',
post_logout_redirect_uri: `http://${hostAddress}:3006/`
};
\ No newline at end of file
const systemApi = {
local: 'localhost',
product: '39.100.148.168',
dev:"49.232.68.61",
aps:'47.92.102.113'
}
//环境切换(只修改此处):
let address=systemApi.dev;
//let address=systemApi.product;
//let address=systemApi.local;
//占位符自动替换:
window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
window.designUrl = `http://${address}:10000/process`; // 工艺规程
window.PlanUrl = `http://${address}:10000/plan`; //订单
window.bugUrl = `http://${address}:10000/bug`; //bug
window.fileUrl = `http://${address}:10080/fileServer`; //文件上传url
window.fileUrlDown = `http://${address}`; //文件下载url
window.resourceUrl = `http://${address}:10000/resource`; // 制造资源地址
window.workflowUrl = `http://${address}:10000/workflow`; // 工作流地址
window.certificateUrl = `http://${address}:10000/qms`; //质量
window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管理
window.apsUrl = `http://${systemApi.aps}:10000/aps`;//aps排产
\ No newline at end of file
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