yxk_pc_mdh/gyhl/static/js/203.74b6f1d6fb743fe8488c.js

1 line
14 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([203],{JieT:function(e,a){},KqgO:function(e,a){},yN7o:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t("BO1k"),i=t.n(s),r=t("d7EF"),n=t.n(r),l=t("//Fk"),o=t.n(l),h=(t("NYxO"),t("GKmE")),p=t("dWDB"),d=t("qbzX"),c=t("jgtX"),m=t("cvJZ"),u=t("lbHh"),g=t.n(u),b={name:"schedule_overtime",components:{mineTabPage:p.a,auditTabPage:d.a,listTabPage:c.a,approvedPage:m.a},data:function(){return{total:0,approveTotal:0,pageSizes:[10,20,50],activeName:"first",search_data:{tabType:0,pageno:1,pagesize:10},search_data1:{tabType:0,pageno:1,pagesize:10},search_data2:{tabType:1,pageno:1,pagesize:10},search_data3:{tabType:2,pageno:1,pagesize:10},search_data4:{tabType:3,pageno:1,pagesize:10},approveListQuery:{type:7,pageno:1,pagesize:5},dialogVisible:!1,tableData:[],selectList:{},pictLoading:!1,team_total:0,search_data_team:{pageno:1,pagesize:10,time:""},tableTeamData:[],secondLoading:!1,appro_total:0,search_data_appro:{pageno:1,pagesize:10,time:""},searchParamElement:[{key:3,label:"填报日期",searchType:"dateElement",placeholder:"请选择时间段",model:"timeArea",clearable:!0}],searchApproveParamElement:[{label:"填报日期",searchType:"dateElement",placeholder:"请选择时间段",model:"timeArea",clearable:!0}],searchParamElementAll:[{key:3,label:"填报日期",searchType:"dateElement",placeholder:"请选择时间段",model:"timeArea",clearable:!0},{key:3,label:"部门",searchType:"selectDeptElement",placeholder:"请选择部门",model:"dept",clearable:!0},{key:3,label:"填报人",searchType:"inputElement",placeholder:"请填写填报人",model:"userName",clearable:!0},{key:3,label:"审批状态",searchType:"selectStateElement",placeholder:"审批状态",model:"approveState",clearable:!0}],buttons:[{key:0,btnName:"新增",vhas:"schedule:overtime:add",click:"add",type:"primary",disabled:!1},{key:1,btnName:"删除",vhas:"schedule:overtime:remove",click:"remove",type:"primary",disabled:!0}],showAuditColumnsDefault:[{title:"申请人",prop_:"approveApplicantName",select:!0},{title:"申请时间",prop_:"submitTime",select:!0},{title:"审批状态",prop_:"approveStatusName",select:!0,sortable:!0}],auditTableData:[],formTableData:[{title:"填报时间",prop_:"createtime",select:!0},{title:"填报人",prop_:"overusername",select:!0},{title:"部门",prop_:"deptname",select:!0},{title:"加班时长(小时)",prop_:"timearea",select:!0},{title:"加班原因",prop_:"reason",select:!0},{title:"加班开始时间",prop_:"begintime",select:!0},{title:"加班结束时间",prop_:"endtime",select:!0},{title:"审批状态",prop_:"approveStatusName",select:!0}],showTableColumns:[{title:"填报时间",prop_:"createtime",select:!0},{title:"填报人",prop_:"overusername",select:!0},{title:"加班时长(小时)",prop_:"timearea",select:!0},{title:"加班原因",prop_:"reason",select:!0},{title:"加班开始时间",prop_:"begintime",select:!0},{title:"加班结束时间",prop_:"endtime",select:!0},{title:"审批状态",prop_:"approveStatusName",select:!0}],tableApproData:[],threeLoading:!1,btnDelDisabled:!0,btnOtherDisabled:!0,summary:{},rowIds:[],totalManHour:0,totalManHour1:0,totalManHour2:0,typeList:[],needHandleCount:0,depOptionsAll:[],selectDeptIdAll:[],depOptionsMy:[],selectDeptIdMy:[],userInfo:""}},computed:{},watch:{btnDelDisabled:function(e){this.buttons&&(this.buttons[1].disabled=e)},activeName:function(e){"first"===e?(this.search_data=this.search_data1,this.getList(0)):"second"===e?(this.search_data={pageno:1,pagesize:10},this.search_data1.tabType=0):"third"===e?(this.search_data=this.search_data2,this.getList()):"fourth"===e?(this.search_data=this.search_data4,this.getList()):"end"===e&&(this.search_data=this.search_data3,this.getList())}},mounted:function(){this.$route.query.active&&(this.activeName="second");var e=JSON.parse(g.a.get("userInfo"));this.userInfo=JSON.parse(g.a.get("userInfo")),this.search_data.userId=e.userId,this.search_data_team.deptId=e.deptId,this.search_data_appro.approveUserId=e.userId,this.initialize(),this.myApproveList(),this.getList(0)},methods:{isExist:function(e