Browse Source

#IQRV #comment [JS] 添加实体控制页面

gifur 3 years ago
parent
commit
1fc7bb2952

+ 1 - 0
addin/res/ManagerDesktop/js/menu.js

@@ -14,6 +14,7 @@ var gMenuDisplayName = {
     'uosfeature':'UOS特性',
     'notifycenter':'消息通知',
     'userconfig':'账号管理',
+    'entityctrl':'模块控制',
     'crontab':'作业调度',
     'bootmanager':'启动选项',
     'branchserver':'分行服务',

+ 1 - 0
addin/res/ManagerDesktop/js/page.js

@@ -11,6 +11,7 @@ $(document).ready(function () {
                 <initializer>initializer</initializer> \
                 <browser>browser</browser> \
                 <entities> \
+                    <entityctrl>entityctrl</entityctrl> \
                     <crontab>crontab</crontab> \
                     <bootmanager>bootmanager</bootmanager> \
                 </entities> \

+ 40 - 0
addin/res/ManagerDesktop/js/page/entityctrl.js

@@ -0,0 +1,40 @@
+function entityctrlGenPage() {
+    var page = '<div id="entityctrl_page">\
+    <div id="entityctrl_tip" align="center" style="display: block;">\
+    <div class="color_descroption_gray"\
+    style="width:auto;margin-top:200px;font-size:18px;line-height:120%;">\
+    <span>相关功能正在开发中,敬请期待!</span>\
+    </div>\
+    </div>\
+    </div>';
+
+    $("#rightpagearea").prepend(page);
+    if (typeof entityctrlRenderPage == "function") {
+        beforeRenderPage("entityctrl");
+        entityctrlRenderPage();
+        afterRenderPage("entityctrl");
+    }
+}
+
+var entityctrlController = (function() {
+
+    function initPage() {
+
+    }
+
+    var fistTime = true;
+
+    function init() {
+
+        if (fistTime) {
+            fistTime = false;
+        }
+        initPage();
+    }
+    
+    return { init: init };
+}());
+
+window.entityctrlRenderPage = function () {
+    entityctrlController.init();
+};