[update] 飞书推送记录增加查询条件和标题列

This commit is contained in:
lideqin
2024-08-15 10:25:17 +08:00
parent 9048cab344
commit 1fa7a997c8
@@ -2,40 +2,40 @@
<!-- OA飞书未成功发送的消息 -->
<a-card :bordered="false">
<!-- 查询区域 -->
<!-- <div class="table-page-search-wrapper">-->
<!-- <a-form layout="inline" @keyup.enter.native="searchQuery">-->
<!-- <a-row :gutter="24">-->
<!-- <a-col :md="6" :sm="8">-->
<!-- <a-form-item label="消息标题">-->
<!-- <a-input placeholder="请输入消息标题" v-model="queryParam.esTitle"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :md="6" :sm="8">-->
<!-- <a-form-item label="发送内容">-->
<!-- <a-input placeholder="请输入发送内容" v-model="queryParam.esContent"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <template v-if="toggleSearchStatus">-->
<!-- <a-col :md="6" :sm="8">-->
<!-- <a-form-item label="接收人">-->
<!-- <a-input placeholder="请输入接收人" v-model="queryParam.esReceiver"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- </template>-->
<!-- <a-col :md="6" :sm="8">-->
<!-- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">-->
<!-- <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>-->
<!-- <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>-->
<!-- <a @click="handleToggleSearch" style="margin-left: 8px">-->
<!-- {{ toggleSearchStatus ? '收起' : '展开' }}-->
<!-- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>-->
<!-- </a>-->
<!-- </span>-->
<!-- </a-col>-->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<!-- 消息类型 -->
<a-col :md="6" :sm="8">
<a-form-item :label="$t('system.notSentMessage.messageType')">
<j-dict-select-tag :placeholder="$t('pleaseSelect') + $t('system.notSentMessage.messageType')"
dict-code="message_type"
v-model="queryParam.messageType"/>
</a-form-item>
</a-col>
<!-- 状态 -->
<a-col :md="6" :sm="8">
<a-form-item :label="$t('status')">
<j-dict-select-tag :placeholder="$t('pleaseSelect') + $t('status')"
dict-code="message_state"
v-model="queryParam.state"/>
</a-form-item>
</a-col>
<!-- 标题 -->
<a-col :md="6" :sm="8">
<a-form-item :label="$t('title')">
<j-input :placeholder="$t('pleaseSelect') + $t('title')"
v-model="queryParam.title"></j-input>
</a-form-item>
</a-col>
<div style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search">{{ $t('query') }}</a-button>
<a-button type="primary" @click="searchReset" icon="reload" ghost style="margin-left: 8px">{{ $t('reset') }}</a-button>
</div>
<!-- </a-row>-->
<!-- </a-form>-->
<!-- </div>-->
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<div>
@@ -95,6 +95,13 @@ export default {
dataIndex: 'state_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 标题
title: this.$t('title'),
align: 'center',
width: 180,
dataIndex: 'title',
scopedSlots: { customRender: 'text' }
},
{ // 推送内容
title: this.$t('system.notSentMessage.pushContent'),
align: 'center',