You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
1.4 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ac942"],{"19ae":function(t,o,e){"use strict";e.r(o);var a=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",[e("flow-records",{attrs:{xmlData:t.xmlData,taskData:t.taskList,flowRecordList:t.flowRecordList}})],1)},n=[],s=e("aa5f"),c=e("5f87"),i=e("d032"),d=e("4025"),r={name:"flowRecordForBusiness",components:{flowRecords:s["a"]},data:function(){return{taskList:[],xmlData:"",flowRecordList:[]}},created:function(){var t=window.location.href.indexOf("?data")+6,o=window.location.href.substr(t),e=JSON.parse(decodeURIComponent(o));this.obj=e;var a=e.token;Object(c["c"])(a),console.log(e),this.getFlowViewer(e.procInsId),this.getModelDetail(e.deployId),this.getFlowRecordList(e.procInsId,e.deployId),window.parent.postMessage({cmd:"returnHeight",params:{code:2,data:"600px"}},"*")},methods:{getModelDetail:function(t){var o=this;Object(i["g"])(t).then((function(t){o.xmlData=t.data}))},getFlowViewer:function(t){var o=this;Object(i["d"])(t).then((function(t){o.taskList=t.data}))},getFlowRecordList:function(t,o){var e=this,a={procInsId:t,deployId:o};Object(d["a"])(a).then((function(t){e.flowRecordList=t.data.flowList,t.data.formData&&(e.formConf=t.data.formData,e.formConfOpen=!0)})).catch((function(t){e.getList()}))}}},l=r,f=e("2877"),w=Object(f["a"])(l,a,n,!1,null,null,null);o["default"]=w.exports}}]);