From 2a32e53e45eef72bb37409b0694e4b5c2b1587af Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 23 十月 2025 15:12:26 +0800
Subject: [PATCH] 页面
---
admin/src/views/business/warningPush.vue | 33 ++++++++++++++++++++-------------
1 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/admin/src/views/business/warningPush.vue b/admin/src/views/business/warningPush.vue
index 0c0b205..170d433 100644
--- a/admin/src/views/business/warningPush.vue
+++ b/admin/src/views/business/warningPush.vue
@@ -2,13 +2,6 @@
<TableLayout :permissions="['business:warningpush:query']">
<!-- 鎼滅储琛ㄥ崟 -->
<el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
- <el-form-item label="鎶ヨ绫诲瀷" prop="warningId">
- <el-select v-model="searchForm.warningId" placeholder="璇烽�夋嫨" clearable @change="search">
- <el-option label="鏈帹閫�" value="0"></el-option>
- <el-option label="鎺ㄩ�佹垚鍔�" value="1"></el-option>
- <el-option label="鎺ㄩ�佸け璐�" value="2"></el-option>
- </el-select>
- </el-form-item>
<el-form-item label="鎶ヨ鍒嗙被" prop="warningType">
<el-select v-model="searchForm.warningType" placeholder="璇烽�夋嫨" clearable @change="search">
<el-option label="瀹夐槻浜嬩欢" value="0"></el-option>
@@ -24,6 +17,9 @@
<el-form-item label="鎶ヨ鍐呭" prop="content">
<el-input v-model="searchForm.content" placeholder="璇疯緭鍏ユ姤璀﹀唴瀹�" clearable @keypress.enter.native="search"></el-input>
</el-form-item>
+ <el-form-item label="閫氱煡浜哄憳" prop="content">
+ <el-input v-model="searchForm.memberName" placeholder="璇疯緭鍏ラ�氱煡浜哄憳" clearable @keypress.enter.native="search"></el-input>
+ </el-form-item>
<el-form-item label="閫氱煡鐘舵�� " prop="status">
<el-select v-model="searchForm.status" placeholder="璇烽�夋嫨" clearable @change="search">
<el-option label="鏈�氱煡" value="0"></el-option>
@@ -38,7 +34,7 @@
clearable
value-format="yyyy-MM-dd HH:mm:ss"
class="w200"
- placeholder="寮�濮嬫椂闂�" />
+ placeholder="寮�濮嬫椂闂�" /> 鑷�
<el-date-picker
v-model="searchForm.queryEndtime"
type="datetime"
@@ -55,10 +51,10 @@
</el-form>
<!-- 琛ㄦ牸鍜屽垎椤� -->
<template v-slot:table-wrap>
- <ul class="toolbar" v-permissions="['business:warningpush:create', 'business:warningpush:delete']">
+<!-- <ul class="toolbar" v-permissions="['business:warningpush:create', 'business:warningpush:delete']">
<li><el-button type="primary" @click="$refs.operaWarningPushWindow.open('鏂板缓鎶ヨ鎺ㄩ�佽褰�')" icon="el-icon-plus" v-permissions="['business:warningpush:create']">鏂板缓</el-button></li>
<li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:warningpush:delete']">鍒犻櫎</el-button></li>
- </ul>
+ </ul>-->
<el-table
:height="tableHeightNew"
v-loading="isWorking.search"
@@ -66,8 +62,7 @@
stripe
@selection-change="handleSelectionChange"
>
- <el-table-column type="selection" width="55"></el-table-column>
- <el-table-column prop="createDate" label="鍙戠敓鏃堕棿" min-width="150px"></el-table-column>
+ <el-table-column prop="createDate" label="鍙戠敓鏃堕棿" min-width="150px"></el-table-column>
<el-table-column prop="warningName" label="鎶ヨ绫诲瀷" min-width="120px" show-tooltip-when-overflow></el-table-column>
<el-table-column prop="warningType" label="鎶ヨ鍒嗙被" min-width="100px">
<template slot-scope="{row}">
@@ -88,6 +83,7 @@
<el-table-column prop="region" label="鎵�鍦ㄤ綅缃�" min-width="120px" show-tooltip-when-overflow></el-table-column>
<el-table-column prop="content" label="鎶ヨ鍐呭" min-width="180px" show-tooltip-when-overflow></el-table-column>
<el-table-column prop="memberName" label="閫氱煡浜哄憳" min-width="100px" show-tooltip-when-overflow></el-table-column>
+ <el-table-column prop="companyName" label="浜哄憳閮ㄩ棬" min-width="100px" show-tooltip-when-overflow></el-table-column>
<el-table-column prop="status" label="閫氱煡鐘舵��" min-width="100px">
<template slot-scope="{row}">
<span style="color: rgba(245, 154, 35, 0.996);" v-if="row.status === 0">鏈�氱煡</span>
@@ -134,10 +130,13 @@
searchForm: {
id: '',
warningId: '',
+ memberName: null,
warningType: null,
title: '',
content: '',
- status: ''
+ status: '',
+ queryEndtime:null,
+ queryStarttime:null
}
}
},
@@ -149,6 +148,14 @@
'field.main': 'id'
})
this.search()
+ },
+ methods:{
+ reset () {
+ this.$refs.searchForm.resetFields()
+ this.searchForm.queryStarttime = ''
+ this.searchForm.queryEndtime = ''
+ this.search()
+ }
}
}
</script>
--
Gitblit v1.9.3