[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 { JeroListMixin } from '@/mixins/JeroListMixin'
import UserSelectModal from '@/components/selection/UserSelectModal' import UserSelectModal from '@/components/selection/UserSelectModal'
import { import {
marketListReleaseTurnTo, processTransfer
newRegulationImportTurnTo, processTransfer
} from '../../../../api/workCenter' } from '../../../../api/workCenter'
import { import {
ProcessType, ProcessType,
MarketListReleaseNodes, MarketListReleaseNodes,
NewRegulationsImportNodes, StandardInterpretationNodes, YesOrNoEnum NewRegulationsImportNodes, StandardInterpretationNodes, YesOrNoEnum,
RegulatoryComplianceCheckNodes
} from '@/enums/commonEnums' } from '@/enums/commonEnums'
import { getAction } from '../../../../api/manage' import { getAction } from '../../../../api/manage'
import { RegulatoryComplianceCheckNodes } from '../../../../enums/commonEnums'
export default { export default {
name: 'TodoList', 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="!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> <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)"> <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> <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: { computed: {
pageTitle () { pageTitle () {
return this.$t('flowCenter') + this.$route.meta.title + '' + this.currentNodeName + '' return this.$t('flowCenter') + this.$route.meta.title + '' + this.currentNodeName + ''
},
isShowTurnToBtn () {
return !this.model.businessInfoDTO.standardInfo.lockDistributeFlag
} }
}, },
mounted () { mounted () {