数通互联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.3 KiB

4 months ago
import{d as S,r as p,y as _,w as v,a as x,c as L,b as n,e as t,h as s,b4 as C,gl as u,q as V,H as b,I as k,b3 as E,ab as I,aQ as N,_ as T}from"./index-e450010e.js";const j={class:"dialog-footer"},q=S({__name:"controlSetup",props:{isShow:{type:Boolean,default:!1},contbutary:{type:Object,default(){return{}}}},emits:["update:isShow","update:contbutary","updataLogBut"],setup(f,{emit:m}){const c=f,g=p("ltr"),o=m,a=_({get(){return c.isShow},set(e){o("update:isShow",e)}});_({get(){return c.contbutary},set(e){o("update:contbutary",e)}});const y=p();v(()=>a.value,e=>{});const l=()=>{o("update:isShow",!1),o("updataLogBut",u)},h=e=>{u.value=e};return(e,r)=>{const d=E,i=I,w=N;return x(),L(w,{modelValue:s(a),"onUpdate:modelValue":r[0]||(r[0]=B=>k(a)?a.value=B:null),title:"设置数据记录操作按钮",direction:s(g),"before-close":l},{default:n(()=>[t(s(C),{ref_key:"tableLogBut",ref:y,data:s(u),border:"",style:{width:"100%"},onSelectionChange:h},{default:n(()=>[t(d,{fixed:"",type:"selection",width:"40",align:"center"}),t(d,{prop:"label",label:"字段"})]),_:1},8,["data"]),V("div",j,[t(i,{onClick:l},{default:n(()=>[b("取消")]),_:1}),t(i,{type:"primary",onClick:l},{default:n(()=>[b("确定")]),_:1})])]),_:1},8,["modelValue","direction"])}}});const H=T(q,[["__scopeId","data-v-d84ba751"]]);export{H as default};