| | |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-info" |
| | | v-if="permission.work_done_detail" |
| | | v-if="permissionList.detailBtn" |
| | | @click.stop="handleDetail(scope.row)">详情 |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-search" |
| | | v-if="permission.work_done_follow" |
| | | v-if="permissionList.follow" |
| | | @click.stop="handleImage(scope.row,scope.index)">流程图 |
| | | </el-button> |
| | | </template> |
| | |
| | | height: 'auto', |
| | | calcHeight: 0, |
| | | tip: false, |
| | | columnBtn:false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | border: true, |
| | |
| | | headerAlign: 'center', |
| | | align: 'left', |
| | | sortable: true, |
| | | overHidden:true, |
| | | width:300, |
| | | formatter: (val) => { |
| | | return val.variables.processName |
| | | } |
| | |
| | | label: '发起人', |
| | | prop: 'createUser', |
| | | sortable: true, |
| | | width:150, |
| | | formatter: (val) => { |
| | | return val.variables.createUser |
| | | } |
| | | }, { |
| | | label: '发起时间', |
| | | sortable: true, |
| | | prop: 'createTime', |
| | | width:180, |
| | | prop: 'processDefinitionStartTime' |
| | | }, { |
| | | label: '完成时间', |
| | | sortable: true, |
| | | prop: 'endTime', |
| | | width:180, |
| | | prop: 'createTime' |
| | | }, { |
| | | label: '所属流程模板', |
| | | sortable: true, |
| | | width:200, |
| | | prop: 'categoryName' |
| | | }, { |
| | | label: '流程启动时描述', |
| | | prop: 'processDesc', |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processDesc |
| | | } |
| | |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission", "flowRoutes"]), |
| | | ...mapGetters(["permission", "flowRoutes","permission"]), |
| | | permissionList(){ |
| | | return{ |
| | | detailBtn:this.vaildData(this.permission.work_done.work_done_detail,false), |
| | | follow:this.vaildData(this.permission.work_done.work_done_follow,false), |
| | | } |
| | | }, |
| | | ids() { |
| | | let ids = []; |
| | | this.selectionList.forEach(ele => { |