| | |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-refresh" |
| | | v-if="permission.flow_manager_state" |
| | | v-if="permissionList.state" |
| | | @click.stop="handleState(scope.row,scope.index)">变更状态 |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-search" |
| | | v-if="permission.flow_manager_image" |
| | | v-if="permissionList.image" |
| | | @click.stop="handleImage(scope.row,scope.index)">流程图 |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | v-if="permission.flow_manager_remove" |
| | | v-if="permissionList.delBtn" |
| | | @click.stop="handleSlotDelete(scope.row,scope.index)">删除 |
| | | </el-button> |
| | | </template> |
| | |
| | | ...mapGetters(["permission"]), |
| | | permissionList() { |
| | | return { |
| | | delBtn: this.vaildData(this.permission.flow_manager_remove, false), |
| | | state:this.vaildData(this.permission.flow_manager.flow_manager_state, false), |
| | | image:this.vaildData(this.permission.flow_manager.flow_manager_image, false), |
| | | delBtn: this.vaildData(this.permission.flow_manager.flow_manager_remove, false), |
| | | }; |
| | | }, |
| | | ids() { |