You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
4.0KB

  1. import{_ as y,d as p,D as P,c as D,e as j,I as T,j as t,h as o,i,k as s,t as n,u as C}from"./index.eb58a47a.js";const v=p({name:"basicInfo"}),I=Object.assign(v,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(a){const{projectTypeOptions:u}=P.dictStore.globalDicts||{};return(L,M)=>{const l=D("el-descriptions-item"),m=D("el-descriptions");return j(),T(m,{column:2,border:""},{default:t(()=>[o(' <el-descriptions-item label="\u662F\u5426\u6D89\u5BC6\u9879\u76EE">'),o(" {{ dictionaryList?.filter(i => i.type === 'CLASSIFIED').find(i=>i.value===detailData?.baseProjIsConfidentiality)?.label ||'-' }}"),o(" </el-descriptions-item>"),i(l,{label:"\u9879\u76EE\u662F\u5426\u5F52\u96C6\u7701\u91CC",span:"2"},{default:t(()=>{var e;return[s(n((e=a.detailData)!=null&&e.push?"\u662F":"\u5426"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u540D\u79F0",span:"2"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var e,d;return[s(n(((e=a.detailData)==null?void 0:e.baseProjType)&&C(u)[(d=a.detailData)==null?void 0:d.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var e,d;return[s(n(((d=(e=a.detailData)==null?void 0:e.baseConstructionType)==null?void 0:d.split("\uFF1B").map(r=>{var c,f;return(f=(c=a.dictionaryList)==null?void 0:c.filter(b=>b.type==="CONTENT_TYPE").find(b=>b.value===r))==null?void 0:f.label}).join("\u3001"))||"-"),1)]}),_:1}),o(' <el-descriptions-item label="\u9879\u76EE\u72B6\u6001">'),o(" {{ dictionaryList?.filter(i => i.type === 'PROJECT_STATUS').find(i=>i.value===detailData?.baseProjSetProg)?.label ||'-' }}"),o(" </el-descriptions-item>"),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var e,d;return[s(n(((e=a.detailData)==null?void 0:e.baseProvManDeprtType)===1?"\u7701\u7EA7":((d=a.detailData)==null?void 0:d.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseBuildDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjPrincipal)||"-"),1)]}),_:1}),i(l,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjContacts)||"-"),1)]}),_:1}),i(l,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.systemPosition)||"-"),1)]}),_:1}),i(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",span:2},{default:t(()=>{var e,d;return[s(n(((d=(e=a.templateTypeListData)==null?void 0:e.find(r=>{var c;return r.id===((c=a.detailData)==null?void 0:c.templateType)}))==null?void 0:d.name)||"-"),1)]}),_:1})]),_:1})}}}),S=y(I,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/basicInfo.vue"]]);export{S as default};