| | |
| | | <template> |
| | | <TableLayout :permissions="['business:activity:query']"> |
| | | <!-- 搜索表单 --> |
| | | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> |
| | | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" > |
| | | <el-form-item label="标题" prop="name"> |
| | | <el-input v-model="searchForm.name" placeholder="请输入标题" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | |
| | | <template slot-scope="{row}"> |
| | | <el-switch |
| | | v-model="row.status" |
| | | :active-value="1" |
| | | :inactive-value="0" |
| | | :active-value="0" |
| | | :inactive-value="1" |
| | | active-color="#13ce66" |
| | | fixed="right" |
| | | inactive-color="#ff4949" |