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

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