(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{0:function(e,t){},"020b":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("c740"),n("b0c0"),n("1b69")),r=function(e,t){return Object(a.a)("admin/supplierlist",e,"post",t)},o={name:"SearchSupplier",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","names","type","isp"],data:function(){return{options:[],selectLoading:!1,searchName:""}},watch:{names:function(e,t){this.searchName=e,this.isDetail&&this.searchName&&this.remoteMethod(this.searchName,this.isp)},isDetail:function(e,t){e&&this.searchName&&this.remoteMethod(this.searchName,this.isp)}},mounted:function(){this.options=[],this.selectLoading=!1},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e&&0t?e.slice(0,t)+"...":e:""}))}}},"0896":function(e,t,n){"use strict";n.r(t),n("4d63"),n("ac1f"),n("2c3e"),n("25f0"),n("00b4"),n("99af");var i={name:"numberRange",props:["title","lower","online","disabled","size","width"],data:function(){return{}},mounted:function(){},methods:{accountInput:function(e,t){for(var n=new RegExp("[0-9]+"),i=e.length,a="",r=0;r',e.innerHTML="",e.appendChild(t)}}]),n}(h.HtmlNode),model:R},T={type:"NormalTask",model:function(e){Object(S.a)(n,e);var t=Object(E.a)(n);function n(){return Object(k.a)(this,n),t.apply(this,arguments)}return Object(C.a)(n,[{key:"initNodeData",value:function(e){Object(O.a)(Object(j.a)(n.prototype),"initNodeData",this).call(this,e),this.height=30}},{key:"getNodeStyle",value:function(){var e=Object(O.a)(Object(j.a)(n.prototype),"getNodeStyle",this).call(this);return e.fill="#fff",e.strokeWidth=1,e.stroke="#ccc",e}},{key:"getDefaultAnchor",value:function(){var e=this.x,t=this.y,n=this.id;return[{x:e,y:t+15,name:"bottom",id:"".concat(n,"_0")},{x:e,y:t-15,name:"top",id:"".concat(n,"_0")}]}}]),n}(h.RectNodeModel),view:function(e){Object(S.a)(n,e);var t=Object(E.a)(n);function n(){return Object(k.a)(this,n),t.apply(this,arguments)}return Object(C.a)(n)}(h.RectNode)},z=n("3835"),N=(n("1276"),{type:"dashe-edge",model:function(e){Object(S.a)(n,e);var t=Object(E.a)(n);function n(){return Object(k.a)(this,n),t.apply(this,arguments)}return Object(C.a)(n,[{key:"initEdgeData",value:function(e){Object(O.a)(Object(j.a)(n.prototype),"initEdgeData",this).call(this,e),this.customTextPosition=!0,this.zIndex=-1}},{key:"getEdgeStyle",value:function(){var e=Object(O.a)(Object(j.a)(n.prototype),"getEdgeStyle",this).call(this);return e.stroke="#ccc",e.strokeDasharray="5 5",e.strokeWidth=1,e}},{key:"getTextPosition",value:function(){var e,t,i,a,r=Object(O.a)(Object(j.a)(n.prototype),"getTextPosition",this).call(this),o=this.points.split(" "),s=[];return o&&o.forEach((function(e){e=e.split(","),e=Object(z.a)(e,2);var t=e[0];e=e[1];s.push({x:Number(t),y:Number(e)})})),1\n

审批人 : '.concat(n.name,"

\n

时间 : ").concat(n.time,"

\n "),this.__tooltipDOM.style.position="absolute",this.__tooltipDOM.style.top="".concat(t,"px"),this.__tooltipDOM.style.left="".concat(e+10,"px"),this.__toolOverlay.appendChild(this.__tooltipDOM))}},{key:"getTootipPosition",value:function(){var e,t,n=this._activeData,i=null==(i=this.lf)?void 0:i.graphModel.getElement(n.id);return"node"===(null==i?void 0:i.BaseType)&&(e=n.x+i.width/2,t=n.y-i.height+5),null==(n=this.lf)?void 0:n.graphModel.transformModel.CanvasPointToHtmlPoint([e,t])}}]),e}();Object(D.a)(R,"pluginName","Tooltip"),n("7692"),n("a964"),g.a.use(R);h={props:{orderCode:{type:String,default:""},process_id:{type:String,default:""},type:{type:String,default:"YJD"}},data:function(){return{lf:null,process:null,record:null}},components:{LegendLf:f},mounted:function(){this.createLf()},methods:{createLf:function(){this.lf=new g.a({container:this.$refs.container,stopZoomGraph:!0,stopScrollGraph:!0,stopMoveGraph:!0,isSilentMode:!0,grid:!1}),this.lf.register($),this.lf.register(L),this.lf.register(T),this.lf.register(N)},getProcess:function(){var e=this;return Object(s.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x.a.list({process_id:e.process_id});case 2:n=t.sent,e.process=null==(n=n.data)?void 0:n.list;case 4:case"end":return t.stop()}}),t)})))()},getRecord:function(){var e=this;return Object(s.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x.a.record({orderCode:e.orderCode,type:e.type});case 2:n=t.sent,e.record=n.data;case 4:case"end":return t.stop()}}),t)})))()},initalData:function(){this.getRecord(),this.getProcess()},createChartData:function(){this.process&&this.record&&this.lf&&this.lf.render(y(this.process,this.record))}},watch:{process:{handler:function(){this.createChartData()},deep:!0},record:{handler:function(){this.createChartData()},deep:!0},process_id:{handler:function(){this.process_id&&this.getProcess()},immediate:!0,deep:!0},orderCode:{handler:function(){this.orderCode&&this.getRecord()},immediate:!0,deep:!0}}},n("b444"),R=Object(m.a)(h,(function(){var e=this.$createElement;e=this._self._c||e;return e("div",{staticClass:"container"},[e("div",{ref:"container",staticClass:"lf"}),e("legend-lf")],1)}),[],!1,null,"073364c8",null).exports;var I=(n("b20f"),n("ddb0"),n("5435")),V=[],M=(f=(I.keys().forEach((function(e){var t=I(e);e.startsWith("./gRegion")||V.push(t.default||t)})),{install:function(e){V.forEach((function(t){e.component(t.name,t)}))}}),n("61f7")),P=(n("e9c4"),n("5daa")),A=(h={name:"App",data:function(){return{code:""}},created:function(){var e=this;return Object(s.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("isDingDing"===Object(M.a)())return t.next=3,e.testing();t.next=5;break;case 3:t.next=7;break;case 5:return t.next=7,e.getMenu();case 7:case"end":return t.stop()}}),t)})))()},methods:{testing:function(){var e=this;return Object(s.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=2;var n=function(){var t=Object(s.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.code=n,null!=e.code&&""!=e.code)return t.next=4,e.setcode(e.code);t.next=6;break;case 4:t.next=8;break;case 6:return t.next=8,e.logout();case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return void dd.ready((function(){dd.runtime.permission.requestAuthCode({corpId:P.a.corpId,onSuccess:function(e){n(e.code)},onFail:function(e){alert("fail"),alert(JSON.stringify(e))}})}));case 2:case"end":return t.stop()}}),t)})))()},setcode:function(e){var t=this;return Object(s.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:i={code:e},t.$store.dispatch("user/dingUserInfor",i).then(function(){var e=Object(s.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("success"===n)return e.next=3,t.getMenu();e.next=5;break;case 3:e.next=7;break;case 5:return e.next=7,t.logout();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch(function(){var e=Object(s.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.logout();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return n.stop()}}),n)})))()},getMenu:function(){var e=this;return Object(s.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$store.dispatch("user/getMenuList",e).then(function(){var t=Object(s.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("noToken"===n)return t.next=3,e.logout();t.next=5;break;case 3:t.next=11;break;case 5:if("success"!==n&&"success-dataV"!==n){t.next=9;break}"/loadingPage"!==e.$route.path&&"/"!==e.$route.path&&"/login"!==e.$route.path||("success-dataV"===n?window.vm.$router.replace("/bigScreen/datavScr"):window.vm.$router.replace("/welcome")),t.next=11;break;case 9:return t.next=11,e.logout();case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch(function(){var t=Object(s.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.logout();case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})))()},logout:function(){var e=this;return Object(s.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/login"!==e.$route.path)return t.next=3,e.$store.dispatch("user/logout");t.next=5;break;case 3:e.$router.push("/login");case 5:case"end":return t.stop()}}),t)})))()}}},n("5c0b"),Object(m.a)(h,(function(){var e=this.$createElement;e=this._self._c||e;return e("div",{attrs:{id:"app"}},[e("router-view")],1)}),[],!1,null,null,null).exports),F=(m=n("4360"),h=n("082a"),n("6c29")),U=n("0874"),B=(n("7706"),n("6266"),n("17b4"),n("cb92"),n("8416"),n("313e")),H=(B=n.n(B),n("b680"),n("25f0"),n("ed08"));function q(e,t){return 1===e?e+t:e+t+"s"}function W(e){return e=Date.now()/1e3-Number(e),e<3600?q(~~(e/60)," minute"):e<86400?q(~~(e/3600)," hour"):q(~~(e/86400)," day")}function G(e,t){for(var n=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],i=0;i=n[i].value)return(e/n[i].value).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[i].symbol;return e.toString()}function J(e){return(+e||0).toString().replace(/^-?\d+/g,(function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")}))}function Z(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Y(e){return(e=Number(e))?1e4()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function m(e){return void 0===Array.isArray?"[object Array]"===Object.prototype.toString.call(e):Array.isArray(e)}function h(e){return/^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(e)||/^852[3|5|6|8|9]\d{7}$/.test(e)}function g(e){return/^([0-9]{3,4}-)?[0-9]{7,8}$/.test(e)}function b(e){return/^[a-zA-Z]([-_a-zA-Z0-9]{5,19})+$/.test(e)}function v(e){return/^[1-9][0-9]{4,14}$/.test(e)}function _(e){return/[0-9A-HJ-NPQRTUWXY]{2}\d{6}[0-9A-HJ-NPQRTUWXY]{10}/.test(e)}function w(e){return/[\u4e00-\u9fa5]$/.test(e)}function y(e){return/^[0-9]*$/.test(e)}function x(e){return/(^[0-9]{1,2}$)|(^[0-9]{1,2}[\.]{1}[0-9]{1,2}$)/.test(e)}function k(e){return/^[0-9A-Za-z]*$/.test(e)}function C(e){return/^[0-9A-Z]*$/.test(e)}function O(e){return/[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g.test(e)}function j(){var e=navigator.userAgent.toLowerCase(),t="";return-1!=e.indexOf("micromessenger")&&(t="Weixin"),-1!=e.indexOf("huawei-anyoffice")&&(t="Welink"),""===(t=-1!=e.indexOf("dingtalk")?"isDingDing":t)?"otherBrowser":t}function S(e,t){var n,a;try{n=e.toString().split(".")[1].length}catch(e){n=0}try{a=t.toString().split(".")[1].length}catch(e){a=0}return(i(e,e=Math.pow(10,Math.max(n,a)))+i(t,e))/e}function E(e,t){return i(e,t)}function $(e,t){var n=0,i=0;try{n=e.toString().split(".")[1].length}catch(e){}try{i=t.toString().split(".")[1].length}catch(e){}return Number(e.toString().replace(".",""))/Number(t.toString().replace(".",""))*Math.pow(10,i-n)}function R(e,t){var n,i;try{n=e.toString().split(".")[1].length}catch(e){n=0}try{i=t.toString().split(".")[1].length}catch(e){i=0}return((e*(e=Math.pow(10,Math.max(n,i)))-t*e)/e).toFixed(i<=n?n:i)}function L(e){for(var t=(null!=e?e:"").replace(/\\|\/|\"|\'|\<|\>|\{|\}|\[|\]|\:|\^|\$|\!|\~|\`|\|/g,""),n=new RegExp("[`~!@#$^&()=|{}':;',<>/?]"),i="",a=0;ai.length}function T(e){for(var t=!1,n=["多地","另给","线下","地址","单独给","内部沟通","微信","钉钉","短信","文件","另外","后面","以后","晚点","后补","再给"],i=0;i