From ca420bd9c09b51a404ade3e0106257725df727be Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 01 十一月 2023 11:32:28 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/const/code/codebasic.js | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/const/code/codebasic.js b/Source/UBCS-WEB/src/const/code/codebasic.js index a67ccaa..6d4caf4 100644 --- a/Source/UBCS-WEB/src/const/code/codebasic.js +++ b/Source/UBCS-WEB/src/const/code/codebasic.js @@ -1,33 +1,38 @@ export default { - height:'auto', - calcHeight: 30, + height:'260', tip: false, editBtn: false, addBtn: false, - searchShow: true, + searchShow: false, searchMenuSpan: 5, disablePage: false, border: true, index: true, viewBtn: false, + delBtn: false, selection: true, menuWidth:260, dialogClickModal: false, + refreshBtn: true, + columnBtn: false, highlightCurrentRow: true, //琛岄�変腑鏃堕珮浜� + rowKey: "oid", //琛屾暟鎹殑 Key锛岀敤鏉ヤ紭鍖� Table 鐨勬覆鏌� column: [ { label: "鐮佹缂栧彿", prop: "id", search: true, searchLabelWidth: 80, - searchSpan: 5, + searchSpan: 6, + sortable: true, }, { label: "鐮佹鍚嶇О", prop: "name", search: true, searchLabelWidth: 80, - searchSpan: 5, + searchSpan: 6, + sortable: true, }, { label: "鐮佹鎻忚堪", @@ -41,4 +46,4 @@ } ] -} \ No newline at end of file +} -- Gitblit v1.9.3