update 流程完善
This commit is contained in:
+24
-9
@@ -223,8 +223,10 @@ const getInspectPlanProjectId = (params) => getAction('/process/esInspectPlanFlo
|
|||||||
const getInspectPlanDetail = (params) => getAction('/process/esInspectPlanFlow/queryDetailByProjectId', params)
|
const getInspectPlanDetail = (params) => getAction('/process/esInspectPlanFlow/queryDetailByProjectId', params)
|
||||||
// 发起
|
// 发起
|
||||||
const startInspectPlan = (params) => postAction('/process/esInspectPlanFlow/flowStart', params)
|
const startInspectPlan = (params) => postAction('/process/esInspectPlanFlow/flowStart', params)
|
||||||
// 审批
|
// 同意
|
||||||
const approvalInspectPlan = (params) => postAction('/process/esInspectPlanFlow/flowApproval', params)
|
const approvalInspectPlan = (params) => postAction('/process/esInspectPlanFlow/flowApproval', params)
|
||||||
|
// 驳回
|
||||||
|
const rejectInspectPlan = (params) => postAction('/process/esInspectPlanFlow/flowReject', params)
|
||||||
// 转办
|
// 转办
|
||||||
const transferInspectPlan = (params) => getAction('/process/esInspectPlanFlow/flowTransfer', params)
|
const transferInspectPlan = (params) => getAction('/process/esInspectPlanFlow/flowTransfer', params)
|
||||||
// 保存
|
// 保存
|
||||||
@@ -243,8 +245,10 @@ const getInspectProcessProjectId = (params) => getAction('/esinspect/esInspectFl
|
|||||||
const getInspectProcessDetail = (params) => getAction('/esinspect/esInspectFlowController/queryDetailByProjectId', params)
|
const getInspectProcessDetail = (params) => getAction('/esinspect/esInspectFlowController/queryDetailByProjectId', params)
|
||||||
// 发起
|
// 发起
|
||||||
const startInspectProcess = (params) => postAction('/esinspect/esInspectFlowController/flowStart', params)
|
const startInspectProcess = (params) => postAction('/esinspect/esInspectFlowController/flowStart', params)
|
||||||
// 审批
|
// 同意
|
||||||
const approvalInspectProcess = (params) => postAction('/esinspect/esInspectFlowController/flowApproval', params)
|
const approvalInspectProcess = (params) => postAction('/esinspect/esInspectFlowController/flowApproval', params)
|
||||||
|
// 驳回
|
||||||
|
const rejectInspectProcess = (params) => postAction('/esinspect/esInspectFlowController/flowReject', params)
|
||||||
// 转办
|
// 转办
|
||||||
const transferInspectProcess = (params) => getAction('/esinspect/esInspectFlowController/flowTransfer', params)
|
const transferInspectProcess = (params) => getAction('/esinspect/esInspectFlowController/flowTransfer', params)
|
||||||
// 保存
|
// 保存
|
||||||
@@ -257,8 +261,8 @@ const editInspectProcessTable = (params) => postAction('/esinspect/processEsInsp
|
|||||||
const addInspectionContentTable = (params) => postAction('/enterprise/InspectContent/add', params)
|
const addInspectionContentTable = (params) => postAction('/enterprise/InspectContent/add', params)
|
||||||
// 稽查流程表-稽查内容-编辑
|
// 稽查流程表-稽查内容-编辑
|
||||||
const editInspectionContentTable = (params) => postAction('/enterprise/InspectContent/edit', params)
|
const editInspectionContentTable = (params) => postAction('/enterprise/InspectContent/edit', params)
|
||||||
// 稽查流程表-稽查内容-通过稽查id获取预览文件id
|
// 稽查流程表-稽查内容-通过稽查id获取预览文件
|
||||||
const getFileIdByInspectId = (params) => getAction('/esinspect/processEsInspect/queryFileByInspectId', params)
|
const getFileByInspectId = (params) => getAction('/esinspect/processEsInspect/queryFileByInspectId', params)
|
||||||
// 稽查流程表-稽查内容-列表(下拉)
|
// 稽查流程表-稽查内容-列表(下拉)
|
||||||
const getInspectionContentTable = (params) => getAction('/enterprise/InspectContent/queryClauseByEsInspectId', params)
|
const getInspectionContentTable = (params) => getAction('/enterprise/InspectContent/queryClauseByEsInspectId', params)
|
||||||
// 稽查流程表-稽查报告-添加
|
// 稽查流程表-稽查报告-添加
|
||||||
@@ -279,8 +283,10 @@ const getInspectExtensionProjectId = (params) => getAction('/process/esInspectDe
|
|||||||
const getInspectExtensionDetail = (params) => getAction('/process/esInspectDelayApplyFlow/queryDetailByProjectId', params)
|
const getInspectExtensionDetail = (params) => getAction('/process/esInspectDelayApplyFlow/queryDetailByProjectId', params)
|
||||||
// 发起
|
// 发起
|
||||||
const startInspectExtension = (params) => postAction('/process/esInspectDelayApplyFlow/flowStart', params)
|
const startInspectExtension = (params) => postAction('/process/esInspectDelayApplyFlow/flowStart', params)
|
||||||
// 审批
|
// 同意
|
||||||
const approvalInspectExtension = (params) => postAction('/process/esInspectDelayApplyFlow/flowApproval', params)
|
const approvalInspectExtension = (params) => postAction('/process/esInspectDelayApplyFlow/flowApproval', params)
|
||||||
|
// 驳回
|
||||||
|
const rejectInspectExtension = (params) => postAction('/process/esInspectDelayApplyFlow/flowReject', params)
|
||||||
// 转办
|
// 转办
|
||||||
const transferInspectExtension = (params) => getAction('/process/esInspectDelayApplyFlow/flowTransfer', params)
|
const transferInspectExtension = (params) => getAction('/process/esInspectDelayApplyFlow/flowTransfer', params)
|
||||||
// 保存
|
// 保存
|
||||||
@@ -293,8 +299,10 @@ const editInspectExtensionTable = (params) => postAction('/esinspectdelayapply/p
|
|||||||
/* 企标稽查整改 */
|
/* 企标稽查整改 */
|
||||||
// 详情信息
|
// 详情信息
|
||||||
const getInspectRectifyDetail = (params) => getAction('/process/esInspectRectifyFlow/queryDetailByProjectId', params)
|
const getInspectRectifyDetail = (params) => getAction('/process/esInspectRectifyFlow/queryDetailByProjectId', params)
|
||||||
// 审批
|
// 同意
|
||||||
const approvalInspectRectify = (params) => postAction('/process/esInspectRectifyFlow/flowApproval', params)
|
const approvalInspectRectify = (params) => postAction('/process/esInspectRectifyFlow/flowApproval', params)
|
||||||
|
// 驳回
|
||||||
|
const rejectInspectRectify = (params) => postAction('/process/esInspectRectifyFlow/flowReject', params)
|
||||||
// 转办
|
// 转办
|
||||||
const transferInspectRectify = (params) => getAction('/process/esInspectRectifyFlow/flowTransfer', params)
|
const transferInspectRectify = (params) => getAction('/process/esInspectRectifyFlow/flowTransfer', params)
|
||||||
// 保存
|
// 保存
|
||||||
@@ -309,8 +317,10 @@ const getPermissionApplyProjectId = (params) => getAction('/process/esPermission
|
|||||||
const getPermissionApplyDetail = (params) => getAction('/process/esPermissionApplyFlow/queryDetailByProjectId', params)
|
const getPermissionApplyDetail = (params) => getAction('/process/esPermissionApplyFlow/queryDetailByProjectId', params)
|
||||||
// 发起
|
// 发起
|
||||||
const startPermissionApply = (params) => postAction('/process/esPermissionApplyFlow/flowStart', params)
|
const startPermissionApply = (params) => postAction('/process/esPermissionApplyFlow/flowStart', params)
|
||||||
// 审批
|
// 同意
|
||||||
const approvalPermissionApply = (params) => postAction('/process/esPermissionApplyFlow/flowApproval', params)
|
const approvalPermissionApply = (params) => postAction('/process/esPermissionApplyFlow/flowApproval', params)
|
||||||
|
// 驳回
|
||||||
|
const rejectPermissionApply = (params) => postAction('/process/esPermissionApplyFlow/flowReject', params)
|
||||||
// 转办
|
// 转办
|
||||||
const transferPermissionApply = (params) => getAction('/process/esPermissionApplyFlow/flowTransfer', params)
|
const transferPermissionApply = (params) => getAction('/process/esPermissionApplyFlow/flowTransfer', params)
|
||||||
// 保存
|
// 保存
|
||||||
@@ -339,7 +349,7 @@ const getPostMeetingManageProjectId = (params) => getAction('/process/meetingMan
|
|||||||
const getPostMeetingManageDetail = (params) => getAction('/process/meetingManageFlow/queryDetailByProjectId', params)
|
const getPostMeetingManageDetail = (params) => getAction('/process/meetingManageFlow/queryDetailByProjectId', params)
|
||||||
// 发起
|
// 发起
|
||||||
const startPostMeetingManage = (params) => postAction('/process/meetingManageFlow/flowStart', params)
|
const startPostMeetingManage = (params) => postAction('/process/meetingManageFlow/flowStart', params)
|
||||||
// 审批
|
// 同意
|
||||||
const approvalPostMeetingManage = (params) => postAction('/process/meetingManageFlow/flowApproval', params)
|
const approvalPostMeetingManage = (params) => postAction('/process/meetingManageFlow/flowApproval', params)
|
||||||
// 转办
|
// 转办
|
||||||
const transferPostMeetingManage = (params) => getAction('/process/meetingManageFlow/flowTransfer', params)
|
const transferPostMeetingManage = (params) => getAction('/process/meetingManageFlow/flowTransfer', params)
|
||||||
@@ -462,6 +472,7 @@ export {
|
|||||||
getInspectPlanDetail,
|
getInspectPlanDetail,
|
||||||
startInspectPlan,
|
startInspectPlan,
|
||||||
approvalInspectPlan,
|
approvalInspectPlan,
|
||||||
|
rejectInspectPlan,
|
||||||
transferInspectPlan,
|
transferInspectPlan,
|
||||||
saveInspectPlan,
|
saveInspectPlan,
|
||||||
addInspectPlanTable,
|
addInspectPlanTable,
|
||||||
@@ -472,13 +483,14 @@ export {
|
|||||||
getInspectProcessDetail,
|
getInspectProcessDetail,
|
||||||
startInspectProcess,
|
startInspectProcess,
|
||||||
approvalInspectProcess,
|
approvalInspectProcess,
|
||||||
|
rejectInspectProcess,
|
||||||
transferInspectProcess,
|
transferInspectProcess,
|
||||||
saveInspectProcess,
|
saveInspectProcess,
|
||||||
addInspectProcessTable,
|
addInspectProcessTable,
|
||||||
editInspectProcessTable,
|
editInspectProcessTable,
|
||||||
addInspectionContentTable,
|
addInspectionContentTable,
|
||||||
editInspectionContentTable,
|
editInspectionContentTable,
|
||||||
getFileIdByInspectId,
|
getFileByInspectId,
|
||||||
getInspectionContentTable,
|
getInspectionContentTable,
|
||||||
addInspectionReportTable,
|
addInspectionReportTable,
|
||||||
editInspectionReportTable,
|
editInspectionReportTable,
|
||||||
@@ -490,6 +502,7 @@ export {
|
|||||||
getInspectExtensionDetail,
|
getInspectExtensionDetail,
|
||||||
startInspectExtension,
|
startInspectExtension,
|
||||||
approvalInspectExtension,
|
approvalInspectExtension,
|
||||||
|
rejectInspectExtension,
|
||||||
transferInspectExtension,
|
transferInspectExtension,
|
||||||
saveInspectExtension,
|
saveInspectExtension,
|
||||||
addInspectExtensionTable,
|
addInspectExtensionTable,
|
||||||
@@ -497,6 +510,7 @@ export {
|
|||||||
|
|
||||||
getInspectRectifyDetail,
|
getInspectRectifyDetail,
|
||||||
approvalInspectRectify,
|
approvalInspectRectify,
|
||||||
|
rejectInspectRectify,
|
||||||
transferInspectRectify,
|
transferInspectRectify,
|
||||||
saveInspectRectify,
|
saveInspectRectify,
|
||||||
getInspectRectifyDataById,
|
getInspectRectifyDataById,
|
||||||
@@ -505,6 +519,7 @@ export {
|
|||||||
getPermissionApplyDetail,
|
getPermissionApplyDetail,
|
||||||
startPermissionApply,
|
startPermissionApply,
|
||||||
approvalPermissionApply,
|
approvalPermissionApply,
|
||||||
|
rejectPermissionApply,
|
||||||
transferPermissionApply,
|
transferPermissionApply,
|
||||||
savePermissionApply,
|
savePermissionApply,
|
||||||
getPermissionApplyDataById,
|
getPermissionApplyDataById,
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
<!-- 企标编号 -->
|
<!-- 企标编号 -->
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
|
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" v-model="queryParam.inspectNo"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- 企标名称 -->
|
<!-- 企标名称 -->
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardName')" v-model="queryParam.standardName"></a-input>
|
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardName')" v-model="queryParam.inspectName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- 状态 -->
|
<!-- 状态 -->
|
||||||
|
|||||||
+3
-2
@@ -131,7 +131,7 @@ import { EsInspectionPlan, ProcessKey } from '@/enums/commonEnums'
|
|||||||
import {
|
import {
|
||||||
approvalInspectPlan,
|
approvalInspectPlan,
|
||||||
getInspectPlanDetail,
|
getInspectPlanDetail,
|
||||||
getInspectPlanProjectId,
|
getInspectPlanProjectId, rejectInspectPlan,
|
||||||
saveInspectPlan,
|
saveInspectPlan,
|
||||||
startInspectPlan, transferInspectPlan
|
startInspectPlan, transferInspectPlan
|
||||||
} from '@api/workCenter'
|
} from '@api/workCenter'
|
||||||
@@ -354,6 +354,7 @@ export default {
|
|||||||
// 流程信息
|
// 流程信息
|
||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -493,7 +494,7 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
this.getPageParams().then(res => {
|
this.getPageParams().then(res => {
|
||||||
res.map.pass = false
|
res.map.pass = false
|
||||||
return approvalInspectPlan(res)
|
return rejectInspectPlan(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
+3
-2
@@ -113,7 +113,7 @@ import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
|||||||
import {
|
import {
|
||||||
approvalInspectProcess,
|
approvalInspectProcess,
|
||||||
getInspectProcessDetail,
|
getInspectProcessDetail,
|
||||||
getInspectProcessProjectId, saveInspectProcess, startInspectProcess, transferInspectProcess
|
getInspectProcessProjectId, rejectInspectProcess, saveInspectProcess, startInspectProcess, transferInspectProcess
|
||||||
} from '@api/workCenter'
|
} from '@api/workCenter'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -304,6 +304,7 @@ export default {
|
|||||||
// 流程信息
|
// 流程信息
|
||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -441,7 +442,7 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
this.getPageParams().then(res => {
|
this.getPageParams().then(res => {
|
||||||
res.map.pass = false
|
res.map.pass = false
|
||||||
return approvalInspectProcess(res)
|
return rejectInspectProcess(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
+11
-15
@@ -57,7 +57,7 @@ import { getFileInfo } from '@/api/api'
|
|||||||
import { previewPdf } from '@/utils/previewPdf'
|
import { previewPdf } from '@/utils/previewPdf'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||||
import { addInspectionContentTable, editInspectionContentTable, getFileIdByInspectId } from '@api/workCenter'
|
import { addInspectionContentTable, editInspectionContentTable, getFileByInspectId } from '@api/workCenter'
|
||||||
|
|
||||||
const Base64 = require('js-base64').Base64
|
const Base64 = require('js-base64').Base64
|
||||||
|
|
||||||
@@ -104,13 +104,11 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
add (data) {
|
add (data) {
|
||||||
this.data = Object.assign({}, data)
|
this.data = Object.assign({}, data)
|
||||||
// 后端获取预览文件id接口
|
// 后端获取预览文件
|
||||||
getFileIdByInspectId({ inspectId: data.inspectId }).then(res => {
|
getFileByInspectId({ inspectId: data.inspectId }).then(res => {
|
||||||
return res.success ? res.result.id : ''
|
if (res.success) {
|
||||||
}).then(fileId => {
|
this.handlePreview(res.result.id)
|
||||||
this.getFileInfo(fileId).then(res => {
|
}
|
||||||
this.handlePreview(res)
|
|
||||||
})
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
})
|
})
|
||||||
@@ -118,13 +116,11 @@ export default {
|
|||||||
this.form.resetFields()
|
this.form.resetFields()
|
||||||
},
|
},
|
||||||
edit (data, record, index) {
|
edit (data, record, index) {
|
||||||
// 后端获取预览文件id接口
|
// 后端获取预览文件
|
||||||
getFileIdByInspectId({ inspectId: data.inspectId }).then(res => {
|
getFileByInspectId({ inspectId: data.inspectId }).then(res => {
|
||||||
return res.success ? res.result.id : ''
|
if (res.success) {
|
||||||
}).then(fileId => {
|
this.handlePreview(res.result.id)
|
||||||
this.getFileInfo(fileId).then(res => {
|
}
|
||||||
this.handlePreview(res)
|
|
||||||
})
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
})
|
})
|
||||||
|
|||||||
+3
-2
@@ -110,7 +110,7 @@ import UserSelectModal from '@comp/selection/UserSelectModal'
|
|||||||
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
import {
|
import {
|
||||||
approvalInspectRectify, getInspectRectifyDataById,
|
approvalInspectRectify, getInspectRectifyDataById,
|
||||||
getInspectRectifyDetail, saveInspectRectify, transferInspectRectify
|
getInspectRectifyDetail, rejectInspectRectify, saveInspectRectify, transferInspectRectify
|
||||||
} from '@api/workCenter'
|
} from '@api/workCenter'
|
||||||
import { EsInspectionRectification, ProcessKey } from '@/enums/commonEnums'
|
import { EsInspectionRectification, ProcessKey } from '@/enums/commonEnums'
|
||||||
|
|
||||||
@@ -309,6 +309,7 @@ export default {
|
|||||||
// 流程信息
|
// 流程信息
|
||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -438,7 +439,7 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
this.getPageParams().then(res => {
|
this.getPageParams().then(res => {
|
||||||
res.map.pass = false
|
res.map.pass = false
|
||||||
return approvalInspectRectify(res)
|
return rejectInspectRectify(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
+7
-2
@@ -112,7 +112,11 @@ import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
|||||||
import {
|
import {
|
||||||
approvalInspectExtension,
|
approvalInspectExtension,
|
||||||
getInspectExtensionDetail,
|
getInspectExtensionDetail,
|
||||||
getInspectExtensionProjectId, saveInspectExtension, startInspectExtension, transferInspectExtension
|
getInspectExtensionProjectId,
|
||||||
|
rejectInspectExtension,
|
||||||
|
saveInspectExtension,
|
||||||
|
startInspectExtension,
|
||||||
|
transferInspectExtension
|
||||||
} from '@api/workCenter'
|
} from '@api/workCenter'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -305,6 +309,7 @@ export default {
|
|||||||
// 流程信息
|
// 流程信息
|
||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -442,7 +447,7 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
this.getPageParams().then(res => {
|
this.getPageParams().then(res => {
|
||||||
res.map.pass = false
|
res.map.pass = false
|
||||||
return approvalInspectExtension(res)
|
return rejectInspectExtension(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ import { PermissionApply, ProcessKey } from '@/enums/commonEnums'
|
|||||||
import {
|
import {
|
||||||
approvalPermissionApply, getPermissionApplyDataById,
|
approvalPermissionApply, getPermissionApplyDataById,
|
||||||
getPermissionApplyDetail,
|
getPermissionApplyDetail,
|
||||||
getPermissionApplyProjectId,
|
getPermissionApplyProjectId, rejectPermissionApply,
|
||||||
savePermissionApply, startPermissionApply,
|
savePermissionApply, startPermissionApply,
|
||||||
transferPermissionApply
|
transferPermissionApply
|
||||||
} from '@api/workCenter'
|
} from '@api/workCenter'
|
||||||
@@ -396,6 +396,7 @@ export default {
|
|||||||
// 流程信息
|
// 流程信息
|
||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -535,7 +536,7 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
this.getPageParams().then(res => {
|
this.getPageParams().then(res => {
|
||||||
res.map.pass = false
|
res.map.pass = false
|
||||||
return approvalPermissionApply(res)
|
return rejectPermissionApply(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
@@ -328,6 +328,7 @@ export default {
|
|||||||
// 流程信息
|
// 流程信息
|
||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -266,6 +266,7 @@ export default {
|
|||||||
// 流程信息
|
// 流程信息
|
||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user