(("undefined"!==typeof self?self:this)["webpackJsonpcontractor_management_sm"]=("undefined"!==typeof self?self:this)["webpackJsonpcontractor_management_sm"]||[]).push([[40,8],{5518:function(e,t,a){"use strict";a("c8e5")},"99af":function(e,t,a){"use strict";var n=a("23e7"),i=a("d039"),o=a("e8b5"),r=a("861d"),c=a("7b0b"),l=a("07fa"),s=a("3511"),d=a("8418"),u=a("65f0"),f=a("1dde"),p=a("b622"),g=a("1212"),v=p("isConcatSpreadable"),b=g>=51||!i((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),w=function(e){if(!r(e))return!1;var t=e[v];return void 0!==t?!!t:o(e)},m=!b||!f("concat");n({target:"Array",proto:!0,arity:1,forced:m},{concat:function(e){var t,a,n,i,o,r=c(this),f=u(r,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?r:arguments[t],w(o))for(i=l(o),s(p+i),a=0;a<i;a++,p++)a in o&&d(f,p,o[a]);else s(p+1),d(f,p++,o);return f.length=p,f}})},b82d:function(e,t,a){t=e.exports=a("2350")(!1),t.push([e.i,"[data-v-1d991ce2] .el-form-item__label{text-align:right}[data-v-1d991ce2] .el-tabs__content{height:calc(100% - 55px);overflow-y:auto}",""])},c8e5:function(e,t,a){var n=a("b82d");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("499e").default;i("1b36ee24",n,!0,{sourceMap:!1,shadowMode:!1})},dfed:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"mid-dialog",attrs:{title:e.dialogTitle,visible:e.visible,"close-on-click-modal":!1,"append-to-body":!0},on:{"update:visible":function(t){e.visible=t},close:function(t){return e.$emit("cancel")}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"w-full h-full"},[e.flowSrc?a("iframe",{staticClass:"w-full h-full",attrs:{src:e.flowSrc,frameborder:"0"}}):e._e()])])},i=[],o=a("c14f"),r=a("3835"),c=a("1da1"),l=(a("99af"),a("a9e3"),a("779f")),s=new l["PlanApi"],d={name:"approval-flow-dialog",props:{id:{type:Number}},computed:{dialogTitle:function(){return this.$t("查看流程")}},watch:{visible:function(e){e||this.$emit("update:visible",e)}},data:function(){return{flowSrc:"",flowid:"",groupid:"",loading:!1,visible:!0}},methods:{getProcessDetail:function(){var e=this;return Object(c["a"])(Object(o["a"])().m((function t(){var a,n,i,c;return Object(o["a"])().w((function(t){while(1)switch(t.n){case 0:return t.n=1,s.getProcess();case 1:a=t.v,n=Object(r["a"])(a,2),i=n[0],c=n[1],i||(e.flowSrc="".concat(c.apiUrl,"/index.html?loadurl=").concat(encodeURIComponent("/flow/run/process?flowid=".concat(e.flowid,"&groupid=").concat(e.groupid,"&status=-1")),"&nroadflow-token=").concat(c.token,"&isiframe=1"));case 2:return t.a(2)}}),t)})))()},init:function(){var e=this;return Object(c["a"])(Object(o["a"])().m((function t(){var a,n,i,c;return Object(o["a"])().w((function(t){while(1)switch(t.n){case 0:return e.loading=!0,t.n=1,s.getFlowTaskInfo({flowTaskId:e.id});case 1:return a=t.v,n=Object(r["a"])(a,2),i=n[0],c=n[1],i||(e.flowid=c.flowId,e.groupid=c.groupId),t.n=2,e.getProcessDetail();case 2:e.loading=!1;case 3:return t.a(2)}}),t)})))()}},created:function(){this.init()}},u=d,f=(a("5518"),a("2877")),p=Object(f["a"])(u,n,i,!1,null,"1d991ce2",null);t["default"]=p.exports}}]);