[update] 修改流程中心
This commit is contained in:
@@ -207,6 +207,54 @@ export const ProcessKey = {
|
|||||||
POST_MEETING_MANAGE: { text: 'meeting_manage', value: 'meeting_manage' }
|
POST_MEETING_MANAGE: { text: 'meeting_manage', value: 'meeting_manage' }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 流程类型
|
||||||
|
export const ProcessType = {
|
||||||
|
// 标准法规入库/变更流程
|
||||||
|
FB_ENTRY_CHANGE: { text: '标准法规入库/变更流程', value: '1' },
|
||||||
|
// 征求意见流程
|
||||||
|
CONSULTATION: { text: '征求意见流程', value: '2' },
|
||||||
|
// 项目合规评估流程
|
||||||
|
PROJECT_COMPLIANCE_EVALUATION: { text: '项目合规评估流程', value: '3' },
|
||||||
|
// 未符合项跟踪流程
|
||||||
|
NO_MATCH_TRACKING: { text: '未符合项跟踪流程', value: '4' },
|
||||||
|
// 法规合规评估流程
|
||||||
|
REGULATORY_COMPLIANCE_ASSESSMENT: { text: '法规合规评估流程', value: '5' },
|
||||||
|
// 法规采购流程
|
||||||
|
LEGAL_PROCUREMENT: { text: '法规采购流程', value: '6' },
|
||||||
|
// 企标立项/变更计划
|
||||||
|
ES_INIT_CHANGE: { text: '企标立项/变更计划', value: '7' },
|
||||||
|
// 年度制修订-各部门主动上报
|
||||||
|
ES_ANNUAL_REPORT: { text: '年度制修订-各部门主动上报', value: '8' },
|
||||||
|
// 年度制修订-标准化部门主动发起
|
||||||
|
ES_ANNUAL_INIT: { text: '年度制修订-标准化部门主动发起', value: '9' },
|
||||||
|
// 企标制修订流程
|
||||||
|
ES_EDIT: { text: '企标制修订流程', value: '10' },
|
||||||
|
// 企标更改流程
|
||||||
|
ES_CHANGE: { text: '企标更改流程', value: '11' },
|
||||||
|
// 企标复审流程
|
||||||
|
ES_RECHECK: { text: '企标复审流程', value: '12' },
|
||||||
|
// 企标废止流程
|
||||||
|
ES_ABOLISH: { text: '企标废止流程', value: '13' },
|
||||||
|
// 企标封存流程
|
||||||
|
ES_ARCHIVE: { text: '企标封存流程', value: '14' },
|
||||||
|
// 已封存企标启用流程
|
||||||
|
ES_ENABLE: { text: '已封存企标启用流程', value: '15' },
|
||||||
|
// 企标稽查计划
|
||||||
|
ES_INSPECTION_PLAN: { text: '企标稽查计划', value: '16' },
|
||||||
|
// 企标稽查流程
|
||||||
|
ES_INSPECTION_PROCESS: { text: '企标稽查流程', value: '17' },
|
||||||
|
// 稽查延期申请流程
|
||||||
|
INSPECTION_EXTENSION_REQUEST_PROCESS: { text: '稽查延期申请流程', value: '18' },
|
||||||
|
// 企标稽查整改
|
||||||
|
ES_INSPECTION_RECTIFICATION: { text: '企标稽查整改', value: '19' },
|
||||||
|
// 权限申请流程
|
||||||
|
PERMISSION_APPLY: { text: '权限申请流程', value: '20' },
|
||||||
|
// 标准宣贯流程
|
||||||
|
STANDARD_PROMOTION: { text: '标准宣贯流程', value: '21' },
|
||||||
|
// 会后管理流程
|
||||||
|
POST_MEETING_MANAGE: { text: '会后管理流程', value: '22' }
|
||||||
|
}
|
||||||
|
|
||||||
// 标准性质
|
// 标准性质
|
||||||
export const StandardProperty = {
|
export const StandardProperty = {
|
||||||
admittance: { text: '准入性', value: 'SN001' },
|
admittance: { text: '准入性', value: 'SN001' },
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<a-card :bordered="false">
|
<a-card :bordered="false">
|
||||||
<a-tabs default-active-key="1" v-model="activeTab">
|
<a-tabs default-active-key="1" v-model="activeTab">
|
||||||
<template v-for="tab in tabList">
|
<template v-for="tab in tabList">
|
||||||
<a-tab-pane v-if="isHasPermission(tab.permission)" :key="tab.component">
|
<a-tab-pane :key="tab.component">
|
||||||
<template v-slot:tab>
|
<template v-slot:tab>
|
||||||
<div>
|
<div>
|
||||||
{{ tab.label }}
|
{{ tab.label }}
|
||||||
@@ -24,7 +24,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { isHasPermission } from '@/utils/hasPermission'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ProcessCenter',
|
name: 'ProcessCenter',
|
||||||
@@ -35,28 +34,23 @@ export default {
|
|||||||
tabList: [
|
tabList: [
|
||||||
{ // 待办流程
|
{ // 待办流程
|
||||||
component: 'TodoList',
|
component: 'TodoList',
|
||||||
label: this.$t('workCenter.processCenter.todoProcess'),
|
label: this.$t('workCenter.processCenter.todoProcess')
|
||||||
permission: 'workCenter:processCenter:todo'
|
|
||||||
},
|
},
|
||||||
{ // 已办流程
|
{ // 已办流程
|
||||||
component: 'DoneList',
|
component: 'DoneList',
|
||||||
label: this.$t('workCenter.processCenter.doneProcess'),
|
label: this.$t('workCenter.processCenter.doneProcess')
|
||||||
permission: 'workCenter:processCenter:done'
|
|
||||||
},
|
},
|
||||||
{ // 已发流程
|
{ // 已发流程
|
||||||
component: 'SentList',
|
component: 'SentList',
|
||||||
label: this.$t('workCenter.processCenter.sentProcess'),
|
label: this.$t('workCenter.processCenter.sentProcess')
|
||||||
permission: 'workCenter:processCenter:sent'
|
|
||||||
},
|
},
|
||||||
{ // 监控流程
|
{ // 监控流程
|
||||||
component: 'MonitorList',
|
component: 'MonitorList',
|
||||||
label: this.$t('workCenter.processCenter.monitorProcess'),
|
label: this.$t('workCenter.processCenter.monitorProcess')
|
||||||
permission: 'workCenter:processCenter:monitor'
|
|
||||||
},
|
},
|
||||||
{ // 草稿
|
{ // 草稿
|
||||||
component: 'DraftList',
|
component: 'DraftList',
|
||||||
label: this.$t('workCenter.processCenter.draft'),
|
label: this.$t('workCenter.processCenter.draft')
|
||||||
permission: 'workCenter:processCenter:draft'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -67,8 +61,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
// 获取有权限的第一个tab
|
// 获取第一个tab
|
||||||
this.activeTab = (this.tabList.find(item => isHasPermission(item.permission)) || {}).component
|
this.activeTab = 'TodoList'
|
||||||
this.comp = resolve => require([`@views/workCenter/processCenter/table/${this.activeTab}.vue`], resolve)
|
this.comp = resolve => require([`@views/workCenter/processCenter/table/${this.activeTab}.vue`], resolve)
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
@@ -77,9 +71,6 @@ export default {
|
|||||||
this.$refs.compModel.loadData()
|
this.$refs.compModel.loadData()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
isHasPermission
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
<template>
|
||||||
|
<internal-detail-page :title="pageTitle" :content-padding="0" :loading="loading">
|
||||||
|
<process-detail-list :processKey="processKey">
|
||||||
|
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeName"></personnel-info>
|
||||||
|
</process-detail-list>
|
||||||
|
</internal-detail-page>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import InternalDetailPage from '@/components/InternalDetailPage'
|
||||||
|
import ProcessDetailList from '@/components/ProcessDetailList'
|
||||||
|
import PersonnelInfo from '@/components/PersonnelInfo'
|
||||||
|
import { getProcessNodeList } from '@/api/workCenter'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'ProcessDetail',
|
||||||
|
components: {
|
||||||
|
InternalDetailPage,
|
||||||
|
ProcessDetailList,
|
||||||
|
PersonnelInfo
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
processKey: {
|
||||||
|
type: String,
|
||||||
|
required: false,
|
||||||
|
detault: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
pageTitle: '流程详情',
|
||||||
|
loading: false,
|
||||||
|
currentNodeName: '',
|
||||||
|
personnelInfoData: []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getPersonInfoStructure(this.$route.query.processKey)
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getPersonInfoStructure (key) {
|
||||||
|
const param = {}
|
||||||
|
param.processDefinitionKey = key
|
||||||
|
if (this.$route.query.processInstanceId) {
|
||||||
|
param.processInstanceId = this.$route.query.processInstanceId
|
||||||
|
}
|
||||||
|
getProcessNodeList(param).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
console.log(res.result)
|
||||||
|
// 处理人员信息数据
|
||||||
|
this.personnelInfoData = res.result.map(item => {
|
||||||
|
return {
|
||||||
|
...item,
|
||||||
|
canChoose: false,
|
||||||
|
userList: item.linkUserIds_dictText
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-button type="primary" @click="searchQuery" icon="search" v-has="'workCenter:processCenter:doneSearch'" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
||||||
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||||
<!-- 查看 -->
|
<!-- 查看 -->
|
||||||
<a @click="handleDetail(record)" class="table-ope-btn" v-has="'workCenter:processCenter:doneDetail'">{{ $t('view') }}</a>
|
<a @click="handleDetail(record)" class="table-ope-btn">{{ $t('view') }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</j-table>
|
</j-table>
|
||||||
@@ -63,6 +63,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import JTable from '@/components/jero/JTable'
|
import JTable from '@/components/jero/JTable'
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||||
|
import { ProcessType, ProcessKey } from '../../../../enums/commonEnums'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'DoneList',
|
name: 'DoneList',
|
||||||
@@ -148,17 +149,103 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleDetail (record) {
|
handleDetail (record) {
|
||||||
// 跳转到对应流程页面
|
// 跳转到流程详情页
|
||||||
let path = ''
|
let processKey = ''
|
||||||
switch (record.processType) {
|
switch (record.prcType + '') {
|
||||||
case '':
|
// 1.标准法规入库/变更流程
|
||||||
path = ''
|
case ProcessType.FB_ENTRY_CHANGE.value:
|
||||||
|
processKey = ProcessKey.FB_ENTRY_CHANGE.value
|
||||||
|
break
|
||||||
|
// 2.征求意见流程
|
||||||
|
case ProcessType.CONSULTATION.value:
|
||||||
|
processKey = ProcessKey.CONSULTATION.value
|
||||||
|
break
|
||||||
|
// 3.项目合规评估流程
|
||||||
|
case ProcessType.PROJECT_COMPLIANCE_EVALUATION.value:
|
||||||
|
processKey = ProcessKey.PROJECT_COMPLIANCE_EVALUATION.value
|
||||||
|
break
|
||||||
|
// 4.未符合项跟踪流程
|
||||||
|
case ProcessType.NO_MATCH_TRACKING.value:
|
||||||
|
processKey = ProcessKey.NO_MATCH_TRACKING.value
|
||||||
|
break
|
||||||
|
// 5.法规合规评估流程
|
||||||
|
case ProcessType.REGULATORY_COMPLIANCE_ASSESSMENT.value:
|
||||||
|
processKey = ProcessKey.REGULATORY_COMPLIANCE_ASSESSMENT.value
|
||||||
|
break
|
||||||
|
// 6.法规采购流程
|
||||||
|
case ProcessType.LEGAL_PROCUREMENT.value:
|
||||||
|
processKey = ProcessKey.LEGAL_PROCUREMENT.value
|
||||||
|
break
|
||||||
|
// 7.企标立项/变更计划
|
||||||
|
case ProcessType.ES_INIT_CHANGE.value:
|
||||||
|
processKey = ProcessKey.ES_INIT_CHANGE.value
|
||||||
|
break
|
||||||
|
// 8.年度制修订-各部门主动上报
|
||||||
|
case ProcessType.ES_ANNUAL_REPORT.value:
|
||||||
|
processKey = ProcessKey.ES_ANNUAL_REPORT.value
|
||||||
|
break
|
||||||
|
// 9.年度制修订-标准化部门主动发起
|
||||||
|
case ProcessType.ES_ANNUAL_INIT.value:
|
||||||
|
processKey = ProcessKey.ES_ANNUAL_INIT.value
|
||||||
|
break
|
||||||
|
// 10.企标制修订流程
|
||||||
|
case ProcessType.ES_EDIT.value:
|
||||||
|
processKey = ProcessKey.ES_EDIT.value
|
||||||
|
break
|
||||||
|
// 11.企标更改流程
|
||||||
|
case ProcessType.ES_CHANGE.value:
|
||||||
|
processKey = ProcessKey.ES_CHANGE.value
|
||||||
|
break
|
||||||
|
// 12.企标复审流程
|
||||||
|
case ProcessType.ES_RECHECK.value:
|
||||||
|
processKey = ProcessKey.ES_RECHECK.value
|
||||||
|
break
|
||||||
|
// 13.企标废止流程
|
||||||
|
case ProcessType.ES_ABOLISH.value:
|
||||||
|
processKey = ProcessKey.ES_ABOLISH.value
|
||||||
|
break
|
||||||
|
// 14.企标封存流程
|
||||||
|
case ProcessType.ES_ARCHIVE.value:
|
||||||
|
processKey = ProcessKey.ES_ARCHIVE.value
|
||||||
|
break
|
||||||
|
// 15.已封存企标启用流程
|
||||||
|
case ProcessType.ES_ENABLE.value:
|
||||||
|
processKey = ProcessKey.ES_ENABLE.value
|
||||||
|
break
|
||||||
|
// 16.企标稽查计划
|
||||||
|
case ProcessType.ES_INSPECTION_PLAN.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_PLAN.value
|
||||||
|
break
|
||||||
|
// 17.企标稽查流程
|
||||||
|
case ProcessType.ES_INSPECTION_PROCESS.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_PROCESS.value
|
||||||
|
break
|
||||||
|
// 18.稽查延期申请流程
|
||||||
|
case ProcessType.INSPECTION_EXTENSION_REQUEST_PROCESS.value:
|
||||||
|
processKey = ProcessKey.INSPECTION_EXTENSION_REQUEST_PROCESS.value
|
||||||
|
break
|
||||||
|
// 19.企标稽查整改
|
||||||
|
case ProcessType.ES_INSPECTION_RECTIFICATION.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_RECTIFICATION.value
|
||||||
|
break
|
||||||
|
// 20.权限申请流程
|
||||||
|
case ProcessType.PERMISSION_APPLY.value:
|
||||||
|
processKey = ProcessKey.PERMISSION_APPLY.value
|
||||||
|
break
|
||||||
|
// 21.标准宣贯流程
|
||||||
|
case ProcessType.STANDARD_PROMOTION.value:
|
||||||
|
processKey = ProcessKey.STANDARD_PROMOTION.value
|
||||||
|
break
|
||||||
|
// 22.会后管理流程
|
||||||
|
case ProcessType.POST_MEETING_MANAGE.value:
|
||||||
|
processKey = ProcessKey.POST_MEETING_MANAGE.value
|
||||||
|
break
|
||||||
}
|
}
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: path,
|
path: '/workCenter/processCenter/detail/processDetail',
|
||||||
query: {
|
query: {
|
||||||
processId: record.id,
|
processKey: processKey,
|
||||||
onlyLook: true
|
processInstanceId: record.processInstanceId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-button type="primary" @click="searchQuery" icon="search" v-has="'workCenter:processCenter:draftSearch'" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
||||||
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||||
<!-- 办理 -->
|
<!-- 办理 -->
|
||||||
<a @click="handleTransact(record)" class="table-ope-btn" v-has="'workCenter:processCenter:draftTransact'">{{ $t('transact') }}</a>
|
<a @click="handleTransact(record)" class="table-ope-btn">{{ $t('transact') }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</j-table>
|
</j-table>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-button type="primary" @click="searchQuery" icon="search" v-has="'workCenter:processCenter:monitorSearch'" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
||||||
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -52,10 +52,10 @@
|
|||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||||
<!-- 查看 -->
|
<!-- 查看 -->
|
||||||
<a @click="handleDetail(record)" class="table-ope-btn" v-has="'workCenter:processCenter:monitorDetail'">{{ $t('view') }}</a>
|
<a @click="handleDetail(record)" class="table-ope-btn">{{ $t('view') }}</a>
|
||||||
<a-divider type="vertical" />
|
<a-divider type="vertical" />
|
||||||
<!-- 强制撤回 -->
|
<!-- 强制撤回 -->
|
||||||
<a @click="handleWithdrawal(record)" class="table-ope-btn" v-has="'workCenter:processCenter:todoWithdrawal'">{{ $t('compulsoryWithdrawal') }}</a>
|
<a @click="handleWithdrawal(record)" class="table-ope-btn">{{ $t('compulsoryWithdrawal') }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</j-table>
|
</j-table>
|
||||||
@@ -67,6 +67,7 @@
|
|||||||
import JTable from '@/components/jero/JTable'
|
import JTable from '@/components/jero/JTable'
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||||
import { compulsoryWithdrawal } from '@/api/workCenter'
|
import { compulsoryWithdrawal } from '@/api/workCenter'
|
||||||
|
import { ProcessType, ProcessKey } from '@/enums/commonEnums'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'MonitorList',
|
name: 'MonitorList',
|
||||||
@@ -160,16 +161,103 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 查看
|
// 查看
|
||||||
handleDetail (record) {
|
handleDetail (record) {
|
||||||
// 跳转到对应流程页面
|
// 跳转到流程详情页
|
||||||
let path = ''
|
let processKey = ''
|
||||||
switch (record.processType) {
|
switch (record.prcType + '') {
|
||||||
case '':
|
// 1.标准法规入库/变更流程
|
||||||
path = ''
|
case ProcessType.FB_ENTRY_CHANGE.value:
|
||||||
|
processKey = ProcessKey.FB_ENTRY_CHANGE.value
|
||||||
|
break
|
||||||
|
// 2.征求意见流程
|
||||||
|
case ProcessType.CONSULTATION.value:
|
||||||
|
processKey = ProcessKey.CONSULTATION.value
|
||||||
|
break
|
||||||
|
// 3.项目合规评估流程
|
||||||
|
case ProcessType.PROJECT_COMPLIANCE_EVALUATION.value:
|
||||||
|
processKey = ProcessKey.PROJECT_COMPLIANCE_EVALUATION.value
|
||||||
|
break
|
||||||
|
// 4.未符合项跟踪流程
|
||||||
|
case ProcessType.NO_MATCH_TRACKING.value:
|
||||||
|
processKey = ProcessKey.NO_MATCH_TRACKING.value
|
||||||
|
break
|
||||||
|
// 5.法规合规评估流程
|
||||||
|
case ProcessType.REGULATORY_COMPLIANCE_ASSESSMENT.value:
|
||||||
|
processKey = ProcessKey.REGULATORY_COMPLIANCE_ASSESSMENT.value
|
||||||
|
break
|
||||||
|
// 6.法规采购流程
|
||||||
|
case ProcessType.LEGAL_PROCUREMENT.value:
|
||||||
|
processKey = ProcessKey.LEGAL_PROCUREMENT.value
|
||||||
|
break
|
||||||
|
// 7.企标立项/变更计划
|
||||||
|
case ProcessType.ES_INIT_CHANGE.value:
|
||||||
|
processKey = ProcessKey.ES_INIT_CHANGE.value
|
||||||
|
break
|
||||||
|
// 8.年度制修订-各部门主动上报
|
||||||
|
case ProcessType.ES_ANNUAL_REPORT.value:
|
||||||
|
processKey = ProcessKey.ES_ANNUAL_REPORT.value
|
||||||
|
break
|
||||||
|
// 9.年度制修订-标准化部门主动发起
|
||||||
|
case ProcessType.ES_ANNUAL_INIT.value:
|
||||||
|
processKey = ProcessKey.ES_ANNUAL_INIT.value
|
||||||
|
break
|
||||||
|
// 10.企标制修订流程
|
||||||
|
case ProcessType.ES_EDIT.value:
|
||||||
|
processKey = ProcessKey.ES_EDIT.value
|
||||||
|
break
|
||||||
|
// 11.企标更改流程
|
||||||
|
case ProcessType.ES_CHANGE.value:
|
||||||
|
processKey = ProcessKey.ES_CHANGE.value
|
||||||
|
break
|
||||||
|
// 12.企标复审流程
|
||||||
|
case ProcessType.ES_RECHECK.value:
|
||||||
|
processKey = ProcessKey.ES_RECHECK.value
|
||||||
|
break
|
||||||
|
// 13.企标废止流程
|
||||||
|
case ProcessType.ES_ABOLISH.value:
|
||||||
|
processKey = ProcessKey.ES_ABOLISH.value
|
||||||
|
break
|
||||||
|
// 14.企标封存流程
|
||||||
|
case ProcessType.ES_ARCHIVE.value:
|
||||||
|
processKey = ProcessKey.ES_ARCHIVE.value
|
||||||
|
break
|
||||||
|
// 15.已封存企标启用流程
|
||||||
|
case ProcessType.ES_ENABLE.value:
|
||||||
|
processKey = ProcessKey.ES_ENABLE.value
|
||||||
|
break
|
||||||
|
// 16.企标稽查计划
|
||||||
|
case ProcessType.ES_INSPECTION_PLAN.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_PLAN.value
|
||||||
|
break
|
||||||
|
// 17.企标稽查流程
|
||||||
|
case ProcessType.ES_INSPECTION_PROCESS.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_PROCESS.value
|
||||||
|
break
|
||||||
|
// 18.稽查延期申请流程
|
||||||
|
case ProcessType.INSPECTION_EXTENSION_REQUEST_PROCESS.value:
|
||||||
|
processKey = ProcessKey.INSPECTION_EXTENSION_REQUEST_PROCESS.value
|
||||||
|
break
|
||||||
|
// 19.企标稽查整改
|
||||||
|
case ProcessType.ES_INSPECTION_RECTIFICATION.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_RECTIFICATION.value
|
||||||
|
break
|
||||||
|
// 20.权限申请流程
|
||||||
|
case ProcessType.PERMISSION_APPLY.value:
|
||||||
|
processKey = ProcessKey.PERMISSION_APPLY.value
|
||||||
|
break
|
||||||
|
// 21.标准宣贯流程
|
||||||
|
case ProcessType.STANDARD_PROMOTION.value:
|
||||||
|
processKey = ProcessKey.STANDARD_PROMOTION.value
|
||||||
|
break
|
||||||
|
// 22.会后管理流程
|
||||||
|
case ProcessType.POST_MEETING_MANAGE.value:
|
||||||
|
processKey = ProcessKey.POST_MEETING_MANAGE.value
|
||||||
|
break
|
||||||
}
|
}
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: path,
|
path: '/workCenter/processCenter/detail/processDetail',
|
||||||
query: {
|
query: {
|
||||||
processId: record.id
|
processKey: processKey,
|
||||||
|
processInstanceId: record.processInstanceId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
{{ toggleSearchStatus ? $t('putAway') : $t('open') }}
|
{{ toggleSearchStatus ? $t('putAway') : $t('open') }}
|
||||||
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
</a>
|
</a>
|
||||||
<a-button type="primary" @click="searchQuery" icon="search" v-has="'workCenter:processCenter:sentSearch'" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
||||||
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -68,10 +68,10 @@
|
|||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||||
<!-- 查看 -->
|
<!-- 查看 -->
|
||||||
<a @click="handleDetail(record)" class="table-ope-btn" v-has="'workCenter:processCenter:sentDetail'">{{ $t('view') }}</a>
|
<a @click="handleDetail(record)" class="table-ope-btn">{{ $t('view') }}</a>
|
||||||
<a-divider type="vertical" />
|
<a-divider type="vertical" />
|
||||||
<!-- 强制撤回 -->
|
<!-- 强制撤回 -->
|
||||||
<a @click="handleWithdrawal(record)" class="table-ope-btn" v-has="'workCenter:processCenter:sentWithdrawal'">{{ $t('compulsoryWithdrawal') }}</a>
|
<a @click="handleWithdrawal(record)" class="table-ope-btn">{{ $t('compulsoryWithdrawal') }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</j-table>
|
</j-table>
|
||||||
@@ -83,6 +83,7 @@
|
|||||||
import JTable from '@/components/jero/JTable'
|
import JTable from '@/components/jero/JTable'
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||||
import { compulsoryWithdrawal } from '@/api/workCenter'
|
import { compulsoryWithdrawal } from '@/api/workCenter'
|
||||||
|
import { ProcessType, ProcessKey } from '@/enums/commonEnums'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SentList',
|
name: 'SentList',
|
||||||
@@ -169,17 +170,103 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 查看
|
// 查看
|
||||||
handleDetail (record) {
|
handleDetail (record) {
|
||||||
// 跳转到对应流程页面
|
// 跳转到流程详情页
|
||||||
let path = ''
|
let processKey = ''
|
||||||
switch (record.processType) {
|
switch (record.prcType + '') {
|
||||||
case '':
|
// 1.标准法规入库/变更流程
|
||||||
path = ''
|
case ProcessType.FB_ENTRY_CHANGE.value:
|
||||||
|
processKey = ProcessKey.FB_ENTRY_CHANGE.value
|
||||||
|
break
|
||||||
|
// 2.征求意见流程
|
||||||
|
case ProcessType.CONSULTATION.value:
|
||||||
|
processKey = ProcessKey.CONSULTATION.value
|
||||||
|
break
|
||||||
|
// 3.项目合规评估流程
|
||||||
|
case ProcessType.PROJECT_COMPLIANCE_EVALUATION.value:
|
||||||
|
processKey = ProcessKey.PROJECT_COMPLIANCE_EVALUATION.value
|
||||||
|
break
|
||||||
|
// 4.未符合项跟踪流程
|
||||||
|
case ProcessType.NO_MATCH_TRACKING.value:
|
||||||
|
processKey = ProcessKey.NO_MATCH_TRACKING.value
|
||||||
|
break
|
||||||
|
// 5.法规合规评估流程
|
||||||
|
case ProcessType.REGULATORY_COMPLIANCE_ASSESSMENT.value:
|
||||||
|
processKey = ProcessKey.REGULATORY_COMPLIANCE_ASSESSMENT.value
|
||||||
|
break
|
||||||
|
// 6.法规采购流程
|
||||||
|
case ProcessType.LEGAL_PROCUREMENT.value:
|
||||||
|
processKey = ProcessKey.LEGAL_PROCUREMENT.value
|
||||||
|
break
|
||||||
|
// 7.企标立项/变更计划
|
||||||
|
case ProcessType.ES_INIT_CHANGE.value:
|
||||||
|
processKey = ProcessKey.ES_INIT_CHANGE.value
|
||||||
|
break
|
||||||
|
// 8.年度制修订-各部门主动上报
|
||||||
|
case ProcessType.ES_ANNUAL_REPORT.value:
|
||||||
|
processKey = ProcessKey.ES_ANNUAL_REPORT.value
|
||||||
|
break
|
||||||
|
// 9.年度制修订-标准化部门主动发起
|
||||||
|
case ProcessType.ES_ANNUAL_INIT.value:
|
||||||
|
processKey = ProcessKey.ES_ANNUAL_INIT.value
|
||||||
|
break
|
||||||
|
// 10.企标制修订流程
|
||||||
|
case ProcessType.ES_EDIT.value:
|
||||||
|
processKey = ProcessKey.ES_EDIT.value
|
||||||
|
break
|
||||||
|
// 11.企标更改流程
|
||||||
|
case ProcessType.ES_CHANGE.value:
|
||||||
|
processKey = ProcessKey.ES_CHANGE.value
|
||||||
|
break
|
||||||
|
// 12.企标复审流程
|
||||||
|
case ProcessType.ES_RECHECK.value:
|
||||||
|
processKey = ProcessKey.ES_RECHECK.value
|
||||||
|
break
|
||||||
|
// 13.企标废止流程
|
||||||
|
case ProcessType.ES_ABOLISH.value:
|
||||||
|
processKey = ProcessKey.ES_ABOLISH.value
|
||||||
|
break
|
||||||
|
// 14.企标封存流程
|
||||||
|
case ProcessType.ES_ARCHIVE.value:
|
||||||
|
processKey = ProcessKey.ES_ARCHIVE.value
|
||||||
|
break
|
||||||
|
// 15.已封存企标启用流程
|
||||||
|
case ProcessType.ES_ENABLE.value:
|
||||||
|
processKey = ProcessKey.ES_ENABLE.value
|
||||||
|
break
|
||||||
|
// 16.企标稽查计划
|
||||||
|
case ProcessType.ES_INSPECTION_PLAN.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_PLAN.value
|
||||||
|
break
|
||||||
|
// 17.企标稽查流程
|
||||||
|
case ProcessType.ES_INSPECTION_PROCESS.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_PROCESS.value
|
||||||
|
break
|
||||||
|
// 18.稽查延期申请流程
|
||||||
|
case ProcessType.INSPECTION_EXTENSION_REQUEST_PROCESS.value:
|
||||||
|
processKey = ProcessKey.INSPECTION_EXTENSION_REQUEST_PROCESS.value
|
||||||
|
break
|
||||||
|
// 19.企标稽查整改
|
||||||
|
case ProcessType.ES_INSPECTION_RECTIFICATION.value:
|
||||||
|
processKey = ProcessKey.ES_INSPECTION_RECTIFICATION.value
|
||||||
|
break
|
||||||
|
// 20.权限申请流程
|
||||||
|
case ProcessType.PERMISSION_APPLY.value:
|
||||||
|
processKey = ProcessKey.PERMISSION_APPLY.value
|
||||||
|
break
|
||||||
|
// 21.标准宣贯流程
|
||||||
|
case ProcessType.STANDARD_PROMOTION.value:
|
||||||
|
processKey = ProcessKey.STANDARD_PROMOTION.value
|
||||||
|
break
|
||||||
|
// 22.会后管理流程
|
||||||
|
case ProcessType.POST_MEETING_MANAGE.value:
|
||||||
|
processKey = ProcessKey.POST_MEETING_MANAGE.value
|
||||||
|
break
|
||||||
}
|
}
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: path,
|
path: '/workCenter/processCenter/detail/processDetail',
|
||||||
query: {
|
query: {
|
||||||
processId: record.id,
|
processKey: processKey,
|
||||||
onlyLook: true
|
processInstanceId: record.processInstanceId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-button type="primary" @click="searchQuery" icon="search" v-has="'workCenter:processCenter:todoSearch'" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px">{{ $t('query') }}</a-button>
|
||||||
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -52,10 +52,10 @@
|
|||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||||
<!-- 办理 -->
|
<!-- 办理 -->
|
||||||
<a @click="handleTransact(record)" class="table-ope-btn" v-has="'workCenter:processCenter:todoTransact'">{{ $t('transact') }}</a>
|
<a @click="handleTransact(record)" class="table-ope-btn">{{ $t('transact') }}</a>
|
||||||
<a-divider type="vertical" />
|
<a-divider type="vertical" />
|
||||||
<!-- 转办 -->
|
<!-- 转办 -->
|
||||||
<a @click="handleTurnTo(record)" class="table-ope-btn" v-has="'workCenter:processCenter:todoTurnTo'">{{ $t('turnTo') }}</a>
|
<a @click="handleTurnTo(record)" class="table-ope-btn">{{ $t('turnTo') }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</j-table>
|
</j-table>
|
||||||
|
|||||||
Reference in New Issue
Block a user