[update] 修改bug89348

This commit is contained in:
lideqin
2024-08-23 16:46:34 +08:00
parent 35fbbb9c2c
commit 7c44940490
2 changed files with 8 additions and 6 deletions
@@ -71,16 +71,15 @@ import JTable from '@/components/jero/JTable'
import { JeroListMixin } from '@/mixins/JeroListMixin'
import UserSelectModal from '@/components/selection/UserSelectModal'
import {
marketListReleaseTurnTo,
newRegulationImportTurnTo, processTransfer
processTransfer
} from '../../../../api/workCenter'
import {
ProcessType,
MarketListReleaseNodes,
NewRegulationsImportNodes, StandardInterpretationNodes, YesOrNoEnum
NewRegulationsImportNodes, StandardInterpretationNodes, YesOrNoEnum,
RegulatoryComplianceCheckNodes
} from '@/enums/commonEnums'
import { getAction } from '../../../../api/manage'
import { RegulatoryComplianceCheckNodes } from '../../../../enums/commonEnums'
export default {
name: 'TodoList',
@@ -150,7 +150,7 @@
<!-- 驳回 -->
<a-button v-if="!rejectDisabled" type="danger" ghost :loading="loading" @click="handleReject" icon="close">{{ $t('reject') }}</a-button>
<!-- 转办 只有第一次分发之前可以转办 -->
<a-button v-if="!model.businessInfoDTO.standardInfo.lockDistributeFlag" type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<a-button v-if="isShowTurnToBtn" type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<!-- 保存 -->
<a-button type="primary" ghost :loading="loading" @click="handleSave"><i class="iconfont icon-save"></i> {{ $t('preservation') }}</a-button>
<!-- 提交 -->
@@ -170,7 +170,7 @@
<!-- 主排查人二次分发 -->
<template v-else-if="[10].includes(currentNode)">
<!-- 转办 只有第一次分发之前可以转办 -->
<a-button v-if="!model.businessInfoDTO.standardInfo.lockDistributeFlag" type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<a-button v-if="isShowTurnToBtn" type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<!-- 保存 -->
<a-button type="primary" ghost :loading="loading" @click="handleSave"><i class="iconfont icon-save"></i> {{ $t('preservation') }}</a-button>
<!-- 提交 -->
@@ -249,6 +249,9 @@ export default {
computed: {
pageTitle () {
return this.$t('flowCenter') + this.$route.meta.title + '' + this.currentNodeName + ''
},
isShowTurnToBtn () {
return !this.model.businessInfoDTO.standardInfo.lockDistributeFlag
}
},
mounted () {