qgb-process 0.1.98 → 0.2.3

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 (101) hide show
  1. package/lib/qgb-process.common.js +166 -161
  2. package/lib/qgb-process.umd.js +166 -161
  3. package/lib/qgb-process.umd.min.js +19 -19
  4. package/package.json +2 -2
  5. package/src/api/ApiExAndapp.js +1 -1
  6. package/src/api/Notice.js +1 -1
  7. package/src/api/apiAcceptance/apiAcceptance.js +1 -1
  8. package/src/api/apiAddress.js +1 -1
  9. package/src/api/apiArrears/apiArrears.js +1 -1
  10. package/src/api/apiArrears/apiProjectArrears.js +1 -1
  11. package/src/api/apiArrears/index.js +1 -1
  12. package/src/api/apiAssets.js +1 -1
  13. package/src/api/apiAudit/apiAudit.js +1 -1
  14. package/src/api/apiAuth.js +7 -0
  15. package/src/api/apiBankAccount/index.js +1 -1
  16. package/src/api/apiBudget/apiBudget.js +1 -1
  17. package/src/api/apiBudget/apiBudgets.js +1 -1
  18. package/src/api/apiCarRecord.js +1 -1
  19. package/src/api/apiChangeTel.js +1 -1
  20. package/src/api/apiCheckingIn.js +1 -1
  21. package/src/api/apiCollection/index.js +1 -1
  22. package/src/api/apiContract/index.js +1 -1
  23. package/src/api/apiContract/quill-config.js +1 -1
  24. package/src/api/apiCost/index.js +1 -1
  25. package/src/api/apiCreditManagement.js +1 -1
  26. package/src/api/apiCustomer/apiCustomer.js +1 -1
  27. package/src/api/apiEquipmentRental.js +1 -1
  28. package/src/api/apiFormBuilder/menu.js +1 -1
  29. package/src/api/apiFormBuilder/reissueRule.js +1 -1
  30. package/src/api/apiFund/index.js +1 -1
  31. package/src/api/apiHelp.js +1 -1
  32. package/src/api/apiHome.js +1 -1
  33. package/src/api/apiIminfo.js +1 -1
  34. package/src/api/apiInvoice.js +1 -1
  35. package/src/api/apiLease/apiLease.js +1 -1
  36. package/src/api/apiLogisticsTransportation/apiLogisticsTransportation.js +1 -1
  37. package/src/api/apiMachine/api.js +1 -1
  38. package/src/api/apiMachine/apiRentInfo.js +1 -1
  39. package/src/api/apiMachine/index.js +1 -1
  40. package/src/api/apiManagementStore/api.js +1 -1
  41. package/src/api/apiManagementStore/apiManagementStore.js +1 -1
  42. package/src/api/apiMaterCheckAndAccept/apiMechanicalSourcing.js +1 -1
  43. package/src/api/apiMaterCheckAndAccept/index.js +1 -1
  44. package/src/api/apiMaterials/api.js +1 -1
  45. package/src/api/apiMaterials/apiCommercialConcrete.js +1 -1
  46. package/src/api/apiMaterials/apiCommodity.js +1 -1
  47. package/src/api/apiMaterials/apiOfflineOrder.js +1 -1
  48. package/src/api/apiMaterials/quill-config.js +1 -1
  49. package/src/api/apiMemberSelection.js +1 -1
  50. package/src/api/apiMonthPlan/apiMonthPlan.js +1 -1
  51. package/src/api/apiMyBidding.js +1 -1
  52. package/src/api/apiMyMember/apiComInfo.js +1 -1
  53. package/src/api/apiMyMember/apiInviteJoin.js +1 -1
  54. package/src/api/apiMyMember/apiMember.js +1 -1
  55. package/src/api/apiMyMember/apiMemberApply.js +1 -1
  56. package/src/api/apiMyMember/apiMemberChance.js +1 -1
  57. package/src/api/apiOffer.js +1 -1
  58. package/src/api/apiPact.js +1 -1
  59. package/src/api/apiPassword.js +1 -1
  60. package/src/api/apiPay/apiPay.js +1 -1
  61. package/src/api/apiPayment/apiPayment.js +1 -1
  62. package/src/api/apiPayment/apiProjectPayment.js +1 -1
  63. package/src/api/apiProcess.js +1 -1
  64. package/src/api/apiProject/apiBaseList.js +1 -1
  65. package/src/api/apiProject/apiGoodsOffer.js +1 -1
  66. package/src/api/apiProject/apiInventory.js +1 -1
  67. package/src/api/apiProject/apiOfferOrder.js +1 -1
  68. package/src/api/apiProject/apiOfferQuery.js +1 -1
  69. package/src/api/apiProject/apiPlan.js +1 -1
  70. package/src/api/apiProject/apiProject.js +1 -1
  71. package/src/api/apiProjectProcurement/apiProjectProcurement.js +1 -1
  72. package/src/api/apiPurchase/apiPurchase.js +1 -1
  73. package/src/api/apiPurchaseApply.js +1 -1
  74. package/src/api/apiPurchasePay.js +1 -1
  75. package/src/api/apiRecruit.js +1 -1
  76. package/src/api/apiRisk/index.js +1 -1
  77. package/src/api/apiRoleManagement.js +1 -1
  78. package/src/api/apiRules/apiRules.js +1 -1
  79. package/src/api/apiSchedule/apiSchedule.js +1 -1
  80. package/src/api/apiSealRecord.js +1 -1
  81. package/src/api/apiSign.js +1 -1
  82. package/src/api/apiSolution/apiSolution.js +1 -1
  83. package/src/api/apiSubcontract.js +1 -1
  84. package/src/api/apiSystem/index.js +1 -1
  85. package/src/api/apiTask.js +1 -1
  86. package/src/api/apiTeam/api.js +1 -1
  87. package/src/api/apiTender.js +1 -1
  88. package/src/api/apiUserEnterprise/api.js +1 -1
  89. package/src/api/apiUserEnterprise/apiUserEn.js +1 -1
  90. package/src/api/apiVolunteerTeam.js +1 -1
  91. package/src/api/apiWorkarea.js +1 -1
  92. package/src/api/apiXzqh.js +1 -1
  93. package/src/api/common/api.js +1 -1
  94. package/src/api/evection.js +1 -1
  95. package/src/api/guide.js +1 -1
  96. package/src/api/sociaManageApi.js +1 -1
  97. package/src/formBuilder/apiBusiness.js +1 -1
  98. package/src/views/formBuilder/components/conditionConfig.js +4 -1
  99. package/src/views/formBuilder/components/nodeConditionConfig.vue +5 -3
  100. package/src/views/formBuilder/process.vue +4 -1
  101. package/src/views/formBuilder/workflow/nodeWrap.vue +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qgb-process",
3
- "version": "0.1.98",
3
+ "version": "0.2.03",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "",
@@ -23,7 +23,7 @@
23
23
  "@fullcalendar/daygrid": "^4.4.0",
24
24
  "@fullcalendar/interaction": "^4.4.0",
25
25
  "@fullcalendar/timegrid": "^4.4.0",
26
- "@fullcalendar/vue": "^4.4.0",
26
+ "@fullcalendar/vue": "^4.4.0",
27
27
  "axios": "^0.18.0",
28
28
  "babel-plugin-dynamic-import-node": "2.3.0",
29
29
  "babel-polyfill": "^6.26.0",
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const baseUrl = base.VUE_APP_API + "/sgb-meta-design"
4
4
  const ApiExAndapp = {
5
5
  postExAndapp1: () => request.get("/v2/api/audit/sponsorAuditListStatus"), // 获取发起审批状态
package/src/api/Notice.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
 
4
4
  const baseUrl = base.VUE_APP_APIUSER
5
5
  const url = base.VUE_APP_API
@@ -8,7 +8,7 @@
8
8
  **/
9
9
 
10
10
  import request from "@/http"
11
- const base = JSON.parse(localStorage.getItem("env"))
11
+ const base = JSON.parse(localStorage.getItem("env")) || {}
12
12
  const url = base.VUE_APP_APIRECRUITMENT
13
13
  const apiLease = {
14
14
  // 材料验收
@@ -1,6 +1,6 @@
1
1
 
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_APIRECRUITMENT
5
5
  const apiAddress = {
6
6
  getAddress: (level, params) => request.get(`/api/auth/${level}`, params), // level 650000 {parentNo:'650000'}
@@ -9,7 +9,7 @@
9
9
 
10
10
  /* 企业预算 */
11
11
  import request from "@/http"
12
- const base = JSON.parse(localStorage.getItem("env"))
12
+ const base = JSON.parse(localStorage.getItem("env")) || {}
13
13
  const url = base.VUE_APP_API + base.VUE_APP_OPERATE
14
14
  const apiUrl = base.VUE_APP_APIRECRUITMENT
15
15
 
@@ -1,6 +1,6 @@
1
1
  /* 企业预算 */
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_API + base.VUE_APP_OPERATE
5
5
 
6
6
  // const url = 'http://192.168.3.49:8000'
@@ -1,6 +1,6 @@
1
1
  // 挂账
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
5
5
  const apiArrears = {
6
6
  // 进行中-项目列表
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIUSER
4
4
  const assets = {
5
5
  // 类型下拉框
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_AUDIT
4
4
  const baseUrl = base.VUE_APP_API + "/sgb-meta-design"
5
5
  const emterprise = base.VUE_APP_API + base.VUE_APP_EMTERPRISE
@@ -1,3 +1,10 @@
1
+ /*
2
+ * @Descripttion:
3
+ * @Author: subingquan
4
+ * @Date: 2021-10-19 23:05:37
5
+ * @LastEditors: subingquan
6
+ * @LastEditTime: 2021-10-19 23:06:30
7
+ */
1
8
  import request from "@/http"
2
9
  const base = JSON.parse(localStorage.getItem("env")) || {}
3
10
  const url = base.VUE_APP_API
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIUSER
4
4
  const apiBankAccount = {
5
5
  getBankAccountList: (data) => request.get(`${url}/v1/api/bank/information/list`, data),
@@ -1,6 +1,6 @@
1
1
  /* 企业预算 */
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_APIRECRUITMENT
5
5
  const apiBusinessBudget = {
6
6
  /* 预算列表 */
@@ -1,6 +1,6 @@
1
1
  /* 企业预算 */
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_API + base.VUE_APP_OPERATE
5
5
  // const costurl = 'http://localhost:8081'
6
6
  const costurl = base.VUE_APP_API + base.VUE_APP_EMTERPRISE
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const baseUrl = base.VUE_APP_APIUSER
4
4
 
5
5
  // 用车记录列表
@@ -2,7 +2,7 @@
2
2
  * 修改绑定手机
3
3
  */
4
4
  import request from "@/http"
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const apiChangeTel = {
7
7
  verifyOldPwd: (params) => request.post(base.VUE_APP_MEMBERCENTER + "/api/user/verifyOldPwd", params),
8
8
  getNewTelCode: (params) => request.get(base.VUE_APP_MEMBERCENTER + "/api/user/getNewTelCode", params),
@@ -7,7 +7,7 @@
7
7
  * @FilePath: \qgb-app-form\src\api\apiCheckingIn.js
8
8
  */
9
9
  import request from "@/http"
10
- const base = JSON.parse(localStorage.getItem("env"))
10
+ const base = JSON.parse(localStorage.getItem("env")) || {}
11
11
  const contract = base.VUE_APP_APIUSER
12
12
  const ip = "https://api.sgbwl.com/sgb-app"
13
13
  const id = base.VUE_APP_APIUSER
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIUSER
4
4
  const apiCollection = {
5
5
  getCollectionList: (data) => request.post(`${url}/v1/api/makeCollection/list`, data),
@@ -1,3 +1,3 @@
1
- const base = JSON.parse(localStorage.getItem("env"))
1
+ const base = JSON.parse(localStorage.getItem("env")) || {}
2
2
  const url = base.VUE_APP_APIMATERIALS
3
3
  export default url
@@ -2,7 +2,7 @@ import cookie from "@/storage/cookies"
2
2
  import { Message } from "element-ui"
3
3
  // let that = this
4
4
  /* 富文本编辑图片上传配置 */
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const uploadConfig = {
7
7
  action: base.VUE_APP_APIMATERIALS,
8
8
  methods: "POST", // 必填参数 图片上传方式
@@ -1,6 +1,6 @@
1
1
  /* 企业预算 */
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_API + base.VUE_APP_OPERATE
5
5
  // const url = 'http://192.168.3.49:8000'
6
6
  const costurl = base.VUE_APP_API + base.VUE_APP_EMTERPRISE
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const contract = base.VUE_APP_APIUSER
4
4
  // let contract = 'http://192.168.1.19:9090'
5
5
 
@@ -1,6 +1,6 @@
1
1
  // 会员单位申请
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
5
5
  const apiCustomer = {
6
6
  getAllCustomerList: () => request.get(`${zcUrl}/customer/listAll`), // 客户列表-无分页
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const { VUE_APP_APIEQUIPMENT } = base
4
4
  const apiEquipmentRental = {
5
5
  // 列表
@@ -7,7 +7,7 @@
7
7
  * @FilePath: \src\api\apiFormBuilder\menu.js
8
8
  **/
9
9
  import request from "@/http"
10
- const base = JSON.parse(localStorage.getItem("env"))
10
+ const base = JSON.parse(localStorage.getItem("env")) || {}
11
11
  const baseUrl = base.VUE_APP_API + "/sgb-meta-design"
12
12
  // const baseUrl = 'http://192.168.0.23:9096'
13
13
  import qs from "qs"
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const baseUrl = base.VUE_APP_APIUSER
4
4
  // const baseUrl = 'http://localhost:8080'
5
5
 
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIUSER
4
4
  const apiFund = {
5
5
  getFundRecordList: (data) => request.get(`${url}/v1/api/CurrentPayment/currentPaymentAccountlist`, data),
@@ -1,5 +1,5 @@
1
1
  import axios from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const api = base.VUE_APP_APIMATERIALS
4
4
  const url = api
5
5
  const apiHelp = {
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const apiMaterials = base.VUE_APP_APIMATERIALS
4
4
  const shopInfo = base.VUE_APP_API_APISTORE
5
5
  const apiUser = base.VUE_APP_APIUSER
@@ -1,7 +1,7 @@
1
1
  import request from "@/http"
2
2
  import qs from "qs"
3
3
 
4
- const base = JSON.parse(localStorage.getItem("env"))
4
+ const base = JSON.parse(localStorage.getItem("env")) || {}
5
5
  const url = base.VUE_APP_API
6
6
  const qiguan = base.VUE_APP_QIGUAN
7
7
  // let baseUrl = 'http://localhost:8080'
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const contract = base.VUE_APP_APIUSER
4
4
  const url = base.VUE_APP_APIRECRUITMENT
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_APIRECRUITMENT
5
5
  const apiLease = {
6
6
  apply: (data) => request.post(`${url}/v1/lease/apply`, data),
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_L0GISTICSTRANSPORTTATION
4
4
  console.log("司机认证api", url)
5
5
  /* 制度规定 */
@@ -1,3 +1,3 @@
1
- const base = JSON.parse(localStorage.getItem("env"))
1
+ const base = JSON.parse(localStorage.getItem("env")) || {}
2
2
  const api = base.VUE_APP_APIMACHINERY
3
3
  export default api
@@ -2,7 +2,7 @@
2
2
  // import api from '@/api/apiMachine/api'
3
3
  import http from "@/http/type.js"
4
4
  import api from "@/api/apiMachine/api"
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const menuUrl = base.VUE_APP_MENUURL
7
7
  // getMachineryList: (params) => http.get(api + 'sysMachineryType/getMachineryList', params),
8
8
 
@@ -1,3 +1,3 @@
1
- const base = JSON.parse(localStorage.getItem("env"))
1
+ const base = JSON.parse(localStorage.getItem("env")) || {}
2
2
  const url = base.VUE_APP_APIMACHINERY
3
3
  export default url
@@ -1,3 +1,3 @@
1
- const base = JSON.parse(localStorage.getItem("env"))
1
+ const base = JSON.parse(localStorage.getItem("env")) || {}
2
2
  const api = base.VUE_APP_API_APISTORE
3
3
  export default api
@@ -1,6 +1,6 @@
1
1
  // 商品api
2
2
  import http from "@/http/type.js"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const api = base.VUE_APP_API_APISTORE
5
5
  const apiManagementStore = {
6
6
  getManagementStore: (params) => http.get(api + "/api/companyManagementTeam", params), // 团队管理
@@ -1,6 +1,6 @@
1
1
  /* 企业预算 */
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_API + base.VUE_APP_OPERATE
5
5
  // const url = 'http://192.168.3.49:8000'
6
6
  const apiMechanicalSourcing = {
@@ -1,3 +1,3 @@
1
- const base = JSON.parse(localStorage.getItem("env"))
1
+ const base = JSON.parse(localStorage.getItem("env")) || {}
2
2
  const url = base.VUE_APP_APIUSER
3
3
  export default url
@@ -1,3 +1,3 @@
1
- const base = JSON.parse(localStorage.getItem("env"))
1
+ const base = JSON.parse(localStorage.getItem("env")) || {}
2
2
  const api = base.VUE_APP_APIMATERIALS
3
3
  export default api
@@ -5,7 +5,7 @@ import {
5
5
  } from "element-ui"
6
6
  // import Toast from '@/library/toast/Index.js'
7
7
  // Toast({ msg: '申请成功' })
8
- const base = JSON.parse(localStorage.getItem("env"))
8
+ const base = JSON.parse(localStorage.getItem("env")) || {}
9
9
  const apiMaterials = base.VUE_APP_APIMATERIALS
10
10
  // import apiCommodity from '@/api/apiMaterials/apiCommodity'
11
11
  const apiCommercialConcrete = {
@@ -3,7 +3,7 @@ import api from "./api"
3
3
 
4
4
  import Toast from "@/library/toast/Index.js"
5
5
  // Toast({ msg: '申请成功' })
6
- const base = JSON.parse(localStorage.getItem("env"))
6
+ const base = JSON.parse(localStorage.getItem("env")) || {}
7
7
  const apiMaterials = base.VUE_APP_APIMATERIALS
8
8
  // import apiCommodity from '@/api/apiMaterials/apiCommodity'
9
9
  const apiCommodity = {
@@ -1,6 +1,6 @@
1
1
  import request from "@/http"
2
2
  import api from "./api"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const apiOfflineOrder = {
5
5
  addOfflineOrder: (params) => request.post(api + "/api/offlineOrder/addOfflineOrder", params), // 保存线下订单
6
6
  editOfflineOrder: (params) => request.post(api + "/api/offlineOrder/editOfflineOrder", params), // 更新线下订单
@@ -2,7 +2,7 @@ import cookie from "@/storage/cookies"
2
2
  import { Message } from "element-ui"
3
3
  // let that = this
4
4
  /* 富文本编辑图片上传配置 */
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const uploadConfig = {
7
7
  action: base.VUE_APP_APIMATERIALS,
8
8
  methods: "POST", // 必填参数 图片上传方式
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_API
4
4
  const authUrlType = base.VUE_APP_EMTERPRISE
5
5
  const qiguan = base.VUE_APP_QIGUAN
@@ -7,7 +7,7 @@
7
7
  * @FilePath: \src\api\apiMonthPlan\apiMonthPlan.js
8
8
  **/
9
9
  import request from "@/http";
10
- const base = JSON.parse(localStorage.getItem("env"))
10
+ const base = JSON.parse(localStorage.getItem("env")) || {}
11
11
  const apiUrl = base.VUE_APP_APIRECRUITMENT;
12
12
  const apiUrl2 = "http://172.29.96.151:7777";
13
13
  const apiMonthPlan = {
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIRECRUITMENT
4
4
  const apiMyBidding = {
5
5
  getMaterialList: (data) => request.post(`${url}/v1/myBidding/list`, data),
@@ -1,6 +1,6 @@
1
1
  // 会员单位申请
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const centerUrl = base.VUE_APP_MEMBERCENTER // 个人中心
5
5
  const qgUrl = base.VUE_APP_APIUSER
6
6
 
@@ -1,6 +1,6 @@
1
1
  // 会员单位申请
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
5
5
  const centerUrl = base.VUE_APP_MEMBERCENTER // 个人中心
6
6
  const apiInviteJoin = {
@@ -1,6 +1,6 @@
1
1
  // 会员单位申请
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
5
5
  const clUrl = base.VUE_APP_APIMATERIALS // 材料
6
6
  const jxUrl = base.VUE_APP_APIMACHINERY // 机械
@@ -1,6 +1,6 @@
1
1
  // 会员单位申请
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
5
5
  const centerUrl = base.VUE_APP_MEMBERCENTER // 个人中心
6
6
  const apiMemberApply = {
@@ -1,6 +1,6 @@
1
1
  // 会员商机
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
5
5
  const jcUrl = base.VUE_APP_FOCUSPURCHASES // 集采
6
6
  const apiMemberChance = {
@@ -8,7 +8,7 @@
8
8
  */
9
9
 
10
10
  import request from "@/http"
11
- const base = JSON.parse(localStorage.getItem("env"))
11
+ const base = JSON.parse(localStorage.getItem("env")) || {}
12
12
  const apiUrl = base.VUE_APP_APIRECRUITMENT
13
13
  const apiOffer = {
14
14
  getOfferList: (data) => request.post(apiUrl + "/v1/membership/offer/list", data), // 获取材料报价记录列表
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const contract = base.VUE_APP_APIMATERIALS
4
4
 
5
5
  const apiPact = {
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_MEMBERCENTER
4
4
  const apiPassword = {
5
5
  changePassword: (params) => request.post(url + "/api/user/modifPwd", params) // 修改密码
@@ -1,6 +1,6 @@
1
1
 
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_APIRECRUITMENT
5
5
  const apiPay = {
6
6
  // 材料验收
@@ -1,6 +1,6 @@
1
1
  /* 企业预算 */
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_API + base.VUE_APP_OPERATE
5
5
  // const url = 'http://192.168.3.49:8000'
6
6
  const apiPayment = {
@@ -1,6 +1,6 @@
1
1
  /* 企业预算 */
2
2
  import request from "@/http"
3
- const base = JSON.parse(localStorage.getItem("env"))
3
+ const base = JSON.parse(localStorage.getItem("env")) || {}
4
4
  const url = base.VUE_APP_API + base.VUE_APP_OPERATE
5
5
  // const url = 'http://192.168.3.49:8000'
6
6
  const apiProjectPayment = {
@@ -8,7 +8,7 @@
8
8
  **/
9
9
  import request from "@/http"
10
10
  import qs from "qs"
11
- const base = JSON.parse(localStorage.getItem("env"))
11
+ const base = JSON.parse(localStorage.getItem("env")) || {}
12
12
  const baseUrl = base.VUE_APP_API + "/sgb-meta-design"
13
13
  const url = base.VUE_APP_API
14
14
  const qiguan = base.VUE_APP_QIGUAN
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIRECRUITMENT
4
4
 
5
5
  const apiCost = {
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIEQUIPMENT // 设备
4
4
  const cur = base.VUE_APP_APIRECRUITMENT // 招采
5
5
  const apiGoodsOffer = {
@@ -2,7 +2,7 @@
2
2
  * 清单管理
3
3
  */
4
4
  import request from "@/http"
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const url = base.VUE_APP_APIRECRUITMENT
7
7
  const testUrl = "http://192.168.101.108:7777"
8
8
 
@@ -2,7 +2,7 @@
2
2
  * 我的项目
3
3
  */
4
4
  import request from "@/http";
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const url = base.VUE_APP_APIRECRUITMENT;
7
7
  const testUrl = "http://192.168.101.108:7777";
8
8
  const apiOfferOrder = {
@@ -2,7 +2,7 @@
2
2
  * 我的项目
3
3
  */
4
4
  import request from "@/http";
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const url = base.VUE_APP_APIRECRUITMENT;
7
7
  const testUrl = "http://192.168.101.108:7777";
8
8
  const apiOfferQuery = {
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIRECRUITMENT
4
4
  const testUrl = "http://192.168.3.10:7777"
5
5
  const authUrlType = base.VUE_APP_AUTHURLTYPE
@@ -2,7 +2,7 @@
2
2
  * 我的项目
3
3
  */
4
4
  import request from "@/http";
5
- const base = JSON.parse(localStorage.getItem("env"))
5
+ const base = JSON.parse(localStorage.getItem("env")) || {}
6
6
  const url = base.VUE_APP_APIRECRUITMENT;
7
7
  const testUrl = "http://192.168.101.108:7777";
8
8
  const apiProject = {
@@ -1,5 +1,5 @@
1
1
  import request from "@/http"
2
- const base = JSON.parse(localStorage.getItem("env"))
2
+ const base = JSON.parse(localStorage.getItem("env")) || {}
3
3
  const url = base.VUE_APP_APIUSER
4
4
  // const url = "http://localhost:8081"
5
5
  const apiProjectProcurement = {