落地页修改描述字段

This commit is contained in:
red-deng-deng 2022-01-13 15:45:04 +08:00
parent 8cd647daca
commit 20d111ec78
2 changed files with 31 additions and 3 deletions

View File

@ -94,7 +94,21 @@ const menu={
case 4:return '#55aaff';break;
}
},
//落地页
pageTypeStatus(params) {
switch(params){
case 1:return '兑换码';break;
case 2:return '白名单';break;
case 3:return '立减金';break;
}
},
pageTypeStatusBg(params) {
switch(params){
case 1:return '#ffaa00';break;
case 2:return '#e64c00';break;
case 3:return '#55aaff';break;
}
},
keysStatus(params) {
switch(params){
case 1:return '创建中';break;

View File

@ -54,12 +54,19 @@ const Column = [{
width: '200px',
type: "normal",
}, {
title: '落地页类型',
title: '落地页平台',
name: 'client',
prop: 'client',
type: "slot",
defaultText: 0,
width: 'auto'
},{
title: '落地页类型',
name: 'page',
prop: 'page',
type: "slot",
defaultText: 0,
width: 'auto'
},
{
title: '更新时间',
@ -450,7 +457,14 @@ export default class acclist extends React.Component {
}
} > < /font>{menu.pageStatus(parseInt(rowData.client))}</span > ;
}
if (com == "page") {
return <span > < font className = "icon"
style = {
{
background: menu.pageTypeStatusBg(parseInt(rowData.page))
}
} > < /font>{menu.pageTypeStatus(parseInt(rowData.page))}</span > ;
}
if (com == "edit") {
return <span >
<