import{Q as o,c as i,w as t,i as r,o as s,t as p,A as a}from"./index-DL8B2Mxu.js";import{c as m}from"./form.C3M220Hb.js";import{i as e}from"./flowEngine.BUKhPj-S.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.Db6Dbd9Z.js";import"./index.CqpP6RFA.js";import"./u-loading.C818sdP8.js";import"./uni-app.es.BSVEa1f2.js";import"./u-popup.0TcTDuv5.js";import"./u-icon.CLOPtL2B.js";import"./u-divider.C4lAASRu.js";import"./u-line.Dv-HC5jX.js";import"./u-input.B4n5960Q.js";import"./emitter.DrjJCwnj.js";import"./u-upload.CDhOb6bX.js";import"./uni-icons.BmNngUg_.js";import"./MultSelect.HKBUWGE0.js";import"./u-search.C1fh-wIV.js";import"./u-checkbox.Dp_avZuX.js";import"./u-checkbox-group.D7dI-rTX.js";import"./u-radio-group.CW9pf2fC.js";import"./resources.DipqUmnN.js";import"./u-button.D-oh2uo-.js";import"./mp-html.BLGMDPJW.js";import"./u-form.UL3ywNK9.js";import"./u-tabs.YLQ0tmbs.js";import"./u-badge.B5SA0J9t.js";import"./index.BpOsgYDC.js";import"./index.BbN9w5O5.js";import"./u-tag.Bs11KZVx.js";import"./ly-tree.vn0DIbc6.js";import"./ly-checkbox.DwGV7MZ3.js";import"./index.DCakgrVH.js";import"./index.BfbXn5Nx.js";import"./index.B2KitnOA.js";import"./base.CMwblFzk.js";import"./index.DO4NYH_9.js";import"./u-avatar.oTnux-Fl.js";import"./index.Dkanqzsr.js";import"./u-action-sheet.B77nuIW_.js";import"./order.CRLxZzTS.js";const d=n({name:"scanForm",components:{childForm:m},data:()=>({webType:"",origin:"",config:{},formConf:{},flowConfig:{},isShow:!1,dataSource:""}),onLoad(o){let i=JSON.parse(o.config);this.initData(i)},methods:{initData(o){e(o.id).then((i=>{const t="propertyJson"===o.ds?"propertyJson":"draftJson";i.data&&i.data[t]&&(this.config={formEnCode:i.data.enCode,flowId:i.data.id,formConf:i.data[t],formType:i.data.formType,fullName:i.data.fullName},this.isShow=!0)}))}}},[["render",function(m,e,n,d,j,u){const f=o("childForm"),c=r;return s(),i(c,{class:"dynamicModel-v"},{default:t((()=>[j.isShow?(s(),i(c,{key:0,class:"jnpf-wrap jnpf-wrap-form"},{default:t((()=>[p(f,{ref:"child",config:j.config},null,8,["config"])])),_:1})):a("",!0)])),_:1})}],["__scopeId","data-v-7ad64f72"]]);export{d as default};
