[update] 修改年度制修订各部门主动上报流程

This commit is contained in:
lideqin
2023-12-14 13:58:13 +08:00
parent 76138984ba
commit d6f624b352
3 changed files with 11 additions and 8 deletions
@@ -75,7 +75,7 @@
<!-- 节点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 ref="baseInfoFormRef"></only-table-form>
<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>
@@ -934,6 +934,9 @@ export default {
} else {
formInline.enStandardSystem = ''
}
// 设置创建人
const currentUser = Vue.ls.get(USER_INFO)
formInline.contactUser_dictText = currentUser.realname + '(' + currentUser.username + ')'
// 主起草单位的回显需要在登录信息中有当前登录人部门的翻译 ??
console.log(formInline)
this.$emit('ok', formInline)
@@ -1,7 +1,7 @@
<template>
<div>
<!-- 操作区域 -->
<div v-if="!disabled" class="table-operator">
<div v-if="!disabled && !onlyCanLook" class="table-operator">
<!-- 新增 -->
<a-button icon="plus" type="primary" @click="handleAdd" :disabled="disabled">
{{ $t('newlyAdded') }}
@@ -53,21 +53,21 @@
<!-- 创建人 -->
<template v-slot:createUser="{text, record}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ record.workUser_dictText || record.contactUser_dictText || global.emptyLine }}</template>
<div class="table-text">{{ record.workUser_dictText || record.contactUser_dictText || global.emptyLine }}</div>
<template slot="title">{{ record.workGroupUser_dictText || record.contactUser_dictText || global.emptyLine }}</template>
<div class="table-text">{{ record.workGroupUser_dictText || record.contactUser_dictText || global.emptyLine }}</div>
</a-tooltip>
</template>
<!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell">
<template v-if="!disabled">
<template v-if="onlyCanLook">
<a @click="handleLook(record, index)" class="table-ope-btn">{{ $t('lookDetail') }}</a>
</template>
<template v-else-if="!disabled">
<a @click="handleEdit(record, index)" class="table-ope-btn">{{ $t('edit') }}</a>
<a-divider type="vertical" />
<a @click="handleDelete(record.id, index)" class="table-ope-btn">{{ $t('delete') }}</a>
</template>
<template v-else-if="onlyCanLook">
<a @click="handleLook(record, index)" class="table-ope-btn">{{ $t('lookDetail') }}</a>
</template>
<template v-else-if="editAndLook">
<a @click="handleEdit(record, index)" class="table-ope-btn">{{ $t('edit') }}</a>
<a-divider type="vertical" />