[fix 87446] 解读人填写没有删除
This commit is contained in:
+11
-2
@@ -57,8 +57,8 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-slot:action="{text, record}">
|
<template v-slot:action="{text, record}">
|
||||||
<a v-if="showEditBtn" @click="handleEdit(record)" class="table-ope-btn">{{ $t('edit') }}</a>
|
<a v-if="showEditBtn" @click="handleEdit(record)" class="table-ope-btn">{{ $t('edit') }}</a>
|
||||||
<a-divider v-if="showEditBtn" type="vertical" />
|
<a-divider v-if="showEditBtn && showDeleteBtn" type="vertical" />
|
||||||
<a @click="handleDelete(record[rowKey])" class="table-ope-btn">{{ $t('delete') }}</a>
|
<a v-if="showDeleteBtn" @click="handleDelete(record[rowKey])" class="table-ope-btn">{{ $t('delete') }}</a>
|
||||||
</template>
|
</template>
|
||||||
</j-table>
|
</j-table>
|
||||||
<!--条文内容-->
|
<!--条文内容-->
|
||||||
@@ -518,6 +518,15 @@ export default {
|
|||||||
StandardInterpretationNodes.standardInterpreterSummary.value // 标准主解读人汇总
|
StandardInterpretationNodes.standardInterpreterSummary.value // 标准主解读人汇总
|
||||||
].includes(this.currentNodeId)
|
].includes(this.currentNodeId)
|
||||||
},
|
},
|
||||||
|
// 是否显示删除按钮
|
||||||
|
showDeleteBtn () {
|
||||||
|
return [
|
||||||
|
StandardInterpretationNodes.initiated.value, // 法规工程师发起
|
||||||
|
StandardInterpretationNodes.controlDepartLiaisonDistribution.value, // 主控部门联络人分发
|
||||||
|
StandardInterpretationNodes.standardInterpreterDistribution.value, // 标准主解读人分发
|
||||||
|
StandardInterpretationNodes.standardInterpreterReDistribution.value // 标准主解读人分发
|
||||||
|
].includes(this.currentNodeId)
|
||||||
|
},
|
||||||
// token header
|
// token header
|
||||||
tokenHeader () {
|
tokenHeader () {
|
||||||
const head = { 'X-Access-Token': Vue.ls.get(ACCESS_TOKEN) }
|
const head = { 'X-Access-Token': Vue.ls.get(ACCESS_TOKEN) }
|
||||||
|
|||||||
Reference in New Issue
Block a user