diff --git a/src/assets/js/api/company/project.js b/src/assets/js/api/company/project.js
index 74720850..73daae6f 100644
--- a/src/assets/js/api/company/project.js
+++ b/src/assets/js/api/company/project.js
@@ -61,4 +61,7 @@ export const getPlayUrlFromHikvisionApi = data => get('/xmgl/videoItem/getPlayUr
export const getDConstructionStageListApi = data => post('/xmgl/project/countConstructionStage', data);
// 工作流异常日志
-export const getFlowExceptionLogPageApi = data => get('/xmgl/flowExceptionLog/page', data);
\ No newline at end of file
+export const getFlowExceptionLogPageApi = data => get('/xmgl/flowExceptionLog/page', data);
+
+// 承包商工作流接口
+export const getContractorFlowPageApi = data => get('/xmgl/xzSupplierQualificationApply/flow/start/token', data);
\ No newline at end of file
diff --git a/src/views/projectFront/projectSummary/contractorAudit.vue b/src/views/projectFront/projectSummary/contractorAudit.vue
index 6973a7de..8a15117e 100644
--- a/src/views/projectFront/projectSummary/contractorAudit.vue
+++ b/src/views/projectFront/projectSummary/contractorAudit.vue
@@ -600,10 +600,10 @@
}}
邀请时间: {{ selectNowDate() }}
- 点击链接进入承包商入场申请:
+
点击链接进入承包商入场申请:
{{ inviteCBSUrl1 }}
@@ -629,7 +629,7 @@ import {
auditQualificationApplyPassApi,
auditQualificationApplyRefuseApi,
} from "@/assets/js/api/supplier.js";
-import { getComapnyStatisticsListApi } from "@/assets/js/api/company/project";
+import { getComapnyStatisticsListApi, getContractorFlowPageApi } from "@/assets/js/api/company/project";
import { getEnterpriseTypeList } from "@/assets/js/api/laborPerson";
import { getDictionaryItemApi } from "@/assets/js/api/companyDiagram";
import moment from "moment";
@@ -765,13 +765,17 @@ export default {
// 邀请新承包商入场
inviteCBS() {
console.log(this.inviteCBSDialog);
- this.inviteCBSUrl = `${this.$store.state.CONTRACTORURL}?sn=${this.$store.state.projectSn}`;
- this.inviteCBSUrl1 = `${this.$store.state.CONTRACTORURL2}?token=${this.$store.state.userInfo.token}&sn=${this.$store.state.projectSn}`;
+ getContractorFlowPageApi({}).then((res) => {
+ console.log(res, "邀请新承包商入场");
+ this.inviteCBSUrl1 = `${this.$store.state.CONTRACTORURL2}?token=${res.result}&sn=${this.$store.state.projectSn}`;
+ });
+ // this.inviteCBSUrl = `${this.$store.state.CONTRACTORURL}?sn=${this.$store.state.projectSn}`;
+
console.log(this.$store.state);
this.inviteCBSDialog = true;
},
onCopy() {
- const resultUrl = `${this.$store.state.userInfo.account}邀请您加入${this.$store.state.currentProDetail.name}\n邀请时间:${this.selectNowDate()}\n点击链接进入承包商入场申请:\n${this.inviteCBSUrl}`;
+ const resultUrl = `${this.$store.state.userInfo.account}邀请您加入${this.$store.state.currentProDetail.name}\n邀请时间:${this.selectNowDate()}\n点击链接进入承包商入场申请:\n${this.inviteCBSUrl1}`;
if (navigator.clipboard && window.isSecureContext) {
navigator.clipboard.writeText(resultUrl);
} else {