qgb-process 0.1.84 → 0.1.88
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.
- package/README.md +2 -0
- package/lib/qgb-process.common.js +127 -128
- package/lib/qgb-process.umd.js +127 -128
- package/lib/qgb-process.umd.min.js +37 -37
- package/package.json +1 -1
- package/src/App.vue +8 -3
- package/src/api/ApiExAndapp.js +2 -1
- package/src/api/Notice.js +4 -4
- package/src/api/apiAcceptance/apiAcceptance.js +2 -1
- package/src/api/apiAddress.js +2 -1
- package/src/api/apiArrears/apiArrears.js +3 -2
- package/src/api/apiArrears/apiProjectArrears.js +2 -1
- package/src/api/apiArrears/index.js +2 -1
- package/src/api/apiAssets.js +2 -1
- package/src/api/apiAudit/apiAudit.js +4 -3
- package/src/api/apiAuth.js +6 -5
- package/src/api/apiAuthentication.js +5 -4
- package/src/api/apiBankAccount/index.js +2 -1
- package/src/api/apiBudget/apiBudget.js +2 -1
- package/src/api/apiBudget/apiBudgets.js +3 -2
- package/src/api/apiCarRecord.js +2 -2
- package/src/api/apiChangeTel.js +6 -5
- package/src/api/apiCheckingIn.js +4 -6
- package/src/api/apiCollection/index.js +2 -1
- package/src/api/apiContract/index.js +2 -1
- package/src/api/apiContract/quill-config.js +2 -1
- package/src/api/apiCost/index.js +3 -2
- package/src/api/apiCreditManagement.js +2 -2
- package/src/api/apiCustomer/apiCustomer.js +2 -1
- package/src/api/apiEquipmentRental.js +2 -1
- package/src/api/apiFormBuilder/menu.js +2 -1
- package/src/api/apiFormBuilder/reissueRule.js +2 -1
- package/src/api/apiFund/index.js +2 -1
- package/src/api/apiHelp.js +2 -1
- package/src/api/apiHome.js +7 -6
- package/src/api/apiIminfo.js +4 -2
- package/src/api/apiInvoice.js +3 -4
- package/src/api/apiLease/apiLease.js +2 -1
- package/src/api/apiLogisticsTransportation/apiLogisticsTransportation.js +2 -1
- package/src/api/apiMachine/api.js +2 -3
- package/src/api/apiMachine/apiRentInfo.js +2 -1
- package/src/api/apiMachine/index.js +2 -1
- package/src/api/apiManagementStore/api.js +2 -3
- package/src/api/apiManagementStore/apiManagementStore.js +2 -1
- package/src/api/apiMaterCheckAndAccept/apiMechanicalSourcing.js +2 -1
- package/src/api/apiMaterCheckAndAccept/index.js +2 -1
- package/src/api/apiMaterials/api.js +2 -1
- package/src/api/apiMaterials/apiCommercialConcrete.js +2 -1
- package/src/api/apiMaterials/apiCommodity.js +2 -1
- package/src/api/apiMaterials/apiOfflineOrder.js +5 -5
- package/src/api/apiMaterials/quill-config.js +2 -1
- package/src/api/apiMonthPlan/apiMonthPlan.js +2 -1
- package/src/api/apiMyBidding.js +2 -1
- package/src/api/apiMyMember/apiComInfo.js +3 -2
- package/src/api/apiMyMember/apiInviteJoin.js +3 -2
- package/src/api/apiMyMember/apiMember.js +5 -4
- package/src/api/apiMyMember/apiMemberApply.js +3 -2
- package/src/api/apiMyMember/apiMemberChance.js +3 -2
- package/src/api/apiOffer.js +2 -1
- package/src/api/apiPact.js +2 -2
- package/src/api/apiPassword.js +2 -1
- package/src/api/apiPay/apiPay.js +2 -1
- package/src/api/apiPayment/apiPayment.js +2 -1
- package/src/api/apiPayment/apiProjectPayment.js +2 -1
- package/src/api/apiProject/apiBaseList.js +2 -1
- package/src/api/apiProject/apiGoodsOffer.js +3 -2
- package/src/api/apiProject/apiInventory.js +3 -2
- package/src/api/apiProject/apiOfferOrder.js +2 -1
- package/src/api/apiProject/apiOfferQuery.js +2 -1
- package/src/api/apiProject/apiPlan.js +5 -4
- package/src/api/apiProject/apiProject.js +2 -1
- package/src/api/apiProjectProcurement/apiProjectProcurement.js +8 -7
- package/src/api/apiPurchase/apiPurchase.js +9 -8
- package/src/api/apiPurchaseApply.js +2 -2
- package/src/api/apiPurchasePay.js +2 -2
- package/src/api/apiRecruit.js +2 -1
- package/src/api/apiRisk/index.js +2 -1
- package/src/api/apiRoleManagement.js +3 -2
- package/src/api/apiRules/apiRules.js +2 -1
- package/src/api/apiSchedule/apiSchedule.js +2 -1
- package/src/api/apiSealRecord.js +2 -2
- package/src/api/apiSign.js +2 -1
- package/src/api/apiSolution/apiSolution.js +2 -1
- package/src/api/apiSubcontract.js +2 -1
- package/src/api/apiSystem/index.js +7 -5
- package/src/api/apiTask.js +2 -2
- package/src/api/apiTeam/api.js +2 -3
- package/src/api/apiTender.js +2 -1
- package/src/api/apiUser.js +2 -1
- package/src/api/apiUserEnterprise/api.js +2 -1
- package/src/api/apiUserEnterprise/apiUserEn.js +3 -2
- package/src/api/apiVolunteerTeam.js +3 -2
- package/src/api/apiWorkarea.js +2 -1
- package/src/api/apiXzqh.js +2 -1
- package/src/api/common/api.js +2 -3
- package/src/api/evection.js +2 -2
- package/src/api/guide.js +3 -1
- package/src/api/sociaManageApi.js +2 -1
- package/src/formBuilder/apiBusiness.js +7 -5
- package/src/http/index.js +1 -1
- package/src/main.js +0 -10
- package/src/router/index.js +2 -0
- package/src/views/formBuilder/components/nodeConditionConfig.vue +0 -2
- package/src/views/formBuilder/process.vue +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// 会员单位申请
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
3
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
4
|
+
const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
|
|
5
|
+
const clUrl = base.VUE_APP_APIMATERIALS // 材料
|
|
6
|
+
const jxUrl = base.VUE_APP_APIMACHINERY // 机械
|
|
7
|
+
const sbUrl = base.VUE_APP_APIEQUIPMENT // 设备
|
|
7
8
|
|
|
8
9
|
const apiMember = {
|
|
9
10
|
/* 材料 */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// 会员单位申请
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
4
|
-
const
|
|
3
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
4
|
+
const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
|
|
5
|
+
const centerUrl = base.VUE_APP_MEMBERCENTER // 个人中心
|
|
5
6
|
const apiMemberApply = {
|
|
6
7
|
/* 个人中心接口 */
|
|
7
8
|
getCompanyInfo: (params) => request.get(`${centerUrl}/api/userCompanyApply/findCompanyByNo`, params), // 获取单位信息
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// 会员商机
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
4
|
-
const
|
|
3
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
4
|
+
const zcUrl = base.VUE_APP_APIRECRUITMENT // 招采
|
|
5
|
+
const jcUrl = base.VUE_APP_FOCUSPURCHASES // 集采
|
|
5
6
|
const apiMemberChance = {
|
|
6
7
|
allMember: () => request.get(`${zcUrl}/ov1/member/league/all`), // 所有会员
|
|
7
8
|
allLeague: () => request.get(`${zcUrl}/ov1/member/league/upper`), // 所有加盟商
|
package/src/api/apiOffer.js
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import request from "@/http"
|
|
11
|
-
const
|
|
11
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
12
|
+
const apiUrl = base.VUE_APP_APIRECRUITMENT
|
|
12
13
|
const apiOffer = {
|
|
13
14
|
getOfferList: (data) => request.post(apiUrl + "/v1/membership/offer/list", data), // 获取材料报价记录列表
|
|
14
15
|
getOfferMachineList: (data) => request.post(apiUrl + "/gv1/project/offer/meOffer", data), // 获取机械设备报价记录列表
|
package/src/api/apiPact.js
CHANGED
package/src/api/apiPassword.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import request from "@/http"
|
|
2
|
-
const
|
|
2
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
3
|
+
const url = base.VUE_APP_MEMBERCENTER
|
|
3
4
|
const apiPassword = {
|
|
4
5
|
changePassword: (params) => request.post(url + "/api/user/modifPwd", params) // 修改密码
|
|
5
6
|
}
|
package/src/api/apiPay/apiPay.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
3
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
4
|
+
const url = base.VUE_APP_APIRECRUITMENT
|
|
4
5
|
const apiPay = {
|
|
5
6
|
// 材料验收
|
|
6
7
|
listMaterial: (data) => request.post(`${url}/v1/payment/material/list`, data),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* 企业预算 */
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
3
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
4
|
+
const url = base.VUE_APP_API + base.VUE_APP_OPERATE
|
|
4
5
|
// const url = 'http://192.168.3.49:8000'
|
|
5
6
|
const apiPayment = {
|
|
6
7
|
/* 预算列表 */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* 企业预算 */
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
3
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
4
|
+
const url = base.VUE_APP_API + base.VUE_APP_OPERATE
|
|
4
5
|
// const url = 'http://192.168.3.49:8000'
|
|
5
6
|
const apiProjectPayment = {
|
|
6
7
|
/* 预算列表 */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import request from "@/http"
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
3
|
+
const url = base.VUE_APP_APIEQUIPMENT // 设备
|
|
4
|
+
const cur = base.VUE_APP_APIRECRUITMENT // 招采
|
|
4
5
|
const apiGoodsOffer = {
|
|
5
6
|
getPriceUnit: () => request.get(`${url}/equipment/sysPriceUnit/getpriceUnitList`), // 获取机械单位
|
|
6
7
|
offerSubmit: (data) => request.post(`${cur}/ov1/project/offer/batch`, data), // 材料提交报价
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* 清单管理
|
|
3
3
|
*/
|
|
4
4
|
import request from "@/http"
|
|
5
|
-
const
|
|
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(`${
|
|
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
|
|
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
|
|
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
|
|
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 =
|
|
5
|
-
const Material =
|
|
6
|
-
const user =
|
|
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
|
|
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
|
|
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(`${
|
|
6
|
-
list: (data) => request.post(`${
|
|
7
|
-
detail: (key) => request.get(`${
|
|
8
|
-
delete: (key) => request.delete(`${
|
|
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(`${
|
|
11
|
+
projectList: () => request.get(`${base.VUE_APP_APIRECRUITMENT}/ov1/project/active`),
|
|
11
12
|
// 分部分项
|
|
12
|
-
getTree: (data) => request.get(`${
|
|
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
|
|
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(`${
|
|
15
|
-
save: (data) => request.post(`${
|
|
16
|
-
list: (data) => request.post(`${
|
|
17
|
-
listNew: (data) => request.post(`${
|
|
18
|
-
detail: (key) => request.get(`${
|
|
19
|
-
detailNew: (id) => request.get(`${
|
|
20
|
-
delete: (key) => request.delete(`${
|
|
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
|
-
|
|
3
|
-
const url =
|
|
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
|
-
|
|
3
|
-
const url =
|
|
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), // 详情
|
package/src/api/apiRecruit.js
CHANGED
package/src/api/apiRisk/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// 会员单位申请
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
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
|
|
3
|
-
const
|
|
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
|
|
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
|
|
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), // 时间范围查询日程任务列表
|
package/src/api/apiSealRecord.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import request from "@/http"
|
|
2
|
-
|
|
3
|
-
const baseUrl =
|
|
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)
|
package/src/api/apiSign.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import request from "@/http"
|
|
2
|
-
const
|
|
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
|
|
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
|
|
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,9 +1,11 @@
|
|
|
1
1
|
import request from "@/http"
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
2
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
3
|
+
const url = base.VUE_APP_API
|
|
4
|
+
const authUrlType = base.VUE_APP_EMTERPRISE
|
|
5
|
+
const qiguan = base.VUE_APP_QIGUAN
|
|
6
|
+
const auth = base.VUE_APP_AUTH
|
|
7
|
+
|
|
8
|
+
|
|
7
9
|
const apiSystem = {
|
|
8
10
|
list: () => request.get(url + authUrlType + `/v1/organization/getOrganization`),
|
|
9
11
|
companylist: () => request.get(url + authUrlType + `/v1/organization/getCompany`),
|
package/src/api/apiTask.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import request from "@/http"
|
|
2
|
-
|
|
3
|
-
const url =
|
|
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),
|
package/src/api/apiTeam/api.js
CHANGED
package/src/api/apiTender.js
CHANGED
package/src/api/apiUser.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import request from "@/http"
|
|
2
|
-
const
|
|
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,8 +1,9 @@
|
|
|
1
1
|
import api from "./api"
|
|
2
2
|
import http from "@/http/type.js"
|
|
3
|
-
const
|
|
3
|
+
const base = JSON.parse(localStorage.getItem("env"))
|
|
4
|
+
const api2 = base.VUE_APP_MEMBERCENTER
|
|
4
5
|
const apiSelfEnterprise = {
|
|
5
|
-
fetchEnterpriseList: (params) => http.get(
|
|
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
|
|
4
|
-
const
|
|
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),
|
package/src/api/apiWorkarea.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* 我的项目
|
|
3
3
|
*/
|
|
4
4
|
import request from "@/http"
|
|
5
|
-
const
|
|
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
|
// 新增工区
|
package/src/api/apiXzqh.js
CHANGED
package/src/api/common/api.js
CHANGED
package/src/api/evection.js
CHANGED
package/src/api/guide.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import request from "@/http"
|
|
3
|
-
const
|
|
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
|
}
|
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
* @FilePath: \src\formBuilder\apiBusiness.js
|
|
8
8
|
**/
|
|
9
9
|
import request from "@/http"
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
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
|
// 商品品牌
|
package/src/http/index.js
CHANGED
|
@@ -24,7 +24,7 @@ const removePending = (config) => {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// axios 基础配置
|
|
27
|
-
const base = JSON.parse(localStorage.getItem("env"))
|
|
27
|
+
const base = JSON.parse(localStorage.getItem("env")) || {}
|
|
28
28
|
axios.defaults.timeout = 50000
|
|
29
29
|
axios.defaults.baseURL = base.VUE_APP_APIUSER
|
|
30
30
|
|
package/src/main.js
CHANGED
|
@@ -52,17 +52,7 @@ Vue.directive('focus', {
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
// // 导入pdf
|
|
57
|
-
// import htmlToPdf from '@/components/utils/pdf'
|
|
58
|
-
// import SvgIcon from "@/components/SvgIcon"// svg组件
|
|
59
|
-
// // register globally
|
|
60
|
-
// Vue.component("svg-icon", SvgIcon)
|
|
61
|
-
// const requireAll = requireContext => requireContext.keys().map(requireContext)
|
|
62
|
-
// const req1 = require.context("./assets/formMenu", false, /\.svg$/)
|
|
63
|
-
// const iconMap = requireAll(req1)
|
|
64
55
|
let instance = null;
|
|
65
|
-
// Vue.component("svg-icon", SvgIcon)
|
|
66
56
|
Vue.use(shigongbang);
|
|
67
57
|
Vue.use(AMap);
|
|
68
58
|
AMap.initAMapApiLoader({
|
package/src/router/index.js
CHANGED
|
@@ -27,6 +27,8 @@ Router.prototype.push = function push(location) {
|
|
|
27
27
|
return originalPush.call(this, location).catch((err) => err);
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
+
localStorage.clear("env");
|
|
31
|
+
localStorage.set("env", JSON.stringify(process.env));
|
|
30
32
|
|
|
31
33
|
async function getCompanyOrganization() {
|
|
32
34
|
const res = await apiAuth.getUserCompany();
|
|
@@ -224,7 +224,6 @@ export default {
|
|
|
224
224
|
deep: true,
|
|
225
225
|
handler: function(newVal, oldVal) {
|
|
226
226
|
const keys = Object.keys(newVal);
|
|
227
|
-
|
|
228
227
|
if (keys.length > 0) {
|
|
229
228
|
const arr = [];
|
|
230
229
|
const conArr = [];
|
|
@@ -408,7 +407,6 @@ export default {
|
|
|
408
407
|
};
|
|
409
408
|
|
|
410
409
|
this.configList = config[this.applyType] ? await config[this.applyType](this) : [];
|
|
411
|
-
|
|
412
410
|
if (this.queryInfo.type == "sealApproval" || this.queryInfo.name == "用章申请" || this.queryInfo.name == "用车申请" || this.queryInfo.type == "carApproval") {
|
|
413
411
|
configDefault = {};
|
|
414
412
|
} else {
|
|
@@ -365,7 +365,7 @@ export default {
|
|
|
365
365
|
"automaticPass": this.workFlowDef.automaticPass ? 1 : 0, // 重复审批人问题
|
|
366
366
|
"creator": this.userInfo.no, // 用户no this.$store.state.user.no
|
|
367
367
|
"companyId": this.userInfo.companyNo, // 公司id this.$store.state.user.companyNo
|
|
368
|
-
"type": this.
|
|
368
|
+
"type": this.type, // 流程类型 this.$route.query.type 或者表单类型
|
|
369
369
|
"processName": this.queryInfo.name, // 流程名称 ""this.$route.query.name
|
|
370
370
|
"describe": this.queryInfo.name // 流程描述 this.$route.query.name
|
|
371
371
|
}
|