import{A as e,E as t,M as n,S as r,St as i,X as a,cn as o,dt as s,ft as c,k as l,lt as u,mn as d,t as f}from"./_plugin-vue_export-helper-C0lsYS1a.js";import{i as p,r as m}from"./GxPagination-DaT0MOF0.js";import{n as h,t as g}from"./form-B9CYF2OU.js";import{L as _,N as v}from"./GxDialog-DixGJxSz.js";import{n as y,t as b}from"./css-Dlj1uVAN.js";import{t as x}from"./directive-2hBfY9mU.js";import{g as S,h as C,o as w}from"./project-DmuW7_Il.js";var T={style:{padding:`30px`}},E=[`src`],D={key:1},O=f(n({__name:`Project_Form_Info`,props:{row:{}},setup(n){let d=i([]),f=i({}),O=i([]),k=i(`1`),A=i(``),j=i(!1),M=i(!1),N=i(!1),P=i(!1),F=n,I=r(()=>F.row);u(()=>F.row,e=>L()),L();function L(){console.log(`load_Data`),j.value=!0,M.value=!0,N.value=!0,P.value=!0,z().then(()=>{j.value=!1,P.value=j.value||M.value||N.value}),B().then(()=>{M.value=!1,P.value=j.value||M.value||N.value}),R().then(()=>{N.value=!1,P.value=j.value||M.value||N.value})}function R(){return C({projectGxId:I.value.projectGxId}).then(e=>{d.value=e===`[]`?[]:e})}function z(){return w({projectGxId:I.value.projectGxId}).then(e=>{f.value=e,e.logoFileId&&window.load_File(e.logoFileId).then(e=>{A.value=e.url})})}function B(){return S({projectGxId:I.value.projectGxId}).then(e=>{O.value=e===`[]`?[]:e})}return(n,r)=>{let i=h,u=_,S=v,C=g,w=b,j=p,M=m,N=y,F=x;return c((a(),t(`div`,T,[e(N,{modelValue:k.value,"onUpdate:modelValue":r[0]||=e=>k.value=e,class:`detail-tabs`},{default:s(()=>[e(w,{label:`基本信息`,name:`1`},{default:s(()=>[e(C,{"label-position":`left`},{default:s(()=>[e(S,null,{default:s(()=>[e(u,{span:12},{default:s(()=>[e(i,{label:`项目编号：`},{default:s(()=>[l(o(f.value.projectId),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`项目名称：`},{default:s(()=>[l(o(f.value.projectName),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`计划开始时间：`},{default:s(()=>[l(o(f.value.startDate),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`计划结束时间：`},{default:s(()=>[l(o(f.value.endDate),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`创建人：`},{default:s(()=>[l(o(f.value.createUserName),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`创建时间：`},{default:s(()=>[l(o(f.value.createDate),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`客户编号：`},{default:s(()=>[l(o(f.value.customerId),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`负责人：`},{default:s(()=>[l(o(f.value.principalUserName),1)]),_:1})]),_:1}),e(u,{span:24},{default:s(()=>[e(i,{label:`项目说明：`},{default:s(()=>[l(o(f.value.projectNote),1)]),_:1})]),_:1}),e(u,{span:24},{default:s(()=>[e(i,{label:`项目状态：`},{default:s(()=>[l(o(f.value.prjStatusName),1)]),_:1})]),_:1}),e(u,{span:24},{default:s(()=>[e(i,{label:`项目LOGO：`},{default:s(()=>[f.value.logoFileId?(a(),t(`img`,{key:0,class:`logo`,src:A.value,alt:`正在加载图片...`},null,8,E)):(a(),t(`span`,D,`未上传`))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(w,{label:`参与企业`,name:`2`},{default:s(()=>[e(M,{data:O.value,border:``},{default:s(()=>[e(j,{prop:`orgName`,label:`参与企业`}),e(j,{prop:`orgGxId`,label:`参与企业管信ID`})]),_:1},8,[`data`])]),_:1}),e(w,{label:`项目成员`,name:`3`},{default:s(()=>[e(M,{data:d.value,border:``},{default:s(()=>[e(j,{prop:`userName`,label:`姓名`}),e(j,{prop:`userPhone`,label:`手机号码`}),e(j,{prop:`orgName`,label:`所属企业名称`}),e(j,{prop:`orgGxId`,label:`所属企业ID`})]),_:1},8,[`data`])]),_:1})]),_:1},8,[`modelValue`])])),[[F,P.value]])}}}),[[`__scopeId`,`data-v-7e3bf5c3`]]);export{O as t};