UserMobileTab-a2e938d5.js 2.7 KB

1
  1. import{d as w,N as B,r as i,z as j,A as E,h as u,D as x,a as t,o as r,k as s,w as y,j as p,i as o,R,S as f,M as k,_ as q,__tla as A}from"./index-e8ea4cae.js";import{_ as D,__tla as S}from"./ContentWrap-0d9d7511.js";import z,{__tla as F}from"./UserForm-40987820.js";import M,{__tla as U}from"./UserAssignRoleForm-2b0bb76b.js";import{__tla as P}from"./el-card-83e21124.js";import{__tla as C}from"./el-tree-select-29e25901.js";import{__tla as I}from"./dict-0479e5a1.js";import"./constants-d55a3460.js";import"./tree-0af4953a.js";import{__tla as J}from"./index-bc34c795.js";import{__tla as O}from"./index-a3e9bb0b.js";import{__tla as W}from"./index-8735f113.js";import{__tla as G}from"./useMessage-143d3b02.js";import{__tla as H}from"./index-409e9361.js";import{__tla as K}from"./index-315f2511.js";let d,L=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}catch{}})()]).then(async()=>{let l,_;l={class:"top",style:{position:"relative",overflow:"hidden"}},_={class:"bottom"},d=q(w({name:"ProductSpuForm",__name:"UserMobileTab",setup(Q){const a=B();console.log(a.query);const g=a.query.type,n=JSON.parse(a.query.obj),h=i(!1),e=i("info");return j(()=>{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)"}),(V,m)=>{const c=u("van-tab"),b=u("van-tabs"),v=D,T=k;return x((r(),s(v,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:y(()=>[p("div",l,[o(b,{active:t(e),"onUpdate:active":m[0]||(m[0]=N=>R(e)?e.value=N:null)},{default:y(()=>[o(c,{title:"\u57FA\u672C\u4FE1\u606F",name:"info"}),o(c,{title:"\u5206\u914D\u89D2\u8272",name:"AssignRoles"})]),_:1},8,["active"])]),p("div",_,[t(e)=="info"?(r(),s(z,{key:0,obj:t(n),ref:"userFormRef",isDetail:!0,openType:t(g)},null,8,["obj","openType"])):f("",!0),t(e)=="AssignRoles"?(r(),s(M,{key:1,obj:t(n),ref:"userAssignRoleFormRef",isDetail:!0},null,8,["obj"])):f("",!0)])]),_:1})),[[T,t(h)]])}}}),[["__scopeId","data-v-2a0eb7fd"],["__file","D:/zx/mall-newfeifan-zx-business/src/views/system/user/UserMobileTab.vue"]])});export{L as __tla,d as default};