[update] 修改企标制修订流程

This commit is contained in:
lideqin
2023-12-22 16:23:06 +08:00
parent 74f54c59cd
commit 370b6abef6
15 changed files with 360 additions and 352 deletions
@@ -11,11 +11,18 @@
:dataSource="dataSource"
:pagination="false"
:loading="loading">
<!-- 起草人 -->
<template slot="user" slot-scope="{record, text}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ record.operateType === '2' ? '我' : (text || global.emptyLine) }}</template>
<div class="table-text">{{ record.operateType === '2' ? '我' : (text || global.emptyLine) }}</div>
</a-tooltip>
</template>
<!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell">
<!-- 上传企标 只能上传分配给自己的上传企标,到期未上传跳过该起草人,操作列表显示- -->
<a v-if="record.drafter === userInfo.id && record.expirationDate < currentDate"
<a v-if="record.operateType !== '1'"
@click="handleUploadStandard(record, index)"
class="table-ope-btn"
:disabled="disabled"
@@ -56,28 +63,28 @@ export default {
title: this.$t('workCenter.enStandardRevision.draftingUnit'),
align: 'center',
width: 180,
dataIndex: 'draftingUnit_dictText',
dataIndex: 'dept_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 起草人
title: this.$t('workCenter.enStandardRevision.drafter'),
align: 'center',
width: 180,
dataIndex: 'drafter_dictText',
scopedSlots: { customRender: 'text' }
dataIndex: 'user_dictText',
scopedSlots: { customRender: 'user' }
},
{ // 起草范围
title: this.$t('workCenter.enStandardRevision.draftingScope'),
align: 'center',
width: 180,
dataIndex: 'draftingScope',
dataIndex: 'scope',
scopedSlots: { customRender: 'text' }
},
{ // 截止日期
title: this.$t('expirationDate'),
align: 'center',
width: 180,
dataIndex: 'expirationDate',
dataIndex: 'deadline',
scopedSlots: { customRender: 'text' }
},
{ // 操作