import{az as V,d as b,b as v,r as C,c as _,e as B,f as F,h as u,i as p,u as l,g as S,m as s,E as U,_ as I}from"./index.0308b213.js";const O=()=>V({url:"adminapi/AppVersion/getManagerAppVersion"}),w=i=>V({url:"adminapi/AppVersion/setManagerAppVersion",method:"POST",data:i}),x={class:"setting-form"},D=s("\u5173\u95ED"),M=s("\u5F00\u542F"),y={class:"operation-btn"},k=s("\u63D0\u4EA4"),N=b({setup(i){const e=v({app1_version:"",app1_title:"",app1_msg:"",app1_Android:"",app1_IOS:"",app2_version:"",app2_title:"",app2_msg:"",app2_Android:"",app2_IOS:"",is_register:0,new_order_notice_url:""});C({0:"\u5173\u95ED",1:"\u5F00\u542F"});const r=()=>{O().then(t=>{e.app1_version=t.app1_version,e.app1_msg=t.app1_msg,e.app1_title=t.app1_title,e.app1_Android=t.app1_Android,e.app1_IOS=t.app1_IOS,e.app2_version=t.app2_version,e.app2_msg=t.app2_msg,e.app2_title=t.app2_title,e.app2_Android=t.app2_Android,e.app2_IOS=t.app2_IOS,e.is_register=t.is_register,e.new_order_notice_url=t.new_order_notice_url})},A=()=>{w(e).then(()=>{r(),U.success("\u5546\u6237APP\u7248\u672C\u4FDD\u5B58\u6210\u529F")})};return r(),(t,a)=>{const d=_("el-input"),n=_("el-form-item"),m=_("el-radio"),f=_("el-radio-group"),g=_("el-form"),E=_("el-button");return B(),F("div",x,[u(g,{model:l(e),"label-width":"180px"},{default:p(()=>[u(n,{label:"\u5546\u6237\u901A\u7528\u7248\u7248\u672C\u53F7"},{default:p(()=>[u(d,{modelValue:l(e).app2_version,"onUpdate:modelValue":a[0]||(a[0]=o=>l(e).app2_version=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u901A\u7528\u7248\u5347\u7EA7\u6846\u6807\u9898"},{default:p(()=>[u(d,{modelValue:l(e).app2_title,"onUpdate:modelValue":a[1]||(a[1]=o=>l(e).app2_title=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u901A\u7528\u7248\u5347\u7EA7\u6846\u5185\u5BB9"},{default:p(()=>[u(d,{modelValue:l(e).app2_msg,"onUpdate:modelValue":a[2]||(a[2]=o=>l(e).app2_msg=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u901A\u7528\u7248\u5B89\u5353\u5B89\u88C5\u5305"},{default:p(()=>[u(d,{modelValue:l(e).app2_Android,"onUpdate:modelValue":a[3]||(a[3]=o=>l(e).app2_Android=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u901A\u7528\u7248\u82F9\u679C\u5546\u57CE\u94FE\u63A5"},{default:p(()=>[u(d,{modelValue:l(e).app2_IOS,"onUpdate:modelValue":a[4]||(a[4]=o=>l(e).app2_IOS=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u4E13\u7528\u7248\u7248\u7248\u672C\u53F7"},{default:p(()=>[u(d,{modelValue:l(e).app1_version,"onUpdate:modelValue":a[5]||(a[5]=o=>l(e).app1_version=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u4E13\u7528\u7248\u5347\u7EA7\u6846\u6807\u9898"},{default:p(()=>[u(d,{modelValue:l(e).app1_title,"onUpdate:modelValue":a[6]||(a[6]=o=>l(e).app1_title=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u4E13\u7528\u7248\u5347\u7EA7\u6846\u5185\u5BB9"},{default:p(()=>[u(d,{modelValue:l(e).app1_msg,"onUpdate:modelValue":a[7]||(a[7]=o=>l(e).app1_msg=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u4E13\u7528\u7248\u5B89\u5353\u5B89\u88C5\u5305"},{default:p(()=>[u(d,{modelValue:l(e).app1_Android,"onUpdate:modelValue":a[8]||(a[8]=o=>l(e).app1_Android=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u5546\u6237\u4E13\u7528\u7248\u82F9\u679C\u5546\u57CE\u94FE\u63A5"},{default:p(()=>[u(d,{modelValue:l(e).app1_IOS,"onUpdate:modelValue":a[9]||(a[9]=o=>l(e).app1_IOS=o)},null,8,["modelValue"])]),_:1}),u(n,{label:"\u6CE8\u518C\u6309\u94AE\u5F00\u5173"},{default:p(()=>[u(f,{modelValue:l(e).is_register,"onUpdate:modelValue":a[10]||(a[10]=o=>l(e).is_register=o)},{default:p(()=>[u(m,{label:0},{default:p(()=>[D]),_:1}),u(m,{label:1},{default:p(()=>[M]),_:1})]),_:1},8,["modelValue"])]),_:1}),u(n,{label:"\u65B0\u8BA2\u5355\u63D0\u9192\u94FE\u63A5"},{default:p(()=>[u(d,{modelValue:l(e).new_order_notice_url,"onUpdate:modelValue":a[11]||(a[11]=o=>l(e).new_order_notice_url=o)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),S("div",y,[u(E,{type:"primary",onClick:A},{default:p(()=>[k]),_:1})])])}}});const c=I(N,[["__scopeId","data-v-75673206"]]);export{c as default};
