修改类型
This commit is contained in:
parent
01698af164
commit
3e09fce5ae
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
|
||||
|
||||
<el-form-item label="标题名称" prop="captionName">
|
||||
<el-input
|
||||
v-model="queryParams.captionName"
|
||||
|
@ -15,6 +15,7 @@
|
|||
<el-option value="" label="全部"></el-option>
|
||||
<el-option value="1" label="新闻"></el-option>
|
||||
<el-option value="0" label="党建"></el-option>
|
||||
<el-option value="3" label="业务"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="发布时间" prop="releaseTime">
|
||||
|
@ -41,7 +42,7 @@
|
|||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</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>
|
||||
|
@ -107,7 +108,7 @@
|
|||
label="类型"
|
||||
align="center"
|
||||
prop="type"
|
||||
:formatter="(row, column, cellValue, index) => ['党建', '新闻'][cellValue]"
|
||||
:formatter="(row, column, cellValue, index) => ['党建', '新闻', '业务'][cellValue]"
|
||||
/>
|
||||
<el-table-column label="发布时间" align="center" prop="releaseTime" width="180">
|
||||
<template slot-scope="scope">
|
||||
|
@ -177,6 +178,7 @@
|
|||
<el-radio-group v-model="form.type">
|
||||
<el-radio label="1">新闻</el-radio>
|
||||
<el-radio label="0">党建</el-radio>
|
||||
<el-radio label="3">业务</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
Loading…
Reference in New Issue
Block a user