|
@@ -47,31 +47,15 @@
|
|
|
<el-table-column label="标题" align="center" prop="title" />
|
|
|
<el-table-column label="当前处理" width="180" align="center" prop="name" />
|
|
|
<el-table-column label="到达时间" width="180" align="center" prop="createTime" :formatter="formatDate">
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
-<!--<!– <span>{{scope.row.createTime | timefilters}}</span>–>-->
|
|
|
-<!-- <span>{{scope.row.createTime | format('yyyy-MM-dd hh:mm')}}</span>-->
|
|
|
-<!-- </template>-->
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column label="到达时间" width="180" align="center" prop="updateTime" >
|
|
|
- <template slot-scope="scope">
|
|
|
- <span>{{scope.row.updateTime | format('yyyy-MM-dd hh:mm')}}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>-->
|
|
|
<el-table-column label="操作" width="200" align="center" class-name="small-padding fixed-width" >
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
size="small"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
- @click="openactform(scope.row.processInstanceId,scope.row.businessKey,scope.row.name,scope.row.title)"
|
|
|
+ @click="openactform(scope.row.processInstanceId,scope.row.businessKey,scope.row.name,scope.row.title,scope.row.taskName)"
|
|
|
>办理</el-button>
|
|
|
-
|
|
|
- <!-- <el-button
|
|
|
- size="small"
|
|
|
- type="text"
|
|
|
- icon="el-icon-share"
|
|
|
- @click="details(scope.row)"
|
|
|
- >审批进度</el-button>-->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -88,7 +72,7 @@
|
|
|
<!-- 动态引入组件-->
|
|
|
<component :is="actForm" :data="details":actOpen="actOpen" @getList="getList" ></component>
|
|
|
|
|
|
- <Option :optiontitle="optiontitle" :optionactkey="optionactkey" :optionid="optionid" v-show="optiontrue"></Option>
|
|
|
+ <Option :optiontitle="optiontitle" :optionactkey="optionactkey" :optionid="optionid" :optionName="optionName" v-show="optiontrue"></Option>
|
|
|
</el-dialog>
|
|
|
|
|
|
</div>
|
|
@@ -116,6 +100,7 @@
|
|
|
optiontrue:false,
|
|
|
optiontitle:'',
|
|
|
optionactkey:'',
|
|
|
+ optionName:'',
|
|
|
optionid:'',
|
|
|
// 遮罩层
|
|
|
loading: true,
|
|
@@ -166,13 +151,14 @@
|
|
|
this.$router.push({path:'/actwork/todo/tododetails',query: {id:actkey }})
|
|
|
},
|
|
|
//通过流程key查询启动的表单fromkey
|
|
|
- openactform(actkey,id,name,title) {
|
|
|
+ openactform(actkey,id,name,title,taskName) {
|
|
|
|
|
|
if(name == "赋文号归档分发"){
|
|
|
this.optiontrue = true;
|
|
|
this.optiontitle = title;
|
|
|
this.optionactkey = actkey;
|
|
|
this.optionid = id;
|
|
|
+ this.optionName=taskName;
|
|
|
}else{
|
|
|
this.optiontrue = false;
|
|
|
}
|