[update] 修改bug81801
This commit is contained in:
+2
-2
@@ -71,13 +71,13 @@
|
||||
<!-- 节点3、工作组、所联络人填写企标-->
|
||||
<contact-enter-standard-form v-else-if="currentNode === 3" ref="baseInfoFormRef"></contact-enter-standard-form>
|
||||
<!-- 节点4、收集联络人主管级领导审批 只有表格,不能操作 -->
|
||||
<only-table-form v-else-if="currentNode === 4" disabled ref="baseInfoFormRef"></only-table-form>
|
||||
<only-table-form v-else-if="currentNode === 4" disabled noOperColumn ref="baseInfoFormRef"></only-table-form>
|
||||
<!-- 节点5、各部所联络人汇总 只有表格,可操作 -->
|
||||
<only-table-form v-else-if="currentNode === 5" ref="baseInfoFormRef" :currentNode="5"></only-table-form>
|
||||
<!-- 节点6、联络人主管级上一级领导审批 表格不可操作,可以查看详情 -->
|
||||
<only-table-form v-else-if="currentNode === 6" :onlyCanLook="true" ref="baseInfoFormRef"></only-table-form>
|
||||
<!-- 节点7、标准化工程师归档 表格不可新增,可以编辑和查看详情 -->
|
||||
<only-table-form v-else-if="currentNode === 7" disabled ref="baseInfoFormRef"></only-table-form>
|
||||
<only-table-form v-else-if="currentNode === 7" disabled :editAndLook="true" ref="baseInfoFormRef"></only-table-form>
|
||||
|
||||
<!-- 流程审批信息 -->
|
||||
<div class="process-part-title">{{ $t('processApprovalInformation') }}</div>
|
||||
|
||||
@@ -55,16 +55,16 @@
|
||||
<template v-if="onlyCanLook">
|
||||
<a @click="handleLook(record, index)" class="table-ope-btn">{{ $t('lookDetail') }}</a>
|
||||
</template>
|
||||
<template v-else-if="editAndLook">
|
||||
<a @click="handleEdit(record)" class="table-ope-btn">{{ $t('edit') }}</a>
|
||||
<a-divider type="vertical" />
|
||||
<a @click="handleLook(record, index)" class="table-ope-btn">{{ $t('view') }}</a>
|
||||
</template>
|
||||
<template v-else-if="!disabled">
|
||||
<a @click="handleEdit(record)" class="table-ope-btn">{{ $t('edit') }}</a>
|
||||
<a-divider type="vertical" />
|
||||
<a @click="handleDelete(record.uid)" class="table-ope-btn">{{ $t('delete') }}</a>
|
||||
</template>
|
||||
<template v-else-if="editAndLook">
|
||||
<a @click="handleEdit(record)" class="table-ope-btn">{{ $t('edit') }}</a>
|
||||
<a-divider type="vertical" />
|
||||
<a @click="handleLook(record, index)" class="table-ope-btn">{{ $t('lookDetail') }}</a>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
</j-table>
|
||||
@@ -110,6 +110,12 @@ export default {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: 0
|
||||
},
|
||||
// 是否没有操作列
|
||||
noOperColumn: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -126,7 +132,7 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
if (this.disabled) {
|
||||
if (this.noOperColumn) {
|
||||
this.columns.pop()
|
||||
}
|
||||
// 当前节点是各部所联络人汇总节点,需要增加创建人列
|
||||
@@ -473,6 +479,7 @@ export default {
|
||||
// 查看
|
||||
handleLook (record) {
|
||||
this.$refs.contactEnterSendTaskModal.look(record)
|
||||
this.$refs.contactEnterSendTaskModal.title = this.$t('view')
|
||||
},
|
||||
// 删除
|
||||
handleDelete (uid) {
|
||||
|
||||
Reference in New Issue
Block a user