import{aa as m,d as A,b as E,c as n,e as v,f as B,h as e,i as t,u,g as y,m as a,E as D,_ as b}from"./index.0308b213.js";const w=()=>m({url:"agent/agentset.delivery_app/getConfig"}),V=p=>m({url:"agent/agentset.delivery_app/setConfig",method:"POST",data:p}),N={class:"setting-form"},x=a("\u591A\u6BB5\u8BA2\u5355\u5408\u5E76\u901A\u77E5\u9001\u8FBE"),F=a("\u591A\u6BB5\u8BA2\u5355\u4E0D\u5408\u5E76\u901A\u77E5\u9001\u8FBE"),z=a("\u663E\u793A\u6307\u5B9A\u533A\u57DF"),C=a("\u4E0D\u663E\u793A\u6307\u5B9A\u533A\u57DF"),M=a("\u663E\u793A\u5546\u5708"),S=a("\u4E0D\u663E\u793A\u5546\u5708"),k={class:"operation-btn"},P=a("\u63D0\u4EA4"),U=A({setup(p){const o=E({is_show_appoint:0,is_show_area:0,deliveryNoticeMerge:2}),f=()=>{V(o).then(()=>{D.success("\u914D\u9001\u5458APP\u914D\u7F6E\u4FDD\u5B58\u6210\u529F"),c()})},c=()=>{w().then(i=>{o.deliveryNoticeMerge=i.deliveryNoticeMerge||2,o.is_show_appoint=i.is_show_appoint||0,o.is_show_area=i.is_show_area||0})};return c(),(i,s)=>{const l=n("el-radio"),d=n("el-radio-group"),r=n("el-form-item"),g=n("el-form"),h=n("el-button");return v(),B("div",N,[e(g,{model:u(o),"label-width":"80px"},{default:t(()=>[e(r,null,{default:t(()=>[e(d,{modelValue:u(o).deliveryNoticeMerge,"onUpdate:modelValue":s[0]||(s[0]=_=>u(o).deliveryNoticeMerge=_)},{default:t(()=>[e(l,{label:1,size:"large"},{default:t(()=>[x]),_:1}),e(l,{label:2,size:"large"},{default:t(()=>[F]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(r,null,{default:t(()=>[e(d,{modelValue:u(o).is_show_appoint,"onUpdate:modelValue":s[1]||(s[1]=_=>u(o).is_show_appoint=_)},{default:t(()=>[e(l,{label:1,size:"large"},{default:t(()=>[z]),_:1}),e(l,{label:0,size:"large"},{default:t(()=>[C]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(r,null,{default:t(()=>[e(d,{modelValue:u(o).is_show_area,"onUpdate:modelValue":s[2]||(s[2]=_=>u(o).is_show_area=_)},{default:t(()=>[e(l,{label:1,size:"large"},{default:t(()=>[M]),_:1}),e(l,{label:0,size:"large"},{default:t(()=>[S]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"]),y("div",k,[e(h,{type:"primary",onClick:f},{default:t(()=>[P]),_:1})])])}}});const q=b(U,[["__scopeId","data-v-7a16cf51"]]);export{q as default};
