webpackjsonp([74],{rpor:function(s,t,e){"use strict";object.defineproperty(t,"__esmodule",{value:!0});var i,r=e("4yfn"),o=(i=r)&&i.__esmodule?i:{default:i},a=e("9rma");t.default={props:{isshow:boolean,flowlists:array,recid:[string,number]},data:function(){return{isempty:!1,isshowpro:!1,loading:!0,flowloglists:[],isshowprolog:!1}},watch:{flowlists:function(){if(this.loading=!1,this.flowlists&&this.flowlists.length)return this.isempty=!1,void(this.isshowpro=!0);this.isempty=!0},isshow:function(){var s=this;this.isshow&&this.getflowlog({recid:this.recid}).then(function(t){s.flowloglists=t}).catch(function(t){t&&s.$message.error(t||"获取失败")})}},methods:(0,o.default)({},(0,a.mapactions)({getflowlog:"projectcom/getflowlog"}),{close:function(){this.isshowpro=!1,this.loading=!1,this.$emit("close-process")}}),mounted:function(){}}},yslr:function(s,t,e){var i=e("nytv");"string"==typeof i&&(i=[[s.i,i,""]]),i.locals&&(s.exports=i.locals);e("fiqi")("1c018c6a",i,!1,{sourcemap:!1})},lap1:function(s,t,e){"use strict";var i=function(){var s=this,t=s.$createelement,e=s._self._c||t;return s.isshow?e("div",{staticclass:"progress-temp vertical-m"},[e("div",{staticclass:"audit-progress block-span"},[e("div",{staticclass:"audit-header"},[s._v("流程详情"),e("span",{staticclass:"closebtn",on:{click:s.close}},[s._v("×")])]),s.isempty?e("div",{staticclass:"empty vertical-m"},[e("span",{staticclass:"block-span"},[s._v("暂无流程信息")])]):s._e(),s.loading?e("div",{directives:[{name:"loading",rawname:"v-loading",value:s.loading,expression:"loading"}],staticstyle:{height:"300px"}}):s._e(),s.isshowpro?e("ul",{staticclass:"audit-items"},s._l(s.flowlists,function(t,i){return e("li",{staticclass:"audit-item",class:{"last-child":i==s.flowlists.length-1}},[e("div",{staticclass:"audit-name",class:{finished:4==t.state,auditing:2==t.state}},[s._v(s._s(t.tachename))]),e("p",{staticclass:"audit-state"},[s._v(s._s(t.statename))])])})):s._e(),s.flowlists&&s.flowlists.length>0?e("div",{staticclass:"viewprogressop"},[e("span",{on:{click:function(t){s.isshowprolog=!0}}},[s._v("审核过程")])]):s._e()]),s.isshowprolog?e("div",{staticclass:"progress-details vertical-m"},[e("div",{staticclass:"progress-detail-list block-span"},[e("div",{staticclass:"audit-header"},[s._v("审核过程"),e("span",{staticclass:"closebtn",on:{click:function(t){s.isshowprolog=!1}}},[s._v("×")])]),e("ul",{staticclass:"progress-lists"},s._l(s.flowloglists,function(t,i){return e("li",{staticclass:"progress-item",class:{noafter:i>=s.flowloglists.length-1}},[e("div",{staticclass:"actname"},[s._v(s._s(i+1)+"、"+s._s(t.actname))]),e("div",{staticclass:"act-info username"},[s._v(" 处理人:"),e("span",[s._v(s._s(t.username))])]),e("div",{staticclass:"act-info"},[s._v(" 处理类型:"),e("span",[s._v(s._s(t.actionname))])]),e("div",{staticclass:"act-info"},[s._v(" 处理时间:"),e("span",[s._v(s._s(t.dealtime))])]),e("div",{staticclass:"act-info"},[s._v(" 处理意见:"),e("span",[s._v(s._s(t.suggest||"暂无"))])])])}))])]):s._e()]):s._e()};i._withstripped=!0;var r={render:i,staticrenderfns:[]};t.a=r},nytv:function(s,t,e){var i=e("l4zz");(s.exports=e("utlt")(!1)).push([s.i,'.progress-temp{position:absolute;top:0;bottom:0;left:0;right:0;text-align:center;z-index:99999999}.progress-temp .viewprogressop{text-align:right;padding:0 20px;position:absolute;bottom:0;right:0}.progress-temp .viewprogressop>span{display:inline-block;padding:10px 20px;background:#e60020;color:#fff;font-size:16px;border-radius:5px;margin-bottom:10px;cursor:pointer}.progress-temp .viewprogressop>span:hover{background:#bd0d26;-webkit-transition:.3s;transition:.3s}.progress-temp .progress-details{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.2)}.progress-temp .progress-details .audit-header{padding:0 10px}.progress-temp .progress-details .progress-detail-list{margin-left:180px;text-align:left;width:350px;height:90%;max-height:400px;background:#fff;position:relative}.progress-temp .progress-details .progress-detail-list .progress-lists{position:absolute;width:100%;top:44px;bottom:0;overflow:auto}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item{padding:8px 10px;color:#333;font-size:16px;position:relative;padding-left:30px}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item.noafter:after{display:none}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item:after,.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item:before{content:"";display:inline-block;background:#77a9fd;position:absolute}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item:before{width:10px;height:10px;border-radius:50%;left:8px;top:9px}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item:after{width:2px;height:100%;left:12px;top:12px}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item .actname{font-size:16px;color:#333;font-weight:700}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item .act-info{padding-left:26px;color:#888;font-size:14px;margin-top:5px}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item .act-info.username{letter-spacing:4.5px}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item .act-info.username>span{margin-left:-4px}.progress-temp .progress-details .progress-detail-list .progress-lists .progress-item .act-info>span{letter-spacing:0;color:#333;word-break:break-all}.progress-temp .audit-header{height:44px;font-size:20px;color:#fff;padding:0 24px;line-height:44px;background:#77a9fd;position:relative}.progress-temp .audit-header .closebtn{position:absolute;right:15px;top:0;font-size:30px;cursor:pointer}.progress-temp .audit-progress{width:670px;min-height:400px;background:#fff;-webkit-box-shadow:0 3px 30px 0 hsla(0,6%,68%,.5);box-shadow:0 3px 30px 0 hsla(0,6%,68%,.5);text-align:left;position:relative}.progress-temp .audit-progress .empty{height:300px;text-align:center;font-size:16px;color:#dadada}.progress-temp .audit-progress .audit-items{padding:25px 40px;position:absolute;top:44px;left:0;right:0;bottom:50px;overflow:auto}.progress-temp .audit-progress .audit-items .audit-item{padding-right:58px;margin-bottom:20px;display:inline-block;text-align:center;min-width:118px;position:relative}.progress-temp .audit-progress .audit-items .audit-item .audit-name{padding:16px 8px;font-size:18px;margin-bottom:5px;border:1px solid #ddd;border-radius:6px;background:#f1f1f1;color:#999}.progress-temp .audit-progress .audit-items .audit-item .audit-name.finished{background:#66b907;border-color:#66b907;color:#fff}.progress-temp .audit-progress .audit-items .audit-item .audit-name.auditing{background:#fff4f4;border-color:#e60020;color:#e60020}.progress-temp .audit-progress .audit-items .audit-item .audit-state{font-size:12px;color:#999}.progress-temp .audit-progress .audit-items .audit-item.last-child{padding-right:0}.progress-temp .audit-progress .audit-items .audit-item.last-child:after{width:0}.progress-temp .audit-progress .audit-items .audit-item:after{content:"";display:inline-block;width:31px;height:7px;background:url('+i(e("ws2p"))+") no-repeat;background-size:cover;position:absolute;right:14px;top:20px}",""])},rjm2:function(s,t,e){"use strict";object.defineproperty(t,"__esmodule",{value:!0});var i=e("rpor"),r=e.n(i);for(var o in i)"default"!==o&&function(s){e.d(t,s,function(){return i[s]})}(o);var a=e("lap1"),p=!1;var l=function(s){p||e("yslr")},n=e("x4nt")(r.a,a.a,!1,l,null,null);n.options.__file="pages/projects/progress.vue",t.default=n.exports},ws2p:function(s,t){s.exports="data:image/png;base64,ivborw0kggoaaaansuheugaaab8aaaahcayaaaghlkzzaaaabgdbtueaalgpc/xhbqaaakdjrefukbw1ujeowyamnfuhcbvmzpz/nwysyqsstndiqeqjca1q1fumz2d8rpbxaxywlauqpye8cc5tiqregeiasum5yy/c89n733jrxm4grxv/xgvxixf0zhmmaqklfacahse8zwf5aeve5mrhgiextqbd/aq4jbg3aq0/2ujifsv2cpoim9raayglbjxzkfju74u1yoy5/fvy/ceeel9/7f0d3zz/ayb2kf3zqf3faaaaaelftksuqmcc"}});