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,t as d}from"./_plugin-vue_export-helper-9JxOV_6y.js";import{i as f,r as p}from"./GxPagination-CS4FI5Lo.js";import{n as m,t as h}from"./form-D3h-alBR.js";import{G as g,V as _}from"./GxDialog-CFvkSS2u.js";import{n as v,t as y}from"./css-COm46Nlm.js";import{t as b}from"./directive-pNcZrfik.js";import{g as x,h as S,o as C}from"./project-2prMzkbr.js";var w={style:{padding:`30px`}},T=[`src`],E={key:1},D=d(n({__name:`Project_Form_Info`,props:{row:{}},setup(n){let d=i([]),D=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 S({projectGxId:I.value.projectGxId}).then(e=>{d.value=e===`[]`?[]:e})}function z(){return C({projectGxId:I.value.projectGxId}).then(e=>{D.value=e,e.logoFileId&&window.load_File(e.logoFileId).then(e=>{A.value=e.url})})}function B(){return x({projectGxId:I.value.projectGxId}).then(e=>{O.value=e===`[]`?[]:e})}return(n,r)=>{let i=m,u=g,x=_,S=h,C=y,j=f,M=p,N=v,F=b;return c((a(),t(`div`,w,[e(N,{modelValue:k.value,"onUpdate:modelValue":r[0]||=e=>k.value=e,class:`detail-tabs`},{default:s(()=>[e(C,{label:`基本信息`,name:`1`},{default:s(()=>[e(S,{"label-position":`left`},{default:s(()=>[e(x,null,{default:s(()=>[e(u,{span:12},{default:s(()=>[e(i,{label:`项目编号：`},{default:s(()=>[l(o(D.value.projectId),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`项目名称：`},{default:s(()=>[l(o(D.value.projectName),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`计划开始时间：`},{default:s(()=>[l(o(D.value.startDate),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`计划结束时间：`},{default:s(()=>[l(o(D.value.endDate),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`创建人：`},{default:s(()=>[l(o(D.value.createUserName),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`创建时间：`},{default:s(()=>[l(o(D.value.createDate),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`客户编号：`},{default:s(()=>[l(o(D.value.customerId),1)]),_:1})]),_:1}),e(u,{span:12},{default:s(()=>[e(i,{label:`负责人：`},{default:s(()=>[l(o(D.value.principalUserName),1)]),_:1})]),_:1}),e(u,{span:24},{default:s(()=>[e(i,{label:`项目说明：`},{default:s(()=>[l(o(D.value.projectNote),1)]),_:1})]),_:1}),e(u,{span:24},{default:s(()=>[e(i,{label:`项目状态：`},{default:s(()=>[l(o(D.value.prjStatusName),1)]),_:1})]),_:1}),e(u,{span:24},{default:s(()=>[e(i,{label:`项目LOGO：`},{default:s(()=>[D.value.logoFileId?(a(),t(`img`,{key:0,class:`logo`,src:A.value,alt:`正在加载图片...`},null,8,T)):(a(),t(`span`,E,`未上传`))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(C,{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(C,{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{D as t};