import{h as r}from"../../assets/index.856feaee.js";import{E as e}from"../element-plus/element-plus.34b51316.js";function s(s){return new Promise((async(t,a)=>{const n=await r.get("/api/adv3/taskRecord",s);0==n.errNo?t(n.rst):(e.error(n.errMsg),a())}))}function t(s){return new Promise((async(t,a)=>{const n=await r.get("/api/adv3/taskList",s);0==n.errNo?t(n.rst):(e.error(n.errMsg),a())}))}function a(s){return new Promise((async(t,a)=>{const n=await r.post("/api/adv3/adTaskDel",s);0==n.errNo?t(n.rst):(e.error(n.errMsg),a())}))}function n(s){return new Promise((async(t,a)=>{const n=await r.post("/api/adv3/adTaskEdit",s);0==n.errNo?t(n.rst):(e.error(n.errMsg),a())}))}function o(s){return new Promise((async(t,a)=>{const n=await r.get("/api/adv3/taskDetail",s);0==n.errNo?t(n.rst):(e.error(n.errMsg),a())}))}function i(s){return new Promise((async(t,a)=>{const n=await r.get("/api/ad/getStrategyByTaskId",s);0==n.errNo?t(n.rst):(e.error(n.errMsg),a())}))}export{o as a,t as b,n as c,a as d,i as g,s as t};