index-52f41249.js 2.6 KB

1
  1. import{d as v,K as b,r as c,u as x,l as z,b1 as D,a as r,o as P,c as j,g as t,w as l,F as C,X as F,Y as I,E as R,_ as V,__tla as E}from"./index-b362e1d5.js";import{_ as K,__tla as N}from"./OperateLogV2-dd995d4b.js";import{u as X,__tla as Y}from"./tagsView-cac7a8eb.js";import{g as k,a as q,__tla as A}from"./ProductForm-9a7f1077.js";import B,{__tla as G}from"./ProductDetailsHeader-59540941.js";import H,{__tla as J}from"./ProductDetailsInfo-284d1bb5.js";import{__tla as L}from"./el-timeline-item-43bed214.js";import{__tla as M}from"./formatTime-053b1c05.js";import{__tla as O}from"./dict-9948b178.js";import{__tla as Q}from"./Dialog-71bebaff.js";import{__tla as S}from"./index-f7977181.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-93c6401e.js";import{__tla as U}from"./useMessage-7c1dd10e.js";import{__tla as W}from"./ContentWrap-a3bb871b.js";import{__tla as Z}from"./el-card-732e29b8.js";import{__tla as $}from"./el-descriptions-item-190ce268.js";import{__tla as tt}from"./DictTag-e097450d.js";import"./color-6e929987.js";import{__tla as at}from"./el-collapse-item-2638b8e6.js";let m,rt=Promise.all([(()=>{try{return E}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}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 Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})()]).then(async()=>{m=V(v({name:"CrmProductDetail",__name:"index",setup(_t){const f=b(),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}=X(),{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=F,h=K,w=I,g=R;return P(),j(C,null,[t(B,{product:r(s),loading:r(o),onRefresh:_[0]||(_[0]=lt=>n(r(e)))},null,8,["product","loading"]),t(g,null,{default:l(()=>[t(w,null,{default:l(()=>[t(i,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(H,{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};