moonsflyer преди 9 месеца
родител
ревизия
0df1b6de3a

+ 3 - 0
application/admin/controller/qingdong/customer/Contract.php

@@ -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());
+
         return $this->view->fetch();
     }
 
@@ -1284,4 +1286,5 @@ class Contract extends Base {
         $this->assign('ids', $ids);
         return $this->view->fetch();
     }
+
 }

+ 0 - 1
application/admin/view/qingdong/customer/contract/add.html

@@ -174,7 +174,6 @@
 <!--		</div>-->
 <!--		{/if}-->
 
-
 	</div>
 
 

+ 1 - 2
public/assets/js/backend/qingdong/customer/contract.js

@@ -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;
 });