猎羽广告

list.W6MLSjHS.js 1.2KB

12
  1. import{A as t}from"../api/api.BtQEnbVN.js";import{E as e}from"../element-plus/element-plus.DqqeXZzT.js";import{r as a,Y as s,h as r,n as l}from"../@vue/@vue.lccsL1Mu.js";function u(){const{proxy:u}=r();u.$NumberHandle;const i=a(),o=a(),n=a(),c=a(),p=a(),v=a(),d=a(),f=s({acList:[],userList:[],statusList:[{value:1,label:"所有未删除"},{value:2,label:"启用"},{value:3,label:"暂停"}],ad_statusList:[]});return{init_acList:async()=>{let a=await u.$http.get(t.account_listToSelect);a&&"0"==a.errNo?f.acList=a.rst:e.error(a.errMsg)},pageInfo:f,timeRef:i,acRef:o,statusRef:n,userRef:c,InputRef_text:p,clearEvent:()=>{l((()=>{p.value.value="",o.value.value=[],n.value.value="",i.value.dateVal=""}))},tableHeaderStyle:({row:t,column:e,rowIndex:a,columnIndex:s})=>({backgroundColor:"#FAFAFA",color:"#161E46",height:"44px",textAlign:"center"}),planEditIptRef:v,TargetEditRef:d,init_ad_statusList:async()=>{let a=await u.$http.get(t.batchGdt_advert_select);if(a&&"0"==a.errNo){f.ad_statusList=[];for(let t in a.rst){let e={value:t,label:a.rst[t]};f.ad_statusList.push(e)}}else e.error(a.errMsg)},customIndEvent:()=>{},getUserList:async()=>{let a=await u.$http.get(t.user_list,{});a&&"0"==a.errNo?f.userList=a.rst:e.error(a.errMsg)}}}export{u as l};