import{d as T,Y as B,r as l,b as E,s as N,l as _,a as e,o as s,A as a,B as p,C as c,f as r,a0 as j,E as d,X as R}from"./index-b8922f5d.js";import{_ as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-b3fd0fde.js";import"./index-729fb2fd.js";import h from"./UserForm-e5cd0a19.js";import k from"./UserAssignRoleForm-8ef7908f.js";import{T as q,a as x}from"./index-bbd9a0a3.js";import{_ as A}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-e8cb81af.js";import"./el-tree-select-453fa5ba.js";import"./dict-592714ae.js";import"./constants-c811e5ff.js";import"./tree-0af4953a.js";import"./index-1ff0005d.js";import"./index-6ee5651a.js";import"./index-fc6930ab.js";import"./useMessage-430097f4.js";import"./index-fa2d6229.js";import"./index-f0644c0c.js";const F={class:"top",style:{position:"relative",overflow:"hidden"}},S={class:"bottom"},C=A(T({name:"ProductSpuForm",__name:"UserMobileTab",setup(D){const o=B();console.log(o.query);const u=o.query.type,n=JSON.parse(o.query.obj),y=l(!1),t=l("info");return E(()=>{document.getElementsByTagName("section")[1].style.padding="0px",document.getElementsByTagName("section")[1].style.width="100%",document.getElementsByTagName("section")[1].style.background="#f5f7f9",document.getElementsByTagName("section")[1].querySelector("div").style.border="none"}),N(()=>{document.getElementsByTagName("section")[1].style.width="auto",document.getElementsByTagName("section")[1].style.padding="20px",document.getElementsByTagName("section")[1].style.background="var(--el-color-white)"}),(U,i)=>{const m=q,f=x,g=w,b=R;return _((s(),a(g,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:p(()=>[c("div",F,[r(f,{active:e(t),"onUpdate:active":i[0]||(i[0]=v=>j(t)?t.value=v:null)},{default:p(()=>[r(m,{title:"\u57FA\u672C\u4FE1\u606F",name:"info"}),r(m,{title:"\u5206\u914D\u89D2\u8272",name:"AssignRoles"})]),_:1},8,["active"])]),c("div",S,[e(t)=="info"?(s(),a(h,{key:0,obj:e(n),ref:"userFormRef",isDetail:!0,openType:e(u)},null,8,["obj","openType"])):d("",!0),e(t)=="AssignRoles"?(s(),a(k,{key:1,obj:e(n),ref:"userAssignRoleFormRef",isDetail:!0},null,8,["obj"])):d("",!0)])]),_:1})),[[b,e(y)]])}}}),[["__scopeId","data-v-25f142dc"]]);export{C as default};