mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-15 21:32:50 +00:00
32 lines
897 B
PHP
32 lines
897 B
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title><?=$form->getTitle()?></title>
|
|
<?=implode("\r\n",$form->getScript())?>
|
|
<style>
|
|
/*弹框样式修改*/
|
|
.ivu-modal-body{padding: 5;}
|
|
.ivu-modal-confirm-footer{display: none;}
|
|
.ivu-date-picker {display: inline-block;line-height: normal;width: 280px;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
formCreate.formSuccess = function(form,$r){
|
|
<?=$form->getSuccessScript()?>
|
|
//刷新父级页面
|
|
// parent.$(".J_iframe:visible")[0].contentWindow.location.reload();
|
|
//关闭当前窗口
|
|
// var index = parent.layer.getFrameIndex(window.name);
|
|
// parent.layer.close(index);
|
|
//提交成功后按钮恢复
|
|
$r.btn.finish();
|
|
};
|
|
(function () {
|
|
var create = <?=$form->formScript()?>
|
|
create();
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|