[update 标准解读流程] 完善
This commit is contained in:
+6
-9
@@ -12,7 +12,7 @@
|
||||
:disabled="disabledImport"
|
||||
name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importUrl"
|
||||
@change="handleImport">
|
||||
<a-button type="primary" icon="download" ghost>{{ $t('import') }}</a-button>
|
||||
<a-button type="primary" icon="download" :disabled="disabledImport" ghost>{{ $t('import') }}</a-button>
|
||||
</a-upload>
|
||||
<!-- 批量编辑(解读人填写) -->
|
||||
<a-button type="primary" ghost @click="handleBatchEdit" v-if="showBatchEditBtn">
|
||||
@@ -174,10 +174,10 @@ export default {
|
||||
},
|
||||
// 解读人回显列(解读人填写信息之后的节点显示)
|
||||
interpretingPeopleDictColumn: {
|
||||
title: this.$t('workCenter.standardInterpretationProcess.departInterpretingPeople'),
|
||||
title: this.$t('workCenter.standardInterpretationProcess.interpreter'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'interpretPersonIds_dictText',
|
||||
dataIndex: 'interpretPersonId_dictText',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
// 解读的其他字段(拆分表的字段)
|
||||
@@ -445,8 +445,7 @@ export default {
|
||||
]
|
||||
// 显示解读其他信息的节点(填写完解读信息及后的节点都显示)
|
||||
const showExtendNodeId = [
|
||||
StandardInterpretationNodes.interpreterFillInfoOne.value, // 解读人填写信息
|
||||
StandardInterpretationNodes.interpreterFillInfoTwo.value, // 解读人填写信息
|
||||
StandardInterpretationNodes.interpreterFillInfo.value, // 解读人填写信息
|
||||
...showInterpreterNodes // 填写解读信息之后的节点
|
||||
]
|
||||
// 是否回显解读人
|
||||
@@ -494,8 +493,7 @@ export default {
|
||||
// 显示批量编辑按钮
|
||||
showBatchEditBtn () {
|
||||
return [
|
||||
StandardInterpretationNodes.interpreterFillInfoOne.value, // 解读人填写信息
|
||||
StandardInterpretationNodes.interpreterFillInfoTwo.value // 解读人填写信息
|
||||
StandardInterpretationNodes.interpreterFillInfo.value // 解读人填写信息
|
||||
].includes(this.currentNodeId)
|
||||
},
|
||||
// 是否显示编辑按钮
|
||||
@@ -505,8 +503,7 @@ export default {
|
||||
return true
|
||||
}
|
||||
return [
|
||||
StandardInterpretationNodes.interpreterFillInfoOne.value, // 解读人填写信息
|
||||
StandardInterpretationNodes.interpreterFillInfoTwo.value, // 解读人填写信息
|
||||
StandardInterpretationNodes.interpreterFillInfo.value, // 解读人填写信息
|
||||
StandardInterpretationNodes.standardInterpreterSummary.value // 标准主解读人汇总
|
||||
].includes(this.currentNodeId)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user