78 lines
3.0 KiB
JavaScript
78 lines
3.0 KiB
JavaScript
/*
|
||
* 版 本 PIT-ADMS V7.0.3 敏捷开发框架
|
||
* Copyright (c) 2013-2018 Hexagon PPM
|
||
* 创建人:研发部
|
||
* 日 期:2017.04.17
|
||
* 描 述:PC端代码生成模板管理
|
||
*/
|
||
var bootstrap = function ($, learun) {
|
||
"use strict";
|
||
var page = {
|
||
init: function () {
|
||
page.bind();
|
||
},
|
||
bind: function () {
|
||
// 自定义开发模板
|
||
$('#lr_custmerCode').on('click', function () {
|
||
learun.layerForm({
|
||
id: 'CustmerCodeIndex',
|
||
title: '在线代码生成器 并自动创建代码(自定义开发模板)',
|
||
url: top.$.rootUrl + '/LR_CodeGeneratorModule/TemplatePC/CustmerCodeIndex',
|
||
width: 1100,
|
||
height: 700,
|
||
maxmin: true,
|
||
btn: null
|
||
});
|
||
});
|
||
// 快速开发模板
|
||
$('#lr_fastCode').on('click', function () {
|
||
learun.layerForm({
|
||
id: 'FastCodeIndex',
|
||
title: '在线代码生成器 并自动创建代码(快速开发模板)',
|
||
url: top.$.rootUrl + '/LR_CodeGeneratorModule/TemplatePC/FastCodeIndex',
|
||
width: 1100,
|
||
height: 700,
|
||
maxmin: true,
|
||
btn: null
|
||
});
|
||
});
|
||
// 实体映射类生成
|
||
$('#lr_entityCode').on('click', function () {
|
||
learun.layerForm({
|
||
id: 'FastCodeIndex',
|
||
title: '在线代码生成器 并自动创建代码(实体映射类生成)',
|
||
url: top.$.rootUrl + '/LR_CodeGeneratorModule/TemplatePC/EntityCodeIndex',
|
||
width: 1100,
|
||
height: 700,
|
||
maxmin: true,
|
||
btn: null
|
||
});
|
||
});
|
||
// 系统表单开发模板
|
||
$('#lr_workflowCode').on('click', function () {
|
||
learun.layerForm({
|
||
id: 'CustmerCodeIndex',
|
||
title: '在线代码生成器 并自动创建代码(流程系统表单开发模板)',
|
||
url: top.$.rootUrl + '/LR_CodeGeneratorModule/TemplatePC/WorkflowCodeIndex',
|
||
width: 1100,
|
||
height: 700,
|
||
maxmin: true,
|
||
btn: null
|
||
});
|
||
});
|
||
// 移动开发模板
|
||
$('#lr_appCustmerCode').on('click', function () {
|
||
learun.layerForm({
|
||
id: 'CustmerCodeIndex',
|
||
title: '在线代码生成器 并自动创建代码(移动开发模板)',
|
||
url: top.$.rootUrl + '/LR_CodeGeneratorModule/TemplatePC/AppCustmerCodeIndex',
|
||
width: 1100,
|
||
height: 700,
|
||
maxmin: true,
|
||
btn: null
|
||
});
|
||
});
|
||
}
|
||
};
|
||
page.init();
|
||
} |