|
@@ -66,11 +66,11 @@ export default {
|
|
form: {
|
|
form: {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
- status: null,
|
|
|
|
|
|
+ status: -1,
|
|
},
|
|
},
|
|
- // 状态 0-上架 1-下架 2-删除
|
|
|
|
|
|
+ // 状态 0-上架 1-下架 2-删除 -1全部
|
|
statusList: [{
|
|
statusList: [{
|
|
- value: null,
|
|
|
|
|
|
+ value: -1,
|
|
label: '全部'
|
|
label: '全部'
|
|
}, {
|
|
}, {
|
|
value: 0,
|
|
value: 0,
|
|
@@ -113,11 +113,11 @@ export default {
|
|
// 列表
|
|
// 列表
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- console.log("轮播图列表==" + JSON.stringify(this.form));
|
|
|
|
|
|
+ console.log("轮播图列表参数==" + JSON.stringify(this.form));
|
|
|
|
|
|
list(this.form).then((res) => {
|
|
list(this.form).then((res) => {
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
- // console.log("轮播图列表==" + JSON.stringify(res));
|
|
|
|
|
|
+ console.log("轮播图列表==" + JSON.stringify(res));
|
|
this.tableData = res.data.records;
|
|
this.tableData = res.data.records;
|
|
this.total = res.data.total;
|
|
this.total = res.data.total;
|
|
this.loading = false;
|
|
this.loading = false;
|