From 4be87a7080ad8523212fe8b5a29c4d18d363774f Mon Sep 17 00:00:00 2001 From: meimei <102865034@qq.com> Date: Wed, 7 May 2025 18:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86=EF=BC=8C?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E9=A1=B5=E9=9D=A2=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/view/firmcustomer/index.html | 38 +++++----- .../admin/view/general/profile/index.html | 72 +++++++++---------- .../public/assets/js/backend/firmcustomer.js | 23 ++++-- 3 files changed, 71 insertions(+), 62 deletions(-) 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: __('查看发送时间'),