[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、各部所联络人汇总 只有表格,可操作 --> <!-- 节点5、各部所联络人汇总 只有表格,可操作 -->
<only-table-form v-else-if="currentNode === 5" ref="baseInfoFormRef" :currentNode="5"></only-table-form> <only-table-form v-else-if="currentNode === 5" ref="baseInfoFormRef" :currentNode="5"></only-table-form>
<!-- 节点6、联络人主管级上一级领导审批 表格不可操作,可以查看详情 --> <!-- 节点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、标准化工程师归档 表格不可新增,可以编辑和查看详情 --> <!-- 节点7、标准化工程师归档 表格不可新增,可以编辑和查看详情 -->
<only-table-form v-else-if="currentNode === 7" disabled ref="baseInfoFormRef"></only-table-form> <only-table-form v-else-if="currentNode === 7" disabled ref="baseInfoFormRef"></only-table-form>
@@ -934,6 +934,9 @@ export default {
} else { } else {
formInline.enStandardSystem = '' formInline.enStandardSystem = ''
} }
// 设置创建人
const currentUser = Vue.ls.get(USER_INFO)
formInline.contactUser_dictText = currentUser.realname + '(' + currentUser.username + ')'
// 主起草单位的回显需要在登录信息中有当前登录人部门的翻译 ?? // 主起草单位的回显需要在登录信息中有当前登录人部门的翻译 ??
console.log(formInline) console.log(formInline)
this.$emit('ok', formInline) this.$emit('ok', formInline)
@@ -1,7 +1,7 @@
<template> <template>
<div> <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"> <a-button icon="plus" type="primary" @click="handleAdd" :disabled="disabled">
{{ $t('newlyAdded') }} {{ $t('newlyAdded') }}
@@ -53,21 +53,21 @@
<!-- 创建人 --> <!-- 创建人 -->
<template v-slot:createUser="{text, record}"> <template v-slot:createUser="{text, record}">
<a-tooltip overlay-class-name="tooltip-style"> <a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ record.workUser_dictText || record.contactUser_dictText || global.emptyLine }}</template> <template slot="title">{{ record.workGroupUser_dictText || record.contactUser_dictText || global.emptyLine }}</template>
<div class="table-text">{{ record.workUser_dictText || record.contactUser_dictText || global.emptyLine }}</div> <div class="table-text">{{ record.workGroupUser_dictText || record.contactUser_dictText || global.emptyLine }}</div>
</a-tooltip> </a-tooltip>
</template> </template>
<!-- 操作栏 --> <!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell"> <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 @click="handleEdit(record, index)" class="table-ope-btn">{{ $t('edit') }}</a>
<a-divider type="vertical" /> <a-divider type="vertical" />
<a @click="handleDelete(record.id, index)" class="table-ope-btn">{{ $t('delete') }}</a> <a @click="handleDelete(record.id, index)" class="table-ope-btn">{{ $t('delete') }}</a>
</template> </template>
<template v-else-if="onlyCanLook">
<a @click="handleLook(record, index)" class="table-ope-btn">{{ $t('lookDetail') }}</a>
</template>
<template v-else-if="editAndLook"> <template v-else-if="editAndLook">
<a @click="handleEdit(record, index)" class="table-ope-btn">{{ $t('edit') }}</a> <a @click="handleEdit(record, index)" class="table-ope-btn">{{ $t('edit') }}</a>
<a-divider type="vertical" /> <a-divider type="vertical" />