12 |
- import{h as r}from"../../assets/index-DYMYfyXS.js";import{E as e}from"../element-plus/element-plus.DqqeXZzT.js";function s(s){return new Promise((async(t,a)=>{const n=await r.get("/api/ad/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/ad/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/ad/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/ad/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/ad/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,a as c,n as d,i as g,s as t};
|