...
|
...
|
@@ -40,9 +40,24 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
{field: 'content', title: __('Content'), operate:false},
|
|
|
{field: 'commission', title: __('佣金比例(单位%)'), operate:false},
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
{field: 'finish_status', title: __('Finish_status'),formatter: Table.api.formatter.label,searchList:{'1': '进行中','2':'已完成','3':'售后'}},
|
|
|
{field: 'is_complaint', title: __('Is_complaint'),formatter: Table.api.formatter.label,searchList:{'1': '是','2':'否','3':'已处理'}},
|
|
|
{field: 'id', title: __('按钮组'), table: table, events: Table.api.events.operate, buttons:
|
|
|
[
|
|
|
{
|
|
|
text: '投诉详情',
|
|
|
title: '投诉详情',
|
|
|
icon: 'fa fa-list',
|
|
|
classname: 'btn btn-xs btn-primary btn-dialog',
|
|
|
url: 'order/complaint',
|
|
|
// extend: 'data-area=\'["80%","80%"]\'',
|
|
|
hidden:function(row){
|
|
|
if(row.is_complaint != 1){
|
|
|
return true;
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
text: '聊天记录',
|
|
|
title: '聊天记录',
|
|
|
icon: 'fa fa-list',
|
...
|
...
|
@@ -81,7 +96,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
}
|
|
|
], operate:false, formatter: Table.api.formatter.buttons
|
|
|
},
|
|
|
{field: 'finish_status', title: __('Finish_status'),formatter: Table.api.formatter.label,searchList:{'1': '进行中','2':'已完成','3':'售后'}},
|
|
|
{field: 'order_status', title: __('Order_status'),formatter: Table.api.formatter.label,searchList:{'1': '通过','2':'未通过'}},
|
|
|
{field: 'paytime', title: __('Paytime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
{field: 'expirationtime', title: __('Expirationtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
...
|
...
|
|