????

Your IP : 18.116.67.226


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

var s=Object.defineProperty;var i=(r,t,e)=>t in r?s(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var n=(r,t,e)=>(i(r,typeof t!="symbol"?t+"":t,e),e);import{r as d,i as u,j as l,R as o}from"./index-727ccf4d.js";import{D as c}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:"string",dataCheck:!0,defaultSort:"asc",cellStyle:{textAlign:"center"}},{title:"Tên",field:"Name",type:"string",dataCheck:!0,searchable:!0},{title:"Số lần thực hiện ",field:"SoLanGui",type:"numeric",dataCheck:!0,cellStyle:{textAlign:"center"}}],a=o.createRef(),h=()=>a.current&&a.current.onQueryChange();class g extends d.Component{constructor(e){super(e);n(this,"onDelete",e=>{u(`DM_TanSuat(guid'${e.Id}')`,"PATCH",JSON.stringify({IsDeleted:!0}),!0).then(T=>{h()})});this.state={}}render(){const e=[];return e.push(`IsDeleted ne ${!0}`),l.jsx("div",{className:"bg-white rounded p-3",children:l.jsx(c,{tableRef:a,title:"DANH MỤC TẦN SUẤT",url:"DM_TanSuat",columns:p,where:e.join(" and "),selectType:"withColumns",onAdd:{disabled:!1},onEdit:{},onDelete:{}})})}}export{g as default};