1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[20],{KCXC:function(n,l,t){"use strict";var e=t("CcnG"),o=t("7FkJ"),u=t("xouH"),i=t("v67d"),a=t("ZLNL"),c=t("28A0"),r=t("zC/G"),s=t("Ip0R"),b=t("Irb3"),g=t("08s3"),d=t("M2Lx"),h=t("wFw1"),p=t("TcQw"),z=t("ONu1"),m=t("z6Tj"),f=t("vGXY"),C=t("dWZg"),Y=t("rBva"),S=t("gIcY"),k=t("ZTLX"),x=t("KMFx"),w=t("aJiy"),M=t("ZYCi"),L=t("c/rV");t.d(l,"a",(function(){return q}));var O=[["[_nghost-%COMP%]{width:100%;height:100%;position:fixed;left:0;top:0;background:rgba(0,0,0,.4);z-index:999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.detail[_ngcontent-%COMP%]{width:1000px;min-height:580px;border-radius:5px;background:#fff;color:#333;font-size:14px;padding:12px 20px 70px;position:relative}.detail[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:18px;text-align:center;line-height:24px;margin:0 0 12px;position:relative}.detail[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:absolute;right:0;top:0;font-size:20px;color:#666;cursor:pointer;padding:0 5px}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:960px;overflow:hidden}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .select[_ngcontent-%COMP%]{width:100%;background:#f9fafb;border:1px solid #e5e9ed;border-radius:5px;padding:13px 20px}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .select[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-bottom:8px}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{width:100%;margin-top:15px}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .thead[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,#72c172,#3bb197 100%)!important}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#fff!important;text-align:center;font-size:12px;border:none}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{min-height:380px;border-radius:5px;background:#f9fafb;border:1px solid #e5e9ed;padding-bottom:60px;position:relative}.detail[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .box[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{margin-top:14px;position:absolute;bottom:12px;right:5px}.detail[_ngcontent-%COMP%] .btns[_ngcontent-%COMP%]{width:100%;position:absolute;left:0;bottom:20px}.detail[_ngcontent-%COMP%] .btns[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:9px 9px 0}"]],I=e.Kb({encapsulation:0,styles:O,data:{}});function P(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,1,"nz-option",[],null,null,null,o.c,o.a)),e.Lb(1,573440,[[1,4]],0,u.c,[],{nzLabel:[0,"nzLabel"],nzValue:[1,"nzValue"]},null)],(function(n,l){n(l,1,0,l.context.$implicit.groupName,l.context.$implicit.id)}),null)}function v(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,2,"th",[["nzWidth","202px"],["style","text-align: center"]],[[2,"ant-table-column-has-actions",null],[2,"ant-table-column-has-filters",null],[2,"ant-table-column-has-sorters",null],[2,"ant-table-selection-column-custom",null],[2,"ant-table-selection-column",null],[2,"ant-table-expand-icon-th",null],[2,"ant-table-th-left-sticky",null],[2,"ant-table-th-right-sticky",null],[2,"ant-table-column-sort",null],[4,"left",null],[4,"right",null],[4,"text-align",null]],null,null,i.g,i.c)),e.Lb(1,770048,[[5,4],[3,4]],0,a.e,[e.j,c.e],{nzWidth:[0,"nzWidth"]},null),(n()(),e.gc(-1,0,["\u5206\u7ec4\u540d\u79f0"]))],(function(n,l){n(l,1,0,"202px")}),(function(n,l){n(l,0,1,[e.Yb(l,1).nzShowFilter||e.Yb(l,1).nzShowSort||e.Yb(l,1).nzCustomFilter,e.Yb(l,1).nzShowFilter||e.Yb(l,1).nzCustomFilter,e.Yb(l,1).nzShowSort,e.Yb(l,1).nzShowRowSelection,e.Yb(l,1).nzShowCheckbox,e.Yb(l,1).nzExpand,e.Yb(l,1).nzLeft,e.Yb(l,1).nzRight,"descend"===e.Yb(l,1).nzSort||"ascend"===e.Yb(l,1).nzSort,e.Yb(l,1).nzLeft,e.Yb(l,1).nzRight,e.Yb(l,1).nzAlign])}))}function y(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,2,"th",[["nzWidth","202px"],["style","text-align: center"]],[[2,"ant-table-column-has-actions",null],[2,"ant-table-column-has-filters",null],[2,"ant-table-column-has-sorters",null],[2,"ant-table-selection-column-custom",null],[2,"ant-table-selection-column",null],[2,"ant-table-expand-icon-th",null],[2,"ant-table-th-left-sticky",null],[2,"ant-table-th-right-sticky",null],[2,"ant-table-column-sort",null],[4,"left",null],[4,"right",null],[4,"text-align",null]],null,null,i.g,i.c)),e.Lb(1,770048,[[5,4],[3,4]],0,a.e,[e.j,c.e],{nzWidth:[0,"nzWidth"]},null),(n()(),e.gc(-1,0,["\u5de5\u5355\u6570"]))],(function(n,l){n(l,1,0,"202px")}),(function(n,l){n(l,0,1,[e.Yb(l,1).nzShowFilter||e.Yb(l,1).nzShowSort||e.Yb(l,1).nzCustomFilter,e.Yb(l,1).nzShowFilter||e.Yb(l,1).nzCustomFilter,e.Yb(l,1).nzShowSort,e.Yb(l,1).nzShowRowSelection,e.Yb(l,1).nzShowCheckbox,e.Yb(l,1).nzExpand,e.Yb(l,1).nzLeft,e.Yb(l,1).nzRight,"descend"===e.Yb(l,1).nzSort||"ascend"===e.Yb(l,1).nzSort,e.Yb(l,1).nzLeft,e.Yb(l,1).nzRight,e.Yb(l,1).nzAlign])}))}function _(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,2,"th",[["nzWidth","202px"],["style","text-align: center"]],[[2,"ant-table-column-has-actions",null],[2,"ant-table-column-has-filters",null],[2,"ant-table-column-has-sorters",null],[2,"ant-table-selection-column-custom",null],[2,"ant-table-selection-column",null],[2,"ant-table-expand-icon-th",null],[2,"ant-table-th-left-sticky",null],[2,"ant-table-th-right-sticky",null],[2,"ant-table-column-sort",null],[4,"left",null],[4,"right",null],[4,"text-align",null]],null,null,i.g,i.c)),e.Lb(1,770048,[[5,4],[3,4]],0,a.e,[e.j,c.e],{nzWidth:[0,"nzWidth"]},null),(n()(),e.gc(-1,0,["\u7a7a\u95f2\u65f6\u95f4"]))],(function(n,l){n(l,1,0,"202px")}),(function(n,l){n(l,0,1,[e.Yb(l,1).nzShowFilter||e.Yb(l,1).nzShowSort||e.Yb(l,1).nzCustomFilter,e.Yb(l,1).nzShowFilter||e.Yb(l,1).nzCustomFilter,e.Yb(l,1).nzShowSort,e.Yb(l,1).nzShowRowSelection,e.Yb(l,1).nzShowCheckbox,e.Yb(l,1).nzExpand,e.Yb(l,1).nzLeft,e.Yb(l,1).nzRight,"descend"===e.Yb(l,1).nzSort||"ascend"===e.Yb(l,1).nzSort,e.Yb(l,1).nzLeft,e.Yb(l,1).nzRight,e.Yb(l,1).nzAlign])}))}function J(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,3,"td",[["nzAlign","center"]],[[4,"left",null],[4,"right",null],[4,"text-align",null],[4,"word-break",null]],null,null,i.f,i.b)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(2,573440,null,0,a.d,[e.q,r.J],{nzAlign:[0,"nzAlign"]},null),(n()(),e.gc(3,0,["",""]))],(function(n,l){n(l,2,0,"center")}),(function(n,l){n(l,0,0,e.Yb(l,2).nzLeft,e.Yb(l,2).nzRight,e.Yb(l,2).nzAlign,e.Yb(l,2).nzBreakWord?"break-all":""),n(l,3,0,null==l.parent.context.$implicit.groupDTO?null:l.parent.context.$implicit.groupDTO.groupName)}))}function R(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,3,"td",[["nzAlign","center"]],[[4,"left",null],[4,"right",null],[4,"text-align",null],[4,"word-break",null]],null,null,i.f,i.b)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(2,573440,null,0,a.d,[e.q,r.J],{nzAlign:[0,"nzAlign"]},null),(n()(),e.gc(3,0,["",""]))],(function(n,l){n(l,2,0,"center")}),(function(n,l){n(l,0,0,e.Yb(l,2).nzLeft,e.Yb(l,2).nzRight,e.Yb(l,2).nzAlign,e.Yb(l,2).nzBreakWord?"break-all":""),n(l,3,0,l.parent.context.$implicit.totalCount)}))}function W(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,6,"td",[["nzAlign","center"]],[[4,"left",null],[4,"right",null],[4,"text-align",null],[4,"word-break",null]],null,null,i.f,i.b)),e.dc(512,null,s.E,s.F,[e.C,e.D,e.q,e.R]),e.Lb(2,278528,null,0,s.k,[s.E],{ngClass:[0,"ngClass"]},null),e.bc(3,{red:0,green:1}),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(5,573440,null,0,a.d,[e.q,r.J],{nzAlign:[0,"nzAlign"]},null),(n()(),e.gc(6,0,["",""]))],(function(n,l){var t=n(l,3,0,!!l.parent.context.$implicit.workStateRemark||!l.parent.context.$implicit.freetime,!l.parent.context.$implicit.workStateRemark&&l.parent.context.$implicit.freetime);n(l,2,0,t);n(l,5,0,"center")}),(function(n,l){n(l,0,0,e.Yb(l,5).nzLeft,e.Yb(l,5).nzRight,e.Yb(l,5).nzAlign,e.Yb(l,5).nzBreakWord?"break-all":""),n(l,6,0,l.parent.context.$implicit.workStateRemark?"\u793a\u5fd9-"+l.parent.context.$implicit.workStateRemark:l.parent.context.$implicit.freetime||"\u5fd9\u788c\u4e2d")}))}function A(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,14,"tr",[],[[2,"ant-table-row",null]],[[null,"click"]],(function(n,l,t){var e=!0,o=n.component;"click"===l&&(e=!1!==o.checkAllotWorker(n.context.$implicit.id,!0)&&e);return e}),null,null)),e.Lb(1,16384,null,0,a.g,[e.q,e.R,[2,a.a]],null,null),(n()(),e.Mb(2,0,null,null,2,"td",[["nzShowCheckbox",""]],[[4,"left",null],[4,"right",null],[4,"text-align",null],[4,"word-break",null]],[[null,"nzCheckedChange"]],(function(n,l,t){var e=!0,o=n.component;"nzCheckedChange"===l&&(e=!1!==(o.mapOfCheckedId[n.context.$implicit.id]=t)&&e);"nzCheckedChange"===l&&(e=!1!==o.checkAllotWorker(n.context.$implicit.id)&&e);return e}),i.f,i.b)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(4,573440,null,0,a.d,[e.q,r.J],{nzChecked:[0,"nzChecked"],nzShowCheckbox:[1,"nzShowCheckbox"]},{nzCheckedChange:"nzCheckedChange"}),(n()(),e.Mb(5,0,null,null,3,"td",[["nzAlign","center"]],[[4,"left",null],[4,"right",null],[4,"text-align",null],[4,"word-break",null]],null,null,i.f,i.b)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(7,573440,null,0,a.d,[e.q,r.J],{nzAlign:[0,"nzAlign"]},null),(n()(),e.gc(8,0,["",""])),(n()(),e.Bb(16777216,null,null,1,null,J)),e.Lb(10,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null),(n()(),e.Bb(16777216,null,null,1,null,R)),e.Lb(12,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null),(n()(),e.Bb(16777216,null,null,1,null,W)),e.Lb(14,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null)],(function(n,l){var t=l.component;n(l,4,0,t.mapOfCheckedId[l.context.$implicit.id],"");n(l,7,0,"center"),n(l,10,0,"dynamic"===t.workerDispatchUserList),n(l,12,0,"dynamic"===t.workerDispatchUserList),n(l,14,0,"dynamic"===t.workerDispatchUserList)}),(function(n,l){n(l,0,0,e.Yb(l,1).nzTableComponent),n(l,2,0,e.Yb(l,4).nzLeft,e.Yb(l,4).nzRight,e.Yb(l,4).nzAlign,e.Yb(l,4).nzBreakWord?"break-all":""),n(l,5,0,e.Yb(l,7).nzLeft,e.Yb(l,7).nzRight,e.Yb(l,7).nzAlign,e.Yb(l,7).nzBreakWord?"break-all":""),n(l,8,0,l.context.$implicit.name)}))}function D(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,4,"button",[["nz-button",""],["nzType","primary"]],[[1,"nz-wave",0]],[[null,"click"]],(function(n,l,t){var e=!0,o=n.component;"click"===l&&(e=!1!==o.submit()&&e);return e}),b.b,b.a)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(2,1818624,null,1,g.a,[e.q,e.j,e.R,d.b,r.J,e.K,r.n,[2,r.j],[2,h.a]],{nzLoading:[0,"nzLoading"],nzType:[1,"nzType"]},null),e.ec(603979776,6,{listOfIconElement:1}),(n()(),e.gc(-1,0,["\u786e\u8ba4"]))],(function(n,l){n(l,2,0,l.component.btnLoading,"primary")}),(function(n,l){n(l,0,0,e.Yb(l,2).nzWave)}))}function F(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,1,"app-prompt-modal",[],null,[[null,"closeModel"]],(function(n,l,t){var e=!0,o=n.component;"closeModel"===l&&(e=!1!==o.close()&&e);return e}),p.b,p.a)),e.Lb(1,114688,null,0,z.a,[],{content:[0,"content"],success:[1,"success"],show:[2,"show"],info:[3,"info"]},{closeModel:"closeModel"})],(function(n,l){var t=l.component;n(l,1,0,t.promptContent,t.ifSuccess,t.promptModalShow,t.promptInfo)}),null)}function T(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,73,"div",[["class","detail"]],null,null,null,null,null)),(n()(),e.Mb(1,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(n()(),e.gc(-1,null,["\u5206\u914d\u914d\u9001\u4eba\u5458"])),(n()(),e.Mb(3,0,null,null,0,"i",[["class","icon_transport transport-guanbi"]],null,[[null,"click"]],(function(n,l,t){var e=!0,o=n.component;"click"===l&&(e=!1!==o.close()&&e);return e}),null,null)),(n()(),e.Mb(4,0,null,null,61,"div",[["class","content"]],null,null,null,null,null)),(n()(),e.Mb(5,0,null,null,30,"div",[["class","select"],["nz-row",""]],null,null,null,null,null)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(7,4931584,null,0,m.c,[e.q,e.R,r.J,f.b,e.K,C.a,r.r],null,null),(n()(),e.Mb(8,0,null,null,11,"div",[["nz-col",""],["nzSpan","6"]],null,null,null,null,null)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(10,4931584,null,0,m.a,[r.J,e.q,[2,m.c],e.R],{nzSpan:[0,"nzSpan"]},null),(n()(),e.Mb(11,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(n()(),e.gc(-1,null,["\u4eba\u5458\u59d3\u540d\uff1a"])),(n()(),e.Mb(13,0,null,null,6,"input",[["nz-input",""],["nzSize","default"],["placeholder","\u8bf7\u8f93\u5165\u4eba\u5458\u59d3\u540d"]],[[2,"ant-input-disabled",null],[2,"ant-input-lg",null],[2,"ant-input-sm",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,t){var o=!0,u=n.component;"input"===l&&(o=!1!==e.Yb(n,15)._handleInput(t.target.value)&&o);"blur"===l&&(o=!1!==e.Yb(n,15).onTouched()&&o);"compositionstart"===l&&(o=!1!==e.Yb(n,15)._compositionStart()&&o);"compositionend"===l&&(o=!1!==e.Yb(n,15)._compositionEnd(t.target.value)&&o);"ngModelChange"===l&&(o=!1!==(u.searchName=t)&&o);"ngModelChange"===l&&(o=!1!==u.searchInp("worker")&&o);return o}),null,null)),e.Lb(14,16384,null,0,Y.b,[e.R,e.q],{nzSize:[0,"nzSize"],disabled:[1,"disabled"]},null),e.Lb(15,16384,null,0,S.d,[e.R,e.q,[2,S.a]],null,null),e.dc(1024,null,S.n,(function(n){return[n]}),[S.d]),e.Lb(17,671744,null,0,S.r,[[8,null],[8,null],[8,null],[6,S.n]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),e.dc(2048,null,S.o,null,[S.r]),e.Lb(19,16384,null,0,S.p,[[4,S.o]],null,null),(n()(),e.Mb(20,0,null,null,15,"div",[["class","ml8"],["nz-col",""],["nzSpan","6"]],null,null,null,null,null)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(22,4931584,null,0,m.a,[r.J,e.q,[2,m.c],e.R],{nzSpan:[0,"nzSpan"]},null),(n()(),e.Mb(23,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(n()(),e.gc(-1,null,["\u4eba\u5458\u5206\u7ec4\uff1a"])),(n()(),e.Mb(25,0,null,null,10,"nz-select",[["nzAllowClear",""],["nzPlaceHolder","\u8bf7\u9009\u62e9\u4eba\u5458\u5206\u7ec4"],["style","width: 220px;"]],[[2,"ant-select-lg",null],[2,"ant-select-sm",null],[2,"ant-select-enabled",null],[2,"ant-select-no-arrow",null],[2,"ant-select-disabled",null],[2,"ant-select-allow-clear",null],[2,"ant-select-open",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"click"]],(function(n,l,t){var o=!0,u=n.component;"click"===l&&(o=!1!==e.Yb(n,27).toggleDropDown()&&o);"ngModelChange"===l&&(o=!1!==(u.checkedGroup=t)&&o);"ngModelChange"===l&&(o=!1!==u.searchInp("group")&&o);return o}),o.d,o.b)),e.dc(512,null,u.i,u.i,[]),e.Lb(27,5488640,null,2,u.g,[e.R,u.i,e.j,C.a,e.q,[8,null]],{nzDropdownMatchSelectWidth:[0,"nzDropdownMatchSelectWidth"],nzAllowClear:[1,"nzAllowClear"],nzPlaceHolder:[2,"nzPlaceHolder"],nzDisabled:[3,"nzDisabled"]},null),e.ec(603979776,1,{listOfNzOptionComponent:1}),e.ec(603979776,2,{listOfNzOptionGroupComponent:1}),e.dc(1024,null,S.n,(function(n){return[n]}),[u.g]),e.Lb(31,671744,null,0,S.r,[[8,null],[8,null],[8,null],[6,S.n]],{model:[0,"model"]},{update:"ngModelChange"}),e.dc(2048,null,S.o,null,[S.r]),e.Lb(33,16384,null,0,S.p,[[4,S.o]],null,null),(n()(),e.Bb(16777216,null,0,1,null,P)),e.Lb(35,278528,null,0,s.l,[e.gb,e.ab,e.C],{ngForOf:[0,"ngForOf"]},null),(n()(),e.Mb(36,0,null,null,29,"div",[["class","table"]],null,null,null,null,null)),(n()(),e.Mb(37,0,null,null,28,"div",[["class","box"]],null,null,null,null,null)),(n()(),e.Mb(38,0,null,null,24,"nz-table",[["class","allotWorkerTable"],["nzSize","small"]],[[2,"ant-table-empty",null]],null,null,i.e,i.a)),e.Lb(39,6012928,[["rowSelectionTable",4]],2,a.a,[r.n,e.R,e.K,e.j,c.e,C.a,e.q],{nzSize:[0,"nzSize"],nzData:[1,"nzData"],nzScroll:[2,"nzScroll"],nzShowPagination:[3,"nzShowPagination"],nzLoading:[4,"nzLoading"]},null),e.ec(603979776,3,{listOfNzThComponent:1}),e.ec(603979776,4,{nzVirtualScrollDirective:0}),e.bc(42,{y:0}),(n()(),e.Mb(43,0,null,0,15,"thead",[],null,null,null,i.h,i.d)),e.Lb(44,5423104,null,1,a.f,[[2,a.a],e.q,e.R],null,null),e.ec(603979776,5,{listOfNzThComponent:1}),(n()(),e.Mb(46,0,null,0,12,"tr",[["class","thead"]],[[2,"ant-table-row",null]],null,null,null,null)),e.Lb(47,16384,null,0,a.g,[e.q,e.R,[2,a.a]],null,null),(n()(),e.Mb(48,0,null,null,1,"th",[["nzWidth","30px"],["style","text-align: center"]],[[2,"ant-table-column-has-actions",null],[2,"ant-table-column-has-filters",null],[2,"ant-table-column-has-sorters",null],[2,"ant-table-selection-column-custom",null],[2,"ant-table-selection-column",null],[2,"ant-table-expand-icon-th",null],[2,"ant-table-th-left-sticky",null],[2,"ant-table-th-right-sticky",null],[2,"ant-table-column-sort",null],[4,"left",null],[4,"right",null],[4,"text-align",null]],null,null,i.g,i.c)),e.Lb(49,770048,[[5,4],[3,4]],0,a.e,[e.j,c.e],{nzWidth:[0,"nzWidth"]},null),(n()(),e.Mb(50,0,null,null,2,"th",[["style","text-align: center"]],[[2,"ant-table-column-has-actions",null],[2,"ant-table-column-has-filters",null],[2,"ant-table-column-has-sorters",null],[2,"ant-table-selection-column-custom",null],[2,"ant-table-selection-column",null],[2,"ant-table-expand-icon-th",null],[2,"ant-table-th-left-sticky",null],[2,"ant-table-th-right-sticky",null],[2,"ant-table-column-sort",null],[4,"left",null],[4,"right",null],[4,"text-align",null]],null,null,i.g,i.c)),e.Lb(51,770048,[[5,4],[3,4]],0,a.e,[e.j,c.e],null,null),(n()(),e.gc(-1,0,["\u59d3\u540d"])),(n()(),e.Bb(16777216,null,null,1,null,v)),e.Lb(54,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null),(n()(),e.Bb(16777216,null,null,1,null,y)),e.Lb(56,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null),(n()(),e.Bb(16777216,null,null,1,null,_)),e.Lb(58,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null),(n()(),e.Mb(59,0,null,0,3,"tbody",[],[[2,"ant-table-tbody",null]],null,null,null,null)),e.Lb(60,16384,null,0,a.c,[[2,a.a]],null,null),(n()(),e.Bb(16777216,null,null,1,null,A)),e.Lb(62,278528,null,0,s.l,[e.gb,e.ab,e.C],{ngForOf:[0,"ngForOf"]},null),(n()(),e.Mb(63,0,null,null,2,"div",[["class","pagination"]],null,null,null,null,null)),(n()(),e.Mb(64,0,null,null,1,"nz-pagination",[["nzShowSizeChanger",""]],null,[[null,"nzPageIndexChange"],[null,"nzTotalChange"],[null,"nzPageSizeChange"]],(function(n,l,t){var e=!0,o=n.component;"nzPageIndexChange"===l&&(e=!1!==(o.pageIndex=t)&&e);"nzTotalChange"===l&&(e=!1!==(o.listLength=t)&&e);"nzPageSizeChange"===l&&(e=!1!==(o.pageSize=t)&&e);"nzPageIndexChange"===l&&(e=!1!==o.getWorkerList()&&e);"nzPageSizeChange"===l&&(e=!1!==o.getWorkerList()&&e);return e}),k.b,k.a)),e.Lb(65,770048,null,0,x.a,[c.e,e.j],{nzShowSizeChanger:[0,"nzShowSizeChanger"],nzTotal:[1,"nzTotal"],nzPageIndex:[2,"nzPageIndex"],nzPageSize:[3,"nzPageSize"]},{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"}),(n()(),e.Mb(66,0,null,null,7,"div",[["class","btns display_flex justify-content_flex-center"]],null,null,null,null,null)),(n()(),e.Bb(16777216,null,null,1,null,D)),e.Lb(68,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null),(n()(),e.Mb(69,0,null,null,4,"button",[["class"," btn cancel"],["nz-button",""],["nzType","default"]],[[1,"nz-wave",0]],[[null,"click"]],(function(n,l,t){var e=!0,o=n.component;"click"===l&&(e=!1!==o.close()&&e);return e}),b.b,b.a)),e.dc(512,null,r.J,r.J,[e.S]),e.Lb(71,1818624,null,1,g.a,[e.q,e.j,e.R,d.b,r.J,e.K,r.n,[2,r.j],[2,h.a]],{nzType:[0,"nzType"]},null),e.ec(603979776,7,{listOfIconElement:1}),(n()(),e.gc(-1,0,["\u53d6\u6d88"])),(n()(),e.Bb(16777216,null,null,1,null,F)),e.Lb(75,16384,null,0,s.m,[e.gb,e.ab],{ngIf:[0,"ngIf"]},null)],(function(n,l){var t=l.component;n(l,7,0);n(l,10,0,"6");n(l,14,0,"default",t.nameMask),n(l,17,0,t.nameMask,t.searchName);n(l,22,0,"6");n(l,27,0,!1,"","\u8bf7\u9009\u62e9\u4eba\u5458\u5206\u7ec4",t.groupMask),n(l,31,0,t.checkedGroup),n(l,35,0,t.groupList);var o=t.workerList,u=n(l,42,0,"270px");n(l,39,0,"small",o,u,!1,t.loading1);n(l,49,0,"30px"),n(l,51,0),n(l,54,0,"dynamic"===t.workerDispatchUserList),n(l,56,0,"dynamic"===t.workerDispatchUserList),n(l,58,0,"dynamic"===t.workerDispatchUserList),n(l,62,0,e.Yb(l,39).data);n(l,65,0,"",t.listLength,t.pageIndex,t.pageSize),n(l,68,0,t.mapOfCheckedId[t.worderId]);n(l,71,0,"default"),n(l,75,0,t.promptModalShow)}),(function(n,l){n(l,13,0,e.Yb(l,14).disabled,"large"===e.Yb(l,14).nzSize,"small"===e.Yb(l,14).nzSize,e.Yb(l,19).ngClassUntouched,e.Yb(l,19).ngClassTouched,e.Yb(l,19).ngClassPristine,e.Yb(l,19).ngClassDirty,e.Yb(l,19).ngClassValid,e.Yb(l,19).ngClassInvalid,e.Yb(l,19).ngClassPending),n(l,25,1,["large"===e.Yb(l,27).nzSize,"small"===e.Yb(l,27).nzSize,!e.Yb(l,27).nzDisabled,!e.Yb(l,27).nzShowArrow,e.Yb(l,27).nzDisabled,e.Yb(l,27).nzAllowClear,e.Yb(l,27).open,e.Yb(l,33).ngClassUntouched,e.Yb(l,33).ngClassTouched,e.Yb(l,33).ngClassPristine,e.Yb(l,33).ngClassDirty,e.Yb(l,33).ngClassValid,e.Yb(l,33).ngClassInvalid,e.Yb(l,33).ngClassPending]),n(l,38,0,0===e.Yb(l,39).data.length&&!e.Yb(l,39).nzTemplateMode),n(l,46,0,e.Yb(l,47).nzTableComponent),n(l,48,1,[e.Yb(l,49).nzShowFilter||e.Yb(l,49).nzShowSort||e.Yb(l,49).nzCustomFilter,e.Yb(l,49).nzShowFilter||e.Yb(l,49).nzCustomFilter,e.Yb(l,49).nzShowSort,e.Yb(l,49).nzShowRowSelection,e.Yb(l,49).nzShowCheckbox,e.Yb(l,49).nzExpand,e.Yb(l,49).nzLeft,e.Yb(l,49).nzRight,"descend"===e.Yb(l,49).nzSort||"ascend"===e.Yb(l,49).nzSort,e.Yb(l,49).nzLeft,e.Yb(l,49).nzRight,e.Yb(l,49).nzAlign]),n(l,50,1,[e.Yb(l,51).nzShowFilter||e.Yb(l,51).nzShowSort||e.Yb(l,51).nzCustomFilter,e.Yb(l,51).nzShowFilter||e.Yb(l,51).nzCustomFilter,e.Yb(l,51).nzShowSort,e.Yb(l,51).nzShowRowSelection,e.Yb(l,51).nzShowCheckbox,e.Yb(l,51).nzExpand,e.Yb(l,51).nzLeft,e.Yb(l,51).nzRight,"descend"===e.Yb(l,51).nzSort||"ascend"===e.Yb(l,51).nzSort,e.Yb(l,51).nzLeft,e.Yb(l,51).nzRight,e.Yb(l,51).nzAlign]),n(l,59,0,e.Yb(l,60).nzTableComponent),n(l,69,0,e.Yb(l,71).nzWave)}))}var q=e.Ib("app-allocation-worker",w.a,(function(n){return e.ic(0,[(n()(),e.Mb(0,0,null,null,1,"app-allocation-worker",[],null,null,null,T,I)),e.Lb(1,114688,null,0,w.a,[M.a,L.a],null,null)],(function(n,l){n(l,1,0)}),null)}),{},{},[])},aJiy:function(n,l,t){"use strict";t.d(l,"a",(function(){return e}));var e=function(){function n(n,l){this.route=n,this.mainService=l,this.workerList=[],this.listOfDisplayData=[],this.mapOfCheckedId={},this.searchName="",this.pageIndex=1,this.pageSize=10,this.listLength=10,this.btnLoading=!1,this.groupList=[],this.snum=0,this.loading1=!1,this.nameMask=!1,this.groupMask=!1,this.workerDispatchUserList="",this.worderId=0}return n.prototype.ngOnInit=function(){this.groupList=JSON.parse(localStorage.getItem("user")).user.scope?JSON.parse(localStorage.getItem("user")).user.scope.groupIds:[],this.getWorkerList()},n.prototype.getWorkerList=function(n){var l=this;this.id=this.route.snapshot.paramMap.get("id"),this.stateId=this.route.snapshot.paramMap.get("stateId"),this.pageIndex=n||this.pageIndex;var t=[];JSON.parse(localStorage.getItem("user")).infoPermission.groups.forEach((function(n){t.push(n.id)}));var e={idx:this.pageIndex-1,sum:this.pageSize,groupIds:"",hosId:this.route.snapshot.paramMap.get("hosId")};this.searchName?e.name=this.searchName:delete e.name,this.checkedGroup?e.groupId=this.checkedGroup:delete e.groupId,this.snum++,this.loading1=!0,this.mainService.getSerInfo("getOnlineWorker",e).subscribe((function(n){l.snum--,0==l.snum&&(l.loading1=!1),console.log(n),l.workerDispatchUserList=n.type,l.workerList=n.data,l.listLength=n.totalNum}))},n.prototype.searchInp=function(n){this.getWorkerList(1),console.log(n),"worker"==n?this.groupMask=Boolean(this.searchName):"group"==n&&(this.nameMask=Boolean(this.checkedGroup))},n.prototype.checkAllotWorker=function(n,l){var t;this.mapOfCheckedId=((t={})[n]=l?!this.mapOfCheckedId[n]:this.mapOfCheckedId[n],t),this.worderId=n},n.prototype.submit=function(){var n=this;n.btnLoading=!0;var l=n.route.snapshot.paramMap.get("flag"),t={},e="";if(n.id.includes("_")){e="batchExcuteWorkOrder";var o=n.id.split("-"),u=n.stateId.split("-");t.workOrders=[],u.forEach((function(l,e){t.workOrders.push({id:o[e].split("_")[0],type:o[e].split("_")[1],worker:{id:n.worderId},gdState:{id:l}})}))}else e=1==l?"excuteWorkOrder/reassign":"excuteWorkOrder/assign",t={workOrder:{id:n.id,worker:{id:n.worderId},gdState:{id:n.stateId}}};n.mainService.assignWorker(t,e).subscribe((function(l){n.btnLoading=!1,200==l.status?n.showPromptModal("\u5206\u914d",!0,""):n.showPromptModal("\u5206\u914d",!1,l.msg)}))},n.prototype.close=function(){history.go(-1)},n.prototype.showPromptModal=function(n,l,t){var e=this;this.promptModalShow=!1,this.promptContent=n,this.ifSuccess=l,this.promptInfo=t,setTimeout((function(){e.promptModalShow=!0}),100)},n}()}}]);
|