From 5a150aa2c975060b036336ad7f90be24ee6ad83f Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期五, 16 九月 2022 15:26:05 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/cstmr/cstmr.js | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/cstmr/cstmr.js b/src/main/webapp/static/js/cstmr/cstmr.js index 30728b5..f0c6e81 100644 --- a/src/main/webapp/static/js/cstmr/cstmr.js +++ b/src/main/webapp/static/js/cstmr/cstmr.js @@ -19,6 +19,7 @@ $('#organization').text(localStorage.getItem('nickname')); + // 閮ㄩ棬浜哄憳 绛涢�� dropdown.render({ elem: '#organization' ,content: ['<div id="organizationTree" style="height: calc(100vh - 525px);border: none"></div>'].join('') @@ -28,6 +29,23 @@ } }); + // 鏁版嵁鍚屾 + dropdown.render({ + elem: '#data-btn' + ,align: 'center' //灞呬腑瀵归綈锛�2.6.8 鏂板锛� + ,style: 'width: 50px;' + ,data: [{ + title: 'menu item test 111' + ,id: 100 + },{ + title: 'menu item test 222' + ,id: 101 + },{ + title: 'menu item test 333' + ,id: 102 + }] + }); + // 鏍戝舰鍥� var organizationTree; window.loadTree = function(condition){ -- Gitblit v1.9.1