Files
lz_web_qwgl/qwgl/static/js/chunk-17960f6d.ec34898a.js
13684185576 11ec0b2d13 修改
2025-07-21 21:28:27 +08:00

1 line
11 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-17960f6d"],{"2db7":function(e,t,c){"use strict";c("ccd9")},"2e9d":function(e,t,c){"use strict";var a=c("7a23");const l={class:"title"},o={class:"font"},n={class:"cnetr"},r={class:"right"};var i={__name:"PageTitle",props:{title:{type:String,default:""},marginBottom:{type:Number,default:0},backgroundColor:{type:String,default:"rgb(255, 255, 255, 0)"}},setup(e){return(t,c)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:"pageTitle",style:Object(a["normalizeStyle"])(`margin-bottom: ${e.marginBottom}px;background-color: ${e.backgroundColor}`)},[Object(a["createElementVNode"])("div",l,[Object(a["createElementVNode"])("div",o,Object(a["toDisplayString"])(e.title),1)]),Object(a["createElementVNode"])("div",n,[Object(a["renderSlot"])(t.$slots,"center")]),Object(a["createElementVNode"])("div",r,[Object(a["renderSlot"])(t.$slots,"default")])],4))}},s=(c("d634"),c("6b0d")),b=c.n(s);const d=b()(i,[["__scopeId","data-v-2e06abc9"]]);t["a"]=d},"31e3":function(e,t,c){"use strict";c.r(t);var a=c("7a23"),l=(c("7902"),c("2e9d")),o=c("ad28"),n=c("1090"),r=(c("2d16"),c("8f43")),i=c("c9a1");const s={key:0,class:"dialog"},b={class:"head_box"},d={class:"title"},j=Object(a["createTextVNode"])("关闭"),O={class:"description pd20"},p={class:"flex align-center"},u={class:"ml10 flex"},m=Object(a["createTextVNode"])("("),g=Object(a["createTextVNode"])(")"),h={class:"ml10 mr10"},f={class:"flex align-center flex-warp"},C={class:"ml10 mr10"},y={key:0,class:"flex just-center"},v=Object(a["createTextVNode"])("通过"),k=Object(a["createTextVNode"])("不通过");var N={__name:"detail",props:{dic:{type:Object,default:{}}},emits:["updateDate"],setup(e,{expose:t,emit:c}){const{proxy:l}=Object(a["getCurrentInstance"])(),{D_QW_CC_LX:o,D_QW_KQ_SHZT:n}=l.$dict("D_QW_CC_LX","D_QW_KQ_SHZT"),N=Object(a["ref"])("新增"),x=(Object(a["ref"])(),Object(a["ref"])(!1)),S=Object(a["ref"])(!1),w=Object(a["reactive"])({detail:{}}),V=(e,t,c)=>{x.value=!0,w.detail=JSON.parse(JSON.stringify(c)),N.value="detail"==e?"详情":"审批"},_=(e,t)=>{let a={kqShzt:"no"==e?"03":"02",id:w.detail.kqShry.id};"no"==e&&(a.kqShyj=t),Object(r["c"])(a,"/mosty-qwzx/tbQwKqScry/audits").then(t=>{let a="no"==e?"驳回成功":"审核成功";l.$message({type:"success",message:a}),c("updateDate"),D()})},q=e=>{"no"==e?i["a"].prompt("请输入不通过原因","不通过原因",{confirmButtonText:"提交",cancelButtonText:"取消",inputPattern:/\S+/,inputPlaceholder:"请输入不通过原因",inputErrorMessage:"请输入不通过原因"}).then(t=>{let c=t.value;_(e,c)}).catch(()=>{}):_(e)},D=()=>{w.detail={},x.value=!1};return t({init:V}),(e,t)=>{const c=Object(a["resolveComponent"])("el-button"),l=Object(a["resolveComponent"])("el-descriptions-item"),r=Object(a["resolveComponent"])("dict-tag"),i=Object(a["resolveComponent"])("el-descriptions"),V=Object(a["resolveDirective"])("loading");return x.value?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",s,[Object(a["createElementVNode"])("div",b,[Object(a["createElementVNode"])("span",d,Object(a["toDisplayString"])(N.value),1),Object(a["createElementVNode"])("div",null,[Object(a["createVNode"])(c,{size:"small",onClick:D},{default:Object(a["withCtx"])(()=>[j]),_:1})])]),Object(a["withDirectives"])((Object(a["openBlock"])(),Object(a["createElementBlock"])("div",O,[Object(a["createVNode"])(i,{column:4,border:""},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(l,{"class-name":"my-content","label-class-name":"my-label",span:2,label:"申请人"},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(w.detail.sqrXm),1)]),_:1}),Object(a["createVNode"])(l,{"class-name":"my-content","label-class-name":"my-label",span:2,label:"外出类型"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(r,{options:Object(a["unref"])(o),value:w.detail.ccLx,tag:!1},null,8,["options","value"])]),_:1}),Object(a["createVNode"])(l,{"class-name":"my-content","label-class-name":"my-label",span:2,label:"审核状态"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(r,{options:Object(a["unref"])(n),value:w.detail.kqShzt,tag:!1},null,8,["options","value"])]),_:1}),Object(a["createVNode"])(l,{"class-name":"my-content","label-class-name":"my-label",span:2,label:"起止时间"},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(w.detail.ccSjKsrq+"时 — "+w.detail.ccSjJsrq+"时"),1)]),_:1}),Object(a["createVNode"])(l,{"class-name":"my-content","label-class-name":"my-label",span:4,label:"外出原因"},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(w.detail.ccYy),1)]),_:1}),Object(a["createVNode"])(l,{"class-name":"my-content","label-class-name":"my-label",span:4,label:"审批人"},{default:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",p,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(w.detail.kqShryList,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:t,class:"flex align-center"},[Object(a["createElementVNode"])("span",null,Object(a["toDisplayString"])(e.scryXm),1),Object(a["createElementVNode"])("span",u,[m,Object(a["createVNode"])(r,{options:Object(a["unref"])(n),value:e.kqShzt,tag:!1},null,8,["options","value"]),g]),Object(a["withDirectives"])(Object(a["createElementVNode"])("span",{class:"ml10"}," 审核意见:("+Object(a["toDisplayString"])(e.kqShyj)+")",513),[[a["vShow"],e.kqShyj&&""!=e.kqShyj]]),Object(a["withDirectives"])(Object(a["createElementVNode"])("span",h,"|",512),[[a["vShow"],t<w.detail.kqShryList.length-1]])]))),128))])]),_:1}),Object(a["createVNode"])(l,{"class-name":"my-content","label-class-name":"my-label",span:4,label:"抄送人"},{default:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",f,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(w.detail.kqCsryList,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:t,class:"flex align-center"},[Object(a["createElementVNode"])("span",null,Object(a["toDisplayString"])(e.scryXm),1),Object(a["withDirectives"])(Object(a["createElementVNode"])("span",C,"、",512),[[a["vShow"],t<w.detail.kqCsryList.length-1]])]))),128))])]),_:1})]),_:1})])),[[V,S.value]]),"审批"==N.value?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",y,[Object(a["createVNode"])(c,{type:"primary",onClick:t[0]||(t[0]=e=>q("ok")),plain:""},{default:Object(a["withCtx"])(()=>[v]),_:1}),Object(a["createVNode"])(c,{type:"danger",onClick:t[1]||(t[1]=e=>q("no")),plain:""},{default:Object(a["withCtx"])(()=>[k]),_:1})])):Object(a["createCommentVNode"])("",!0)])):Object(a["createCommentVNode"])("",!0)}}},x=(c("c7f6"),c("6b0d")),S=c.n(x);const w=S()(N,[["__scopeId","data-v-1bd2d914"]]);var V=w;const _={class:"titleBox"},q={class:"tabBox"},D=Object(a["createTextVNode"])("详情"),B=Object(a["createElementVNode"])("span",{class:"linkGapLine"},"|",-1),E=Object(a["createTextVNode"])("审批");var T={__name:"index",setup(e){const{proxy:t}=Object(a["getCurrentInstance"])(),{D_QW_CC_LX:c,D_BZ_SQRLX:i,D_QW_KQ_SHZT:s}=t.$dict("D_QW_CC_LX","D_BZ_SQRLX","D_QW_KQ_SHZT"),b=Object(a["ref"])(),d=(Object(a["ref"])([]),Object(a["ref"])());Object(a["ref"])({});Object(a["reactive"])([{showType:"daterange",prop:"daterangeKey",defaultVal:"",label:"起止时间"},{showType:"defaultSlot",prop:"sqbmdm",options:[],placeholder:"请选择单位",label:"归属单位"},{showType:"select",prop:"sqrLx",placeholder:"请选择出差类型",label:"出差类型",options:i},{showType:"input",prop:"sqrXm",placeholder:"请输入请假人姓名",label:"请假人姓名"}]),Object(a["ref"])({});const j=Object(a["reactive"])({tableData:[],keyCount:0,tableConfiger:{rowHieght:61,loading:!1},pageConfiger:{pageCurrent:1,pageSize:20,total:0},tableColumn:[{label:"申请人部门",prop:"sqrSsbm"},{label:"申请人类型",prop:"sqrLx",showSolt:!0},{label:"申请人姓名",prop:"sqrXm"},{label:"起止日期",prop:"ccSjKsrq",showSolt:!0,width:"260"},{label:"出差类型",prop:"ccLx",showSolt:!0},{label:"申请时间",prop:"xtCjsj"},{label:"审核状态",prop:"kqShzt",showSolt:!0}]});Object(a["onMounted"])(()=>{O(),u(),t.mittBus.on("mittFn",e=>{j.keyCount=e})});const O=()=>{j.tableConfiger.loading=!0,Object(r["b"])(j.pageConfiger,"/mosty-qwzx/tbQwCc/selectAuditsWcPage").then(e=>{j.tableData=e.records||[],j.pageConfiger.total=e.total,j.tableConfiger.loading=!1})},p=(e,t,c)=>{b.value.init(e,t,c)},u=()=>{j.tableHeight=window.innerHeight-d.value.offsetHeight-244,window.onresize=function(){u()}};return(e,t)=>{const r=Object(a["resolveComponent"])("dict-tag"),u=Object(a["resolveComponent"])("el-link");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",null,[Object(a["createElementVNode"])("div",_,[Object(a["createVNode"])(l["a"],{title:"出差审批"})]),Object(a["createElementVNode"])("div",{ref_key:"searchBox",ref:d},null,512),Object(a["createElementVNode"])("div",q,[(Object(a["openBlock"])(),Object(a["createBlock"])(o["a"],{tableData:j.tableData,tableColumn:j.tableColumn,tableHeight:j.tableHeight,key:j.keyCount,tableConfiger:j.tableConfiger,controlsWidth:210},{sqrLx:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(r,{options:Object(a["unref"])(i),value:e.sqrLx,tag:!1},null,8,["options","value"])]),ccSjKsrq:Object(a["withCtx"])(({row:e})=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.ccSjKsrq+"时 — "+e.ccSjJsrq+"时"),1)]),ccLx:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(r,{options:Object(a["unref"])(c),value:e.ccLx,tag:!1},null,8,["options","value"])]),kqShzt:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(r,{options:Object(a["unref"])(s),value:e.kqShzt,tag:!1},null,8,["options","value"])]),controls:Object(a["withCtx"])(({row:e})=>{var t;return[Object(a["createVNode"])(u,{type:"primary",onClick:t=>p("detail",e.id,e)},{default:Object(a["withCtx"])(()=>[D]),_:2},1032,["onClick"]),B,"01"==(null===e||void 0===e||null===(t=e.kqShry)||void 0===t?void 0:t.kqShzt)?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:0,type:"primary",onClick:t=>p("sp",e.id,e)},{default:Object(a["withCtx"])(()=>[E]),_:2},1032,["onClick"])):Object(a["createCommentVNode"])("",!0)]}),_:1},8,["tableData","tableColumn","tableHeight","tableConfiger"])),Object(a["createVNode"])(n["a"],{onChangeNo:e.changeNo,onChangeSize:e.changeSize,tableHeight:j.tableHeight,pageConfiger:j.pageConfiger},null,8,["onChangeNo","onChangeSize","tableHeight","pageConfiger"])]),Object(a["createVNode"])(V,{ref_key:"detailDialog",ref:b,onUpdateDate:O},null,512)])}}};c("2db7");const L=T;t["default"]=L},"7ab1":function(e,t,c){},c7f6:function(e,t,c){"use strict";c("ef00")},ccd9:function(e,t,c){},d634:function(e,t,c){"use strict";c("7ab1")},ef00:function(e,t,c){}}]);