sf_web_dist/js/robot-group-send.1756893101317CdhXNd-E.js
2025-09-03 17:55:24 +08:00

2 lines
2.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{r as e,ag as a,m as l,e as o,w as t,N as s,bo as u,g as d,al as n,bp as p,bP as r,d4 as m,O as b,bX as f,c as i,a7 as _,a8 as c,bY as v,am as w,l as h,an as y,aX as V}from"./index.1756893101317OQ9ryBOy.js";const g={class:"dialog-footer"},R={__name:"robot-group-send",props:{showRobotGroupSend:{type:Boolean,default:!1},currentRow:{type:Object,default:{}}},emits:["update:showRobotGroupSend"],setup(R,{emit:D}){e([]),e([]);const k=a({mode:"single",type:["1","2"]}),x=e([{label:"全部供应商",value:"all"}]);a({columns:[{label:"通道ID",prop:"ID"},{label:"通道名称",prop:"name"},{label:"成功率",prop:"name"},{label:"费率",prop:"name"},{label:"权重1-999999999",prop:"name"},{label:"通道ID",prop:"name"}],searchFields:[],tableData:[],selectData:[]});const G=e(),S=D,I=()=>{S("update:showRobotGroupSend",!1)},U=()=>{G.value.validate(e=>{e&&S("confirm",G.value.model)})};return(e,a)=>{const D=m,S=r,j=p,O=v,X=f,z=w,B=u,C=y,F=V;return o(),l(F,{"model-value":R.showRobotGroupSend,title:"群发消息",width:"70vw","before-close":I,ref_key:"channelRef",ref:G},{footer:t(()=>[h("div",g,[s(C,{type:"primary",onClick:U},{default:t(()=>a[5]||(a[5]=[b(" 提交保存 ")])),_:1,__:[5]})])]),default:t(()=>[s(B,{model:d(k),"label-width":"120px"},{default:t(()=>[s(j,{label:"类型"},{default:t(()=>[s(S,{modelValue:d(k).status,"onUpdate:modelValue":a[0]||(a[0]=e=>d(k).status=e)},{default:t(()=>[s(D,{value:"open"},{default:t(()=>a[3]||(a[3]=[b("商户")])),_:1,__:[3]}),s(D,{value:"close"},{default:t(()=>a[4]||(a[4]=[b("供应商")])),_:1,__:[4]})]),_:1},8,["modelValue"])]),_:1}),"open"===d(k).status?(o(),l(j,{key:0,label:"用户组"},{default:t(()=>[s(X,{modelValue:d(k).region,"onUpdate:modelValue":a[1]||(a[1]=e=>d(k).region=e),placeholder:"用户组"},{default:t(()=>[(o(!0),i(_,null,c(d(x),(e,a)=>(o(),l(O,{key:a,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):n("",!0),s(j,{label:"信息"},{default:t(()=>[s(z,{modelValue:d(k).name,"onUpdate:modelValue":a[2]||(a[2]=e=>d(k).name=e),type:"textarea",autosize:{minRows:4}},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}};export{R as default};