index-f6e60afd.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-337b8033.js";import{_ as J,__tla as N}from"./OperateLogV2-8b42b4cd.js";import{u as V,__tla as X}from"./tagsView-d95a8ae7.js";import{g as k,a as q,__tla as A}from"./ProductForm-76e2ec69.js";import B,{__tla as G}from"./ProductDetailsHeader-e7c0ee4e.js";import H,{__tla as K}from"./ProductDetailsInfo-d354fadf.js";import{__tla as L}from"./el-timeline-item-512cbb8f.js";import{__tla as M}from"./formatTime-1b98b49c.js";import{__tla as O}from"./dict-44d92263.js";import{__tla as Q}from"./Dialog-bd1e847d.js";import{__tla as S}from"./index-be278c5b.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-5c87a086.js";import{__tla as U}from"./useMessage-c7cb6480.js";import{__tla as Y}from"./ContentWrap-948776d6.js";import{__tla as Z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-ec558bcf.js";import{__tla as $}from"./el-card-4dade640.js";import{__tla as tt}from"./el-descriptions-item-f61d540e.js";import{__tla as at}from"./DictTag-1c38c28a.js";import"./color-6e929987.js";import{__tla as rt}from"./el-collapse-item-45f3f9ec.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};