diff --git a/admin/application/admin/view/firmcustomer/index.html b/admin/application/admin/view/firmcustomer/index.html index d20e6d0..41fff8d 100755 --- a/admin/application/admin/view/firmcustomer/index.html +++ b/admin/application/admin/view/firmcustomer/index.html @@ -1,14 +1,14 @@
-
- {:build_heading(null,FALSE)} - -
+ + + + + + + + +
@@ -19,23 +19,23 @@ {:__('Add')} - {:__('Delete')} + - + + + + + + + +
diff --git a/admin/application/admin/view/general/profile/index.html b/admin/application/admin/view/general/profile/index.html index 39dca49..16ae9a4 100755 --- a/admin/application/admin/view/general/profile/index.html +++ b/admin/application/admin/view/general/profile/index.html @@ -38,8 +38,8 @@ }
-
-
+
+
{:__('Profile')}
@@ -62,18 +62,18 @@
-
- - -
-
- - -
-
- - -
+ + + + + + + + + + + +
@@ -108,30 +108,30 @@
-
-
- -
-
-
-
-
- {:build_toolbar('refresh')} -
- + + + + + + + + + + + + + + + -
+ -
-
+ + -
-
-
+ + + -
+
diff --git a/admin/public/assets/js/backend/firmcustomer.js b/admin/public/assets/js/backend/firmcustomer.js index 6e18859..b864efa 100755 --- a/admin/public/assets/js/backend/firmcustomer.js +++ b/admin/public/assets/js/backend/firmcustomer.js @@ -24,24 +24,25 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin sortName: 'id', fixedColumns: true, fixedRightNumber: 1, + searchFormVisible: true, columns: [ [ {checkbox: true}, - {field: 'id', title: __('Id')}, + {field: 'id', title: __('Id'), operate: false}, {field: 'name', title: __('Customer_name'), operate: 'LIKE'}, - {field: 'age', title: __('Age')}, + {field: 'age', title: __('Age'), operate: false}, {field: 'phone', title: __('Phone'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content}, {field: 'rel_wx', title: __('Rel_wx'), operate: 'LIKE'}, {field: 'rel_group', title: __('Rel_group'), operate: 'LIKE'}, {field: 'firmtags_ids', title: __('Firmtags_ids'), operate: 'LIKE'}, {field: 'headimage', title: __('Headimage'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image}, - {field: 'remark', title: __('Remark'), operate: 'LIKE'}, - {field: 'responsible_pm', title: __('Responsible_pm'), operate: 'LIKE'}, - {field: 'status', title: __('Status'), searchList: {"yes":__('Status yes'),"no":__('Status no')}, formatter: Table.api.formatter.status}, + {field: 'remark', title: __('Remark'), operate: false}, + {field: 'responsible_pm', title: __('Responsible_pm'), operate: false}, + {field: 'status', title: __('Status'), searchList: {"yes":__('Status yes'),"no":__('Status no')}, formatter: Table.api.formatter.status, operate: false}, {field: 'firmstoreprojectstwo.name', title: __('Firmstoreprojectstwo.name'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content}, {field: 'firmcustomerorigin.name', title: __('Firmcustomerorigin.name'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content}, - {field: 'admin_id', title: __('责任人'), operate: 'LIKE'}, - {field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false}, + {field: 'admin_id', title: __('责任人'), operate: false}, + {field: 'create_time', title: __('Create_time'), operate:false, addclass:'datetimerange', autocomplete:false}, {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate, buttons: [ @@ -90,6 +91,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin return true; } }, + { + name: 'name', + icon: 'fa fa-pencil', + text: __('编辑客户'), + title: __('Edit'), + extend: 'data-toggle="tooltip" data-container="body"', + classname: 'btn btn-xs btn-warning btn-editone' + }, // { // name: 'selectSendTime', // text: __('查看发送时间'),