Files
qhmes/deploy-qhmes/frontend/js/index-kY4P5SI6.js

2 lines
8.9 KiB
Java
Raw Normal View History

2026-05-15 11:34:12 +08:00
var B=(E,h,r)=>new Promise((U,g)=>{var D=d=>{try{y(r.next(d))}catch(m){g(m)}},M=d=>{try{y(r.throw(d))}catch(m){g(m)}},y=d=>d.done?U(d.value):Promise.resolve(d.value).then(D,M);y((r=r.apply(E,h)).next())});import{d as ge,w as ve,u as l,f,ah as s,ar as $,as as I,ag as q,k as t,aO as ye,aF as o,au as S,r as R,F as be,G as u,av as z,aC as _e,e as Ce,at as xe,J as we}from"./vue-vendor-C7Zq48Yl.js";import{u as ke}from"./index-BgJbdjPf.js";import"./index-Du0A3ksf.js";import{g as A,a as Ie,_ as Se,d as Re,b as he,s as Ue,c as De,e as Me}from"./DemoModal-CEioBySd.js";import{r as Te}from"./JImportModal-DCGkPik8.js";import{u as J}from"./JAddInput-D6qcyZjQ.js";import{useMethods as Fe}from"./useMethods-DVip17X8.js";import{bB as je,al as V,U as Be,d as $e}from"./index-BI6CMai0.js";import{J as qe}from"./componentMap-BBZeqR-K.js";import Ee from"./BasicTable-DfLkrEeh.js";import"./antd-vue-vendor-BPnV8VqP.js";import"./BasicModal-0sAdFEk_.js";import"./ModalHeader-keHdAHWH.js";import"./useTimeout-DDl4l82I.js";import"./vxe-table-vendor-B88kchpX.js";import"./index-DeEq83Ov.js";import"./useWindowSizeFn-PRZSD86C.js";import"./index-pxs5MULf.js";import"./index-BgYCgfME.js";import"./index-f8O7TghW.js";import"./useIntersectionObserver-BMxdTqP3.js";import"./index-Di-j2gt4.js";import"./BasicForm-BJnSRkIE.js";import"./useForm-BZtHZyx2.js";import"./JAreaLinkage-BeRUFHSB.js";import"./areaDataUtil-CbYCy3Ig.js";import"./JSelectUser-B71zikzw.js";import"./props-DAezUTeZ.js";import"./JSelectBiz-CnEaVMUF.js";import"./JSelectDept-DRDVeruW.js";import"./index-CUdllngZ.js";import"./bem-EhXRi4nW.js";import"./props-D4vdsy3J.js";import"./useContextMenu-Cwx1lIOK.js";import"./TreeIcon-DE4jdeZV.js";import"./JCodeEditor-CLVZA7Uj.js";import"./useFormItem-BdW6EoZe.js";import"./htmlmixed-NhwyF9-q.js";import"./vue-CgbRSACy.js";/* empty css */import"./JPopup-Bva6u6tk.js";import"./usePopBiz-CG0vVpgI.js";import"./index-Dg4HCEvo.js";import"./EasyCronInput-7xfJ3nBh.js";import"./JEllipsis-DqRFTSm0.js";import"./renderUtils-BumghUlZ.js";import"./index-CNkz_PUv.js";import"./depart.api-DeMNV8zW.js";import"./download-UE0L9Rfp.js";import"./base64Conver-24EVOS6V.js";import"./index-CIBZG4nR.js";import"./index-BhQEwnQQ.js";import"./useCountdown-DqnNWBp6.js";import"./useFormItemSingle-BbRhswfn.js";import"./JUpload-Cz9HN61B.js";import"./index-MGIrEF-A.js";import"./index-MREkPhsT.js";import"./injectionKey-DPVn4AgL.js";const Ke={style:{float:"left",overflow:"hidden"},class:"table-page-search-submitButtons"},Ne=ge({__name:"index",setup(E){const h=je(),r=f([]),[U,{openModal:g}]=V(),[D,{openModal:M}]=V(),{handleExportXls:y,handleImportXls:d}=Fe(),m=f(),T=f(),w=f(!1),[Y,{reload:v,setProps:K}]=ke({title:"单表示例",api:Me,columns:De,formConfig:{schemas:Ue,fieldMapToTime:[["birthday",["birthday_begin","birthday_end"],"YYYY-MM-DD"]],fieldMapToNumber:[["age",["age_begin","age_end"]]],autoAdvancedCol:2,actionColOptions:{style:{textAlign:"left"}}},defSort:[{column:"name",order:"desc"},{column:"sex",order:"asc"}],striped:!0,useSearchForm:!0,showTableSetting:!0,clickToRowSelect:!1,bordered:!0,showIndexColumn:!1,tableSetting:{fullScreen:!0},canResize:!1,rowKey:"id",actionColumn:{width:180,title:"操作",dataIndex:"action",slots:{customRender:"action"},fixed:void 0}}),P={type:"checkbox",columnWidth:40,selectedRowKeys:r,onChange:X};function Q(){M(!0)}const G=Ce(()=>{let n={};return r.value&&r.value.length>0&&(n.selections=r.value.join(",")),Be(n)});function L(n){return[{label:"编辑",onClick:W.bind(null,n)},{label:"详情",onClick:Z.bind(null,n)},{label:"删除",popConfirm:{title:"是否确认删除",confirm:ee.bind(null,n)}}]}function X(n){r.value=n}function H(){w.value=!1,g(!0,{isUpdate:!1})}function W(n){w.value=!1,g(!0,{record:n,isUpdate:!0})}function Z(n){w.value=!0,g(!0,{record:n,isUpdate:!0})}function ee(n){return B(this,null,function*(){yield Re({id:n.id},v)})}function te(){return B(this,null,function*(){yield he({ids:r.value},v)})}function N(n,e){n[e]=[l(m),l(T)]}function oe(){h("/comp/jeecg/basic")}const Oe=f(),ne=R({xs:{span:24},sm:{span:7}}),ae=R({xs:{span:24},sm:{span:16}}),b=f