|
@@ -7,8 +7,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
extend: {
|
|
|
index_url: 'wenzhenorder/index' + location.search,
|
|
|
add_url: 'wenzhenorder/add',
|
|
|
- edit_url: 'wenzhenorder/edit',
|
|
|
- del_url: 'wenzhenorder/del',
|
|
|
+// edit_url: 'wenzhenorder/edit',
|
|
|
+// del_url: 'wenzhenorder/del',
|
|
|
multi_url: 'wenzhenorder/multi',
|
|
|
import_url: 'wenzhenorder/import',
|
|
|
table: 'wenzhen_order',
|
|
@@ -30,8 +30,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'id', title: __('Id')},
|
|
|
{field: 'order_no', title: __('Order_no'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
{field: 'user_id', title: __('User_id')},
|
|
|
- {field: 'member_id', title: __('Member_id')},
|
|
|
+ {field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
+ {field: 'user.mobile', title: __('User.mobile'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
+ {field: 'user.avatar', title: __('User.avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
|
+
|
|
|
+// {field: 'member_id', title: __('Member_id')},
|
|
|
{field: 'doctor_id', title: __('Doctor_id')},
|
|
|
+ {field: 'doctor.nickname', title: __('Doctor.nickname'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
+ {field: 'doctor.mobile', title: __('Doctor.mobile'), operate: 'LIKE'},
|
|
|
+
|
|
|
{field: 'ordertype', title: __('Ordertype'), searchList: {"1":__('Ordertype 1'),"2":__('Ordertype 2')}, formatter: Table.api.formatter.normal},
|
|
|
{field: 'total_fee', title: __('Total_fee'), operate:'BETWEEN'},
|
|
|
{field: 'book_time', title: __('Book_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
@@ -39,7 +46,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"3":__('Status 3'),"10":__('Status 10'),"13":__('Status 13'),"16":__('Status 16'),"18":__('Status 18'),"20":__('Status 20'),"22":__('Status 22'),"25":__('Status 25'),"30":__('Status 30')}, formatter: Table.api.formatter.status},
|
|
|
{field: 'cancel_time', title: __('Cancel_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{field: 'cancel_reason', title: __('Cancel_reason'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
- {field: 'pay_out_trade_no', title: __('Pay_out_trade_no'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
+// {field: 'pay_out_trade_no', title: __('Pay_out_trade_no'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
{field: 'pay_type', title: __('Pay_type'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
{field: 'pay_time', title: __('Pay_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{field: 'accept_time', title: __('Accept_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
@@ -49,11 +56,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'feedback_remark', title: __('Feedback_remark'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
{field: 'refund_price', title: __('Refund_price'), operate:'BETWEEN'},
|
|
|
{field: 'refund_status', title: __('Refund_status'), searchList: {"0":__('Refund_status 0'),"1":__('Refund_status 1'),"2":__('Refund_status 2'),"3":__('Refund_status 3')}, formatter: Table.api.formatter.status},
|
|
|
- {field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
- {field: 'user.mobile', title: __('User.mobile'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
- {field: 'user.avatar', title: __('User.avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
|
- {field: 'doctor.nickname', title: __('Doctor.nickname'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
- {field: 'doctor.mobile', title: __('Doctor.mobile'), operate: 'LIKE'},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
|
]
|