前端问题优化
This commit is contained in:
parent
68f0489613
commit
4270fe5e94
|
|
@ -118,9 +118,9 @@ function initTable() {
|
||||||
sort:true,
|
sort:true,
|
||||||
templet: function (d) {
|
templet: function (d) {
|
||||||
if (d.status === '已生效') {
|
if (d.status === '已生效') {
|
||||||
return "<span style='color:#19BE6B;margin:0 5px 0 5px;font-size:14px'>●</span>" + "已生效";
|
return "<span style='color:#19BE6B;margin:0 5px 0 5px;font-size:14px'>●</span>"+d.status+"";
|
||||||
} else {
|
} else {
|
||||||
return "<span style='color:#F56C6C;margin:0 5px 0 5px;font-size:14px'>●</span>" + "已失效";
|
return "<span style='color:#F56C6C;margin:0 5px 0 5px;font-size:14px'>●</span>"+d.status+"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue