????

Your IP : 3.147.44.253


Current Path : C:/inetpub/vhost/sdoc.nextform.vn/www/assets/
Upload File :
Current File : C:/inetpub/vhost/sdoc.nextform.vn/www/assets/Index-aa21e89f.js

var i=Object.defineProperty;var l=(r,t,e)=>t in r?i(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var s=(r,t,e)=>(l(r,typeof t!="symbol"?t+"":t,e),e);import{r as d,i as o,j as a,R as c}from"./index-727ccf4d.js";import{D as u}from"./DataTable-2f4d7f97.js";import"./useTheme-41684c89.js";import"./OdataUtils-2c90172a.js";const p=[{field:"Id",dataID:!0,type:"guid",hidden:!0},{title:"STT",field:"STT",type:"numeric",dataCheck:!0,defaultSort:"asc",cellStyle:{textAlign:"center"}},{title:"Tên lĩnh vực",field:"Name",type:"string",dataCheck:!0,searchable:!0},{title:"Icon",field:"Icon",type:"string"}],n=c.createRef(),h=()=>n.current&&n.current.onQueryChange();class y extends d.Component{constructor(e){super(e);s(this,"onDeleteUnit",e=>{o(`DM_LinhVuc(guid'${e.Id}')`,"PATCH",JSON.stringify({IsDeleted:!0}),!0).then(m=>{h()})});this.state={}}render(){const e=[];return e.push(`IsDeleted ne ${!0}`),a.jsx("div",{className:"bg-white p-3 rounded",children:a.jsx(u,{tableRef:n,title:"DANH MỤC LĨNH VỰC",url:"DM_LinhVuc",columns:p,where:e.join(" and "),selectType:"withColumns",onAdd:{disabled:!1},onEdit:{},onDelete:{}})})}}export{y as default};