sf_web_dist/js/risk.1756277227419BYUz7_Vu.js
2025-08-27 14:48:33 +08:00

2 lines
3.4 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{ag as e,r as l,m as a,e as o,w as d,N as u,bo as t,g as m,l as s,al as n,bp as _,am as i,bO as p,d3 as r,O as V,an as f,aX as b}from"./index.1756277227419CjWwrQd6.js";import{E as c}from"./el-time-select.1756277227419DDGkCU_W.js";const v={class:"flex"},g={class:"dialog-footer"},k={__name:"risk",props:{riskVisible:{type:Boolean,default:!1},currentRow:{type:Object,default:()=>{}}},emits:["update:riskVisible"],setup(k,{emit:y}){const U=e({name:"",region:"",mode:"single",status:""});l([]);const h=y,x=()=>{h("update:riskVisible",!1)},j=()=>{h("update:riskVisible",!1)};return(e,l)=>{const y=i,h=_,w=r,T=p,O=c,C=t,B=f,E=b;return o(),a(E,{"model-value":k.riskVisible,title:"风控",width:"600px",onClose:x},{footer:d(()=>[s("div",g,[u(B,{type:"primary",onClick:j},{default:d(()=>l[20]||(l[20]=[V(" 提交保存 ")])),_:1,__:[20]})])]),default:d(()=>[u(C,{model:m(U),"label-width":"auto"},{default:d(()=>[l[19]||(l[19]=s("div",null,"注意不需要风控的实现请默认为0",-1)),u(h,{label:"限额排查"},{default:d(()=>[u(y,{modelValue:m(U).name,"onUpdate:modelValue":l[0]||(l[0]=e=>m(U).name=e)},null,8,["modelValue"]),l[8]||(l[8]=s("span",null,"通道需要排除的金额,英文,分割",-1))]),_:1,__:[8]}),u(h,{label:"金额模式"},{default:d(()=>[u(T,{modelValue:m(U).mode,"onUpdate:modelValue":l[1]||(l[1]=e=>m(U).mode=e)},{default:d(()=>[u(w,{value:"single"},{default:d(()=>l[9]||(l[9]=[V("区间金额")])),_:1,__:[9]}),u(w,{value:"loop"},{default:d(()=>l[10]||(l[10]=[V("固定金额")])),_:1,__:[10]})]),_:1},8,["modelValue"]),"single"==m(U).mode?(o(),a(T,{key:0,modelValue:m(U).mode,"onUpdate:modelValue":l[2]||(l[2]=e=>m(U).mode=e)},{default:d(()=>[u(w,{value:"single"},{default:d(()=>l[11]||(l[11]=[V("5的倍数")])),_:1,__:[11]}),u(w,{value:"loop"},{default:d(()=>l[12]||(l[12]=[V("10的倍数")])),_:1,__:[12]}),u(w,{value:"loop"},{default:d(()=>l[13]||(l[13]=[V("50的倍数")])),_:1,__:[13]}),u(w,{value:"loop"},{default:d(()=>l[14]||(l[14]=[V("100的倍数")])),_:1,__:[14]}),u(w,{value:"loop"},{default:d(()=>l[15]||(l[15]=[V("500的倍数")])),_:1,__:[15]}),u(w,{value:"loop"},{default:d(()=>l[16]||(l[16]=[V("非整十金额")])),_:1,__:[16]}),u(w,{value:"loop"},{default:d(()=>l[17]||(l[17]=[V("任意金额")])),_:1,__:[17]})]),_:1},8,["modelValue"])):n("",!0)]),_:1}),"single"==m(U).mode?(o(),a(h,{key:0,label:"单笔最小金额"},{default:d(()=>[u(y,{modelValue:m(U).name,"onUpdate:modelValue":l[3]||(l[3]=e=>m(U).name=e),type:"number"},null,8,["modelValue"])]),_:1})):n("",!0),"single"==m(U).mode?(o(),a(h,{key:1,label:"单笔最大金额"},{default:d(()=>[u(y,{modelValue:m(U).name,"onUpdate:modelValue":l[4]||(l[4]=e=>m(U).name=e),type:"number"},null,8,["modelValue"])]),_:1})):n("",!0),"loop"==m(U).mode?(o(),a(h,{key:2,label:"固定金额"},{default:d(()=>[u(y,{modelValue:m(U).name,"onUpdate:modelValue":l[5]||(l[5]=e=>m(U).name=e)},null,8,["modelValue"])]),_:1})):n("",!0),u(h,{label:"交易时间"},{default:d(()=>[s("div",v,[u(O,{modelValue:m(U).startTime,"onUpdate:modelValue":l[6]||(l[6]=e=>m(U).startTime=e),class:"mr-4",placeholder:"开始时间",start:"00:00",step:"01:00",end:"23:00"},null,8,["modelValue"]),l[18]||(l[18]=s("span",{style:{"margin-right":"12px"}},"-",-1)),u(O,{modelValue:m(U).endTime,"onUpdate:modelValue":l[7]||(l[7]=e=>m(U).endTime=e),class:"mr-4",placeholder:"结束时间",start:"00:00",step:"01:00",end:"23:00"},null,8,["modelValue"])])]),_:1})]),_:1,__:[19]},8,["model"])]),_:1},8,["model-value"])}}};export{k as default};