作者 郭盛
1 个管道 的构建 通过 耗费 3 秒

修改状态的样式

... ... @@ -31,7 +31,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'territory_id', title: __('Territory_id'), operate:false},
{field: 'is_use', title: __('Is_use'), operate:false,formatter: Table.api.formatter.label,searchList:{'0': '不使用','1':'使用'}},
{field: 'money', title: __('Money'), operate:'BETWEEN'},
{field: 'status', title: __('Status'),formatter: Table.api.formatter.status,custom: {2:'success', 1:'error',3:'error'},searchList:{'1': '待支付','2':'已支付','3':'已退款'}},
{field: 'status', title: __('Status'),formatter: Table.api.formatter.status,searchList:{'1': '待支付','2':'已支付','3':'已退款'}},
{field: 'num', title: __('Num'), operate:false},
{field: 'business', title: __('Business'), operate:false},
{field: 'address', title: __('Address'), operate:false},
... ...
... ... @@ -37,7 +37,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'address', title: __('Address'), operate:false},
{field: 'honor', title: __('Honor'), operate:false},
{field: 'online', title: __('Online'), operate:false},
{field: 'status', title: __('Status'),formatter: Table.api.formatter.status,custom: {1:'success', 2:'error'},searchList:{'0':'待审核','1': '审核通过','2':'审核未通过'}},
{field: 'status', title: __('Status'),formatter: Table.api.formatter.status,searchList:{'0':'待审核','1': '审核通过','2':'审核未通过'}},
{field: 'is_recommend', title: __('Is_recommend'),formatter: Table.api.formatter.label,searchList:{'0': '不推荐','1':'推荐'}},
{field: 'territory_id', title: __('Territory_id'), operate:false},
// {field: 'help_num', title: __('Help_num'), operate:false},
... ...
... ... @@ -28,7 +28,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'user_id', title: __('User_id'), operate:false},
{field: 'teacher.name', title: __('Teacher.name'), operate:false},
{field: 'money', title: __('Money'), operate:'BETWEEN'},
{field: 'status', title: __('Status'),formatter: Table.api.formatter.status,custom: {1:'success', 0:'error'},searchList:{'0': '未处理','1':'已处理'}},
{field: 'status', title: __('Status'),formatter: Table.api.formatter.status,searchList:{'0': '未处理','1':'已处理'}},
{field: 'card', title: __('Card'), operate:false},
{field: 'bank', title: __('Bank'), operate:false},
{field: 'name', title: __('Name'), operate:false},
... ...