diff --git a/src/pages/home2/components/todoList/index.vue b/src/pages/home2/components/todoList/index.vue index 205ac4704..f27e63fb6 100644 --- a/src/pages/home2/components/todoList/index.vue +++ b/src/pages/home2/components/todoList/index.vue @@ -11,7 +11,12 @@
  • {{ getPrcNameFilter(item) }} + style="line-height: 30px; font-size: 13px;display: inline-block;width: 80%;">{{ getPrcNameFilter(item) }} + 接受任务 @@ -61,6 +66,44 @@ export default { toPage() { this.$router.push(this.path) }, + // 接受按钮 + handleReceive(item) { + this.isSubmit = true + // execTask({ + // todoId: this.todoId // 当前节点ID + // }).then(res => { + // if (res.sign && res.sign === '0') { + // this.$message.success('接收成功') + // this.$router.push('/processCenter') + // } + // this.isSubmit = false + // }) + // if(!this.tableData.standardData[0]){ + // this.$message.warning('请先选择企标计划') + // this.isSubmit = false + // return + // } + this.$http.get("lawss/activiti/selectBusProcessNew", { + taskId: item.taskIds, + }, { + _this: this + }, res => { + this.$http.get("lawss/activiti/acceptTack", { + nowEsId: res, + oaFlag: '0', + taskId: item.taskIds, + }, { + _this: this + }, res => { + // if (res.sign && res.sign === '0') { + this.$message.success('接收成功') + this.isSubmit = false + this.showreceive = false + // this.$router.push('/processCenter') + // } + }) + }) + }, dealWith (row) { // 办理 const prcType = row.prcType switch(prcType) { diff --git a/src/pages/processCenter/pages/components/ProcessFooter.vue b/src/pages/processCenter/pages/components/ProcessFooter.vue index 1c2d9b5e7..3be40b9bc 100644 --- a/src/pages/processCenter/pages/components/ProcessFooter.vue +++ b/src/pages/processCenter/pages/components/ProcessFooter.vue @@ -97,15 +97,15 @@ v-if="showOver3" >驳回 - 接收任务 + + + + + + + + + { if (res.data === true) { - console.log(1); this.showreceive = true } else { this.showreceive = false