1 |
- import{d as _,L as B,r as l,x as N,y as E,h as p,B as j,a as e,o,j as s,w as c,k as d,i as a,P as w,l as u,K as h}from"./index-df709923.js";import{_ as k}from"./ContentWrap.vue_vue_type_script_setup_true_lang-e908c5dd.js";import x from"./UserForm-30b1842f.js";import R from"./UserAssignRoleForm-539b4c58.js";import{_ as q}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-91c2276d.js";import"./el-tree-select-880d8b15.js";import"./dict-017bf708.js";import"./constants-e43f22dd.js";import"./tree-fd3a041e.js";import"./index-a3e03a3f.js";import"./index-82ac6934.js";import"./index-3b083ee0.js";import"./useMessage-89e9d1aa.js";import"./index-0fc226cd.js";import"./index-78fb78a0.js";const A={class:"top",style:{position:"relative",overflow:"hidden"}},F={class:"bottom"},S=q(_({name:"ProductSpuForm",__name:"UserMobileTab",setup(D){const n=B(),y=n.query.type,i=JSON.parse(n.query.obj),f=l(!1),t=l("info");return N(()=>{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"}),E(()=>{document.getElementsByTagName("section")[1].style.width="auto",document.getElementsByTagName("section")[1].style.padding="20px",document.getElementsByTagName("section")[1].style.background="var(--el-color-white)"}),(P,r)=>{const m=p("van-tab"),g=p("van-tabs"),v=k,b=h;return j((o(),s(v,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:c(()=>[d("div",A,[a(g,{active:e(t),"onUpdate:active":r[0]||(r[0]=T=>w(t)?t.value=T:null)},{default:c(()=>[a(m,{title:"\u57FA\u672C\u4FE1\u606F",name:"info"}),a(m,{title:"\u5206\u914D\u89D2\u8272",name:"AssignRoles"})]),_:1},8,["active"])]),d("div",F,[e(t)=="info"?(o(),s(x,{key:0,obj:e(i),ref:"userFormRef",isDetail:!0,openType:e(y)},null,8,["obj","openType"])):u("",!0),e(t)=="AssignRoles"?(o(),s(R,{key:1,obj:e(i),ref:"userAssignRoleFormRef",isDetail:!0},null,8,["obj"])):u("",!0)])]),_:1})),[[b,e(f)]])}}}),[["__scopeId","data-v-25f142dc"]]);export{S as default};
|