| | |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | @click.stop="handleCancel(scope.row)">撤 销 |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-search" |
| | | v-if="permission.work_send_follow" |
| | | @click.stop="handleImage(scope.row,scope.index)">流程图 |
| | |
| | | |
| | | <script> |
| | | import {mapGetters} from "vuex"; |
| | | import {sendList} from "@/api/work/work"; |
| | | import {sendList, withdrawTask} from "@/api/work/work"; |
| | | import {flowCategory,flowRoute} from "@/util/flow"; |
| | | |
| | | export default { |
| | |
| | | viewBtn: false, |
| | | delBtn: false, |
| | | dialogWidth: 900, |
| | | menuWidth: 150, |
| | | menuWidth: 200, |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission", "flowRoutes"]), |
| | | ...mapGetters(["permission", "flowRoutes","userInfo"]), |
| | | ids() { |
| | | let ids = []; |
| | | this.selectionList.forEach(ele => { |
| | |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | }); |
| | | }, |
| | | handleCancel(row){ |
| | | console.log(row) |
| | | withdrawTask(this.userInfo.user_id).then(res=>{ |
| | | this.$message(res.data.msg) |
| | | }) |
| | | } |
| | | } |
| | | }; |