index-900ed188.js 2.7 KB

1
  1. import{d as g,N as v,r as e,u as x,z,b0 as P,a as r,o as R,c as D,i as t,w as l,F as I,Y as N,Z as V,E as j,__tla as C}from"./index-1e808f2e.js";import{_ as E,__tla as F}from"./OperateLogV2-fc1b782e.js";import{u as Y,__tla as Z}from"./tagsView-1954bd1b.js";import{g as k,a as q,__tla as A}from"./ProductForm.vue_vue_type_script_setup_true_lang-4272beae.js";import{_ as B,__tla as G}from"./ProductDetailsHeader.vue_vue_type_script_setup_true_lang-1e870921.js";import{_ as H,__tla as J}from"./ProductDetailsInfo.vue_vue_type_script_setup_true_lang-b52d2600.js";import{__tla as K}from"./el-timeline-item-cb959fb7.js";import{__tla as L}from"./formatTime-a348c3be.js";import{__tla as M}from"./dict-a31cb4ba.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as O}from"./Dialog-f44f9d78.js";import{__tla as Q}from"./index-3cd366e9.js";import"./tree-fd3a041e.js";import{__tla as S}from"./index-684d98da.js";import{__tla as T}from"./useMessage-5f9e8917.js";import{__tla as U}from"./ContentWrap.vue_vue_type_script_setup_true_lang-cc335a20.js";import{__tla as W}from"./el-card-03b3588b.js";import{__tla as X}from"./el-descriptions-item-8d4be2e8.js";import{__tla as $}from"./DictTag.vue_vue_type_script_lang-5c02ebfe.js";import"./color-6e929987.js";import{__tla as tt}from"./el-collapse-item-e45787ff.js";let i,at=Promise.all([(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return J}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 W}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})()]).then(async()=>{i=g({name:"CrmProductDetail",__name:"index",setup(rt){const p=v(),o=Number(p.params.id),s=e(!0),c=e({}),u=async a=>{s.value=!0;try{c.value=await k(a),await f(a)}finally{s.value=!1}},n=e([]),f=async a=>{if(!a)return;const _=await q({bizId:a});n.value=_.list},{delView:y}=Y(),{currentRoute:h}=x();return z(async()=>{if(!o)return P.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4EA7\u54C1\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void y(r(h));await u(o)}),(a,_)=>{const m=N,d=E,w=V,b=j;return R(),D(I,null,[t(B,{product:r(c),loading:r(s),onRefresh:_[0]||(_[0]=_t=>u(r(o)))},null,8,["product","loading"]),t(b,null,{default:l(()=>[t(w,null,{default:l(()=>[t(m,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(H,{product:r(c)},null,8,["product"])]),_:1}),t(m,{label:"\u64CD\u4F5C\u65E5\u5FD7"},{default:l(()=>[t(d,{"log-list":r(n)},null,8,["log-list"])]),_:1})]),_:1})]),_:1})],64)}}})});export{at as __tla,i as default};