新增待办信息

This commit is contained in:
2025-12-16 22:22:58 +08:00
parent e5b6f7a2a6
commit 5884a3125c
23 changed files with 374 additions and 171 deletions

View File

@@ -23,6 +23,7 @@ export interface BizListItem extends BasicModel<BizListItem> {
description: string; // 描述信息
clickClose?: string; // 是否关闭
extra?: string; // 待办状态
extraDesc?: string; // 待办意见
color?: string; // 颜色值
updateTime: string; // 更新时间
ftenantId?: string; // 租户id

View File

@@ -34,7 +34,7 @@
const { t } = useI18n('biz.listItem');
const { showMessage } = useMessage();
const { meta } = unref(router.currentRoute);
const ustatus = ref<string>('0');
const types = ref<string>('');
const record = ref<BizListItem>({} as BizListItem);
@@ -88,6 +88,28 @@
required: true,
colProps: { md: 24, lg: 24 },
},
{
label: t('是否关闭'),
field: 'clickClose',
defaultValue: ustatus.value,
component: 'Select',
componentProps: {
dictType: 'is_open',
allowClear: true,
},
required: true,
},
{
label: t('是否删除'),
field: 'titleDelete',
defaultValue: ustatus.value,
component: 'Select',
componentProps: {
dictType: 'is_open',
allowClear: true,
},
required: true,
},
{
label: t('内容信息'),
field: 'description',

View File

@@ -185,14 +185,6 @@
width: 130,
align: 'left',
dictType: 'is_open',
},
{
title: t('内容信息'),
dataIndex: 'description',
key: 'a.description',
sorter: true,
width: 225,
align: 'left',
},
{
title: t('接收用户'),
@@ -256,7 +248,6 @@
confirm: handleDelete.bind(this, record),
},
auth: 'biz:listItem:edit',
ifShow: record.clickClose == '9'
},
],
};

View File

@@ -10,9 +10,6 @@
<TabPane key="3" tab="附件箱">
<MailAttachments />
</TabPane>
<TabPane key="4" tab="邮箱配置">
<MailAccount />
</TabPane>
</Tabs>
</div>
</template>
@@ -22,8 +19,7 @@
import MailSent from './sent/list.vue';
import MailReceived from './received/list.vue';
import MailAttachments from './attachments/list.vue';
import MailAccount from './account/list.vue';
const activeKey = ref('1');
</script>

View File

@@ -0,0 +1,32 @@
<template>
<div class="web-page-container">
<Tabs v-model:activeKey="activeKey">
<TabPane key="1" tab="系统配置">
<QuickLogin />
</TabPane>
<TabPane key="2" tab="邮箱配置">
<MailAccount />
</TabPane>
</Tabs>
</div>
</template>
<script lang="ts" setup name="MailAccount">
import { h, ref } from 'vue';
import { Tag, Tabs ,TabPane } from 'ant-design-vue';
import MailAccount from './account/list.vue';
import QuickLogin from './quickLogin/list.vue';
const activeKey = ref('1');
</script>
<style scoped lang="less">
// 整体容器样式
.web-page-container {
width: 100%;
background-color: #e8f4f8;
display: flex;
flex-direction: column; // 垂直布局
overflow: hidden; // 防止内容溢出
}
</style>