[update] 流程查看详情
This commit is contained in:
@@ -95,13 +95,14 @@ import { JeroListMixin } from '../mixins/JeroListMixin.js'
|
||||
import JTable from './jero/JTable.vue'
|
||||
import Vue from 'vue'
|
||||
import { ACCESS_TOKEN } from '../store/mutation-types.js'
|
||||
import { downloadFile, getFileAccessHttpUrl, getAction } from '../api/manage.js'
|
||||
import { getFileAccessHttpUrl, getAction } from '../api/manage.js'
|
||||
import { previewPdf } from '../utils/previewPdf.js'
|
||||
import FlowChartModal from './FlowChartModal.vue'
|
||||
import UploadFile from './UploadFile'
|
||||
import { filterObj } from '../utils/util'
|
||||
import { kkFilePreview } from '../utils/kkFilePreview'
|
||||
import { urgeProcessNode } from '../api/workCenter'
|
||||
import { ProcessKey } from '../enums/commonEnums'
|
||||
|
||||
// 支持预览的文件后缀
|
||||
const CAN_PREVIEW_FILE_SUFFIX = ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx']
|
||||
@@ -376,22 +377,23 @@ export default {
|
||||
// 跳转流程基本信息页面
|
||||
handleLookDetail (record) {
|
||||
let path = ''
|
||||
console.log('-------processKey', this.$route.query.processKey)
|
||||
// 跳转到对应流程页面
|
||||
switch (record.prcType + '') {
|
||||
switch (this.$route.query.processKey + '') {
|
||||
// 新法规导入流程
|
||||
case '1':
|
||||
case ProcessKey.NEW_REGULATIONS_IMPORT.value:
|
||||
path = '/workCenter/NewRegulationIntroductionProcess'
|
||||
break
|
||||
// 标准解读流程
|
||||
case '2':
|
||||
case ProcessKey.STANDARD_INTERPRETATION_PROCESS.value:
|
||||
path = '/workCenter/StandardInterpretationProcess'
|
||||
break
|
||||
// 法规符合性排查流程
|
||||
case '3':
|
||||
case ProcessKey.REGULATORY_COMPLIANCE_CHECK.value:
|
||||
path = '/workCenter/RegulatoryComplianceCheckProcess'
|
||||
break
|
||||
// 市场清单发布流程
|
||||
case '4':
|
||||
case ProcessKey.MARKET_LIST_RELEASE.value:
|
||||
path = '/workCenter/MarketListReleaseProcess'
|
||||
break
|
||||
}
|
||||
@@ -399,10 +401,10 @@ export default {
|
||||
query.taskName = record.taskName
|
||||
query.snapshotId = record.snapshotId // 快照id
|
||||
query.nodeId = record.nodeId // 节点的id
|
||||
query.isLook = 1
|
||||
this.$router.push({
|
||||
path: path,
|
||||
query: query,
|
||||
isLook: 1
|
||||
query: query
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user