From 9c437e11cd9cd48ee626e894630a6129b4b191a1 Mon Sep 17 00:00:00 2001 From: hdm Date: Sat, 13 Aug 2022 12:11:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=91=98=E5=B7=A5=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/contract/view/cate/conf.html | 25 +------- app/contract/view/index/add.html | 59 +------------------ app/contract/view/index/edit.html | 59 +------------------ app/contract/view/index/view_set.html | 39 ------------ app/contract/view/index/view_step.html | 16 +---- app/customer/view/api/add_chance.html | 40 +------------ app/customer/view/api/edit_chance.html | 40 +------------ app/customer/view/grade/conf.html | 24 +------- app/customer/view/index/add.html | 22 +------ app/customer/view/index/edit.html | 22 +------ app/finance/view/expense/add.html | 42 ------------- app/finance/view/expense/conf.html | 23 +------- app/finance/view/expense/view.html | 16 +---- app/finance/view/invoice/add.html | 42 ------------- app/finance/view/invoice/view.html | 18 +----- app/home/view/flow/add.html | 37 ------------ app/oa/view/approve/add_flow.html | 41 ------------- app/oa/view/approve/view_script.html | 13 ---- app/oa/view/approve/view_step.html | 2 +- app/oa/view/work/add.html | 20 +------ app/project/view/index/add.html | 38 ------------ app/project/view/index/conf.html | 25 +------- app/project/view/index/edit.html | 39 ------------ app/project/view/task/add.html | 41 +------------ app/user/view/personal/leave_add.html | 43 ++------------ public/static/assets/gougu/gouguInit.js | 2 +- .../assets/gougu/module/employeepicker.js | 41 ++++++++++++- 27 files changed, 71 insertions(+), 758 deletions(-) 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 @@