This commit is contained in:
yangduo 2024-08-09 17:17:29 +08:00
parent eb0487b7e0
commit 11e2aa004e
2 changed files with 10 additions and 5 deletions

View File

@ -327,7 +327,7 @@ export default {
}) })
}, },
checkItem(itemid) { checkItem(itemid) {
var found = false var found = true
ItemList.some(item => { ItemList.some(item => {
if (item === itemid) { if (item === itemid) {
found = true found = true

View File

@ -29,14 +29,17 @@
<el-table-column <el-table-column
prop="mail_id" prop="mail_id"
label="邮件id" label="邮件id"
width="180"
/> />
<el-table-column <el-table-column
prop="mail_type" prop="mail_type"
label="邮件类型" label="类型"
width="50"
/> />
<el-table-column <el-table-column
prop="subject" prop="subject"
label="邮件标题" label="邮件标题"
width="160"
/> />
<el-table-column <el-table-column
prop="content" prop="content"
@ -45,6 +48,7 @@
<el-table-column <el-table-column
prop="sendtime" prop="sendtime"
label="发送时间" label="发送时间"
width="160"
> >
<template slot-scope="{row}"> <template slot-scope="{row}">
<span> <span>
@ -55,6 +59,7 @@
<el-table-column <el-table-column
prop="expiretime" prop="expiretime"
label="过期时间" label="过期时间"
width="160"
> >
<template slot-scope="{row}"> <template slot-scope="{row}">
<span> <span>
@ -64,7 +69,7 @@
</el-table-column> </el-table-column>
<!-- <el-table-column prop="to" label="收件人" width="95">--> <!-- <el-table-column prop="to" label="收件人" width="95">-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column label="附件" align="center" width="95"> <el-table-column label="附件" align="center" width="50">
<template slot-scope="{row}"> <template slot-scope="{row}">
<span v-if="row.attachments != null && row.attachments.length > 0" class="link-type" @click="handleFetchAtta(row.attachments)">查看</span> <span v-if="row.attachments != null && row.attachments.length > 0" class="link-type" @click="handleFetchAtta(row.attachments)">查看</span>
<el-tag v-else type="info"></el-tag> <el-tag v-else type="info"></el-tag>
@ -73,7 +78,7 @@
<el-table-column <el-table-column
fixed="right" fixed="right"
label="操作" label="操作"
width="100" width="90"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" @click="handleUpdate(scope.row)">编辑</el-button> <el-button type="text" size="small" @click="handleUpdate(scope.row)">编辑</el-button>
@ -121,7 +126,7 @@ export default {
dialogAttaVisible: false, dialogAttaVisible: false,
mailList: [], mailList: [],
attaData: [], attaData: [],
pagesize: 8, pagesize: 10,
totalpage: 0, totalpage: 0,
curpage: 0, curpage: 0,
emptytext: ' ', emptytext: ' ',