index-68974a1f.js 2.7 KB

1
  1. import{d as g,J as x,r as c,u as b,l as z,aW as D,a as r,o as P,c as W,f as t,w as l,F as j,W as C,X as F,E as I,_ as R,__tla as E}from"./index-6d7b82ba.js";import{_ as J,__tla as N}from"./OperateLogV2-38f61cb5.js";import{u as V,__tla as X}from"./tagsView-e5f9218a.js";import{g as k,a as q,__tla as A}from"./ProductForm-406019cc.js";import B,{__tla as G}from"./ProductDetailsHeader-4ca68727.js";import H,{__tla as K}from"./ProductDetailsInfo-a25f78c9.js";import{__tla as L}from"./el-timeline-item-cf907363.js";import{__tla as M}from"./formatTime-d24faf41.js";import{__tla as O}from"./dict-efb5f3b6.js";import{__tla as Q}from"./Dialog-78181bae.js";import{__tla as S}from"./index-7af0c63f.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-5ea658e7.js";import{__tla as U}from"./useMessage-be161634.js";import{__tla as Y}from"./ContentWrap-1ba5c8ca.js";import{__tla as Z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-68bb15fa.js";import{__tla as $}from"./el-card-1a4b93b1.js";import{__tla as tt}from"./el-descriptions-item-a49b1792.js";import{__tla as at}from"./DictTag-300da1c0.js";import"./color-6e929987.js";import{__tla as rt}from"./el-collapse-item-2a674d59.js";let i,_t=Promise.all([(()=>{try{return E}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return K}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 Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return rt}catch{}})()]).then(async()=>{i=R(g({name:"CrmProductDetail",__name:"index",setup(lt){const f=x(),e=Number(f.params.id),o=c(!0),s=c({}),n=async a=>{o.value=!0;try{s.value=await k(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}=V(),{currentRoute:d}=b();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 m=C,h=J,w=F,v=I;return P(),W(j,null,[t(B,{product:r(s),loading:r(o),onRefresh:_[0]||(_[0]=et=>n(r(e)))},null,8,["product","loading"]),t(v,null,{default:l(()=>[t(w,null,{default:l(()=>[t(m,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(H,{product:r(s)},null,8,["product"])]),_:1}),t(m,{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{_t as __tla,i as default};