index-7351010e.js 2.6 KB

1
  1. import{d as v,$ as g,r as c,u as x,b as z,bk as D,a as r,o as P,c as j,f as t,A as l,F as A,aa as I,ab as R,H as V,_ as k,__tla as B}from"./index-f6fb8e95.js";import{_ as C,__tla as F}from"./OperateLogV2-e3ff6db3.js";import{u as H,__tla as N}from"./tagsView-99b53ea3.js";import{g as $,a as q,__tla as E}from"./ProductForm-a2709438.js";import G,{__tla as J}from"./ProductDetailsHeader-6469166d.js";import K,{__tla as L}from"./ProductDetailsInfo-09721e7b.js";import{__tla as M}from"./el-timeline-item-4391c2d1.js";import{__tla as O}from"./formatTime-ddd96ac8.js";import{__tla as Q}from"./dict-c9a7f6a4.js";import{__tla as S}from"./Dialog-ac2b0e4e.js";import{__tla as T}from"./index-e72c58b9.js";import"./tree-0af4953a.js";import{__tla as U}from"./index-28b98e3d.js";import{__tla as W}from"./useMessage-3b767a67.js";import{__tla as X}from"./ContentWrap-96bb70ec.js";import{__tla as Y}from"./el-card-8db16709.js";import{__tla as Z}from"./el-descriptions-item-60dd5c8e.js";import{__tla as tt}from"./DictTag-81730a57.js";import"./color-6e929987.js";import{__tla as at}from"./el-collapse-item-3814a4ae.js";let m,rt=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})()]).then(async()=>{m=k(v({name:"CrmProductDetail",__name:"index",setup(_t){const f=g(),e=Number(f.params.id),o=c(!0),s=c({}),n=async a=>{o.value=!0;try{s.value=await $(a),await p(a)}finally{o.value=!1}},u=c([]),p=async a=>{if(!a)return;const _=await q({bizId:a});u.value=_.list},{delView:y}=H(),{currentRoute:d}=x();return z(async()=>{if(!e)return D.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4EA7\u54C1\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void y(r(d));await n(e)}),(a,_)=>{const i=I,h=C,w=R,b=V;return P(),j(A,null,[t(G,{product:r(s),loading:r(o),onRefresh:_[0]||(_[0]=lt=>n(r(e)))},null,8,["product","loading"]),t(b,null,{default:l(()=>[t(w,null,{default:l(()=>[t(i,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(K,{product:r(s)},null,8,["product"])]),_:1}),t(i,{label:"\u64CD\u4F5C\u65E5\u5FD7"},{default:l(()=>[t(h,{"log-list":r(u)},null,8,["log-list"])]),_:1})]),_:1})]),_:1})],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/crm/product/detail/index.vue"]])});export{rt as __tla,m as default};