[fix 87387] 禁用完善
This commit is contained in:
+12
-4
@@ -58,7 +58,8 @@
|
|||||||
v-decorator="['prcMes']" />
|
v-decorator="['prcMes']" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</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
|
<a-form-item
|
||||||
:labelCol="$i18n.locale === EN ? longLabelColEn : longLabelCol"
|
:labelCol="$i18n.locale === EN ? longLabelColEn : longLabelCol"
|
||||||
@@ -94,11 +95,12 @@
|
|||||||
<a-textarea :placeholder="$t('pleaseEnter') + $t('remarks')"
|
<a-textarea :placeholder="$t('pleaseEnter') + $t('remarks')"
|
||||||
:maxLength="500"
|
:maxLength="500"
|
||||||
:rows="4"
|
:rows="4"
|
||||||
|
:disabled="disabled"
|
||||||
v-decorator="['commitText', validatorRules.commitText]" />
|
v-decorator="['commitText', validatorRules.commitText]" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<!--附件-->
|
<!--附件-->
|
||||||
<a-form-item :labelCol="longLabelCol" :wrapperCol="longWrapperCol" :label="$t('attach')" :colon="formItemColon">
|
<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-item>
|
||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -109,7 +111,7 @@
|
|||||||
</process-detail-list>
|
</process-detail-list>
|
||||||
</div>
|
</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>
|
<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 () {
|
isInitiate () {
|
||||||
return this.currentNodeId === StandardInterpretationNodes.initiated.value
|
return this.currentNodeId === StandardInterpretationNodes.initiated.value
|
||||||
},
|
},
|
||||||
|
// 是否分发节点
|
||||||
|
isDistributeNode () {
|
||||||
|
return this.mainInterpreterDistributeNodes.includes(this.currentNodeId)
|
||||||
|
},
|
||||||
// 页面标题
|
// 页面标题
|
||||||
pageTitle () {
|
pageTitle () {
|
||||||
return this.$t('flowCenter') + this.$route.meta.title + '(' + this.currentNodeName + ')'
|
return this.$t('flowCenter') + this.$route.meta.title + '(' + this.currentNodeName + ')'
|
||||||
@@ -475,7 +481,9 @@ export default {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 所有删除的id
|
// 所有删除的id
|
||||||
params.processAllDelIds = compData.processAllDelIds.filter(id => id)
|
if (Array.isArray(compData.processAllDelIds)) {
|
||||||
|
params.processAllDelIds = compData.processAllDelIds.filter(id => id)
|
||||||
|
}
|
||||||
// 保存草稿信息
|
// 保存草稿信息
|
||||||
params.infoJsonStr = JSON.stringify({
|
params.infoJsonStr = JSON.stringify({
|
||||||
// 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
|
// 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<template v-slot:decompositionSource="{text, record}">
|
<template v-slot:decompositionSource="{text, record}">
|
||||||
<a-select v-model="record.decompositionSource"
|
<a-select v-model="record.decompositionSource"
|
||||||
@change="handleChangeDecompositionSource"
|
@change="handleChangeDecompositionSource"
|
||||||
|
:disabled="disabled"
|
||||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardInterpretationProcess.decompositionOrderSource')"
|
:placeholder="$t('pleaseSelect') + $t('workCenter.standardInterpretationProcess.decompositionOrderSource')"
|
||||||
style="width: 100%;">
|
style="width: 100%;">
|
||||||
<a-select-option v-for="item in decompositionSourceList"
|
<a-select-option v-for="item in decompositionSourceList"
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
<div class="mb-20">
|
<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>
|
</div>
|
||||||
<!-- 确认下一步展示 -->
|
<!-- 确认下一步展示 -->
|
||||||
<template v-if="isNextStep">
|
<template v-if="isNextStep">
|
||||||
|
|||||||
Reference in New Issue
Block a user