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.
- package/lib/qgb-process.common.js +166 -161
- package/lib/qgb-process.umd.js +166 -161
- package/lib/qgb-process.umd.min.js +19 -19
- package/package.json +2 -2
- package/src/api/ApiExAndapp.js +1 -1
- package/src/api/Notice.js +1 -1
- package/src/api/apiAcceptance/apiAcceptance.js +1 -1
- package/src/api/apiAddress.js +1 -1
- package/src/api/apiArrears/apiArrears.js +1 -1
- package/src/api/apiArrears/apiProjectArrears.js +1 -1
- package/src/api/apiArrears/index.js +1 -1
- package/src/api/apiAssets.js +1 -1
- package/src/api/apiAudit/apiAudit.js +1 -1
- package/src/api/apiAuth.js +7 -0
- package/src/api/apiBankAccount/index.js +1 -1
- package/src/api/apiBudget/apiBudget.js +1 -1
- package/src/api/apiBudget/apiBudgets.js +1 -1
- package/src/api/apiCarRecord.js +1 -1
- package/src/api/apiChangeTel.js +1 -1
- package/src/api/apiCheckingIn.js +1 -1
- package/src/api/apiCollection/index.js +1 -1
- package/src/api/apiContract/index.js +1 -1
- package/src/api/apiContract/quill-config.js +1 -1
- package/src/api/apiCost/index.js +1 -1
- package/src/api/apiCreditManagement.js +1 -1
- package/src/api/apiCustomer/apiCustomer.js +1 -1
- package/src/api/apiEquipmentRental.js +1 -1
- package/src/api/apiFormBuilder/menu.js +1 -1
- package/src/api/apiFormBuilder/reissueRule.js +1 -1
- package/src/api/apiFund/index.js +1 -1
- package/src/api/apiHelp.js +1 -1
- package/src/api/apiHome.js +1 -1
- package/src/api/apiIminfo.js +1 -1
- package/src/api/apiInvoice.js +1 -1
- package/src/api/apiLease/apiLease.js +1 -1
- package/src/api/apiLogisticsTransportation/apiLogisticsTransportation.js +1 -1
- package/src/api/apiMachine/api.js +1 -1
- package/src/api/apiMachine/apiRentInfo.js +1 -1
- package/src/api/apiMachine/index.js +1 -1
- package/src/api/apiManagementStore/api.js +1 -1
- package/src/api/apiManagementStore/apiManagementStore.js +1 -1
- package/src/api/apiMaterCheckAndAccept/apiMechanicalSourcing.js +1 -1
- package/src/api/apiMaterCheckAndAccept/index.js +1 -1
- package/src/api/apiMaterials/api.js +1 -1
- package/src/api/apiMaterials/apiCommercialConcrete.js +1 -1
- package/src/api/apiMaterials/apiCommodity.js +1 -1
- package/src/api/apiMaterials/apiOfflineOrder.js +1 -1
- package/src/api/apiMaterials/quill-config.js +1 -1
- package/src/api/apiMemberSelection.js +1 -1
- package/src/api/apiMonthPlan/apiMonthPlan.js +1 -1
- package/src/api/apiMyBidding.js +1 -1
- package/src/api/apiMyMember/apiComInfo.js +1 -1
- package/src/api/apiMyMember/apiInviteJoin.js +1 -1
- package/src/api/apiMyMember/apiMember.js +1 -1
- package/src/api/apiMyMember/apiMemberApply.js +1 -1
- package/src/api/apiMyMember/apiMemberChance.js +1 -1
- package/src/api/apiOffer.js +1 -1
- package/src/api/apiPact.js +1 -1
- package/src/api/apiPassword.js +1 -1
- package/src/api/apiPay/apiPay.js +1 -1
- package/src/api/apiPayment/apiPayment.js +1 -1
- package/src/api/apiPayment/apiProjectPayment.js +1 -1
- package/src/api/apiProcess.js +1 -1
- package/src/api/apiProject/apiBaseList.js +1 -1
- package/src/api/apiProject/apiGoodsOffer.js +1 -1
- package/src/api/apiProject/apiInventory.js +1 -1
- package/src/api/apiProject/apiOfferOrder.js +1 -1
- package/src/api/apiProject/apiOfferQuery.js +1 -1
- package/src/api/apiProject/apiPlan.js +1 -1
- package/src/api/apiProject/apiProject.js +1 -1
- package/src/api/apiProjectProcurement/apiProjectProcurement.js +1 -1
- package/src/api/apiPurchase/apiPurchase.js +1 -1
- package/src/api/apiPurchaseApply.js +1 -1
- package/src/api/apiPurchasePay.js +1 -1
- package/src/api/apiRecruit.js +1 -1
- package/src/api/apiRisk/index.js +1 -1
- package/src/api/apiRoleManagement.js +1 -1
- package/src/api/apiRules/apiRules.js +1 -1
- package/src/api/apiSchedule/apiSchedule.js +1 -1
- package/src/api/apiSealRecord.js +1 -1
- package/src/api/apiSign.js +1 -1
- package/src/api/apiSolution/apiSolution.js +1 -1
- package/src/api/apiSubcontract.js +1 -1
- package/src/api/apiSystem/index.js +1 -1
- package/src/api/apiTask.js +1 -1
- package/src/api/apiTeam/api.js +1 -1
- package/src/api/apiTender.js +1 -1
- package/src/api/apiUserEnterprise/api.js +1 -1
- package/src/api/apiUserEnterprise/apiUserEn.js +1 -1
- package/src/api/apiVolunteerTeam.js +1 -1
- package/src/api/apiWorkarea.js +1 -1
- package/src/api/apiXzqh.js +1 -1
- package/src/api/common/api.js +1 -1
- package/src/api/evection.js +1 -1
- package/src/api/guide.js +1 -1
- package/src/api/sociaManageApi.js +1 -1
- package/src/formBuilder/apiBusiness.js +1 -1
- package/src/views/formBuilder/components/conditionConfig.js +4 -1
- package/src/views/formBuilder/components/nodeConditionConfig.vue +5 -3
- package/src/views/formBuilder/process.vue +4 -1
- package/src/views/formBuilder/workflow/nodeWrap.vue +2 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @FilePath: \src\api\apiPurchase\apiPurchase.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 url = base.VUE_APP_APIUSER
|
|
12
12
|
|
|
13
13
|
// const url = "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 url = base.VUE_APP_APIUSER
|
|
4
4
|
const apiPurchasePay = {
|
|
5
5
|
PurchaseApplySelect: (data) => request.get(url + "/v1/api/purchaseApply/findPurchaseApplySelect/" + data), // 获取采购申请单下拉框
|
package/src/api/apiRecruit.js
CHANGED
package/src/api/apiRisk/index.js
CHANGED
|
@@ -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 apiRisk = {
|
|
6
6
|
getRiskList: (data) => request.post(`${zcUrl}/v1/riskmanage/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 apiRules = {
|
|
6
6
|
// save: (data) => request.post(`${url}/v1/rules/bidding/save`, data),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// 商品api
|
|
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 api = base.VUE_APP_APISCHEDULE
|
|
5
5
|
const apiSchedule = {
|
|
6
6
|
saveSchedule: (params) => request.post(`${api}/v1/app/v1/pc/schedule/saveSchedule`, params), // 新建日程
|
package/src/api/apiSealRecord.js
CHANGED
package/src/api/apiSign.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
|
const apiUrl =base.VUE_APP_MEMBERCENTER
|
|
4
4
|
|
|
5
5
|
const getCode = (params) => request.get(apiUrl + "/api/user/getRegisterCode", 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 apiSolution = {
|
|
6
6
|
save: (table, data) => request.post(`${url}/v1/customized/${table}/save`, data),
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @FilePath: \src\api\apiSubcontract.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 url = base.VUE_APP_APIRECRUITMENT
|
|
12
12
|
const apiSubcontract = {
|
|
13
13
|
subcontractAdd: (data) => request.post(`${url}/v1/subpackageDesign/save`, data),
|
package/src/api/apiTask.js
CHANGED
package/src/api/apiTeam/api.js
CHANGED
package/src/api/apiTender.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import api from "./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 api2 = base.VUE_APP_MEMBERCENTER
|
|
5
5
|
const apiSelfEnterprise = {
|
|
6
6
|
fetchEnterpriseList: (params) => http.get(base.VUE_APP_MEMBERCENTER + "/userJoinCompanyAudit/myComList", params), // 我的企业列表
|
package/src/api/apiWorkarea.js
CHANGED
|
@@ -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 url = 'http://yuyue.ngrok.gcw.net:90'
|
|
8
8
|
const apiWorkarea = {
|
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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @FilePath: \src\formBuilder\apiBusiness.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 goodsUrl = base.VUE_APP_APIMATERIALS
|
|
12
12
|
const MachineryUrl = base.VUE_APP_APIMACHINERY
|
|
13
13
|
const EquipmentUrl = base.VUE_APP_APIEQUIPMENT
|
|
@@ -12,6 +12,9 @@ import { log } from "fullcalendar";
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
// 获取缓存中的用户数据
|
|
16
|
+
const userInfo = JSON.parse(localStorage.getItem("userInfo")) || {}
|
|
17
|
+
|
|
15
18
|
// 请假申请
|
|
16
19
|
export const leave = async() => {
|
|
17
20
|
const leaveApply = [
|
|
@@ -19,7 +22,7 @@ export const leave = async() => {
|
|
|
19
22
|
{ name: "时长(天)", variable: "duration", ele: "input" }
|
|
20
23
|
]
|
|
21
24
|
// const res = await api.leaveType(store.state.user.no);
|
|
22
|
-
const res = await api.getVacationList({ member:
|
|
25
|
+
const res = await api.getVacationList({ member: userInfo.no });
|
|
23
26
|
if (res.data.code == "200") {
|
|
24
27
|
// if (res.data.data.length === 0) {
|
|
25
28
|
// this.$message.warning(
|
|
@@ -178,7 +178,7 @@ export default {
|
|
|
178
178
|
queryInfo: {
|
|
179
179
|
type: Object,
|
|
180
180
|
default: () => {
|
|
181
|
-
return
|
|
181
|
+
return JSON.parse(localStorage.getItem("queryInfo"))
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
},
|
|
@@ -421,7 +421,7 @@ export default {
|
|
|
421
421
|
};
|
|
422
422
|
|
|
423
423
|
this.configList = config[this.applyType] ? await config[this.applyType](this) : [];
|
|
424
|
-
|
|
424
|
+
|
|
425
425
|
if (this.queryInfo.type == "sealApproval" || this.queryInfo.name == "用章申请" || this.queryInfo.name == "用车申请" || this.queryInfo.type == "carApproval") {
|
|
426
426
|
configDefault = {};
|
|
427
427
|
} else {
|
|
@@ -507,7 +507,9 @@ export default {
|
|
|
507
507
|
/deep/ .el-form-item{
|
|
508
508
|
margin-bottom: 10px;
|
|
509
509
|
}
|
|
510
|
-
|
|
510
|
+
/deep/ .is-error{
|
|
511
|
+
margin-bottom: 20px;
|
|
512
|
+
}
|
|
511
513
|
/deep/ .el-form-item__label{
|
|
512
514
|
text-align: left;
|
|
513
515
|
}
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
124
124
|
default:()=>{
|
|
125
125
|
return {
|
|
126
126
|
"companyNo":"202008267425615", // 公司no
|
|
127
|
-
"no":"", // 用户no
|
|
127
|
+
"no":"2121212121", // 用户no
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
},
|
|
@@ -162,6 +162,9 @@ export default {
|
|
|
162
162
|
created() {
|
|
163
163
|
// 获取审批流程数据
|
|
164
164
|
this.getProcessSet()
|
|
165
|
+
// 存储用户信息
|
|
166
|
+
localStorage.setItem("userInfo",JSON.stringify(this.userInfo))
|
|
167
|
+
localStorage.setItem("queryInfo",JSON.stringify(this.queryInfo))
|
|
165
168
|
// 设置类型
|
|
166
169
|
this.type = this.path == "/index" ? "customForm_" + this.formBuilder.formDesId : this.queryInfo.type;
|
|
167
170
|
},
|
|
@@ -424,7 +424,8 @@ export default {
|
|
|
424
424
|
conditionStr(item, index) {
|
|
425
425
|
var { conditionList, nodeUserList } = item;
|
|
426
426
|
if (conditionList.length == 0) {
|
|
427
|
-
|
|
427
|
+
// 设置了条件判断: (index == this.nodeConfig.conditionNodes.length - 1) && this.nodeConfig.conditionNodes[0].conditionList.length != 0
|
|
428
|
+
return '请设置条件'
|
|
428
429
|
} else if(item.desc){
|
|
429
430
|
return item.desc.join(";")
|
|
430
431
|
}
|