// 初始化Dev全局配置文件 function initDevAll() { top.$.confirm({ body: '即将重新初始化 DEV 下的所有配置数据,是否继续?', height: 100, okBtn: '继续', cancelBtn: '取消', okHide: function(e) { var index = layer.load(2); $.ajax({ url: "/devService?action=initDevAll", type: "post", success: function(result) { tip.success(result); layer.close(index); } }) } }) } // 初始化 Module 全局配置文件 function initModuleAll() { top.$.confirm({ body: '即将重新初始化 Module 下的所有配置数据,是否继续?', height: 100, okBtn: '继续', cancelBtn: '取消', okHide: function(e) { var index = layer.load(2); $.ajax({ url: "/devService?action=initModuleAll", type: "post", success: function(result) { tip.success(result); layer.close(index); } }) } }) } // 发布所有组件 function issueAll() { top.$.confirm({ body: '即将发布系统内的所有组件,是否继续?', height: 100, okBtn: '继续', cancelBtn: '取消', okHide: function(e) { layAlertPage('/devService?action=issueAllMkZj', '发布所有组件', 960, 500); } }) }