更新审核机制

This commit is contained in:
yaooo 2023-11-18 17:27:53 +08:00
parent 80542f6796
commit de93bf4311
4 changed files with 52 additions and 0 deletions

View File

@ -86,6 +86,19 @@
}
}
}
else if(list[f].flow_type == 5 || list[f].flow_type == 6){
checkUser=list[f].flow_type == 5?'部门分管领导':'上级部门分管领导';
if(list[f].check_list.length>0){
if(list[f].check_list[0].status == 1){
iconStatus ='<i class="layui-icon layui-icon-ok-circle" data-ok=""></i>';
strStatus ='<div class="check-item-status">通过</div>';
}
else if(list[f].check_list[0].status == 2){
iconStatus ='<i class="layui-icon layui-icon-close" data-no=""></i>';
strStatus ='<div class="check-item-status">拒绝</div>';
}
}
}
else if(list[f].flow_type == 0 ){
checkUser=list[f].user_id_info[0].name;
if(list[f].check_list.length>0){

View File

@ -213,6 +213,19 @@ function gouguInit() {
}
}
}
else if(list[f].flow_type == 5 || list[f].flow_type == 6){
checkUser=list[f].flow_type == 5?'部门分管领导':'上级部门分管领导';
if(list[f].check_list.length>0){
if(list[f].check_list[0].status == 1){
iconStatus ='<i class="layui-icon layui-icon-ok-circle" data-ok=""></i>';
strStatus ='<div class="check-item-status">通过</div>';
}
else if(list[f].check_list[0].status == 2){
iconStatus ='<i class="layui-icon layui-icon-close" data-no=""></i>';
strStatus ='<div class="check-item-status">拒绝</div>';
}
}
}
else if(list[f].flow_type == 0 ){
checkUser=list[f].user_id_info[0].name;
if(list[f].check_list.length>0){

View File

@ -282,6 +282,19 @@ function gouguInit() {
}
}
}
else if(list[f].flow_type == 5 || list[f].flow_type == 6){
checkUser=list[f].flow_type == 5?'部门分管领导':'上级部门分管领导';
if(list[f].check_list.length>0){
if(list[f].check_list[0].status == 1){
iconStatus ='<i class="layui-icon layui-icon-ok-circle" data-ok=""></i>';
strStatus ='<div class="check-item-status">通过</div>';
}
else if(list[f].check_list[0].status == 2){
iconStatus ='<i class="layui-icon layui-icon-close" data-no=""></i>';
strStatus ='<div class="check-item-status">拒绝</div>';
}
}
}
else if(list[f].flow_type == 0 ){
checkUser=list[f].user_id_info[0].name;
if(list[f].check_list.length>0){

View File

@ -33,6 +33,19 @@ const moduleInit = ['tool','employeepicker','oaTool'];
}
}
}
else if(list[f].flow_type == 5 || list[f].flow_type == 6){
checkUser=list[f].flow_type == 5?'部门分管领导':'上级部门分管领导';
if(list[f].check_list.length>0){
if(list[f].check_list[0].status == 1){
iconStatus ='<i class="layui-icon layui-icon-ok-circle" data-ok=""></i>';
strStatus ='<div class="check-item-status">通过</div>';
}
else if(list[f].check_list[0].status == 2){
iconStatus ='<i class="layui-icon layui-icon-close" data-no=""></i>';
strStatus ='<div class="check-item-status">拒绝</div>';
}
}
}
else if(list[f].flow_type == 0 ){
checkUser=list[f].user_id_info[0].name;
if(list[f].check_list.length>0){