|
|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
+ <div class="main-right-box">
|
|
|
+ <div class="main-search-box">
|
|
|
+
|
|
|
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
<el-form-item label="标题" prop="title">
|
|
|
<el-input maxlength="50" v-model="queryParams.title" placeholder="请输入标题" clearable
|
|
|
@keyup.enter.native="handleQuery" />
|
|
|
@@ -13,11 +16,6 @@
|
|
|
:value="`${dict.value}`"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
- <!-- <el-form-item>
|
|
|
- <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
- </el-form-item> -->
|
|
|
</el-form>
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
@@ -36,8 +34,11 @@
|
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
|
-
|
|
|
- <el-table v-loading="loading" :data="sendList">
|
|
|
+ </div>
|
|
|
+ <el-table border
|
|
|
+ height="650"
|
|
|
+ size="small"
|
|
|
+ v-loading="loading" :data="sendList">
|
|
|
<el-table-column label="标题" align="center" prop="title" />
|
|
|
<el-table-column label="类型" align="center" key="type" prop="type" width="80">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -72,6 +73,7 @@
|
|
|
|
|
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
@pagination="getList" />
|
|
|
+ </div>
|
|
|
|
|
|
<!-- 添加或修改【请填写功能名称】对话框 -->
|
|
|
<DialogCom :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
@@ -157,9 +159,9 @@
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <!-- <div slot="footer" class="dialog-footer">
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</DialogCom>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -275,6 +277,7 @@ export default {
|
|
|
// 取消按钮
|
|
|
cancel() {
|
|
|
this.open = false;
|
|
|
+ this.yes=false;
|
|
|
this.reset();
|
|
|
},
|
|
|
// 表单重置
|