|
|
@@ -181,18 +181,18 @@ let app = new Vue({
|
|
|
// "language": "zh_CN"
|
|
|
|
|
|
// UAT环境
|
|
|
- "appId": "CockpitScreen",
|
|
|
- "appSecuret": "JSCdpsjgl@539126",
|
|
|
- "tenantid": "uatierp",
|
|
|
- "accountId": "1490670568960163840",
|
|
|
- "language": "zh_CN"
|
|
|
-
|
|
|
- // 生产环境
|
|
|
// "appId": "CockpitScreen",
|
|
|
// "appSecuret": "JSCdpsjgl@539126",
|
|
|
- // "tenantid": "ierp",
|
|
|
- // "accountId": "1504594026697850880",
|
|
|
+ // "tenantid": "uatierp",
|
|
|
+ // "accountId": "1490670568960163840",
|
|
|
// "language": "zh_CN"
|
|
|
+
|
|
|
+ // 生产环境
|
|
|
+ "appId": "CockpitScreen",
|
|
|
+ "appSecuret": "JSCdpsjgl@539126",
|
|
|
+ "tenantid": "ierp",
|
|
|
+ "accountId": "1504594026697850880",
|
|
|
+ "language": "zh_CN"
|
|
|
}
|
|
|
post('/ierp/api/getAppToken.do', value).then(res => {
|
|
|
this.app_token = res.data.app_token
|
|
|
@@ -217,18 +217,18 @@ let app = new Vue({
|
|
|
// "usertype": "UserName"
|
|
|
|
|
|
// UAT环境
|
|
|
- "user": "jiashicangjiekou",
|
|
|
- "apptoken": this.app_token,
|
|
|
- "tenantid": "uatierp",
|
|
|
- "accountId": "1490670568960163840",
|
|
|
- "usertype": "UserName"
|
|
|
-
|
|
|
- // 生产环境
|
|
|
// "user": "jiashicangjiekou",
|
|
|
// "apptoken": this.app_token,
|
|
|
- // "tenantid": "ierp",
|
|
|
- // "accountId": "1504594026697850880",
|
|
|
+ // "tenantid": "uatierp",
|
|
|
+ // "accountId": "1490670568960163840",
|
|
|
// "usertype": "UserName"
|
|
|
+
|
|
|
+ // 生产环境
|
|
|
+ "user": "jiashicangjiekou",
|
|
|
+ "apptoken": this.app_token,
|
|
|
+ "tenantid": "ierp",
|
|
|
+ "accountId": "1504594026697850880",
|
|
|
+ "usertype": "UserName"
|
|
|
}
|
|
|
post('/ierp/api/login.do', value).then(res => {
|
|
|
this.access_token = res.data.access_token
|