[update] 修改企标复审流程
This commit is contained in:
@@ -103,6 +103,8 @@ const enStandardRecheckReject = (params) => postAction('/process/es/recheck/reje
|
||||
const enStandardRecheckGetDataById = (taskId, params) => getAction(`/process/es/recheck/handle/${taskId}`, params)
|
||||
// 草稿的办理回显数据
|
||||
const enStandardRecheckGetDataDraft = (params) => getAction('/process/es/recheck/draftHandle', params)
|
||||
// 根据dataId查询是否显示第一个节点的人员信息
|
||||
const enStandardRecheckIsShowFirstPerson = (params) => getAction('/process/es/recheck/isShowFirstNode', params)
|
||||
|
||||
// 企标废止流程
|
||||
// 保存
|
||||
@@ -333,6 +335,7 @@ export {
|
||||
enStandardRecheckAgree,
|
||||
enStandardRecheckReject,
|
||||
enStandardRecheckGetDataDraft,
|
||||
enStandardRecheckIsShowFirstPerson,
|
||||
|
||||
enStandardAnnulGetDataById,
|
||||
enStandardAnnulSave,
|
||||
|
||||
@@ -132,7 +132,8 @@ import {
|
||||
enStandardRecheckTurnTo,
|
||||
enStandardRecheckAgree,
|
||||
enStandardRecheckReject,
|
||||
enStandardRecheckGetDataDraft
|
||||
enStandardRecheckGetDataDraft,
|
||||
enStandardRecheckIsShowFirstPerson
|
||||
} from '@/api/workCenter'
|
||||
import ContactInitBaseInfo from './modules/ContactInitBaseInfo'
|
||||
import StandardizationInitBaseInfo from './modules/StandardizationInitBaseInfo'
|
||||
@@ -140,6 +141,8 @@ import DrafterEnterOptionBaseInfo from './modules/DrafterEnterOptionBaseInfo'
|
||||
import RecheckApproveBaseInfo from './modules/RecheckApproveBaseInfo'
|
||||
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||
import { ProcessKey, EsRecheckNodes } from '@/enums/commonEnums'
|
||||
import Vue from 'vue'
|
||||
import { USER_INFO } from '../../../store/mutation-types'
|
||||
|
||||
export default {
|
||||
name: 'EnterpriseStandardRecheckFlow',
|
||||
@@ -196,6 +199,14 @@ export default {
|
||||
this.initPersonInfoData(false)
|
||||
}
|
||||
}
|
||||
// 如果是正在手动发起流程,人员信息的节点1不显示
|
||||
if (!this.$route.query.taskId && !this.$route.query.draftId) {
|
||||
this.personnelInfoData.shift()
|
||||
// 说明是在新发起一个节点,初始化发起人员信息
|
||||
this.personnelInfoData[0].linkUserIds = Vue.ls.get(USER_INFO).id
|
||||
this.personnelInfoData[0].linkUserIds_dictText = Vue.ls.get(USER_INFO).realname + '(' + Vue.ls.get(USER_INFO).username + ')'
|
||||
this.personnelInfoData[0].userList = Vue.ls.get(USER_INFO).realname + '(' + Vue.ls.get(USER_INFO).username + ')'
|
||||
}
|
||||
})
|
||||
if (this.$route.query.taskId && !this.$route.query.draftId) {
|
||||
// 有流程id说明是从流程中心来的,需要初始化数据
|
||||
@@ -302,6 +313,12 @@ export default {
|
||||
this.$refs.baseInfoRef.initData(this.model.data)
|
||||
}
|
||||
})
|
||||
enStandardRecheckIsShowFirstPerson({ id: this.model.data.id }).then(res => {
|
||||
if (res.success && !res.result) {
|
||||
// 不显示第一个节点人员信息
|
||||
this.personnelInfoData.shift()
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user