Compare commits
No commits in common. "c3de865eaab6708f714999ed46c6da4cc13ad2a1" and "bedc3a56e33f7807cf27e2e88b4d3e5452008599" have entirely different histories.
c3de865eaa
...
bedc3a56e3
35
apis/http.js
35
apis/http.js
|
|
@ -15,29 +15,15 @@ class HttpConfig {
|
|||
// baseUrl = "https://z.csgmall.com.cn/gl"
|
||||
// baseUrl = "http://10.40.92.141:28080"
|
||||
// #endif
|
||||
// 基地址 (部署时使用 需要加 dev-api)
|
||||
// authPath = `${this.baseUrl}/dev-api/auth`
|
||||
// systemPath = `${this.baseUrl}/dev-api/system`
|
||||
// basePath = `${this.baseUrl}/dev-api/base`
|
||||
// materialPath = `${this.baseUrl}/dev-api/material`
|
||||
baseUrl =
|
||||
ENV === "production"
|
||||
? "http://192.168.0.56:21627/dev-api"
|
||||
: this.target;
|
||||
authPath =
|
||||
ENV === "production" ? `${this.baseUrl}/auth` : `${this.baseUrl}/auth`;
|
||||
systemPath =
|
||||
ENV === "production"
|
||||
? `${this.baseUrl}/system`
|
||||
: `${this.baseUrl}/system`;
|
||||
basePath =
|
||||
ENV === "production"
|
||||
? `${this.baseUrl}/material/base`
|
||||
: `${this.baseUrl}/material/base`;
|
||||
materialPath =
|
||||
ENV === "production"
|
||||
? `${this.baseUrl}/material`
|
||||
: `${this.baseUrl}/material`;
|
||||
// 基地址
|
||||
// authPath = `${this.baseUrl}/dev-api/auth`;
|
||||
// systemPath = `${this.baseUrl}/dev-api/system`;
|
||||
// basePath = `${this.baseUrl}/dev-api/base`;
|
||||
// materialPath = `${this.baseUrl}/dev-api/material`;
|
||||
authPath = `${this.baseUrl}/auth`;
|
||||
systemPath = `${this.baseUrl}/system`;
|
||||
basePath = `${this.baseUrl}/material/base`;
|
||||
materialPath = `${this.baseUrl}/material`;
|
||||
// 短链
|
||||
serviceUrl = {
|
||||
login: {
|
||||
|
|
@ -75,8 +61,7 @@ class HttpConfig {
|
|||
fetchExamListAll: "/tm_task/getLeaseAuditListAll", // 获取领料申请列表
|
||||
fetchTrueExamList: "/tm_task/getLeaseManageListAll", // 获取领料审批列表
|
||||
fetchTrueExamListCq: "/tm_task/getLeaseManageListAllCq", // 获取重庆领料审批列表
|
||||
fetchDetailList: "/tm_task/getLeaseListAllCq", // 获取领料明细列表
|
||||
fetchConfirmByCq: "/tm_task/updateLeaseTaskStatusConfirmByCq",
|
||||
fetchDetailList: "/tm_task/getLeaseListAll", // 获取领料明细列表
|
||||
subExam: "/tm_task/auditLeaseByCompany", // 通过领料审批
|
||||
subExamCq: "/tm_task/auditLeaseByCompanyCq", // 通过重庆领料审批
|
||||
rejectExam: "/tm_task/rejectLeaseByCompany", // 驳回领料审批
|
||||
|
|
|
|||
Loading…
Reference in New Issue