@@ -167,6 +167,7 @@ class Contract extends Base {
$field = FormField::getFields(FormField::CONTRACT_TYPE);
$this->assignconfig('fields', $field);
+
return $this->view->fetch();
}
@@ -1051,6 +1052,7 @@ class Contract extends Base {
$this->success('导入成功');
$this->assign('staffs', Staff::getList());
@@ -1284,4 +1286,5 @@ class Contract extends Base {
$this->assign('ids', $ids);
@@ -174,7 +174,6 @@
<!-- </div>-->
<!-- {/if}-->
-
</div>
@@ -4,7 +4,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
index : function () {
// 初始化表格参数配置
Table.api.init();
//绑定事件
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
var panel = $($(this).attr("href"));
@@ -1058,7 +1057,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
Fast.api.close(data);//这里是重点
});
- }
+ },
};
return Controller;