diff --git a/app/contract/view/cate/conf.html b/app/contract/view/cate/conf.html index b9ec3a1..a5281e3 100644 --- a/app/contract/view/cate/conf.html +++ b/app/contract/view/cate/conf.html @@ -34,7 +34,7 @@ 权限人员* - + @@ -57,28 +57,7 @@ {/block} diff --git a/app/project/view/index/add.html b/app/project/view/index/add.html index 0f3e4fc..cdfdac6 100644 --- a/app/project/view/index/add.html +++ b/app/project/view/index/add.html @@ -164,44 +164,6 @@ trigger: 'click' }); }); - - //选择员工单人弹窗 - $('body').on('click','.picker-one',function () { - let that = $(this); - let ids=that.next().val()+'',names = that.val()+''; - employeepicker.init({ - ids:ids, - names:names, - type:0, - department_url: "/api/index/get_department_tree", - employee_url: "/api/index/get_employee", - callback:function(ids,names,dids,departments){ - that.val(names); - that.next().val(ids); - } - }); - }); - - //选择员工多人人弹窗 - $('body').on('click','.picker-more',function () { - let that = $(this); - let ids=that.next().val()+'',names = that.val()+'',ids_array=[],names_array=[]; - if(ids.length>0){ - ids_array=ids.split(','); - names_array=names.split(','); - } - employeepicker.init({ - ids:ids_array, - names:names_array, - type:1, - department_url: "/api/index/get_department_tree", - employee_url: "/api/index/get_employee", - callback:function(ids,names,dids,departments){ - that.val(names.join(',')); - that.next().val(ids.join(',')); - } - }); - }); $('.add-flow').on('click',function(){ diff --git a/app/project/view/index/conf.html b/app/project/view/index/conf.html index 6d93a17..6b79a58 100644 --- a/app/project/view/index/conf.html +++ b/app/project/view/index/conf.html @@ -35,7 +35,7 @@ 权限人员* - + @@ -58,28 +58,7 @@