[add] 工作中心-新建流程

This commit is contained in:
lideqin
2023-10-07 11:18:11 +08:00
parent 3bfc68c2ff
commit 9bb7eb05bc
3 changed files with 205 additions and 3 deletions
@@ -68,6 +68,14 @@
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<!-- 解决columns中dataIndex是title的时候控制台报错的问题 -->
<template v-slot:titleSlot="{record}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ record.title || record.title === 0 ? record.title : global.emptyLine }}</template>
<div class="table-text">{{ record.title || record.title === 0 ? record.title : global.emptyLine }}</div>
</a-tooltip>
</template>
<!-- 附件 -->
<template v-slot:attach="{text, record}">
<a-tooltip overlay-class-name="tooltip-style">
@@ -164,8 +172,7 @@ export default {
title: this.$t('title'),
align: 'center',
width: 180,
dataIndex: 'title',
scopedSlots: { customRender: 'text' }
scopedSlots: { customRender: 'titleSlot' }
},
{ // 项目
title: this.$t('project'),