解决落地页搜索过滤bug,增加暂停中查询
This commit is contained in:
parent
20d111ec78
commit
aec000eafc
|
@ -120,6 +120,7 @@ getLandingdata(val){
|
||||||
this.setState({activeNavStatus:1});
|
this.setState({activeNavStatus:1});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!this.state.model.middle_image)
|
if(!this.state.model.middle_image)
|
||||||
{
|
{
|
||||||
Notify.clear();
|
Notify.clear();
|
||||||
|
@ -127,6 +128,13 @@ getLandingdata(val){
|
||||||
this.setState({activeNavStatus:1});
|
this.setState({activeNavStatus:1});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(!this.state.product_list.list)
|
||||||
|
{
|
||||||
|
Notify.clear();
|
||||||
|
Notify.error("请选择商品列表页样式")
|
||||||
|
this.setState({activeNavStatus:2});
|
||||||
|
return;
|
||||||
|
}
|
||||||
if(!this.state.product_list.top_image)
|
if(!this.state.product_list.top_image)
|
||||||
{
|
{
|
||||||
Notify.clear();
|
Notify.clear();
|
||||||
|
|
|
@ -122,6 +122,8 @@ export default class acclist extends React.Component {
|
||||||
title: "未开始"
|
title: "未开始"
|
||||||
}, {
|
}, {
|
||||||
title: "进行中"
|
title: "进行中"
|
||||||
|
},{
|
||||||
|
title: "暂停中"
|
||||||
}, {
|
}, {
|
||||||
title: "已结束"
|
title: "已结束"
|
||||||
}],
|
}],
|
||||||
|
@ -264,20 +266,21 @@ export default class acclist extends React.Component {
|
||||||
let status = null;
|
let status = null;
|
||||||
if( e > 0)
|
if( e > 0)
|
||||||
{
|
{
|
||||||
status = e;
|
if(e==3){
|
||||||
|
status = 5;
|
||||||
|
}else{
|
||||||
|
status = e;
|
||||||
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
status = null
|
status = null
|
||||||
}
|
}
|
||||||
data.status = status
|
data.status = status
|
||||||
this.setState({status:status})
|
this.setState({status:status})
|
||||||
if(this.state.key_word)
|
|
||||||
{
|
|
||||||
data.title = this.state.key_word
|
|
||||||
|
|
||||||
}
|
|
||||||
this.getTableList(data)
|
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
this.getTableList(data)
|
||||||
|
}, 10);
|
||||||
}
|
}
|
||||||
onPreview(e,row){
|
onPreview(e,row){
|
||||||
let rowdata={};
|
let rowdata={};
|
||||||
|
|
Loading…
Reference in New Issue