Files
qhmes/deploy-qhmes/frontend/js/FieldExtendJsonModal-C9MvnALf-Cbou3qhk.js

2 lines
7.2 KiB
Java
Raw Normal View History

2026-05-15 11:34:12 +08:00
import{d as B,f as c,r as I,J as j,I as E,ah as b,aC as G,as as V,aG as T,aF as S,k as O}from"./vue-vendor-C7Zq48Yl.js";import{B as C}from"./index-Du0A3ksf.js";import K from"./SetSwitchOptions-CVRgZH8g-z6D6JK1w.js";import"./index-Di-j2gt4.js";import{p as A}from"./antd-vue-vendor-BPnV8VqP.js";import{o as R}from"./constant-DnbpmwZg-Ddbq-fz2.js";import{ak as D,a0 as J}from"./index-BI6CMai0.js";import{h as U}from"./main.index-Cs5ETdXF.js";import{u as q}from"./useForm-BZtHZyx2.js";import{B as W}from"./BasicForm-BJnSRkIE.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"./componentMap-BBZeqR-K.js";import"./useFormItem-BdW6EoZe.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"./JSelectUser-B71zikzw.js";import"./props-DAezUTeZ.js";import"./JSelectBiz-CnEaVMUF.js";import"./JAddInput-D6qcyZjQ.js";import"./areaDataUtil-CbYCy3Ig.js";import"./index-CNkz_PUv.js";import"./index-CUdllngZ.js";import"./bem-EhXRi4nW.js";import"./props-D4vdsy3J.js";import"./useContextMenu-Cwx1lIOK.js";import"./depart.api-DeMNV8zW.js";import"./TreeIcon-DE4jdeZV.js";import"./JSelectDept-DRDVeruW.js";import"./JPopup-Bva6u6tk.js";import"./usePopBiz-CG0vVpgI.js";import"./useMethods-DVip17X8.js";import"./index-Dg4HCEvo.js";import"./JEllipsis-DqRFTSm0.js";import"./JUpload-Cz9HN61B.js";import"./index-MGIrEF-A.js";import"./index-MREkPhsT.js";import"./JAreaLinkage-BeRUFHSB.js";import"./JCodeEditor-CLVZA7Uj.js";import"./htmlmixed-NhwyF9-q.js";import"./vue-CgbRSACy.js";/* empty css */import"./EasyCronInput-7xfJ3nBh.js";var Y=Object.defineProperty,Z=Object.defineProperties,$=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,x=(l,i,r)=>i in l?Y(l,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[i]=r,F=(l,i)=>{for(var r in i||(i={}))z.call(i,r)&&x(l,r,i[r]);if(P)for(var r of P(i))H.call(i,r)&&x(l,r,i[r]);return l},Q=(l,i)=>Z(l,$(i)),k=(l,i,r)=>new Promise((f,a)=>{var t=p=>{try{u(r.next(p))}catch(m){a(m)}},d=p=>{try{u(r.throw(p))}catch(m){a(m)}},u=p=>p.done?f(p.value):Promise.resolve(p.value).then(t,d);u((r=r.apply(l,i)).next())});const X=B({name:"FieldExtendJsonModal",components:{BasicModal:C,BasicForm:W,SetSwitchOptions:K},emits:["success","register"],setup(l,{emit:i}){const r=c(!1);function f(){a.uploadnum=0,a.showLength="",a.popupMulti=!0,a.multiSelect=!0,a.store="",a.text="",a.orderRule="",a.validateError="",a.labelLength=R}const a=I({uploadnum:0,showLength:"",popupMulti:!0,store:"",text:"",multiSelect:!0,orderRule:"",validateError:"",labelLength:R}),t=c(""),d=c(""),u=c("0"),p=c(""),m=[{label:"rowKey",field:"rowKey",component:"Input",show:!1},{label:"文件上传数量",field:"uploadnum",component:"InputNumber",componentProps:{style:{width:"100%"}},ifShow:()=>t.value==="file"||t.value==="image"},{label:"是否多选",field:"popupMulti",component:"RadioGroup",defaultValue:!0,componentProps:{options:[{label:"",value:!1},{label:"",value:!0}]},ifShow:()=>t.value==="popup"||t.value==="popup_dict"},{label:"是否多选",field:"multiSelect",component:"RadioGroup",defaultValue:!0,componentProps:{options:[{label:"",value:!1},{label:"",value:!0}]},ifShow:()=>t.value==="sel_user"||t.value==="sel_depart"},{label:"存储字段",field:"store",component:"Input",ifShow:()=>t.value==="sel_user"||t.value==="sel_depart"},{label:"展示字段",field:"text",component:"Input",ifShow:()=>t.value==="sel_user"||t.value==="sel_depart"},{label:"默认排序",field:"orderRule",component:"RadioGroup",defaultValue:"",componentProps:{options:[{label:"降序",value:"desc"},{label:"升序",value:"asc"},{label:"不默认排序",value:""