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