qgb-process 0.1.86 → 0.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/lib/qgb-process.common.js +13 -12
  2. package/lib/qgb-process.umd.js +13 -12
  3. package/lib/qgb-process.umd.min.js +28 -28
  4. package/package.json +1 -1
  5. package/src/api/ApiExAndapp.js +2 -1
  6. package/src/api/apiAcceptance/apiAcceptance.js +2 -1
  7. package/src/api/apiArrears/apiArrears.js +3 -2
  8. package/src/api/apiArrears/apiProjectArrears.js +2 -1
  9. package/src/api/apiArrears/index.js +2 -1
  10. package/src/api/apiAudit/apiAudit.js +4 -3
  11. package/src/api/apiAuth.js +6 -5
  12. package/src/api/apiAuthentication.js +5 -4
  13. package/src/api/apiBankAccount/index.js +2 -1
  14. package/src/api/apiBudget/apiBudget.js +2 -1
  15. package/src/api/apiBudget/apiBudgets.js +3 -2
  16. package/src/api/apiChangeTel.js +6 -5
  17. package/src/api/apiCollection/index.js +2 -1
  18. package/src/api/apiContract/index.js +2 -1
  19. package/src/api/apiContract/quill-config.js +2 -1
  20. package/src/api/apiCost/index.js +3 -2
  21. package/src/api/apiCreditManagement.js +2 -2
  22. package/src/api/apiCustomer/apiCustomer.js +2 -1
  23. package/src/api/apiEquipmentRental.js +2 -1
  24. package/src/api/apiFormBuilder/menu.js +2 -1
  25. package/src/api/apiFormBuilder/reissueRule.js +2 -1
  26. package/src/api/apiHelp.js +2 -1
  27. package/src/api/apiHome.js +7 -6
  28. package/src/api/apiIminfo.js +4 -2
  29. package/src/api/apiInvoice.js +3 -4
  30. package/src/api/apiLease/apiLease.js +2 -1
  31. package/src/api/apiLogisticsTransportation/apiLogisticsTransportation.js +2 -1
  32. package/src/api/apiManagementStore/api.js +2 -3
  33. package/src/api/apiManagementStore/apiManagementStore.js +2 -1
  34. package/src/api/apiMaterCheckAndAccept/apiMechanicalSourcing.js +2 -1
  35. package/src/api/apiMaterCheckAndAccept/index.js +2 -1
  36. package/src/api/apiMaterials/api.js +2 -1
  37. package/src/api/apiMaterials/apiCommercialConcrete.js +2 -1
  38. package/src/api/apiMaterials/apiCommodity.js +2 -1
  39. package/src/api/apiMaterials/apiOfflineOrder.js +5 -5
  40. package/src/api/apiMonthPlan/apiMonthPlan.js +2 -1
  41. package/src/api/apiMyBidding.js +2 -1
  42. package/src/api/apiMyMember/apiComInfo.js +3 -2
  43. package/src/api/apiMyMember/apiInviteJoin.js +3 -2
  44. package/src/api/apiMyMember/apiMember.js +5 -4
  45. package/src/api/apiMyMember/apiMemberApply.js +3 -2
  46. package/src/api/apiMyMember/apiMemberChance.js +3 -2
  47. package/src/api/apiOffer.js +2 -1
  48. package/src/api/apiPact.js +2 -2
  49. package/src/api/apiPassword.js +2 -1
  50. package/src/api/apiPay/apiPay.js +2 -1
  51. package/src/api/apiPayment/apiPayment.js +2 -1
  52. package/src/api/apiPayment/apiProjectPayment.js +2 -1
  53. package/src/api/apiProject/apiBaseList.js +2 -1
  54. package/src/api/apiProject/apiGoodsOffer.js +3 -2
  55. package/src/api/apiProject/apiInventory.js +3 -2
  56. package/src/api/apiProject/apiOfferOrder.js +2 -1
  57. package/src/api/apiProject/apiOfferQuery.js +2 -1
  58. package/src/api/apiProject/apiPlan.js +5 -4
  59. package/src/api/apiProject/apiProject.js +2 -1
  60. package/src/api/apiProjectProcurement/apiProjectProcurement.js +8 -7
  61. package/src/api/apiPurchase/apiPurchase.js +9 -8
  62. package/src/api/apiPurchaseApply.js +2 -2
  63. package/src/api/apiPurchasePay.js +2 -2
  64. package/src/api/apiRecruit.js +2 -1
  65. package/src/api/apiRisk/index.js +2 -1
  66. package/src/api/apiRoleManagement.js +3 -2
  67. package/src/api/apiRules/apiRules.js +2 -1
  68. package/src/api/apiSchedule/apiSchedule.js +2 -1
  69. package/src/api/apiSealRecord.js +2 -2
  70. package/src/api/apiSign.js +2 -1
  71. package/src/api/apiSolution/apiSolution.js +2 -1
  72. package/src/api/apiSubcontract.js +2 -1
  73. package/src/api/apiTask.js +2 -2
  74. package/src/api/apiTeam/api.js +2 -3
  75. package/src/api/apiTender.js +2 -1
  76. package/src/api/apiUser.js +2 -1
  77. package/src/api/apiUserEnterprise/api.js +2 -1
  78. package/src/api/apiUserEnterprise/apiUserEn.js +3 -2
  79. package/src/api/apiVolunteerTeam.js +3 -2
  80. package/src/api/apiWorkarea.js +2 -1
  81. package/src/api/apiXzqh.js +2 -1
  82. package/src/api/evection.js +2 -2
  83. package/src/api/guide.js +3 -1
  84. package/src/api/sociaManageApi.js +2 -1
  85. package/src/formBuilder/apiBusiness.js +7 -5
@@ -2,7 +2,8 @@
2
2
  * 清单管理
3
3
  */
4
4
  import request from "@/http"
5
- const url = process.env.VUE_APP_APIRECRUITMENT
5
+ const base = JSON.parse(localStorage.getItem("env"))
6
+ const url = base.VUE_APP_APIRECRUITMENT
6
7
  const testUrl = "http://192.168.101.108:7777"
7
8
 
8
9
  /**
@@ -40,7 +41,7 @@ const apiMaterial = {
40
41
  request.post(`${url}/v1/api/material/batchDelete`, params),
41
42
  // 获取材料分类
42
43
  getType: params =>
43
- request.get(`${process.env.VUE_APP_APIMATERIALS}/api/itemCat/getListByAreaCode`, params),
44
+ request.get(`${base.VUE_APP_APIMATERIALS}/api/itemCat/getListByAreaCode`, params),
44
45
  // 材料采购-申请月度计划列表
45
46
  monthlyList: params =>
46
47
  request.post(`${url}/cv1/materialPurchase/monthlyList`, params), //
@@ -2,7 +2,8 @@
2
2
  * 我的项目
3
3
  */
4
4
  import request from "@/http";
5
- const url = process.env.VUE_APP_APIRECRUITMENT;
5
+ const base = JSON.parse(localStorage.getItem("env"))
6
+ const url = base.VUE_APP_APIRECRUITMENT;
6
7
  const testUrl = "http://192.168.101.108:7777";
7
8
  const apiOfferOrder = {
8
9
  save: (data) => request.post(`${url}/v1/customized/lease/save`, data),
@@ -2,7 +2,8 @@
2
2
  * 我的项目
3
3
  */
4
4
  import request from "@/http";
5
- const url = process.env.VUE_APP_APIRECRUITMENT;
5
+ const base = JSON.parse(localStorage.getItem("env"))
6
+ const url = base.VUE_APP_APIRECRUITMENT;
6
7
  const testUrl = "http://192.168.101.108:7777";
7
8
  const apiOfferQuery = {
8
9
  // 报价查询-预算编制-新接口
@@ -1,9 +1,10 @@
1
1
  import request from "@/http"
2
- const url = process.env.VUE_APP_APIRECRUITMENT
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const url = base.VUE_APP_APIRECRUITMENT
3
4
  const testUrl = "http://192.168.3.10:7777"
4
- const authUrlType = process.env.VUE_APP_AUTHURLTYPE
5
- const Material = process.env.VUE_APP_APIMATERIALS
6
- const user = process.env.VUE_APP_APIUSER
5
+ const authUrlType = base.VUE_APP_AUTHURLTYPE
6
+ const Material = base.VUE_APP_APIMATERIALS
7
+ const user = base.VUE_APP_APIUSER
7
8
  const usertest = "http://192.168.3.10:9090"
8
9
  const apiPlan = {
9
10
  getPlans: (data) => request.post(url + "/project/plan/list", data),
@@ -2,7 +2,8 @@
2
2
  * 我的项目
3
3
  */
4
4
  import request from "@/http";
5
- const url = process.env.VUE_APP_APIRECRUITMENT;
5
+ const base = JSON.parse(localStorage.getItem("env"))
6
+ const url = base.VUE_APP_APIRECRUITMENT;
6
7
  const testUrl = "http://192.168.101.108:7777";
7
8
  const apiProject = {
8
9
  // 新接口
@@ -1,15 +1,16 @@
1
1
  import request from "@/http"
2
- const url = process.env.VUE_APP_APIUSER
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const url = base.VUE_APP_APIUSER
3
4
  // const url = "http://localhost:8081"
4
5
  const apiProjectProcurement = {
5
- apply: (data) => request.post(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/apply`, data),
6
- list: (data) => request.post(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/list`, data),
7
- detail: (key) => request.get(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/getId/${key}`),
8
- delete: (key) => request.delete(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/delete/${key}`),
6
+ apply: (data) => request.post(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/apply`, data),
7
+ list: (data) => request.post(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/list`, data),
8
+ detail: (key) => request.get(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/getId/${key}`),
9
+ delete: (key) => request.delete(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/delete/${key}`),
9
10
  // 【项目】
10
- projectList: () => request.get(`${process.env.VUE_APP_APIRECRUITMENT}/ov1/project/active`),
11
+ projectList: () => request.get(`${base.VUE_APP_APIRECRUITMENT}/ov1/project/active`),
11
12
  // 分部分项
12
- getTree: (data) => request.get(`${process.env.VUE_APP_APIRECRUITMENT}/v1/membership/project/getTree/${data}`),
13
+ getTree: (data) => request.get(`${base.VUE_APP_APIRECRUITMENT}/v1/membership/project/getTree/${data}`),
13
14
  // 【采购计划】新增/编辑/暂存 采购计划
14
15
  addPurchase: (data) => request.post(`${url}/v1/api/project/purchase/plan/add`, data),
15
16
  // 【采购计划】分页查询计划列表
@@ -7,17 +7,18 @@
7
7
  * @FilePath: \src\api\apiPurchase\apiPurchase.js
8
8
  **/
9
9
  import request from "@/http"
10
- const url = process.env.VUE_APP_APIUSER
10
+ const base = JSON.parse(localStorage.getItem("env"))
11
+ const url = base.VUE_APP_APIUSER
11
12
 
12
13
  // const url = "http://localhost:8080"
13
14
  const apiPurchase = {
14
- apply: (data) => request.post(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/apply`, data),
15
- save: (data) => request.post(`${process.env.VUE_APP_APIRECRUITMENT}/cv1/materialPurchase/save`, data), // 采购保存——new
16
- list: (data) => request.post(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/list`, data),
17
- listNew: (data) => request.post(`${process.env.VUE_APP_APIRECRUITMENT}/cv1/materialPurchase/list`, data), // 材料采购列表-new
18
- detail: (key) => request.get(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/getId/${key}`),
19
- detailNew: (id) => request.get(`${process.env.VUE_APP_APIRECRUITMENT}/cv1/materialPurchase/detail`, id), // new detail
20
- delete: (key) => request.delete(`${process.env.VUE_APP_APIRECRUITMENT}/v1/purchase/delete/${key}`),
15
+ apply: (data) => request.post(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/apply`, data),
16
+ save: (data) => request.post(`${base.VUE_APP_APIRECRUITMENT}/cv1/materialPurchase/save`, data), // 采购保存——new
17
+ list: (data) => request.post(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/list`, data),
18
+ listNew: (data) => request.post(`${base.VUE_APP_APIRECRUITMENT}/cv1/materialPurchase/list`, data), // 材料采购列表-new
19
+ detail: (key) => request.get(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/getId/${key}`),
20
+ detailNew: (id) => request.get(`${base.VUE_APP_APIRECRUITMENT}/cv1/materialPurchase/detail`, id), // new detail
21
+ delete: (key) => request.delete(`${base.VUE_APP_APIRECRUITMENT}/v1/purchase/delete/${key}`),
21
22
  queryRecordList: (data) => request.post(`${url}/v1/api/purchase/pay/queryRecordList`, data),
22
23
  // 【采购计划】新增/编辑/暂存 采购计划
23
24
  addPurchase: (data) => request.post(`${url}/v1/api/purchase/plan/add`, data),
@@ -1,6 +1,6 @@
1
1
  import request from "@/http"
2
- // const url = 'http://localhost:8080'
3
- const url = process.env.VUE_APP_APIUSER
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const url = base.VUE_APP_APIUSER
4
4
  const apiPurchaseApply = {
5
5
  // 采购申请列表查询
6
6
  queryPurchaseList: (data) => request.post(url + "/v1/api/purchaseApply/findPage", data),
@@ -1,6 +1,6 @@
1
1
  import request from "@/http"
2
- // const url = 'http://localhost:8080'
3
- const url = process.env.VUE_APP_APIUSER
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const url = base.VUE_APP_APIUSER
4
4
  const apiPurchasePay = {
5
5
  PurchaseApplySelect: (data) => request.get(url + "/v1/api/purchaseApply/findPurchaseApplySelect/" + data), // 获取采购申请单下拉框
6
6
  findDetails: (data) => request.get(url + "/v1/api/purchaseApply/findDetails/" + data), // 详情
@@ -1,5 +1,6 @@
1
1
  import request from "@/http"
2
- const url = process.env.VUE_APP_TALENTS
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const url = base.VUE_APP_TALENTS
3
4
  const api = {
4
5
  // 新增职位
5
6
  add: (data) => request.post(`${url}/position/add`, data),
@@ -1,6 +1,7 @@
1
1
  // 会员单位申请
2
2
  import request from "@/http"
3
- const zcUrl = process.env.VUE_APP_APIRECRUITMENT // 招采
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
4
5
  const apiRisk = {
5
6
  getRiskList: (data) => request.post(`${zcUrl}/v1/riskmanage/list`, data), // 分控列表
6
7
  getCustomerDetail: (data) => request.get(`${zcUrl}/customer/detail`, data), // 客户详情
@@ -1,6 +1,7 @@
1
1
  import request from "@/http"
2
- const url = process.env.VUE_APP_API
3
- const authUrlType = process.env.VUE_APP_AUTHURLTYPE
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const url = base.VUE_APP_API
4
+ const authUrlType = base.VUE_APP_AUTHURLTYPE
4
5
  const apiRoleManagement = {
5
6
  list: (data) => request.post(`${url}${authUrlType}/gv1/sysRole/search`, data), // 角色列表
6
7
  remove: (data) => request.deleteParams(`${url}${authUrlType}/gv1/sysRole/del`, data), // 删除角色
@@ -1,6 +1,7 @@
1
1
 
2
2
  import request from "@/http"
3
- const url = process.env.VUE_APP_APIRECRUITMENT
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const url = base.VUE_APP_APIRECRUITMENT
4
5
  const apiRules = {
5
6
  // save: (data) => request.post(`${url}/v1/rules/bidding/save`, data),
6
7
  // get: (id) => request.get(`${url}/v1/rules/bidding/getBid/${id}`),
@@ -1,6 +1,7 @@
1
1
  // 商品api
2
2
  import request from "@/http"
3
- const api = process.env.VUE_APP_APISCHEDULE
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const api = base.VUE_APP_APISCHEDULE
4
5
  const apiSchedule = {
5
6
  saveSchedule: (params) => request.post(`${api}/v1/app/v1/pc/schedule/saveSchedule`, params), // 新建日程
6
7
  queryScheduleTask: (params) => request.post(`${api}/v1/app/v1/pc/schedule/queryScheduleTask`, params), // 时间范围查询日程任务列表
@@ -1,6 +1,6 @@
1
1
  import request from "@/http"
2
- // let baseUrl = 'http://192.168.2.103:9190'
3
- const baseUrl = process.env.VUE_APP_APIUSER
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const baseUrl =base.VUE_APP_APIUSER
4
4
  // let Url = process.env.VUE_APP_AUTHENTICATION
5
5
  // 获取申请人
6
6
  // export const getUserByParentId = async (params) => request.get(Url +'/v1/organization/getUserByParentId/'+params)
@@ -1,5 +1,6 @@
1
1
  import request from "@/http"
2
- const apiUrl = process.env.VUE_APP_MEMBERCENTER
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const apiUrl =base.VUE_APP_MEMBERCENTER
3
4
 
4
5
  const getCode = (params) => request.get(apiUrl + "/api/user/getRegisterCode", params)
5
6
  const sign = (params) => request.post("/api/user/add", params)
@@ -1,6 +1,7 @@
1
1
 
2
2
  import request from "@/http"
3
- const url = process.env.VUE_APP_APIRECRUITMENT
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const url = base.VUE_APP_APIRECRUITMENT
4
5
  const apiSolution = {
5
6
  save: (table, data) => request.post(`${url}/v1/customized/${table}/save`, data),
6
7
  list: (table, data) => request.post(`${url}/v1/customized/${table}/list`, data)
@@ -7,7 +7,8 @@
7
7
  * @FilePath: \src\api\apiSubcontract.js
8
8
  **/
9
9
  import request from "@/http"
10
- const url = process.env.VUE_APP_APIRECRUITMENT
10
+ const base = JSON.parse(localStorage.getItem("env"))
11
+ const url = base.VUE_APP_APIRECRUITMENT
11
12
  const apiSubcontract = {
12
13
  subcontractAdd: (data) => request.post(`${url}/v1/subpackageDesign/save`, data),
13
14
  subcontractDetail: (data) => request.get(`${url}/v1/subpackageDesign/detail`, data),
@@ -1,6 +1,6 @@
1
1
  import request from "@/http"
2
- // const url = 'http://localhost:8080'
3
- const url = process.env.VUE_APP_APISCHEDULE
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const url = base.VUE_APP_APISCHEDULE
4
4
  const task = {
5
5
  // 申报任务|下达任务
6
6
  reportTask: (data) => request.post(url + "/v1/app/v1/pc/task/reportTask", data),
@@ -1,4 +1,3 @@
1
- // let api = 'http://192.168.100.244:9099/'
2
- // VUE_APP_APIUSER = http://192.168.100.244:9099
3
- const api = process.env.VUE_APP_TEAM
1
+ const base = JSON.parse(localStorage.getItem("env"))
2
+ const api = base.VUE_APP_TEAM
4
3
  export default api
@@ -2,7 +2,8 @@
2
2
  * 我的招标
3
3
  */
4
4
  import request from "@/http"
5
- const url = process.env.VUE_APP_APIRECRUITMENT
5
+ const base = JSON.parse(localStorage.getItem("env"))
6
+ const url = base.VUE_APP_APIRECRUITMENT
6
7
  const apiTender = {
7
8
  // 招标发布保存
8
9
  tenderSave: (data) =>
@@ -1,5 +1,6 @@
1
1
  import request from "@/http"
2
- const api = process.env.VUE_APP_MEMBERCENTER
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const api = base.VUE_APP_MEMBERCENTER
3
4
  const apiUser = {
4
5
  getUserInfo: () => request.get(api + "/api/user/getCurrentUserInfo"),
5
6
  getCompanyInfo: () => request.get(api + "/api/auth/getCompanyInfo"), // 获取企业信息
@@ -1,2 +1,3 @@
1
- const api = process.env.VUE_APP_APIUSER
1
+ const base = JSON.parse(localStorage.getItem("env"))
2
+ const api = base.VUE_APP_APIUSER
2
3
  export default api
@@ -1,8 +1,9 @@
1
1
  import api from "./api"
2
2
  import http from "@/http/type.js"
3
- const api2 = process.env.VUE_APP_MEMBERCENTER
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const api2 = base.VUE_APP_MEMBERCENTER
4
5
  const apiSelfEnterprise = {
5
- fetchEnterpriseList: (params) => http.get(process.env.VUE_APP_MEMBERCENTER + "/userJoinCompanyAudit/myComList", params), // 我的企业列表
6
+ fetchEnterpriseList: (params) => http.get(base.VUE_APP_MEMBERCENTER + "/userJoinCompanyAudit/myComList", params), // 我的企业列表
6
7
  searchEnterprise: (params) => http.get(api2 + "/userJoinCompanyAudit/searchComList", params), // 搜索企业
7
8
  joinEnterprise: (params) => http.post(api2 + "/userJoinCompanyAudit/apply", params), // 加入企业
8
9
  fetchAuditList: (params) => http.get(api2 + "/userJoinCompanyAudit/auditList", params), // 审核列表
@@ -1,7 +1,8 @@
1
1
 
2
2
  import request from "@/http"
3
- const url = process.env.VUE_APP_TEAM
4
- const urls = process.env.VUE_APP_APIRECRUITMENT
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const url = base.VUE_APP_TEAM
5
+ const urls = base.VUE_APP_APIRECRUITMENT
5
6
  const apiVolunteerTeam = {
6
7
  list: (data) => request.get(`${url}/teamPrice/findByTeamNoList`, data),
7
8
  tablist: (data) => request.get(`${url}/api/index/getTeamCategory`, data),
@@ -2,7 +2,8 @@
2
2
  * 我的项目
3
3
  */
4
4
  import request from "@/http"
5
- const url = process.env.VUE_APP_APIRECRUITMENT
5
+ const base = JSON.parse(localStorage.getItem("env"))
6
+ const url = base.VUE_APP_APIRECRUITMENT
6
7
  // const url = 'http://yuyue.ngrok.gcw.net:90'
7
8
  const apiWorkarea = {
8
9
  // 新增工区
@@ -1,6 +1,7 @@
1
1
 
2
2
  import request from "@/http"
3
- const url = process.env.VUE_APP_APIRECRUITMENT
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const url = base.VUE_APP_APIRECRUITMENT
4
5
  const apiXzqh = {
5
6
  list: () => request.get(`${url}/v1/xzqh/list`)
6
7
  }
@@ -1,6 +1,6 @@
1
1
  import request from "@/http"
2
-
3
- const baseUrl = process.env.VUE_APP_APIUSER
2
+ const base = JSON.parse(localStorage.getItem("env"))
3
+ const baseUrl = base.VUE_APP_APIUSER
4
4
  // let baseUrl = 'http://192.168.0.152:9190'
5
5
 
6
6
  const apiEvection = {
package/src/api/guide.js CHANGED
@@ -1,6 +1,8 @@
1
1
 
2
2
  import request from "@/http"
3
- const url = process.env.VUE_APP_APIUSER
3
+ const base = JSON.parse(localStorage.getItem("env"))
4
+ const url = base.VUE_APP_APIUSER
5
+
4
6
  const guide = {
5
7
  guide: (data) => request.post("/api/company/openManagement", data) // level 650000 {parentNo:'650000'}
6
8
  }
@@ -1,7 +1,8 @@
1
1
  import request from "@/http"
2
2
 
3
3
  // let contract = 'http://192.168.2.175:9090'
4
- const contract = process.env.VUE_APP_APIUSER
4
+ const base = JSON.parse(localStorage.getItem("env"))
5
+ const contract = base.VUE_APP_APIUSER
5
6
 
6
7
  const apiPact = {
7
8
  // 获取社保列表
@@ -7,11 +7,13 @@
7
7
  * @FilePath: \src\formBuilder\apiBusiness.js
8
8
  **/
9
9
  import request from "@/http"
10
- const goodsUrl = process.env.VUE_APP_APIMATERIALS
11
- const MachineryUrl = process.env.VUE_APP_APIMACHINERY
12
- const EquipmentUrl = process.env.VUE_APP_APIEQUIPMENT
13
- const teamUrl = process.env.VUE_APP_TEAM
14
- const biddingUrl = process.env.VUE_APP_APIRECRUITMENT
10
+ const base = JSON.parse(localStorage.getItem("env"))
11
+ const goodsUrl = base.VUE_APP_APIMATERIALS
12
+ const MachineryUrl = base.VUE_APP_APIMACHINERY
13
+ const EquipmentUrl = base.VUE_APP_APIEQUIPMENT
14
+ const teamUrl = base.VUE_APP_TEAM
15
+ const biddingUrl = base.VUE_APP_APIRECRUITMENT
16
+
15
17
  // 商品分类
16
18
  export const getGooodsType = async(data) => request.get(`${goodsUrl}/itemCat/getTreeNodeByProvinceId`, data);
17
19
  // 商品品牌