(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0bddf1"],{"2e9a":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"inst-his-module"},[n("el-table",{ref:"elTable",staticStyle:{width:"100%"},attrs:{data:t.bpmLinkData,border:"",stripe:"","highlight-current-row":""},on:{"current-change":t.handleCurrentChange}},[n("template",{slot:"empty"},[n("ibps-empty")],1),n("el-table-column",{attrs:{"show-overflow-tooltip":"",prop:"subject",label:t.$t("business.platform.bpmn.components.common.instance-title")},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-link",{attrs:{underline:!1,type:"primary"},on:{click:function(n){return t.handleDetail(e.row.id)}}},[t._v(" "+t._s(t._f("removeHtmlTag")(e.row["subject"]))+" ")])]}}])}),n("el-table-column",{attrs:{"show-overflow-tooltip":"",prop:"procDefName",label:t.$t("business.platform.bpmn.components.common.process-name"),width:"150"}}),n("el-table-column",{attrs:{"show-overflow-tooltip":"",prop:"procDefKey",label:t.$t("business.platform.bpmn.components.common.process-key"),width:"120"}}),n("el-table-column",{attrs:{prop:"status",label:t.$t("business.platform.bpmn.components.bpm-link.index.process-status"),width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("optionsFilter")(e.row.status,t.statusOptions,"label"))+" ")]}}])}),n("el-table-column",{attrs:{prop:"creator",label:t.$t("business.platform.bpmn.components.common.sponsor"),width:"120"}}),n("el-table-column",{attrs:{prop:"createTime",label:t.$t("business.platform.bpmn.components.common.start-time"),width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.createTime)+" ")]}}])}),n("el-table-column",{attrs:{prop:"endTime",label:t.$t("business.platform.bpmn.components.common.end-time"),width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.endTime)+" ")]}}])}),n("el-table-column",{attrs:{width:"70",label:t.$t("common.table.operation"),fixed:"right","class-name":"hidden-print"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button-group",[n("el-tooltip",{staticClass:"item",attrs:{content:t.$t("business.platform.bpmn.components.common.form"),placement:"top"}},[n("el-button",{staticClass:"ibps-mr-5",attrs:{type:"text"},on:{click:function(n){return t.handleDetail(e.row.id)}}},[n("i",{staticClass:"ibps-icon-detail el-link el-link--primary"})])],1),n("el-tooltip",{staticClass:"item",attrs:{content:t.$t("business.platform.bpmn.components.bpm-link.index.process-history"),placement:"top"}},[n("el-button",{attrs:{type:"text"},on:{click:function(n){return t.handleBpmHistory(e.row.id)}}},[n("i",{staticClass:"ibps-icon-bars el-link el-link--success"})])],1)],1)]}}])})],2),n("bpmn-formrender",{attrs:{visible:t.dialogFormVisible,"instance-id":t.instanceId},on:{close:function(e){return t.dialogFormVisible=e}}}),n("approval-history-dialog",{attrs:{visible:t.approvalHistoryVisible,"inst-id":t.instanceId},on:{close:function(e){return t.approvalHistoryVisible=e}}})],1)},s=[],i=(n("d3b7"),n("3ca3"),n("ddb0"),n("a026")),l=n("f3cc"),a=n("3df9");i["default"].component("BpmnFormrender",(function(){return Promise.resolve().then(n.bind(null,"23f0"))}));var r={components:{ApprovalHistoryDialog:l["default"]},props:{data:Object,bpmLinkType:String},data:function(){return{statusOptions:a["j"],dialogFormVisible:!1,approvalHistoryVisible:!1,currentRow:null,taskId:"",instanceId:"",bpmLinkData:[]}},watch:{data:{handler:function(t){this.$utils.isEmpty(t)||("current"===this.bpmLinkType?this.bpmLinkData=t.currentBpmLink||[]:this.bpmLinkData=t.postBpmLink||[])},deep:!0,immediate:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.$refs.elTable.doLayout()}))},beforeDestroy:function(){this.statusOptions=null,this.currentRow=null,this.bpmLinkData=null},methods:{handleDetail:function(t){this.instanceId=t,this.dialogFormVisible=!0},handleBpmHistory:function(t){this.instanceId=t,this.approvalHistoryVisible=!0},handleCurrentChange:function(t){this.currentRow=t}}},p=r,c=n("2877"),m=Object(c["a"])(p,o,s,!1,null,null,null);e["default"]=m.exports}}]);