(("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]=("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]||[]).push([[86],{"59dc":function(e,t,o){var a=o("5fc7");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=o("499e").default;i("5d7de0ae",a,!0,{sourceMap:!1,shadowMode:!1})},"5fa3":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"mid-dialog",attrs:{title:"查看流程",visible:e.dialogVisible,"close-on-click-modal":!1,"append-to-body":!0},on:{"update:visible":function(t){e.dialogVisible=t},close:function(t){return e.$emit("cancel")}}},[o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"w-full h-full"},[e.flowSrc?o("iframe",{staticClass:"w-full h-full",attrs:{src:e.flowSrc,frameborder:"0"}}):e._e()])])},i=[],l=o("c7eb"),n=o("3835"),r=o("1da1"),c=(o("99af"),o("a9e3"),o("78a9")),s=new c["ColumnFlowApi"],d={name:"approvalFlowDialog",props:{id:{type:Number,default:0},visible:{type:Boolean,default:!1}},computed:{dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}},flowServer:function(){return Wiz.GetModuleServer("road-flow-ele")},token:function(){return Wiz.AuthHooks.GetToken()}},data:function(){return{flowSrc:"",flowid:"",groupid:"",loading:!1}},watch:{dialogVisible:function(e){e&&this.init()}},methods:{init:function(){var e=this;return Object(r["a"])(Object(l["a"])().mark((function t(){var o,a,i,r;return Object(l["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,s.getFlowTaskInfo({flowTaskId:e.id});case 3:o=t.sent,a=Object(n["a"])(o,2),i=a[0],r=a[1],i||(e.flowid=r.flowId,e.groupid=r.groupId,e.flowSrc="".concat(e.flowServer,"/index.html?loadurl=").concat(encodeURIComponent("/flow/run/process?flowid=".concat(e.flowid,"&groupid=").concat(e.groupid,"&status=-1")),"&nroadflow-token=").concat(e.token,"&isiframe=1")),e.loading=!1;case 9:case"end":return t.stop()}}),t)})))()}}},u=d,f=(o("60cb"),o("2877")),p=Object(f["a"])(u,a,i,!1,null,"75a5dc70",null);t["default"]=p.exports},"5fc7":function(e,t,o){t=e.exports=o("2350")(!1),t.push([e.i,"[data-v-75a5dc70] .el-form-item__label{text-align:right}[data-v-75a5dc70] .el-tabs__content{height:calc(100% - 55px);overflow-y:auto}",""])},"60cb":function(e,t,o){"use strict";o("59dc")}}]);