index-97828b06.js 2.8 KB

1
  1. import{d as g,Z as v,r as e,u as x,b as P,bj as j,a as r,o as z,c as C,f as t,A as l,F as D,a9 as H,aa as R,H as V,__tla as A}from"./index-6e0fa573.js";import{_ as F,__tla as I}from"./OperateLogV2-f6cc5955.js";import{u as N,__tla as Z}from"./tagsView-73f01bae.js";import{g as k,a as q,__tla as B}from"./ProductForm.vue_vue_type_script_setup_true_lang-19ca7aa1.js";import{_ as E,__tla as G}from"./ProductDetailsHeader.vue_vue_type_script_setup_true_lang-3da36dd3.js";import{_ as J,__tla as K}from"./ProductDetailsInfo.vue_vue_type_script_setup_true_lang-0f938834.js";import{__tla as L}from"./el-timeline-item-248613ef.js";import{__tla as M}from"./formatTime-4408999b.js";import{__tla as O}from"./dict-33efee75.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Q}from"./Dialog-a16029e3.js";import{__tla as S}from"./index-24bc0f25.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-f6f28fe0.js";import{__tla as U}from"./useMessage-7f978edc.js";import{__tla as W}from"./ContentWrap.vue_vue_type_script_setup_true_lang-bed37a76.js";import{__tla as X}from"./el-card-f999e23d.js";import{__tla as Y}from"./el-descriptions-item-868c8d3f.js";import{__tla as $}from"./DictTag.vue_vue_type_script_lang-66c5118d.js";import"./color-6e929987.js";import{__tla as tt}from"./el-collapse-item-0400a39e.js";let i,at=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return B}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 W}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})()]).then(async()=>{i=g({name:"CrmProductDetail",__name:"index",setup(rt){const f=v(),o=Number(f.params.id),s=e(!0),c=e({}),u=async a=>{s.value=!0;try{c.value=await k(a),await p(a)}finally{s.value=!1}},n=e([]),p=async a=>{if(!a)return;const _=await q({bizId:a});n.value=_.list},{delView:y}=N(),{currentRoute:h}=x();return P(async()=>{if(!o)return j.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4EA7\u54C1\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void y(r(h));await u(o)}),(a,_)=>{const m=H,d=F,w=R,b=V;return z(),C(D,null,[t(E,{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(J,{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};