|
|
@ -1,5 +1,37 @@ |
|
|
|
<template> |
|
|
|
<div class="app-container"> |
|
|
|
<el-form |
|
|
|
ref="queryForm" |
|
|
|
:model="listQuery" |
|
|
|
:inline="true" |
|
|
|
label-width="68px" |
|
|
|
> |
|
|
|
<el-form-item label="专题" prop="special_id"> |
|
|
|
<el-select |
|
|
|
v-model="listQuery.special_id" |
|
|
|
placeholder="专题" |
|
|
|
clearable |
|
|
|
size="small" |
|
|
|
style="width: 160px" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="dict in subject" |
|
|
|
:key="dict.special_id" |
|
|
|
:label="dict.title" |
|
|
|
:value="dict.special_id" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
icon="el-icon-search" |
|
|
|
size="mini" |
|
|
|
@click="getList" |
|
|
|
>搜索</el-button |
|
|
|
> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div class="filter-container"> |
|
|
|
<el-button |
|
|
|
class="filter-item el-button el-button--primary el-button--mini" |
|
|
@ -260,7 +292,6 @@ export default { |
|
|
|
type: "warning", |
|
|
|
}) |
|
|
|
.then(function () { |
|
|
|
console.log("del11"); |
|
|
|
return delSubjectArticle({ article_id, special_id }); |
|
|
|
}) |
|
|
|
.then((response) => { |
|
|
|