/*!
 *  build: Vue  Admin Plus
 *  copyright: vue-admin-beautiful.com
 *  time: 2024-03-07 17:07:58
 */
"use strict";(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[3613,6700],{49825:function(e,a,l){l.r(a),l.d(a,{default:function(){return W}});var o=l(15659),t=(l(3241),l(10444),l(7608)),n=l(20129),r=(l(69840),l(10661)),u=(l(35095),l(63715)),c=(l(76252),l(72319),l(6589),l(57018)),s=(l(74367),l(66252)),i=l(2262),m=l(86136);const d={class:"createContainerDialogFromImage-form-container"};var f={__name:"createContainerDialogFromImage",setup(e,{expose:a}){const l=(0,i.qj)({dialogVisible:!1,checkbox4:(0,i.iH)(["0","4"]),options1:[{value:"选项1",label:"Akegarasu/lora-scripts/lora-train"},{value:"选项2",label:"Akegarasu/lora-scripts/lora-train/aaaaa"},{value:"选项3",label:"蚵仔煎"},{value:"选项4",label:"龙须面"},{value:"选项5",label:"北京烤鸭"}],value1:""}),{dialogVisible:f,checkbox4:p,options1:b,value1:v}=(0,i.BK)(l);async function W(){l.dialogVisible=!0}return a({showDialog:W}),(e,a)=>{const l=c.EZ,b=n.nH,v=u.lm,W=u.z5,_=(0,s.up)("vab-icon"),w=r.Q0,g=n.ly,k=t.Z,h=o.ElButton;return(0,s.wg)(),(0,s.iD)("div",d,[(0,s.Wm)((0,i.SU)(m["default"]),{modelValue:(0,i.SU)(f),"onUpdate:modelValue":a[3]||(a[3]=e=>(0,i.dq)(f)?f.value=e:null),title:"创建容器",width:"600px"},{footer:(0,s.w5)((()=>[(0,s.Wm)(h,{onClick:a[1]||(a[1]=e=>f.value=!1)},{default:(0,s.w5)((()=>[(0,s.Uk)("取 消")])),_:1}),(0,s.Wm)(h,{type:"primary",onClick:a[2]||(a[2]=e=>f.value=!1)},{default:(0,s.w5)((()=>[(0,s.Uk)(" 确 定 ")])),_:1})])),default:(0,s.w5)((()=>[(0,s.Wm)(k,null,{default:(0,s.w5)((()=>[(0,s.Wm)(g,{ref:"formRef",class:"demo-form","label-position":e.labelPosition,model:e.form,rules:e.rules},{default:(0,s.w5)((()=>[(0,s.Wm)(b,{label:"容器名称"},{default:(0,s.w5)((()=>[(0,s.Wm)(l,{placeholder:"创建完成后好在对应设备的“我的容器”中找它",class:"contianer-name"})])),_:1}),(0,s.Wm)(b,{label:"GPU编号"},{default:(0,s.w5)((()=>[(0,s.Wm)(W,{modelValue:(0,i.SU)(p),"onUpdate:modelValue":a[0]||(a[0]=e=>(0,i.dq)(p)?p.value=e:null)},{default:(0,s.w5)((()=>[(0,s.Wm)(v,{label:"0"}),(0,s.Wm)(v,{label:"1"}),(0,s.Wm)(v,{label:"2"}),(0,s.Wm)(v,{label:"3"}),(0,s.Wm)(v,{label:"4"}),(0,s.Wm)(v,{label:"5"}),(0,s.Wm)(v,{label:"6"}),(0,s.Wm)(v,{label:"7"})])),_:1},8,["modelValue"])])),_:1}),(0,s.Wm)(b,{label:"设定镜像"},{default:(0,s.w5)((()=>[(0,s.Wm)(l,{placeholder:"从镜像列表里面选择的镜像，显示镜像名，实质提交镜像的数字ID",class:"contianer-name",readonly:""})])),_:1}),(0,s.Wm)(b,{label:"映射端口"},{default:(0,s.w5)((()=>[(0,s.Wm)(l,{placeholder:"例如：7680|80|3306，英文“|”隔开",class:"contianer-name-helf"}),(0,s.Wm)(w,{effect:"dark",content:"容器要映射的出来的内部端口，仅需填写镜像内的端口，最多4个，或者不填",placement:"top",class:"mx-1","raw-content":""},{default:(0,s.w5)((()=>[(0,s.Wm)(_,{icon:"question-line",class:"cursor-pointer"})])),_:1})])),_:1}),(0,s.Wm)(b,{label:"映射路径"},{default:(0,s.w5)((()=>[(0,s.Wm)(l,{placeholder:"例如：/root/sd/models|/root/data，英文“|”隔开",class:"contianer-name-helf"}),(0,s.Wm)(w,{effect:"dark",content:"系统按顺序提供宿主机的模型公用目录/root/model和用户私有数据目录/root/data映射。<br>仅需写镜像内映射的路径，请对照好顺序填入镜像内对应的目录，或者不填",placement:"top",class:"mx-1","raw-content":""},{default:(0,s.w5)((()=>[(0,s.Wm)(_,{icon:"question-line",class:"cursor-pointer"})])),_:1})])),_:1})])),_:1},8,["label-position","model","rules"])])),_:1})])),_:1},8,["modelValue"])])}}};function p(e){e.__source="src/views/gpumarket/mydevice/components/createContainerDialogFromImage.vue"}var b=l(83744);"function"===typeof p&&p(f);const v=(0,b.Z)(f,[["__scopeId","data-v-c7eae7d6"]]);var W=v},7608:function(e,a,l){l.d(a,{Z:function(){return i}});var o=l(73632),t=(l(3241),l(74965),l(66252));function n(e,a){const l=o.dq;return(0,t.wg)(),(0,t.j4)(l,{class:"vab-query-form",gutter:0},{default:(0,t.w5)((()=>[(0,t.WI)(e.$slots,"default",{},void 0,!0)])),_:3})}function r(e){e.__source="library/components/VabQueryForm/index.vue"}var u=l(83744);const c={};"function"===typeof r&&r(c);const s=(0,u.Z)(c,[["render",n],["__scopeId","data-v-172989c8"]]);var i=s}}]);