import{_ as k}from"./index-sxX6oYqj.js";/* empty css                   *//* empty css                   *//* empty css                        *//* empty css                    *//* empty css                     */import"./add-or-edit.vue_vue_type_style_index_0_lang-DU4oKO67.js";import{c as B,j as O,d as U}from"./project-FP849N9h.js";import{x as M,e as R,q as S,i as q,C as K,K as W,j as X,y as $,r as z}from"./element-plus-xvP3-5Ws.js";import{d as A,b as s,c as H,w as J,X as Q,M as b,N as g,a1 as e,W as a,_ as u,$ as r}from"./vue-ChXMuCsz.js";const Y={style:{padding:"30px"}},Z=["src"],ee={key:1},ae=A({__name:"Project_Form_Info",props:{row:{}},setup(D){const I=s([]),t=s({}),j=s([]),x=s("1"),h=s(""),p=s(!1),c=s(!1),f=s(!1),m=s(!1),w=D,i=H(()=>w.row);J(()=>w.row,_=>F()),F();function F(){console.log("load_Data"),p.value=!0,c.value=!0,f.value=!0,m.value=!0,G().then(()=>{p.value=!1,m.value=p.value||c.value||f.value}),P().then(()=>{c.value=!1,m.value=p.value||c.value||f.value}),E().then(()=>{f.value=!1,m.value=p.value||c.value||f.value})}function E(){let _={projectGxId:i.value.projectGxId};return B(_).then(o=>{I.value=o!=="[]"?o:[]})}function G(){let _={projectGxId:i.value.projectGxId};return O(_).then(o=>{t.value=o,o.logoFileId&&window.load_File(o.logoFileId).then(l=>{h.value=l.url})})}function P(){let _={projectGxId:i.value.projectGxId};return U(_).then(o=>{j.value=o!=="[]"?o:[]})}return(_,o)=>{const l=X,n=W,y=K,C=q,v=S,d=z,N=$,L=R,T=M;return Q((g(),b("div",Y,[e(L,{modelValue:x.value,"onUpdate:modelValue":o[0]||(o[0]=V=>x.value=V),class:"detail-tabs"},{default:a(()=>[e(v,{label:"基本信息",name:"1"},{default:a(()=>[e(C,{"label-position":"left"},{default:a(()=>[e(y,null,{default:a(()=>[e(n,{span:12},{default:a(()=>[e(l,{label:"项目编号："},{default:a(()=>[u(r(t.value.projectId),1)]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(l,{label:"项目名称："},{default:a(()=>[u(r(t.value.projectName),1)]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(l,{label:"计划开始时间："},{default:a(()=>[u(r(t.value.startDate),1)]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(l,{label:"计划结束时间："},{default:a(()=>[u(r(t.value.endDate),1)]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(l,{label:"创建人："},{default:a(()=>[u(r(t.value.createUserName),1)]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(l,{label:"创建时间："},{default:a(()=>[u(r(t.value.createDate),1)]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(l,{label:"客户编号："},{default:a(()=>[u(r(t.value.customerId),1)]),_:1})]),_:1}),e(n,{span:12},{default:a(()=>[e(l,{label:"负责人："},{default:a(()=>[u(r(t.value.principalUserName),1)]),_:1})]),_:1}),e(n,{span:24},{default:a(()=>[e(l,{label:"项目说明："},{default:a(()=>[u(r(t.value.projectNote),1)]),_:1})]),_:1}),e(n,{span:24},{default:a(()=>[e(l,{label:"项目状态："},{default:a(()=>[u(r(t.value.prjStatusName),1)]),_:1})]),_:1}),e(n,{span:24},{default:a(()=>[e(l,{label:"项目LOGO："},{default:a(()=>[t.value.logoFileId?(g(),b("img",{key:0,class:"logo",src:h.value,alt:"正在加载图片..."},null,8,Z)):(g(),b("span",ee,"未上传"))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(v,{label:"参与企业",name:"2"},{default:a(()=>[e(N,{data:j.value,border:""},{default:a(()=>[e(d,{prop:"orgName",label:"参与企业"}),e(d,{prop:"orgGxId",label:"参与企业管信ID"})]),_:1},8,["data"])]),_:1}),e(v,{label:"项目成员",name:"3"},{default:a(()=>[e(N,{data:I.value,border:""},{default:a(()=>[e(d,{prop:"userName",label:"姓名"}),e(d,{prop:"userPhone",label:"手机号码"}),e(d,{prop:"orgName",label:"所属企业名称"}),e(d,{prop:"orgGxId",label:"所属企业ID"})]),_:1},8,["data"])]),_:1})]),_:1},8,["modelValue"])])),[[T,m.value]])}}}),ce=k(ae,[["__scopeId","data-v-7e3bf5c3"]]);export{ce as P};
