DESKTOP-C0VON0P\wuxinglong %!s(int64=9) %!d(string=hai) anos
pai
achega
1275be3aec

+ 7 - 3
VisualInspection/js/term_management/charge_terms_m.js

@@ -12,10 +12,14 @@
         var cols = [
                         {width: 30, text: '序号', flex: false, colClass: 'text-center',field:'num'},
                         {width: 160, text: '班组名称', flex: false,colClass: '',field:'name'},
-                        {width: 80, text: '所属人员分类',  flex: false, colClass: '',field:'type',func:function(){
-                            
+                        {width: 80, text: '所属人员分类',  flex: false, colClass: '',field:'type',func:function(obj){
+                            if(obj==1){
+                                return "收费人员";
+                            }else if(obj == 2){
+                                return "稽查人员";
+                            }
                         }},
-                        {width: 80, text: '班长', type: 'date', flex: false, sort: 'down',field:'monitor'},
+                        {width: 80, text: '班长', type: 'string', flex: false, sort: 'down',field:'monitor'},
                         {width: 80, text: '副班长', type: 'string', flex: false, colClass: '',field:'sub_monitor'},
                         {width: 80, text: '人员',  flex: false, colClass: '',field:'user_ids'},
                         {width: 50, text: '操作',  flex: false, colClass: '',field:'id',oper:[

+ 8 - 2
VisualInspection/js/term_management/check_terms_m.js

@@ -12,8 +12,14 @@
         var cols = [
                         {width: 30, text: '序号', flex: false, colClass: 'text-center',field:'num'},
                         {width: 160, text: '班组名称', flex: false,colClass: '',field:'name'},
-                        {width: 80, text: '所属人员分类',  flex: false, colClass: '',field:'type'},
-                        {width: 80, text: '班长', type: 'date', flex: false, sort: 'down',field:'monitor'},
+                        {width: 80, text: '所属人员分类',  flex: false, colClass: '',field:'type',func:function(obj){
+                            if(obj==1){
+                                return "收费人员";
+                            }else if(obj == 2){
+                                return "稽查人员";
+                            }
+                        }},
+                        {width: 80, text: '班长', type: 'string', flex: false, sort: 'down',field:'monitor'},
                         {width: 80, text: '副班长', type: 'string', flex: false, colClass: '',field:'sub_monitor'},
                         {width: 80, text: '人员',  flex: false, colClass: '',field:'user_ids'},
                         {width: 50, text: '操作',  flex: false, colClass: '',field:'task_id',oper:[