[update] 市场清单发布流程,首页待办跳转
This commit is contained in:
@@ -55,93 +55,21 @@ export default {
|
||||
let path = ''
|
||||
// 跳转到对应流程页面
|
||||
switch (record.prcType + '') {
|
||||
// 标准法规入库/变更流程
|
||||
// 新法规导入流程
|
||||
case '1':
|
||||
path = '/workCenter/StandardEntryOrChangeProcess'
|
||||
path = '/workCenter/NewRegulationIntroductionProcess'
|
||||
break
|
||||
// 标准征求意见流程
|
||||
// 标准解读流程
|
||||
case '2':
|
||||
path = '/workCenter/StandardConsultationProcess'
|
||||
path = '/workCenter/StandardInterpretationProcess'
|
||||
break
|
||||
// 项目合规评估流程
|
||||
// 法规符合性排查流程
|
||||
case '3':
|
||||
path = '/workCenter/ProjectComplianceEvaluationProcess'
|
||||
path = '/workCenter/RegulatoryComplianceCheckProcess'
|
||||
break
|
||||
// 未符合项跟踪流程
|
||||
// 市场清单发布流程
|
||||
case '4':
|
||||
path = '/workCenter/NoMatchTrackingProcess'
|
||||
break
|
||||
// 法规合规评估流程
|
||||
case '5':
|
||||
path = '/workCenter/StandardComplianceProcess'
|
||||
break
|
||||
// 法规采购流程
|
||||
case '6':
|
||||
path = '/workCenter/StandardProcurementProcess'
|
||||
break
|
||||
// 企标立项、变更计划
|
||||
case '7':
|
||||
path = '/workCenter/enterpriseStandardInitChange/planApprovalChangeFlow'
|
||||
break
|
||||
// 年度制修订计划(各部门主动上报)
|
||||
case '8':
|
||||
path = '/workCenter/annualRevisionPlanActivelyReport/revisionPlanActivelyReportFlow'
|
||||
break
|
||||
// 年度制修订计划(标准化发起)
|
||||
case '9':
|
||||
path = '/workCenter/annualRevisionPlanStandardizationInit/revisionPlanStandardizationInitFlow'
|
||||
break
|
||||
// 企标制修订流程
|
||||
case '10':
|
||||
path = '/workCenter/enterpriseStandardRevision/enterpriseStandardRevisionFlow'
|
||||
break
|
||||
// 企标更改流程
|
||||
case '11':
|
||||
path = '/workCenter/enterpriseStandardChange/enterpriseStandardChangeFlow'
|
||||
break
|
||||
// 企标复审流程
|
||||
case '12':
|
||||
path = '/workCenter/enterpriseStandardRecheck/enterpriseStandardRecheckFlow'
|
||||
break
|
||||
// 企标废止流程
|
||||
case '13':
|
||||
path = '/workCenter/enterpriseStandardAnnul/enterpriseStandardAnnulFlow'
|
||||
break
|
||||
// 企标封存流程
|
||||
case '14':
|
||||
path = '/workCenter/enterpriseStandardSealSave/enterpriseStandardSealSaveFlow'
|
||||
break
|
||||
// 已封存企标启用流程
|
||||
case '15':
|
||||
path = '/workCenter/enterpriseStandardStartUse/enterpriseStandardStartUseFlow'
|
||||
break
|
||||
// 企标稽查计划
|
||||
case '16':
|
||||
path = '/workCenter/EnterpriseStandardInspectionPlan'
|
||||
break
|
||||
// 企标稽查流程
|
||||
case '17':
|
||||
path = '/workCenter/EnterpriseStandardInspectionProcess'
|
||||
break
|
||||
// 稽查延期申请流程
|
||||
case '18':
|
||||
path = '/workCenter/InspectionExtensionRequestProcess'
|
||||
break
|
||||
// 企标稽查整改
|
||||
case '19':
|
||||
path = '/workCenter/EnterpriseStandardInspectionRectification'
|
||||
break
|
||||
// 权限申请流程
|
||||
case '20':
|
||||
path = '/workCenter/PermissionApplicationProcess'
|
||||
break
|
||||
// 标准宣贯流程
|
||||
case '21':
|
||||
path = '/workCenter/StandardPromotionProcess'
|
||||
break
|
||||
// 会后管理流程
|
||||
case '22':
|
||||
path = '/workCenter/PostMeetingManageProcess'
|
||||
path = '/workCenter/MarketListReleaseProcess'
|
||||
break
|
||||
// 如果都没找到不用跳转
|
||||
default:
|
||||
|
||||
@@ -112,7 +112,7 @@ import MarketRegulationsListSelection from '@/components/selection/MarketRegulat
|
||||
import UserSelection from '@/components/selection/UserSelection'
|
||||
import JTable from '@/components/jero/JTable'
|
||||
import {
|
||||
getMarketRegulationListById,
|
||||
getMarketRegulationListByIdNoPerm,
|
||||
marketRegulationDetailListById
|
||||
} from '@/api/standardRegulationLibraryApi'
|
||||
import STreeSelect from '@/components/STreeSelect'
|
||||
@@ -316,11 +316,11 @@ export default {
|
||||
this.disabledSelectList = true
|
||||
this.loading = true
|
||||
const param = {}
|
||||
param.manifestId = marketRegulationId
|
||||
param.id = marketRegulationId
|
||||
// 获取基础信息
|
||||
getMarketRegulationListById(param).then(res => {
|
||||
getMarketRegulationListByIdNoPerm(param).then(res => {
|
||||
if (res.success) {
|
||||
const result = Object.assign({}, res.result.manifest)
|
||||
const result = Object.assign({}, res.result)
|
||||
const formInline = {}
|
||||
// 清单编号id
|
||||
formInline.manifestId = result.id
|
||||
@@ -337,7 +337,9 @@ export default {
|
||||
})
|
||||
}
|
||||
this.formInline = Object.assign({}, formInline)
|
||||
marketRegulationDetailListById(param).then(res => {
|
||||
const params = {}
|
||||
params.manifestId = marketRegulationId
|
||||
marketRegulationDetailListById(params).then(res => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result
|
||||
}
|
||||
@@ -345,11 +347,8 @@ export default {
|
||||
this.loading = false
|
||||
let manifestVersion = ''
|
||||
if (this.formInline.manifestVersion) {
|
||||
console.log('this.formInline.manifestVersion', this.formInline.manifestVersion)
|
||||
manifestVersion = this.getStringBetween(this.formInline.manifestVersion, 'V', '.')
|
||||
console.log('-----manifestVersion1', manifestVersion)
|
||||
manifestVersion = 'V' + (Number(manifestVersion) + 1) + '.0'
|
||||
console.log('-----manifestVersion2', manifestVersion)
|
||||
}
|
||||
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (manifestVersion || 'V1.0') + '-' + '发布')
|
||||
})
|
||||
@@ -428,11 +427,11 @@ export default {
|
||||
} else {
|
||||
this.loading = true
|
||||
const param = {}
|
||||
param.manifestId = value[0].id
|
||||
param.id = value[0].id
|
||||
// 获取基础信息
|
||||
getMarketRegulationListById(param).then(res => {
|
||||
getMarketRegulationListByIdNoPerm(param).then(res => {
|
||||
if (res.success) {
|
||||
const result = Object.assign({}, res.result.manifest)
|
||||
const result = Object.assign({}, res.result)
|
||||
const formInline = {}
|
||||
// 清单编号id
|
||||
formInline.manifestId = result.id
|
||||
@@ -449,7 +448,9 @@ export default {
|
||||
})
|
||||
}
|
||||
this.formInline = Object.assign({}, formInline)
|
||||
marketRegulationDetailListById(param).then(res => {
|
||||
const params = {}
|
||||
params.manifestId = value[0].id
|
||||
marketRegulationDetailListById(params).then(res => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user