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-d699e49b.js";import{_ as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-f88f7d38.js";import"./index-b25103c2.js";import h from"./UserForm-b76fcdee.js";import k from"./UserAssignRoleForm-c9052aca.js";import{T as q,a as x}from"./index-00791b5f.js";import{_ as A}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-6b272277.js";import"./el-tree-select-4b050a0f.js";import"./dict-283fdba2.js";import"./constants-c811e5ff.js";import"./tree-0af4953a.js";import"./index-98bd2c01.js";import"./index-5e5e58c8.js";import"./index-573a6661.js";import"./useMessage-28fef0d4.js";import"./index-5085f073.js";import"./index-6863b2a2.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};