import{O as e,St as t,T as n,Y as r,cn as i,ct as a,dt as o,ft as s,j as c,k as l,x as u}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import"./GxPagination-DOexUzbO.js";import{n as d,t as f}from"./table-C_Bpc8FZ.js";import{n as p,t as m}from"./form-Bb1_iOEA.js";import{n as h,o as g}from"./switch-CGmtldbS.js";import{n as _,t as v}from"./css--CcZutYI.js";import{t as y}from"./directive-9SA1IQHd.js";import{t as b}from"./_plugin-vue_export-helper-CnS4QQza.js";import"./css-CW_FwBqc2.js";import"./css-j23UczC-.js";import"./useStructurizedVersionDialog-CNAsWSWf.js";import{g as x,h as S,o as C}from"./project-DYXf60Qj.js";import"./css-AklKJXcX.js";import"./css-ropEN6qH.js";import"./css-BrGVMe3H.js";var w={style:{padding:`30px`}},T=[`src`],E={key:1},D=b(c({__name:`Project_Form_Info`,props:{row:{}},setup(c){let b=t([]),D=t({}),O=t([]),k=t(`1`),A=t(``),j=t(!1),M=t(!1),N=t(!1),P=t(!1),F=c,I=u(()=>F.row);a(()=>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=>{b.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(t,a)=>{let c=p,u=g,x=h,S=m,C=v,j=d,M=f,N=_,F=y;return s((r(),n(`div`,w,[l(N,{modelValue:k.value,"onUpdate:modelValue":a[0]||=e=>k.value=e,class:`detail-tabs`},{default:o(()=>[l(C,{label:`基本信息`,name:`1`},{default:o(()=>[l(S,{"label-position":`left`},{default:o(()=>[l(x,null,{default:o(()=>[l(u,{span:12},{default:o(()=>[l(c,{label:`项目编号：`},{default:o(()=>[e(i(D.value.projectId),1)]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(c,{label:`项目名称：`},{default:o(()=>[e(i(D.value.projectName),1)]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(c,{label:`计划开始时间：`},{default:o(()=>[e(i(D.value.startDate),1)]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(c,{label:`计划结束时间：`},{default:o(()=>[e(i(D.value.endDate),1)]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(c,{label:`创建人：`},{default:o(()=>[e(i(D.value.createUserName),1)]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(c,{label:`创建时间：`},{default:o(()=>[e(i(D.value.createDate),1)]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(c,{label:`客户编号：`},{default:o(()=>[e(i(D.value.customerId),1)]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(c,{label:`负责人：`},{default:o(()=>[e(i(D.value.principalUserName),1)]),_:1})]),_:1}),l(u,{span:24},{default:o(()=>[l(c,{label:`项目说明：`},{default:o(()=>[e(i(D.value.projectNote),1)]),_:1})]),_:1}),l(u,{span:24},{default:o(()=>[l(c,{label:`项目状态：`},{default:o(()=>[e(i(D.value.prjStatusName),1)]),_:1})]),_:1}),l(u,{span:24},{default:o(()=>[l(c,{label:`项目LOGO：`},{default:o(()=>[D.value.logoFileId?(r(),n(`img`,{key:0,class:`logo`,src:A.value,alt:`正在加载图片...`},null,8,T)):(r(),n(`span`,E,`未上传`))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),l(C,{label:`参与企业`,name:`2`},{default:o(()=>[l(M,{data:O.value,border:``},{default:o(()=>[l(j,{prop:`orgName`,label:`参与企业`}),l(j,{prop:`orgGxId`,label:`参与企业管信ID`})]),_:1},8,[`data`])]),_:1}),l(C,{label:`项目成员`,name:`3`},{default:o(()=>[l(M,{data:b.value,border:``},{default:o(()=>[l(j,{prop:`userName`,label:`姓名`}),l(j,{prop:`userPhone`,label:`手机号码`}),l(j,{prop:`orgName`,label:`所属企业名称`}),l(j,{prop:`orgGxId`,label:`所属企业ID`})]),_:1},8,[`data`])]),_:1})]),_:1},8,[`modelValue`])])),[[F,P.value]])}}}),[[`__scopeId`,`data-v-7e3bf5c3`]]);export{D as t};