DPS/DataPlatform/html/static/js/233.ad4b770e.js

2 lines
16 KiB
JavaScript
Raw Permalink Normal View History

2025-06-23 10:41:33 +08:00
"use strict";(self["webpackChunkmodel"]=self["webpackChunkmodel"]||[]).push([[233],{4032:function(e,t,l){l.r(t),l.d(t,{default:function(){return X}});var o=l(9003);const a=e=>((0,o.dD)("data-v-26dcd95d"),e=e(),(0,o.Cn)(),e),i={class:"XMLTemplateEditor"},d={class:"left-title"},n=a((()=>(0,o._)("span",{class:"title"},"XML模板",-1))),r={class:"right-btns"},s={class:"content-module"},c={class:"dialog-footer"};function m(e,t,l,a,m,h){const p=(0,o.up)("el-button"),u=(0,o.up)("el-col"),f=(0,o.up)("el-row"),g=(0,o.up)("XMLFileTree"),w=(0,o.up)("el-scrollbar"),y=(0,o.up)("pane"),D=(0,o.up)("DAOTree"),b=(0,o.up)("XMLCodeMirror"),C=(0,o.up)("splitpanes"),v=(0,o.up)("el-input"),T=(0,o.up)("el-form-item"),k=(0,o.up)("el-option"),I=(0,o.up)("el-select"),x=(0,o.up)("el-form"),L=(0,o.up)("el-dialog");return(0,o.wg)(),(0,o.iD)("div",i,[(0,o.Wm)(f,{class:"header-module"},{default:(0,o.w5)((()=>[(0,o.Wm)(u,{span:4},{default:(0,o.w5)((()=>[(0,o._)("div",d,[n,(0,o.Wm)(p,{type:"primary",disabled:e.createBtn,onClick:e.createHandle},{default:(0,o.w5)((()=>[(0,o.Uk)("新建")])),_:1},8,["disabled","onClick"])])])),_:1}),(0,o.Wm)(u,{span:18},{default:(0,o.w5)((()=>[(0,o._)("div",r,[(0,o.Wm)(p,{type:"primary",disabled:e.disabeldBtn||e.saveBtn,onClick:e.saveHandle},{default:(0,o.w5)((()=>[(0,o.Uk)("保存")])),_:1},8,["disabled","onClick"]),(0,o.Wm)(p,{type:"primary",disabled:e.disabeldBtn||e.exportBtn,onClick:e.exportHandle},{default:(0,o.w5)((()=>[(0,o.Uk)("导出")])),_:1},8,["disabled","onClick"])])])),_:1})])),_:1}),(0,o._)("div",s,[(0,o.Wm)(C,null,{default:(0,o.w5)((()=>[(0,o.Wm)(y,{size:15},{default:(0,o.w5)((()=>[(0,o.Wm)(w,null,{default:(0,o.w5)((()=>[(0,o.Wm)(g,{ref:"xmlTree",fileList:e.fileList,xmlFileItem:e.xmlFileItem,showDescription:e.showDescription,onDeleteHandle:e.onDelete,onGetChildrenData:e.getProjectHandle,onSaveHandle:e.saveHandle},null,8,["fileList","xmlFileItem","showDescription","onDeleteHandle","onGetChildrenData","onSaveHandle"])])),_:1})])),_:1}),(0,o.Wm)(y,{class:"model-attribute",size:80},{default:(0,o.w5)((()=>[(0,o.Wm)(C,null,{default:(0,o.w5)((()=>[(0,o.Wm)(y,{size:25},{default:(0,o.w5)((()=>[(0,o.Wm)(w,null,{default:(0,o.w5)((()=>[(0,o.Wm)(D,{datamodelChildData:e.datamodelChildData},null,8,["datamodelChildData"])])),_:1})])),_:1}),(0,o.Wm)(y,{class:"model-attribute",size:75},{default:(0,o.w5)((()=>[(0,o.Wm)(w,null,{default:(0,o.w5)((()=>[(0,o.Wm)(b,{ref:"XMLCodeMirror",showDescription:e.showDescription,xmlFileItem:e.xmlFileItem,keywordsList:e.keywordsList[0].children},null,8,["showDescription","xmlFileItem","keywordsList"])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})]),(0,o.Wm)(L,{modelValue:e.dialogFormVisible,"onUpdate:modelValue":t[3]||(t[3]=t=>e.dialogFormVisible=t),title:"新建XML模板文件",onClose:e.createdCloseHandle},{footer:(0,o.w5)((()=>[(0,o._)("span",c,[(0,o.Wm)(p,{onClick:e.createdCloseHandle},{default:(0,o.w5)((()=>[(0,o.Uk)("取消")])),_:1},8,["onClick"]),(0,o.Wm)(p,{type:"primary",onClick:e.createSubmitHandle},{default:(0,o.w5)((()=>[(0,o.Uk)(" 确认 ")])),_:1},8,["onClick"])])])),default:(0,o.w5)((()=>[(0,o.Wm)(x,{model:e.form},{default:(0,o.w5)((()=>[(0,o.Wm)(T,{label:"文件名","label-width":"140px"},{default:(0,o.w5)((()=>[(0,o.Wm)(v,{class:"size",modelValue:e.form.name,"onUpdate:modelValue":t[0]||(t[0]=t=>e.form.name=t),autocomplete:"off"},null,8,["modelValue"])])),_:1}),(0,o.Wm)(T,{label:"关联项目","label-width":"140px"},{default:(0,o.w5)((()=>[(0,o.Wm)(I,{modelValue:e.form.project,"onUpdate:modelValue":t[1]||(t[1]=t=>e.form.project=t),placeholder:"请选择关联项目",onChange:e.findDataModel},{default:(0,o.w5)((()=>[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.projectList,(e=>((0,o.wg)(),(0,o.j4)(k,{key:e.id,label:e.name,value:e.id},null,8,["label","value"])))),128))])),_:1},8,["modelValue","onChange"])])),_:1}),(0,o.Wm)(T,{label:"关联模型","label-width":"140px"},{default:(0,o.w5)((()=>[(0,o.Wm)(I,{modelValue:e.form.model,"onUpdate:modelValue":t[2]||(t[2]=t=>e.form.model=t),placeholder:"请选择关联模型"},{default:(0,o.w5)((()=>[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.K
//# sourceMappingURL=233.ad4b770e.js.map