gz-att-web/gz-att/static/js/chunk-1e63e44c.c5d94c8d.js

1 line
15 KiB
JavaScript
Raw Normal View History

2024-10-18 18:10:38 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1e63e44c"],{"96a2":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"68px"}},[a("el-form-item",{attrs:{label:"申请时间",prop:"leaveDate"}},[a("el-date-picker",{staticStyle:{width:"95%"},attrs:{clearable:!1,type:"date","value-format":"yyyy-MM-dd",placeholder:"选择申请时间"},model:{value:e.queryParams.leaveDate,callback:function(t){e.$set(e.queryParams,"leaveDate",t)},expression:"queryParams.leaveDate"}})],1),a("el-form-item",{attrs:{label:"审批状态",prop:"examineStatus"}},[a("el-select",{staticStyle:{width:"95%"},attrs:{placeholder:"审批状态"},model:{value:e.queryParams.examineStatus,callback:function(t){e.$set(e.queryParams,"examineStatus",t)},expression:"queryParams.examineStatus"}},e._l(e.dict.type.apply_status,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["flow:holiday:add"],expression:"['flow:holiday:add']"}],attrs:{type:"primary",plain:"",icon:"el-icon-plus",size:"mini"},on:{click:e.handleAdd}},[e._v("新增")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"warning",plain:"",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1),a("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.tableList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{label:"序号",align:"center",width:"80",type:"index"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s((e.queryParams.pageNum-1)*e.queryParams.pageSize+t.$index+1))])]}}])}),a("el-table-column",{attrs:{label:"姓名",align:"center",prop:"userName",width:"100"}}),a("el-table-column",{attrs:{label:"所属部门",align:"center",prop:"orgName","show-overflow-tooltip":!0,width:"240"}}),a("el-table-column",{attrs:{label:"申请时间",align:"center",prop:"createTime","show-overflow-tooltip":!0,width:"180"}}),a("el-table-column",{attrs:{label:"轮休开始时间",align:"center",prop:"leaveStartDate","show-overflow-tooltip":!0,width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.leaveStartDate)+" "),a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.row.leaveStartInterval,expression:"scope.row.leaveStartInterval=='1'"}]},[e._v("上午")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"2"==t.row.leaveStartInterval,expression:"scope.row.leaveStartInterval=='2'"}]},[e._v("下午")])])]}}])}),a("el-table-column",{attrs:{label:"轮休结束时间",align:"center",prop:"leaveEndDate","show-overflow-tooltip":!0,width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.leaveEndDate)+" "),a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.row.leaveEndInterval,expression:"scope.row.leaveEndInterval=='1'"}]},[e._v("上午")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"2"==t.row.leaveEndInterval,expression:"scope.row.leaveEndInterval=='2'"}]},[e._v("下午")])])]}}])}),a("el-table-column",{attrs:{label:"轮休时长(天)",align:"center",prop:"leaveDuration","show-overflow-tooltip":!0,width:"180"}}),a("el-table-column",{attrs:{label:"审批状<EFBFBD>