[fix 87387] 禁用完善
This commit is contained in:
+12
-4
@@ -58,7 +58,8 @@
|
||||
v-decorator="['prcMes']" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col v-if="!isInitiate && info.data && info.data.processStandardInterpret" :span="24">
|
||||
<!-- 发起节点和分发节点不显示 -->
|
||||
<a-col v-if="!isInitiate && !isDistributeNode && info.data && info.data.processStandardInterpret" :span="24">
|
||||
<!-- 标准编号/标准名称 -->
|
||||
<a-form-item
|
||||
:labelCol="$i18n.locale === EN ? longLabelColEn : longLabelCol"
|
||||
@@ -94,11 +95,12 @@
|
||||
<a-textarea :placeholder="$t('pleaseEnter') + $t('remarks')"
|
||||
:maxLength="500"
|
||||
:rows="4"
|
||||
:disabled="disabled"
|
||||
v-decorator="['commitText', validatorRules.commitText]" />
|
||||
</a-form-item>
|
||||
<!--附件-->
|
||||
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('attach')" :colon="formItemColon">
|
||||
<j-upload v-decorator="['commitFile']" return-id multiple />
|
||||
<j-upload v-decorator="['commitFile']" :disabled="disabled" return-id multiple />
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
</div>
|
||||
@@ -109,7 +111,7 @@
|
||||
</process-detail-list>
|
||||
</div>
|
||||
<!-- 操作按钮 -->
|
||||
<div class="detail-page-bottom-operate-box">
|
||||
<div class="detail-page-bottom-operate-box" v-if="!disabled">
|
||||
<!-- 加签 -->
|
||||
<a-button v-if="btn.includes('countersign')" type="primary" ghost :loading="loading" @click="handleCountersign" icon="plus">{{ $t('countersign') }}</a-button>
|
||||
<!-- 转办 -->
|
||||
@@ -241,6 +243,10 @@ export default {
|
||||
isInitiate () {
|
||||
return this.currentNodeId === StandardInterpretationNodes.initiated.value
|
||||
},
|
||||
// 是否分发节点
|
||||
isDistributeNode () {
|
||||
return this.mainInterpreterDistributeNodes.includes(this.currentNodeId)
|
||||
},
|
||||
// 页面标题
|
||||
pageTitle () {
|
||||
return this.$t('flowCenter') + this.$route.meta.title + '(' + this.currentNodeName + ')'
|
||||
@@ -475,7 +481,9 @@ export default {
|
||||
})
|
||||
|
||||
// 所有删除的id
|
||||
params.processAllDelIds = compData.processAllDelIds.filter(id => id)
|
||||
if (Array.isArray(compData.processAllDelIds)) {
|
||||
params.processAllDelIds = compData.processAllDelIds.filter(id => id)
|
||||
}
|
||||
// 保存草稿信息
|
||||
params.infoJsonStr = JSON.stringify({
|
||||
// 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
<template v-slot:decompositionSource="{text, record}">
|
||||
<a-select v-model="record.decompositionSource"
|
||||
@change="handleChangeDecompositionSource"
|
||||
:disabled="disabled"
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardInterpretationProcess.decompositionOrderSource')"
|
||||
style="width: 100%;">
|
||||
<a-select-option v-for="item in decompositionSourceList"
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
</a-form>
|
||||
<div class="mb-20">
|
||||
<!-- 下一步-->
|
||||
<a-button icon="arrow-down" type="primary" ghost @click="handleNextStep" :disabled="isNextStep">{{ $t('next') }}</a-button>
|
||||
<a-button icon="arrow-down" type="primary" ghost @click="handleNextStep" :disabled="disabled || isNextStep">{{ $t('next') }}</a-button>
|
||||
</div>
|
||||
<!-- 确认下一步展示 -->
|
||||
<template v-if="isNextStep">
|
||||
|
||||
Reference in New Issue
Block a user