????

Your IP : 216.73.216.234


Current Path : C:/inetpub/vhost/qlhncn.gdtsolutions.vn/www/assets/
Upload File :
Current File : C:/inetpub/vhost/qlhncn.gdtsolutions.vn/www/assets/Index-bdf2913e.js

var h=Object.defineProperty;var u=(o,n,e)=>n in o?h(o,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[n]=e;var r=(o,n,e)=>(u(o,typeof n!="symbol"?n+"":n,e),e);import{r as d,j as t,R as c}from"./index-63f91612.js";import{D as p}from"./DataTable-f53a5ff2.js";import{I as g}from"./IndexDetail-a2b0b3a1.js";import"./useTheme-88c8fc58.js";import"./OdataUtils-b4c5a51c.js";import"./reactstrap.modern-db56c8a4.js";import"./FullScreenDialog-6515b107.js";import"./BodyDialog-a84bcf80.js";import"./DialogCustomize-5c5d912b.js";import"./withStyles-8b7f6946.js";import"./createClass-ba011f43.js";import"./capitalize-7bd4806a.js";import"./classCallCheck-22a738c0.js";import"./HTMLElementType-ee7a24b5.js";import"./debounce-b2775af4.js";import"./ButtonClose-c34d5952.js";import"./Button-414de42d.js";import"./FontAwesome4-d45b4e7a.js";import"./createStyles-cfd966dc.js";import"./InputNumber-bbb3e938.js";import"./InputTime-7fc0744c.js";import"./DropdownList-84c9fae1.js";import"./Select-7eb08d2a.js";import"./Index-a91d688c.js";const D=[{field:"Id",dataID:!0,type:"numeric",hidden:!0},{title:"Tên nhóm",field:"Name",type:"string",dataCheck:!0,searchable:!0,defaultSort:"asc"},{title:"Tổng số đơn vị",field:"RP_NhomDoiTuong_DonVi.Id",type:"string",dataRef:["RP_NhomDoiTuong_DonVi"],render:o=>t.jsxDEV("span",{children:t.jsxDEV("b",{children:o.RP_NhomDoiTuong_DonVi.length===0?"-":o.RP_NhomDoiTuong_DonVi.length},void 0,!1,{fileName:"/home/jenkins/agent/workspace/qlhncn.gdtsolutions.vn/src/views/DanhMuc/NhomDoiTuong/Index.jsx",lineNumber:27,columnNumber:9},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/qlhncn.gdtsolutions.vn/src/views/DanhMuc/NhomDoiTuong/Index.jsx",lineNumber:26,columnNumber:7},globalThis),editable:"never",cellStyle:{textAlign:"center"}},{title:"IsChonPhongBan",field:"IsChonPhongBan",type:"string",hidden:!0}],s=c.createRef(),N=()=>s.current&&s.current.onQueryChange();class J extends d.Component{constructor(e){super(e);r(this,"reloadTableCustom",()=>{N()});this.state={openDetail:!1,NhomDoiTuongId:null,IsChonPhongBan:null}}render(){const{openDetail:e,NhomDoiTuongId:l,Name:a,IsChonPhongBan:m}=this.state;return t.jsxDEV("div",{className:"bg-white rounded p-3",children:[t.jsxDEV(p,{tableRef:s,title:"NHÓM ĐỐI TƯỢNG",url:"RP_NhomDoiTuong",columns:D,selectType:"withColumns",onAdd:{disabled:!1},onEdit:{},onDelete:{},onRowClick:(T,i)=>this.setState({openDetail:!0,NhomDoiTuongId:i.Id,Name:i.Name,IsChonPhongBan:i.IsChonPhongBan})},void 0,!1,{fileName:"/home/jenkins/agent/workspace/qlhncn.gdtsolutions.vn/src/views/DanhMuc/NhomDoiTuong/Index.jsx",lineNumber:63,columnNumber:9},this),e&&t.jsxDEV(g,{nhomDoiTuongId:l,IsChonPhongBan:m,Name:a,reloadTableIndex:this.reloadTableCustom(),open:e,onClose:()=>this.setState({openDetail:!1})},void 0,!1,{fileName:"/home/jenkins/agent/workspace/qlhncn.gdtsolutions.vn/src/views/DanhMuc/NhomDoiTuong/Index.jsx",lineNumber:83,columnNumber:11},this)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/qlhncn.gdtsolutions.vn/src/views/DanhMuc/NhomDoiTuong/Index.jsx",lineNumber:62,columnNumber:7},this)}}export{J as default};