[update] 企标流程设置移动端不支持的节点
This commit is contained in:
+60
-12
@@ -94,15 +94,39 @@ export const ProjectType = {
|
||||
// 企标立项、变更流程
|
||||
export const EsInitChangeNodes = new EsEnums({
|
||||
mainDrafterStart: { text: '主起草人发起', value: 'sid-7120EF36-78C3-4DB0-8B49-91178F79C24B' },
|
||||
contactCheck: { text: '部所联络人校对', value: 'sid-BB1FF9A5-89DF-4356-AB16-9D68B8FABC04' },
|
||||
expertApproval: { text: '专家审批', value: 'sid-ABE29414-15C7-4798-B690-E53055F6CA75' },
|
||||
leaderApproval: { text: '主管级领导审批', value: 'sid-A58C400F-BA13-4125-9B00-45EB45F1A559' },
|
||||
leaderLeaderApproval: { text: '主管级上一级领导审批', value: 'sid-298A57B6-6658-47C0-94EB-76E3A5790258' },
|
||||
standardizationApproval: { text: '标准化审批', value: 'sid-06CB29CE-E39F-4CD2-A534-18546DC8C6FB' },
|
||||
newDraftUnitLeaderLeaderSend: { text: '新起草部门主管级上一级领导下发', value: 'sid-AB70F1CA-8311-4639-B3DA-204EF3332B29' },
|
||||
newDraftUnitLeaderConfirm: { text: '新起草部门主管级领导确认', value: 'sid-A26EC37C-7C93-4987-9833-363C4E25EC50' },
|
||||
relevantPersonnelWillSign: { text: '相关人员会签', value: 'sid-7BFD2753-B6CD-4637-8D4B-819903511925' },
|
||||
mainDrafterCopy: { text: '主起草人抄送', value: 'sid-08D0381A-5C20-4708-9D73-C7EB5C51DB02' }
|
||||
contactCheck: { text: '部所联络人校对', value: 'sid-BB1FF9A5-89DF-4356-AB16-9D68B8FABC04', isMobile: true },
|
||||
expertApproval: { text: '专家审批', value: 'sid-ABE29414-15C7-4798-B690-E53055F6CA75', isMobile: true },
|
||||
leaderApproval: { text: '主管级领导审批', value: 'sid-A58C400F-BA13-4125-9B00-45EB45F1A559', isMobile: true },
|
||||
leaderLeaderApproval: { text: '主管级上一级领导审批', value: 'sid-298A57B6-6658-47C0-94EB-76E3A5790258', isMobile: true },
|
||||
standardizationApproval: { text: '标准化审批', value: 'sid-06CB29CE-E39F-4CD2-A534-18546DC8C6FB', isMobile: true },
|
||||
newDraftUnitLeaderLeaderSend: { text: '新起草部门主管级上一级领导下发', value: 'sid-AB70F1CA-8311-4639-B3DA-204EF3332B29', isMobile: true },
|
||||
newDraftUnitLeaderConfirm: { text: '新起草部门主管级领导确认', value: 'sid-A26EC37C-7C93-4987-9833-363C4E25EC50', isMobile: true },
|
||||
relevantPersonnelWillSign: { text: '相关人员会签', value: 'sid-7BFD2753-B6CD-4637-8D4B-819903511925', isMobile: true },
|
||||
mainDrafterCopy: { text: '主起草人抄送', value: 'sid-08D0381A-5C20-4708-9D73-C7EB5C51DB02', isMobile: true }
|
||||
})
|
||||
|
||||
// 年度制修订计划-各部门主动上报
|
||||
export const EsRevisionPlanActivityReportNodes = new EsEnums({
|
||||
standardizationStart: { text: '标准化工程师发起', value: 'sid-A6DD8A92-30D8-4733-9EE3-D8C6636D73C6' },
|
||||
contactEnterSendTask: { text: '各部所联络人 填写/下发任务', value: 'sid-ECCB8ADE-F528-482C-8714-0D33471EF662' },
|
||||
contactEnterEs: { text: '工作组/所联络人填写企标', value: 'sid-B6F66797-8F09-4B84-AA8E-28B841067217' },
|
||||
contactLeaderApproval: { text: '收集联络人主管级领导审批', value: 'sid-2A8155BC-4634-4353-BD0E-89CE07F0D335', isMobile: true },
|
||||
contactsApproval: { text: '各部所联络人汇总', value: 'sid-69F04E36-5EDB-4693-8284-FFF3FCBE2B3D' },
|
||||
contactLeaderLeaderApproval: { text: '联络人主管级上一级领导审批', value: 'sid-60783E25-8671-404F-9E7D-B9181CA07B69', isMobile: true },
|
||||
standardizationSumUp: { text: '标准化工程师归档', value: 'sid-482034AD-DB3C-4A93-9E0D-B8834F4767F0' }
|
||||
})
|
||||
|
||||
// 年度制修订计划-标准化发起
|
||||
export const EsRevisionPlanStandardizationInitNodes = new EsEnums({
|
||||
standardizationStart: { text: '标准化工程师发起', value: 'sid-880237E7-1735-49AE-B9EC-D7DA5D28E17D' },
|
||||
contactSelectApprover: { text: '部所联络人选取审批人', value: 'sid-C3F65D96-76B0-4901-8C8A-D6B390099381' },
|
||||
standardizationUpdate: { text: '标准化工程师修改调整', value: 'sid-3CB0E6B1-9918-4A21-9C62-9344FF1B7269' },
|
||||
mainDrafterLeaderSend: { text: '主起草单位主管级领导审批下发', value: 'sid-57656F2E-0AE1-45D8-85D0-CE3E37D9E926' },
|
||||
contactUpdate: { text: '部所联络人修改调整', value: 'sid-3AF454B3-1D93-4BF6-B925-98F1A7E125B8' },
|
||||
mainDrafterEnterInfo: { text: '主起草人填写信息', value: 'sid-E2015AB3-9C52-4E49-A261-DA11CB4BAA7E' },
|
||||
contactsApproval: { text: '部所联络人汇总', value: 'sid-158523C5-7D8F-4433-B2DB-8A6C09DFDB1B' },
|
||||
mainDrafterLeaderApproval: { text: '主起草单位主管级领导批准', value: 'sid-050827D6-AA12-4561-8B37-4D2023AF6D7F', isMobile: true },
|
||||
standardizationSumUp: { text: '标准化归档', value: 'sid-86610E08-1DDB-467A-A32E-C661FE889A57' }
|
||||
})
|
||||
|
||||
// 企标复审-复审
|
||||
@@ -117,9 +141,33 @@ export const Recheck = {
|
||||
export const EsRecheckNodes = new EsEnums({
|
||||
standardizationSelectContact: { text: '标准化工程师选择联络人', value: 'sid-9E19F873-6E54-427A-938F-0DBADD1DD7E5' },
|
||||
initiatorStart: { text: '发起人发起', value: 'sid-2E53F267-8541-40FB-974D-D8DDD03191CB' },
|
||||
drafterEnterOption: { text: '起草人填写意见', value: 'sid-72303DAD-0B49-471B-828E-66602468BE44' },
|
||||
drafterMinisterApproval: { text: '起草人部长审批', value: 'sid-18EE1480-C281-4569-93F6-F94F204B71ED' },
|
||||
standardizationApproval: { text: '标准化审批', value: 'sid-6BF8F285-0A2A-449C-A108-24024A922723' }
|
||||
drafterEnterOption: { text: '起草人填写意见', value: 'sid-72303DAD-0B49-471B-828E-66602468BE44', isMobile: true },
|
||||
drafterMinisterApproval: { text: '起草人部长审批', value: 'sid-18EE1480-C281-4569-93F6-F94F204B71ED', isMobile: true },
|
||||
standardizationApproval: { text: '标准化审批', value: 'sid-6BF8F285-0A2A-449C-A108-24024A922723', isMobile: true }
|
||||
})
|
||||
|
||||
// 企标废止流程
|
||||
export const EsAnnulNodes = new EsEnums({
|
||||
initiatorStart: { text: '发起人发起', value: 'sid-5F5FC475-64DE-4F98-A52D-5F6837C39B63' },
|
||||
relevantPersonnelWillSign: { text: '相关人员会签', value: 'sid-B4157F9F-73E5-48F5-855D-AF87C0DB91C6', isMobile: true },
|
||||
leaderApproval: { text: '起草人和会签人主管级领导审批', value: 'sid-0BC5B3BC-ED99-4061-84B4-7320E25DE326', isMobile: true },
|
||||
standardizationApproval: { text: '标准化审批', value: 'sid-9C90582D-F71F-4516-B54F-1E9F896C30D8', isMobile: true }
|
||||
})
|
||||
|
||||
// 企标封存流程
|
||||
export const EsSealSaveNodes = new EsEnums({
|
||||
initiatorStart: { text: '发起人发起', value: 'sid-5F5FC475-64DE-4F98-A52D-5F6837C39B63' },
|
||||
relevantPersonnelWillSign: { text: '相关人员会签', value: 'sid-B4157F9F-73E5-48F5-855D-AF87C0DB91C6', isMobile: true },
|
||||
leaderApproval: { text: '起草人和会签人主管级领导审批', value: 'sid-0BC5B3BC-ED99-4061-84B4-7320E25DE326', isMobile: true },
|
||||
standardizationApproval: { text: '标准化审批', value: 'sid-9C90582D-F71F-4516-B54F-1E9F896C30D8', isMobile: true }
|
||||
})
|
||||
|
||||
// 已封存企标启用流程
|
||||
export const EsStartUseNodes = new EsEnums({
|
||||
initiatorStart: { text: '发起人发起', value: 'sid-5F5FC475-64DE-4F98-A52D-5F6837C39B63' },
|
||||
relevantPersonnelWillSign: { text: '相关人员会签', value: 'sid-B4157F9F-73E5-48F5-855D-AF87C0DB91C6', isMobile: true },
|
||||
leaderApproval: { text: '起草人和会签人主管级领导审批', value: 'sid-0BC5B3BC-ED99-4061-84B4-7320E25DE326', isMobile: true },
|
||||
standardizationApproval: { text: '标准化审批', value: 'sid-9C90582D-F71F-4516-B54F-1E9F896C30D8', isMobile: true }
|
||||
})
|
||||
|
||||
// 下发人员类型
|
||||
|
||||
+9
-1
@@ -125,7 +125,7 @@
|
||||
|
||||
<script>
|
||||
import ProcessCommonLayout from '@/components/ProcessCommonLayout'
|
||||
import { ProcessKey } from '@/enums/commonEnums'
|
||||
import {EsInitChangeNodes, EsInspectionPlan, ProcessKey} from '@/enums/commonEnums'
|
||||
import CalendarField from '@/components/CalendarField'
|
||||
import SelectUser from '@/components/SelectUser'
|
||||
import {
|
||||
@@ -288,6 +288,14 @@ export default {
|
||||
baseInfoForm: {}
|
||||
}
|
||||
},
|
||||
// 组件内路由拦截
|
||||
beforeRouteEnter (to, from, next) {
|
||||
// 如果不是移动端支持的节点,就跳转NoMobile
|
||||
if (!EsInitChangeNodes.propertyOfValue('isMobile', to.query.nodeId)) {
|
||||
next({ path: '/noMobile' })
|
||||
}
|
||||
next()
|
||||
},
|
||||
created () {
|
||||
this.initData()
|
||||
},
|
||||
|
||||
+9
-1
@@ -113,7 +113,7 @@
|
||||
|
||||
<script>
|
||||
import ProcessCommonLayout from '@/components/ProcessCommonLayout'
|
||||
import { ProcessKey } from '@/enums/commonEnums'
|
||||
import {EsInitChangeNodes, ProcessKey} from '@/enums/commonEnums'
|
||||
import CalendarField from '@/components/CalendarField'
|
||||
import SelectUser from '@/components/SelectUser'
|
||||
import {
|
||||
@@ -269,6 +269,14 @@ export default {
|
||||
baseInfoForm: {}
|
||||
}
|
||||
},
|
||||
// 组件内路由拦截
|
||||
beforeRouteEnter (to, from, next) {
|
||||
// 如果不是移动端支持的节点,就跳转NoMobile
|
||||
if (!EsInitChangeNodes.propertyOfValue('isMobile', to.query.nodeId)) {
|
||||
next({ path: '/noMobile' })
|
||||
}
|
||||
next()
|
||||
},
|
||||
created () {
|
||||
this.initData()
|
||||
},
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
|
||||
<script>
|
||||
import ProcessCommonLayout from '@/components/ProcessCommonLayout'
|
||||
import { ProcessKey } from '@/enums/commonEnums'
|
||||
import {EsInitChangeNodes, ProcessKey} from '@/enums/commonEnums'
|
||||
import CalendarField from '@/components/CalendarField'
|
||||
import PickerDictField from '@/components/PickerDictField'
|
||||
import SelectUser from '@/components/SelectUser'
|
||||
@@ -213,6 +213,14 @@ export default {
|
||||
baseInfoForm: {}
|
||||
}
|
||||
},
|
||||
// 组件内路由拦截
|
||||
beforeRouteEnter (to, from, next) {
|
||||
// 如果不是移动端支持的节点,就跳转NoMobile
|
||||
if (!EsInitChangeNodes.propertyOfValue('isMobile', to.query.nodeId)) {
|
||||
next({ path: '/noMobile' })
|
||||
}
|
||||
next()
|
||||
},
|
||||
created () {
|
||||
this.initData()
|
||||
},
|
||||
|
||||
@@ -1037,6 +1037,14 @@ export default {
|
||||
currentNode: 1
|
||||
}
|
||||
},
|
||||
// 组件内路由拦截
|
||||
beforeRouteEnter (to, from, next) {
|
||||
// 如果不是移动端支持的节点,就跳转NoMobile
|
||||
if (!EsInitChangeNodes.propertyOfValue('isMobile', to.query.nodeId)) {
|
||||
next({ path: '/noMobile' })
|
||||
}
|
||||
next()
|
||||
},
|
||||
created () {
|
||||
this.initDepartmentList()
|
||||
this.initStandardSystemOptions()
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
|
||||
<script>
|
||||
import ProcessCommonLayout from '@/components/ProcessCommonLayout'
|
||||
import { ProcessKey } from '@/enums/commonEnums'
|
||||
import {EsInitChangeNodes, ProcessKey} from '@/enums/commonEnums'
|
||||
import CalendarField from '@/components/CalendarField'
|
||||
import PickerDictField from '@/components/PickerDictField'
|
||||
import SelectUser from '@/components/SelectUser'
|
||||
@@ -213,6 +213,14 @@ export default {
|
||||
baseInfoForm: {}
|
||||
}
|
||||
},
|
||||
// 组件内路由拦截
|
||||
beforeRouteEnter (to, from, next) {
|
||||
// 如果不是移动端支持的节点,就跳转NoMobile
|
||||
if (!EsInitChangeNodes.propertyOfValue('isMobile', to.query.nodeId)) {
|
||||
next({ path: '/noMobile' })
|
||||
}
|
||||
next()
|
||||
},
|
||||
created () {
|
||||
this.initData()
|
||||
},
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
|
||||
<script>
|
||||
import ProcessCommonLayout from '@/components/ProcessCommonLayout'
|
||||
import { ProcessKey } from '@/enums/commonEnums'
|
||||
import {EsInitChangeNodes, ProcessKey} from '@/enums/commonEnums'
|
||||
import CalendarField from '@/components/CalendarField'
|
||||
import PickerDictField from '@/components/PickerDictField'
|
||||
import SelectUser from '@/components/SelectUser'
|
||||
@@ -213,6 +213,14 @@ export default {
|
||||
baseInfoForm: {}
|
||||
}
|
||||
},
|
||||
// 组件内路由拦截
|
||||
beforeRouteEnter (to, from, next) {
|
||||
// 如果不是移动端支持的节点,就跳转NoMobile
|
||||
if (!EsInitChangeNodes.propertyOfValue('isMobile', to.query.nodeId)) {
|
||||
next({ path: '/noMobile' })
|
||||
}
|
||||
next()
|
||||
},
|
||||
created () {
|
||||
this.initData()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user