yxk_pc_mdh/gyhl/static/js/256.423e77d1859d5cceb9a2.js

1 line
14 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([256],{"+tUC":function(e,a){},Jixv: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),o=t("//Fk"),l=t.n(o),h=t("GKmE"),p=t("lbHh"),d=t.n(p),c=t("dWDB"),u=t("qbzX"),m=t("jgtX"),g={name:"schedule_reimburse",components:{mineTabPage:c.a,auditTabPage:u.a,listTabPage: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:9,pageno:1,pagesize:5},dialogVisible:!1,tableData:[],pictLoading:!1,team_total:0,search_data_team:{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:reimburse:add",click:"add",type:"primary",disabled:!1},{key:1,btnName:"删除",vhas:"schedule:reimburse: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_:"createuser",select:!0},{title:"部门",prop_:"deptname",select:!0},{title:"报销金额(元)",prop_:"reimAmount",select:!0},{title:"审批状态",prop_:"approveStatusName",select:!0}],showTableColumns:[{title:"填报时间",prop_:"createtime",select:!0},{title:"填报人",prop_:"createuser",select:!0},{title:"报销金额(元)",prop_:"reimAmount",select:!0},{title:"审批状态",prop_:"approveStatusName",select:!0}],tableTeamData:[],secondLoading:!1,appro_total:0,search_data_appro:{pageno:1,pagesize:10,time:""},tableApproData:[],threeLoading:!1,btnDelDisabled:!0,btnOtherDisabled:!0,rowIds:[],typeList:[],summary:{},totalManHour:0,totalManHour1:0,totalManHour2:0,needHandleCount:0,depOptionsAll:[],selectDeptIdAll:[],depOptionsMy:[],selectDeptIdMy:[],userInfo:""}},watch:{btnDelDisabled:function(e){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())}},created:function(){this.needHandleCount=0},mounted:function(){this.$route.query.active&&(this.activeName="second");var e=JSON.parse(d.a.get("userInfo"));this.userInfo=JSON.parse(d.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){var a=!1,t=localStorage.getItem("btnContext");return void 0!==t&&null!=t&&(JSON.parse(t).forEach(function(t){t==e&&(a=!0)}),a)},btnClick:function(e){console.log("根据方法名称调用"),"add"===e?this.add():"remove"==e&&this.remove()},search:function(){this.search_data.pageno=1,this.search_data.pagesize=10,this.getList()},searchApproveList:function(){this.approveListQuery.pa