import{_ as h}from"./index-sxX6oYqj.js";/* empty css                   *//* empty css                    *//* empty css                         */import{_ as I}from"./add-or-edit.vue_vue_type_style_index_0_lang-DU4oKO67.js";/* empty css                  */import{D as E}from"./segment-manage-Ds8-7uJZ.js";import{r as N}from"./request-yGlVfSRy.js";import{B as z}from"./business-rule-BR5BmeDK.js";import{b as $,a as q,c as v,e as D}from"./view_base_options-B9MEmwMX.js";import{d as O,V as n,W as o,aq as m,N as l,X as w,a1 as i,O as a,_ as p,$ as C,a5 as V}from"./vue-ChXMuCsz.js";import{n as k,l as B,u as F,v as K,k as R,x as M}from"./element-plus-xvP3-5Ws.js";import"./vue-router-CTTnLdLz.js";import"./element-plus/icons-vue-2sk4hdpg.js";import"./index-BPkXZdhA.js";/* empty css                   *//* empty css                        */import"./pinia-vendor-H-YmYYbA.js";/* empty css                     */import"./api-BltKmiW7.js";import"./request-object-map-Ffk0JZ0p.js";import"./bpmn-js-vendor-DQM0iEEi.js";import"./feelin-63dveMpj.js";import"./RequestFieldTypeEnumDelDictV2-NdJbl6kr.js";import"./index-B9xBZ4Xy.js";import"./CreateEnumItem.vue_vue_type_style_index_0_lang-Bk3Vcq50.js";import"./IntercomRoom-CeMPn3Xw.js";import"./ChooseTranslateDialog.vue_vue_type_script_setup_true_lang-DN_Rv58l.js";import"./common-controller-tool-CauSZAqV.js";import"./spark-md5-D1K1GNLF.js";import"./el-checkbox-group-XJ3liq4A.js";import"./x2js-CcPE71Wh.js";import"./uiController-qq8Wk6u7.js";import"./API_Setting-Cs7l2ab7.js";import"./tiny-svg-CjzqEtU6.js";import"./vueuse-B3t6gNvB.js";import"./index-x1i4PMIF.js";import"./echarts-FtuFYcC3.js";/* empty css                    *//* empty css                         */import"./dragula-B0DJaaG8.js";/* empty css                    */import"./Data_Table-8GrTVIee.js";/* empty css                       */import"./vuedraggable-DGTJyo-Y.js";/* empty css                             */import"./tui-image-editor-vendor-DBxMdFCh.js";import"./fabric-BYv5Nr0e.js";/* empty css                */import"./axios-Bz4la0P9.js";import"./enum-field-manage-CU8McgCG.js";import"./BusinessRuleListDialog-BRBU5M2p.js";import"./product-CUorXL1M.js";const S=O({name:"data-req-design",activated(){this.loadData()},data(){return{...D,componentName:"data-req",hid:"",loading:!0,showEditFlag:!1,detailInfo:{}}},props:{prop_entityId:{type:String,default:""}},computed:{...v,bizEntityObId(){return this.$route.query.bizEntityObId||this.prop_entityId}},components:{...q,BusinessRule:z,DataReqSegmentManage:E},mounted(){this.prop_entityId&&this.loadData()},methods:{...$,loadData(){this.loading=!0,N({method:"post",url:"/zxl_pm/request/entity.svc?cmd=getDetail",data:{zxlPrdId:this.$route.query.productId,objectType:"ZxlPrdRequestEntity",bizEntityObId:this.bizEntityObId}}).then(t=>{this.detailInfo=t,this.hid=t.hid}).finally(()=>this.loading=!1)}}}),H={style:{display:"flex","align-items":"center"}};function P(t,e,T,j,L,U){const s=R,d=m("detail-template"),f=I,u=K,_=F,y=m("data-req-segment-manage"),c=B,b=k,g=M;return l(),n(b,{class:"app-container"},{default:o(()=>[w((l(),n(c,null,{default:o(()=>[i(_,null,{default:o(()=>[i(u,null,{title:o(()=>[a("h2",H,[p(C(t.loading?"基本信息":`${t.description} - ${t.detailInfo.bizEntityNameCn}(${t.detailInfo.bizEntityNo})的基本信息`)+" ",1),i(s,{type:"primary",link:"",style:{"margin-left":"30px"},onClick:e[0]||(e[0]=V(r=>t.showEditFlag=!0,["stop"]))},{default:o(()=>[...e[2]||(e[2]=[p("修改",-1)])]),_:1})])]),default:o(()=>[i(d,{mode:"direct",primaryKey:{fieldName:"bizEntityObId",value:t.bizEntityObId},coreName:t.coreName,refillData:t.detailInfo,showRelateObject:!1},null,8,["primaryKey","coreName","refillData"]),i(f,{modelValue:t.showEditFlag,"onUpdate:modelValue":e[1]||(e[1]=r=>t.showEditFlag=r),primaryKey:{fieldName:"bizEntityObId",value:t.bizEntityObId},coreName:t.coreName,reloadHandler:t.loadData},null,8,["modelValue","primaryKey","coreName","reloadHandler"])]),_:1})]),_:1}),a("section",null,[i(y,{fatherInfo:t.detailInfo},{header:o(()=>[...e[3]||(e[3]=[a("h2",{style:{display:"inline-block","align-items":"center"}},"数据字段",-1)])]),_:1},8,["fatherInfo"])])]),_:1})),[[g,t.loading]])]),_:1})}const Ut=h(S,[["render",P],["__scopeId","data-v-58db9dba"]]);export{Ut as default};
