PageSourceSearch

https://hcmut.edu.vn/js/home/2810.7d5ad0f8980ba5290a87.js

js hcmut.edu.vn collected 2026-10-02 05:55:44 UTC 38,077 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhcmut=self.webpackChunkhcmut||[]).push([[2810],{42810:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ne});var r=n(87040),o=n(67294),a=n(28216),i=n(73727),c=n(54691),l=n(30751),u=n(25512),s=n(55376);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===f(o)?o:String(o)),r)}var o}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}u.kL.register(u.qi,u.uw,u.f$,u.ZL,u.od,u.jn,u.Dx,u.De,u.u);var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(r);if(a){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e=this.props.list,t=[],n=null,r=null;if(e&&null!=e&&e.length){var a,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}(e);try{for(i.s();!(a=i.n()).done;){var c=a.value;t.push(c.nam),n=c.loaiKeHoach,r=c.tieuDe}}catch(e){i.e(e)}finally{i.f()}}var l={data:{labels:t.map((function(e){return e})),datasets:[{label:"Kế hoạch",type:"bar",data:e&&e.length&&e.map((function(e){return e.keHoach})),backgroundColor:"rgb(0, 168, 107)",borderColor:"rgb(0, 168, 107)",order:1},{label:"Thực tế",type:"bar",data:e&&e.length&&e.map((function(e){return e.thucTe})),backgroundColor:"rgb(255, 99, 132)",borderColor:"rgb(255, 99, 132)",order:2}]},options:{responsive:!0,plugins:{title:{display:!0,text:(1==n?"KINH PHÍ: ":" KẾ HOẠCH: ")+r,font:{size:20}},legend:{position:"top"}},interaction:{mode:"index",intersect:!1},ChartTooltip:{enabled:!0,mode:"index",intersect:!1}}};return o.createElement("div",{className:"col-12"},e&&null!=e?0==e.length?o.createElement("span",null,"Không có dữ liệu báo cáo!"):o.createElement("div",null,o.createElement(s.x1,{data:l.data,height:"100px",options:l.options})):null)}}])&&h(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Component);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===y(o)?o:String(o)),r)}var o}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}u.kL.register(u.qi,u.uw,u.f$,u.ZL,u.od,u.jn,u.Dx,u.De,u.u);var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O(r);if(a){var n=O(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e=this.props,t=e.listKpctNoiBo,n=e.boPhanMap,r=e.listKpctPhanAnh,a=e.listSauKhaoSat,i=[],c=[],l=[];n.forEach((function(e){if(1==e.kichHoat){var n=e.ten.length>40?e.ten.slice(0,40)+"...":e.ten;if(t&&t[e.ma]&&t[e.ma].length){var o,u=0,s=0,f=g(t[e.ma]);try{for(f.s();!(o=f.n()).done;){var p=o.value;null!=p.minhChung&&u++,null!=p.treHan&&s++}}catch(e){f.e(e)}finally{f.f()}i.push({ten:n,soLuong:t[e.ma].length,minhChung:u,treHan:s})}else i.push({ten:n,soLuong:0,minhChung:0,treHan:0});if(r&&r[e.ma]&&r[e.ma].length){var h,m=0,d=0,b=g(r[e.ma]);try{for(b.s();!(h=b.n()).done;){var y=h.value;null!=y.minhChung&&m++,null!=y.lanGiaHan&&(d+=y.lanGiaHan)}}catch(e){b.e(e)}finally{b.f()}c.push({ten:n,soLuong:r[e.ma].length,minhChung:m,treHan:d})}else c.push({ten:n,soLuong:0,minhChung:0,treHan:0});if(a&&a[e.ma]&&a[e.ma].length){var v,E=0,w=0,O=g(a[e.ma]);try{for(O.s();!(v=O.n()).done;){var C=v.value;null!=C.minhChung&&E++,null!=C.lanGiaHan&&(w+=C.lanGiaHan)}}catch(e){O.e(e)}finally{O.f()}l.push({ten:n,soLuong:a[e.ma].length,minhChung:E,treHan:w})}else l.push({ten:n,soLuong:0,minhChung:0,treHan:0})}}));var u={data:{labels:i.map((function(e){return e.ten})),type:"bar",datasets:[{label:"Số lượng",type:"bar",data:i.map((function(e){return e.soLuong})),backgroundColor:"rgb(0, 168, 107)",borderColor:"rgb(0, 168, 107)",order:1},{label:"Minh chứng",type:"bar",data:i.map((function(e){return e.minhChung})),backgroundColor:"rgb(255, 99, 132)",borderColor:"rgb(255, 99, 132)",order:2},{label:"Trễ hạn",type:"bar",data:i.map((function(e){return e.treHan})),backgroundColor:"rgb(54, 162, 235)",borderColor:"rgb(54, 162, 235)",order:3}]},options:{responsive:!0,indexAxis:"y",plugins:{title:{display:!0,text:"Khắc phục sau đánh giá nội bộ",font:{size:20}},legend:{position:"top"}},scales:{x:{ticks:{stepSize:1}}}}},f={data:{labels:c.map((function(e){return e.ten})),type:"bar",datasets:[{label:"Số lượng",type:"bar",data:c.map((function(e){return e.soLuong})),backgroundColor:"rgb(0, 168, 107)",borderColor:"rgb(0, 168, 107)",order:1},{label:"Minh chứng",type:"bar",data:c.map((function(e){return e.minhChung})),backgroundColor:"rgb(255, 99, 132)",borderColor:"rgb(255, 99, 132)",order:2},{label:"Trễ hạn",type:"bar",data:c.map((function(e){return e.treHan})),backgroundColor:"rgb(54, 162, 235)",borderColor:"rgb(54, 162, 235)",order:3}]},options:{responsive:!0,indexAxis:"y",plugins:{title:{display:!0,text:"Khắc phục sau khi có phản ánh",font:{size:20}},legend:{position:"top"}},scales:{x:{ticks:{stepSize:1}}}}},p={data:{labels:l.map((function(e){return e.ten})),type:"bar",datasets:[{label:"Số lượng",type:"bar",data:l.map((function(e){return e.soLuong})),backgroundColor:"rgb(0, 168, 107)",borderColor:"rgb(0, 168, 107)",order:1},{label:"Minh chứng",type:"bar",data:l.map((function(e){return e.minhChung})),backgroundColor:"rgb(255, 99, 132)",borderColor:"rgb(255, 99, 132)",order:2},{label:"Trễ hạn",type:"bar",data:l.map((function(e){return e.treHan})),backgroundColor:"rgb(54, 162, 235)",borderColor:"rgb(54, 162, 235)",order:3}]},options:{responsive:!0,indexAxis:"y",plugins:{title:{display:!0,text:"Khắc phục sau khảo sát",font:{size:20}},legend:{position:"top"}},scales:{x:{ticks:{stepSize:1}}}}};return o.createElement(o.Fragment,null,o.createElement("div",{className:"col-12"},o.createElement(s.x1,{data:u.data,height:"100px",options:u.options})),o.createElement("div",{className:"col-12"}
1,o.createElement(s.x1,{data:f.data,height:"100px",options:f.options})),o.createElement("div",{className:"col-12"},o.createElement(s.x1,{data:p.data,height:"100px",options:p.options})))}}])&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Component);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==S(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===S(o)?o:String(o)),r)}var o}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}
1function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}u.kL.register(u.qi,u.uw,u.f$,u.ZL,u.od,u.jn,u.Dx,u.De,u.u);var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=j(r);if(a){var n=j(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e=this.props.list,t=[],n=[],r=[],a=[],i=[];e&&null!=e&&e.length&&e.forEach((function(e){t.push(e.tenBoPhan);var o=e.qtqd.loai_0.reduce((function(e,t){return e+(t.minhChung?1:0)}),0);n.push({soLuong:e.qtqd.loai_0.length,minhChung:Number(o)});var c=e.qtqd.loai_1.reduce((function(e,t){return e+(t.minhChung?1:0)}),0);r.push({soLuong:e.qtqd.loai_1.length,minhChung:Number(c)});var l=e.qtqd.loai_2.reduce((function(e,t){return e+(t.minhChung?1:0)}),0);a.push({soLuong:e.qtqd.loai_2.length,minhChung:Number(l)});var u=e.qtqd.loai_3.reduce((function(e,t){return e+(t.minhChung?1:0)}),0);i.push({soLuong:e.qtqd.loai_3.length,minhChung:Number(u)})}));var c={data:{labels:t.map((function(e){return e.length>40?e.slice(0,40)+"...":e})),type:"bar",datasets:[{label:"Quy trình",axis:"y",type:"bar",data:n.map((function(e){return e.soLuong})),backgroundColor:"rgb(0, 168, 107)",borderColor:"rgb(0, 168, 107)",order:1},{label:"Quy định",axis:"y",type:"bar",data:r.map((function(e){return e.soLuong})),backgroundColor:"rgb(255, 99, 132)",borderColor:"rgb(255, 99, 132)",order:2},{label:"Hướng dẫn",axis:"y",type:"bar",data:a.map((function(e){return e.soLuong})),backgroundColor:"rgb(54, 162, 235)",borderColor:"rgb(54, 162, 235)",order:3},{label:"Khác",axis:"y",type:"bar",data:i.map((function(e){return e.soLuong})),backgroundColor:"rgb(255, 205, 86)",borderColor:"rgb(255, 205, 86)",order:4},{label:"Minh chứng",axis:"y",type:"bar",data:n.map((function(e){return e.minhChung}))+r.map((function(e){return e.minhChung}))+a.map((function(e){return e.minhChung}))+i.map((function(e){return e.minhChung})),backgroundColor:"rgb(151, 22, 207)",borderColor:"rgb(151, 22, 207)",order:5}]},options:{responsive:!0,indexAxis:"y",scales:{x:{ticks:{stepSize:1}}}}};return o.createElement("div",{className:"col-12"},e&&null!=e?0==e.length?o.createElement("span",null,"Không có dữ liệu báo cáo!"):o.createElement("div",null,o.createElement(s.x1,{data:c.data,height:"100px",options:c.options})):null)}}])&&N(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Component);function K(e){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(e)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==K(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==K(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===K(o)?o:String(o)),r)}var o}
1function D(e,t){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},D(e,t)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}u.kL.register(u.qi,u.uw,u.f$,u.ZL,u.od,u.jn,u.Dx,u.De,u.u);var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D(e,t)}(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=R(r);if(a){var n=R(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===K(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e=this.props.list,t=[];if(e&&null!=e&&e.length){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;t.push(a.namHoc)}}catch(e){r.e(e)}finally{r.f()}}var i={data:{labels:t,datasets:[{label:"Tổng số",type:"bar",data:e&&e.length&&e.map((function(e){return e.ruiRo})),backgroundColor:"rgb(0, 168, 107)",borderColor:"rgb(0, 168, 107)",order:1},{label:"Đã báo cáo",type:"bar",data:e&&e.length&&e.map((function(e){return e.baoCaoRuiRo})),backgroundColor:"rgb(255, 99, 132)",borderColor:"rgb(255, 99, 132)",order:2}]},options:{responsive:!0,plugins:{title:{display:!0,text:"Rủi ro",font:{size:20}},legend:{position:"top"}},interaction:{mode:"index",intersect:!1},ChartTooltip:{enabled:!0,mode:"index",intersect:!1},scales:{y:{ticks:{stepSize:1}}}}},c={data:{labels:t,datasets:[{label:"Tổng số",type:"bar",data:e&&e.length&&e.map((function(e){return e.coHoi})),backgroundColor:"rgb(0, 168, 107)",borderColor:"rgb(0, 168, 107)",order:1},{label:"Đã báo cáo",type:"bar",data:e&&e.length&&e.map((function(e){return e.baoCaoCoHoi})),backgroundColor:"rgb(255, 99, 132)",borderColor:"rgb(255, 99, 132)",order:2}]},options:{responsive:!0,plugins:{title:{display:!0,text:"Cơ hội",font:{size:20}},legend:{position:"top"}},interaction:{mode:"index",intersect:!1},ChartTooltip:{enabled:!0,mode:"index",intersect:!1},scales:{y:{ticks:{stepSize:1}}}}};return o.createElement("div",{className:"col-12"},e&&null!=e?0==e.length?o.createElement("span",null,"Không có dữ liệu báo cáo!"):o.createElement("div",{className:"row"},o.createElement("div",{className:"col-6"},o.createElement(s.x1,{data:i.data,height:"100px",options:i.options})),o.createElement("div",{className:"col-6"},o.createElement(s.x1,{data:c.data,height:"100px",options:c.options}))):null)}}])&&A(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Component),_=n(42237),L=n(26252),B=n(23566),q=n(74055),G=n(7055),I=n(44791);function Q(e){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Q(e)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?M(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function U(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,X(r.key),r)}}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e){return W=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},W(e)}function J(e,t,n){return(t=X(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){var t=function(e,t){if("object"!==Q(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Q(t)?t:String(t)}var V=function(e){return o.createElement(i.rU,{className:"col-md-6 col-lg-4",to:e.to},o.createElement("div",{className:"widget-small coloured-icon"},o.createElement("i",{style:{backgroundColor:e.color},className:"icon fa "+e.icon}),o.createElement("div",{className:"info"},o.createElement("p",null,e.info))))},ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}(s,e);var t,n,r,a,u=(r=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=W(r);if(a){var n=W(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===Q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Y(e)}(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return J(Y(e=u.call.apply(u,[this].concat(n))),"state",{namBatDau:null,namKetThuc:null,idKhcl:null,isLoading:!0,isLoadingRrch:!1,list:void 0,listRrch:void 0,listKpctNoiBo:void 0,listKpctPhanAnh:void 0,listSauKhaoSat:[],isLoadingKpctNoiBo:!0,namKpct:null,boPhanMap:[]}),J(Y(e),"getGiaiDoan",(function(t){var n=t.id.split("-");e.setState({namBatDau:Number(n[0]),namKetThuc:Number(n[1])})})),J(Y(e),"getKhcl",(function(t){var n=e.state,r=n.namBatDau,o=n.namKetThuc;e.setState({isLoading:!1},(function(){r&&o&&e.props.getOispBaoCaoTongHopKhcl(r,o,t.id,(function(n){return e.setState({list:n,isLoading:!0,idKhcl:t.id})}))}))})),J(Y(e),"getNamKpct",(function(t){e.setState({isLoadingKpctNoiBo:!1,namKpct:Number(t.id)},(function(){e.props.getOispDmPhongBanAll("",(function(n){e.props.getKpctGhiNhanAll(Number(t.id),(function(t){var r={};
1n.forEach((function(e){if(1==e.kichHoat){r[e.ma]=[];var n,o=U(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;e.ma==a.boPhan&&r[e.ma].push(z({},a))}}catch(e){o.e(e)}finally{o.f()}}})),e.setState({listKpctNoiBo:r,isLoadingKpctNoiBo:!0})})),e.props.getKpctPhanAnhGhiNhanNamAll(Number(e.state.namKpct),(function(t){var r={};n.forEach((function(e){if(1==e.kichHoat){r[e.ma]=[];var n,o=U(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;e.ma==a.boPhanTiepNhan&&r[e.ma].push(z({},a))}}catch(e){o.e(e)}finally{o.f()}}})),e.setState({listKpctPhanAnh:r})})),e.props.getKpctSauKhaoSatGhiNhanNamAll(Number(e.state.namKpct),(function(t){var r={};n.forEach((function(e){if(1==e.kichHoat){r[e.ma]=[];var n,o=U(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;e.ma==a.boPhan&&r[e.ma].push(z({},a))}}catch(e){o.e(e)}finally{o.f()}}})),e.setState({listSauKhaoSat:r})}))}))}))})),e}return t=s,(n=[{key:"componentDidMount",value:function(){var e=this;T.ready("/user/oisp?group=3",(function(){e.props.getBaoCaoTongHoiRrch((function(t){return e.setState({listRrch:t,isLoadingRrch:!0})})),e.props.getOispGiaiDoanAll((function(t){var n=(t||[]).find((function(e){return e.namKetThucGiaiDoan>=(new Date).getFullYear()}));n&&e.setState({namBatDau:n.namBatDauGiaiDoan,namKetThuc:n.namKetThucGiaiDoan})})),e.props.getQuyTrinhQuyDinhAll(),e.setState({namKpct:(new Date).getFullYear(),isLoadingKpctNoiBo:!1},(function(){e.props.getOispDmPhongBanAll("",(function(t){e.props.getKpctGhiNhanAll(Number(e.state.namKpct),(function(n){var r={};t.forEach((function(e){if(1==e.kichHoat){r[e.ma]=[];var t,o=U(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;e.ma==a.boPhan&&r[e.ma].push(z({},a))}}catch(e){o.e(e)}finally{o.f()}}})),e.setState({listKpctNoiBo:r,isLoadingKpctNoiBo:!0,boPhanMap:t})})),e.props.getKpctPhanAnhGhiNhanNamAll(Number(e.state.namKpct),(function(n){var r={};t.forEach((function(e){if(1==e.kichHoat){r[e.ma]=[];var t,o=U(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;e.ma==a.boPhanTiepNhan&&r[e.ma].push(z({},a))}}catch(e){o.e(e)}finally{o.f()}}})),e.setState({listKpctPhanAnh:r})})),e.props.getKpctSauKhaoSatGhiNhanNamAll(Number(e.state.namKpct),(function(n){var r={};t.forEach((function(e){if(1==e.kichHoat){r[e.ma]=[];var t,o=U(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;e.ma==a.boPhan&&r[e.ma].push(z({},a))}}catch(e){o.e(e)}finally{o.f()}}})),e.setState({listSauKhaoSat:r})}))}))}))}))}},{key:"render",value:function(){var e=this,t=this.getUserPermission("oispMucTieuChatLuong",["manager","read","write","delete"]),n=this.getUserPermission("oispKeHoachChienLuoc",["manager","read","write","delete"]),r=this.getUserPermission("oispRuiRoCoHoi",["manager","read","write","delete"]),a=this.getUserPermission("oispKhacPhucCaiTien",["manager","read","write","delete"]),u=this.getUserPermission("oispISOEmail",["manager","read","write","delete"]),s=this.props.quyTrinhQuyDinh&&this.props.quyTrinhQuyDinh.listQtqd||[],f=this.state,p=f.namBatDau,h=f.namKetThuc,m=f.idKhcl,d=f.isLoading,y=f.isLoadingRrch,g=f.list,v=f.listRrch,E=f.listKpctNoiBo,w=f.namKpct,O=f.isLoadingKpctNoiBo,S=f.listKpctPhanAnh,N=f.listSauKhaoSat,P=null!=p&&null!=h?"".concat(p,"-").concat(h):null;return this.renderPage({icon:"fa fa-bookmark-o",title:"Quản lý chất lượng (ISO)",breadcrumb:[o.createElement(i.rU,{key:0,to:"/user/oisp"},"OISP"),o.createElement(i.rU,{key:1,to:"/user/oisp/3/0"},"Quản trị chất lượng"),"Quản lý chất lượng (ISO)"],content:o.createElement(o.Fragment,null,o.createElement("div",{className:"row"},t.read&&o.createElement("h4",{className:"col-12"},"Danh mục"),n.read&&o.createElement("h6",{className:"col-12"},"Kế hoạch chiến lược"),n.manager&&o.createElement(V,{to:"/user/oisp/danh-sach-ke-hoach",color:"#03a9fc",icon:"fa-columns",info:"Danh sách Kế hoạch chiến lược"}),n.manager&&o.createElement(V,{to:"/user/oisp/danh-sach-kinh-phi",color:"#1fa67a",icon:"fa-usd",info:"Danh sách Kinh phí thực hiện"}),n.manager&&o.createElement(V,{to:"/user/oisp/3/0/0/hang-muc-tac-dong",color:"#aa009e",icon:"fa-list-ol",info:"Hạng mục tác động"}),n.read&&o.createElement(V,{to:"/user/oisp/3/0/0/danh-sach-cac-giai-doan",color:"#25dddd",icon:"fa-list-alt",info:"Hạng mục - Kinh phí"}),u.manager&&o.createElement(V,{to:"/user/oisp/ke-hoach-chien-luoc/email-sett
1ing",color:"#03a9fc",icon:"fa fa-envelope",info:"Cấu hình Email Kế hoạch chiến lược"}),o.createElement("div",{className:"w-100"}),t.read&&o.createElement("h6",{className:"col-12"},"Mục tiêu chất lượng"),t.read&&o.createElement(V,{to:"/user/oisp/muc-tieu-chat-luong-giai-doan",color:"#fd7e14",icon:"fa fa-flag",info:"Giai đoạn"}),t.manager&&o.createElement(V,{to:"/user/oisp/muc-tieu-chat-luong-phe-duyet",color:"#57C5B6",icon:"fa fa-eercast",info:"Phê duyệt gia hạn"}),u.manager&&o.createElement(V,{to:"/user/oisp/3/0/0/quan-ly-chat-luong-email",color:"#03a9fc",icon:"fa fa-envelope",info:"Cấu hình Email Mục tiêu chất lượng"}),r.read&&o.createElement("h6",{className:"col-12"},"Rủi ro - Cơ hội "),r.read&&o.createElement(V,{to:"/user/oisp/rui-ro-co-hoi",color:"#dc3545",icon:"fa fa-bolt",info:"Rủi ro - Cơ hội"}),u.manager&&o.createElement(V,{to:"/user/oisp/rui-ro-co-hoi/email-setting",color:"#03a9fc",icon:"fa fa-envelope",info:"Cấu hình Email Rủi ro - Cơ hội"}),a.write&&o.createElement("h6",{className:"col-12"},"Khắc phục - Cải tiến"),a.write&&o.createElement(V,{to:"/user/oisp/khac-phuc-cai-tien-dashboard",color:"#28a745",icon:"fa-wrench",info:"Khắc phục - Cải tiến"}),t.read&&o.createElement("h6",{className:"col-12"},"Quy Trình - Quy Định OISP"),t.read&&o.createElement(V,{to:"/user/oisp/quy-trinh-quy-dinh",color:"#6f42c1",icon:"fa-thumb-tack",info:"QT - QĐ hiện hành OISP"}),t.read&&o.createElement(V,{to:"/user/oisp/quy-trinh-quy-dinh-danh-sach-bieu-mau",color:"#A8DF8E",icon:"fa fa-file-pdf-o",info:"Danh Sách Biểu Mẫu Hiện Hành"}),t.manager&&o.createElement(V,{to:"/user/oisp/quy-trinh-quy-dinh-thong-ke",color:"#F7E987",icon:"fa fa-line-chart",info:"Thống kê tổng quan"}),t.manager&&o.createElement("h3",{className:"col-12",style:{textAlign:"center",fontWeight:"bold",margin:"40px 0px 20px"}},"BÁO CÁO TỔNG HỢP"),t.manager&&o.createElement("div",{className:"col-12"},o.createElement("div",{className:"tile"},o.createElement("div",{className:"row"},o.createElement("h4",{className:"col-10"},"Tổng hợp Kế hoạch chiến lược - Kinh phí"),null!=m&&o.createElement("div",{className:"col-2",style:{display:"flex",justifyContent:"flex-end"}},o.createElement("button",{className:"btn btn-success",onClick:function(){return T.download(T.url("/api/oisp/bao-cao-tong-hop/ke-hoach-chien-luoc/export/".concat(p,"/").concat(h,"/").concat(m)))}},o.createElement("i",{className:"fa fa-download"})," Download")),o.createElement(c.ih,{className:"col-4",data:L.kf,value:P,label:"Chọn giai đoạn",placeholder:"Giai đoạn",minimumResultsForSearch:-1,onChange:this.getGiaiDoan}),null!=p&&o.createElement(c.ih,{className:"col-8",data:(0,L.W6)(p,h),label:"Chọn Kế hoạch chiến lược - Kinh phí",placeholder:"Kế hoạch - Kinh phí",onChange:this.getKhcl}),d?o.createElement(b,{list:g}):o.createElement("div",{className:"col-12",style:{margin:"20px 0px 20px"}},o.createElement("div",{className:"text-center"},o.createElement("i",{className:"fa fa-spin fa-lg fa-spinner",style:{fontSize:40}})))))),t.manager&&o.createElement("div",{className:"col-12"},o.createElement("div",{className:"tile"},o.createElement("div",{className:"row"},o.createElement("h4",{className:"col-10"},"Tổng hợp Rủi ro - Cơ hội"),o.createElement("div",{className:"col-2",style:{display:"flex",justifyContent:"flex-end"}},o.createElement("button",{className:"btn btn-success",onClick:function(){return T.download(T.url("/api/oisp/bao-cao-tong-hop/rui-ro-co-hoi/export"))}},o.createElement("i",{className:"fa fa-download"})," Download")),y?o.createElement(H,{list:v}):o.createElement("div",{className:"col-12",style:{margin:"20px 0px 20px"}},o.createElement("div",{className:"text-center"},o.createElement("i",{className:"fa fa-spin fa-lg fa-spinner",style:{fontSize:40}})))))),t.manager&&o.createElement("div",{className:"col-12"},o.createElement("div",{className:"tile"},o.createElement("div",{className:"row"},o.createElement("h4",{className:"col-10"},"Tổng hợp Khắc phục - Cải tiến"),o.createElement("div",{className:"col-2",style:{display:"flex",justifyContent:"flex-end"}},o.createElement("button",{className:"btn btn-success",onClick:function(){return T.download(T.url("/api/oisp/bao-cao-tong-hop/khac-phuc-cai-tien/export/".concat(w)))}},o.createElement("i",{className:"fa fa-download"})," Download")),o.createElement(c.ih,{className:"col-3",data:l.mH,value:w,onChange:this.getNamKpct,label:"Chọn năm",placeholder:"Chọn năm",minimumResultsForSearch:-1}),O?o.createElement(C,{listKpctNoiBo:E,listKpctPhanAnh:S,listSauKhaoSat:N,boPhanMap:this.state.boPhanMap}):o.createElement("div",{className:"col-12",style:{margin:"20px 0px 20px"}},o.createElement("div",{className:"text-center"},o.createElement("i",{className:"fa fa-spin fa-lg fa-spinner",style:{fontSize:40}})))))),t.manager&&o.createElement("div",{className:"col-12"},o.createElement("div",{className:"tile"},o.createElement("div",{className:"row"},o.createElement("h4",{className:"col-10"},"Tổng hợp Quy trình - Quy định"),o.createElement("div",{className:"col-2",style:{display:"flex",justifyContent:"flex-end"}},o.createElement("button",{className:"btn btn-success",onClick:function(){return T.download(T.url("/api/oisp/quy-trinh-quy-dinh-export-bao-cao?option=".concat(JSON.stringify({type:1}))))}},o.createElement("i",{className:"fa fa-download"})," Download")),o.createElement(x,{list:s})))))),backRoute:function(){return e.props.history.goBack()}})}}])&&$(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(c.DY),te={getBaoCaoTongHoiRrch:I.oZ,getOispGiaiDoanAll:_.v$,getOispBaoCaoTongHopKhcl:L.X7,getQuyTrinhQuyDinhAll:B.Ul,getKpctGhiNhanAll:B.p3,getOispDmPhongBanAll:r.Nv,getKpctPhanAnhGhiNhanNamAll:q.mK,getKpctSauKhaoSatGhiNhanNamAll:G.Z6};const ne=(0,a.$j)((function(e){return{system:e.system,keHoachChienLuoc:e.oisp.keHoachChienLuoc,rrchNamHoc:e.oisp.rrchNamHoc,quyTrinhQuyDinh:e.ois
1p.kpctNoiBoNam}}),te)(ee)},87040:(e,t,n)=>{n.d(t,{L1:()=>c,Nv:()=>a,oN:()=>l});var r=n(70040),o="OispDmPhongBan:GetAll";function a(e,t){return function(n){var a="/api/oisp/dm-phong-ban/all";r.Z.get(a,{condition:e},(function(e){e.error?(r.Z.notify("Lấy danh sách phòng ban OISP bị lỗi"+(e.error.message&&":<br>"+e.error.message),"danger"),console.error("GET: ".concat(a,"."),e.error)):(t&&t(e.items),n({type:o,items:e.items?e.items:[]}))}),(function(e){return r.Z.notify("Lấy danh sách phòng ban OISP bị lỗi"+(e.error.message&&":<br>"+e.error.message),"danger")}))}}function i(e,t){return function(){var n="/api/oisp/dm-phong-ban/item/".concat(e);r.Z.get(n,(function(e){e.error?(r.Z.notify("Lấy thông tin phòng ban OISP bị lỗi"+(e.error.message&&":<br>"+e.error.message),"danger"),console.error("GET: ".concat(n,"."),e.error)):t&&t(e.item)}),(function(e){return console.error("GET: ".concat(n,"."),e)}))}}r.Z.initPage("pageOispDmPhongBan");var c={ajax:!0,url:"/api/oisp/dm-phong-ban/select-adapter",data:function(e){return{condition:e.term}},processResults:function(e){return{results:e&&e.items?e.items.filter((function(e){return 1===e.kichHoat})).map((function(e){return{id:null==e?void 0:e.ma,text:null==e?void 0:e.ten}})):[]}},fetchOne:function(e,t){return i(e,(function(e){return t&&t({id:(null==e?void 0:e.ma)||"NONE",text:(null==e?void 0:e.ten)||"Không xác định"})}))()}},l={ajax:!0,url:"/api/oisp/dm-phong-ban/all",data:function(e){return{condition:e.term}},processResults:function(e){return{results:e&&e.items?e.items.filter((function(e){return 1===e.kichHoat})).map((function(e){return{id:e.ma,text:e.ten}})):[]}},fetchOne:function(e,t){return i(e,(function(e){return t&&t({id:null==e?void 0:e.ma,text:null==e?void 0:e.ten})}))()}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.