This commit is contained in:
parent
06d0e90be6
commit
159df81ec3
|
@ -57,7 +57,7 @@ const req = (method, url, params, responseType) => {
|
|||
if(method == "login")
|
||||
{
|
||||
obj = {
|
||||
method: method,
|
||||
method: "post",
|
||||
body: JSON.stringify(params),
|
||||
headers: new Headers({
|
||||
'Content-Type': 'application/json',
|
||||
|
|
|
@ -310,7 +310,7 @@ export default class acclist extends React.Component{
|
|||
<img src={item.img_url} alt=""/>
|
||||
<span className="product-name">{item.name}</span>
|
||||
</div>
|
||||
<span className="product-exchange" style={{background: "#F98F5B"}} onClick="exchangeBtn(item)">兑换</span>
|
||||
<span className="product-exchange" style={{background: this.props.data.button_color}} onClick="exchangeBtn(item)">兑换</span>
|
||||
</li>
|
||||
)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ export default class add extends React.Component{
|
|||
keys:["step2-0"],
|
||||
step1_pagetitle:"新建计划",
|
||||
step2_pagetitle:"生成key",
|
||||
step3_pagetitle:"绑定卡券",
|
||||
step3_pagetitle:"绑定落地页",
|
||||
curstep:1,
|
||||
menuList:[
|
||||
{id:1,title:"营销计划",child:[{step:1,title:"新建计划"}]},
|
||||
|
|
|
@ -262,7 +262,15 @@ export default class acclist extends React.Component{
|
|||
this.props.history.push('/home/key-list');
|
||||
}
|
||||
menuItemClick(e,key,row){
|
||||
console.log(key)
|
||||
|
||||
if(row.status ==6 ||row.status == 0 )
|
||||
{
|
||||
|
||||
Notify.error("该状态下的数据不允许编辑")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
if(key == 1)
|
||||
{
|
||||
let data ={
|
||||
|
@ -673,6 +681,8 @@ export default class acclist extends React.Component{
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
return str
|
||||
}
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue