ludc
2023-06-26 42085aad206257ddeffe71d6defc547b5e13b4b7
Source/UBCS-WEB/src/views/work/process/leave/handle.vue
@@ -94,9 +94,9 @@
        indexLabelClassName: '序号',
        column: [
          { label: '任务名称', prop: 'historyActivityName', minWidth: 120 },
          { label: '执行操作', prop: 'sex', minWidth: 80 },
          { label: '执行操作', prop: 'pass', minWidth: 80 ,formatter:this.formatterPass},
          { label: '任务开始时间', prop: 'createTime', minWidth: 140 },
          { label: '审批意见', prop: 'sex', minWidth: 220, overHidden: true },
          { label: '审批意见', prop: 'comment', minWidth: 220, overHidden: true },
          { label: '执行人', prop: 'assigneeName', minWidth: 80 },
          { label: '任务完成时间', prop: 'endTime', minWidth: 140 },
          { label: '已上传审批文件', prop: 'sex', minWidth: 220, overHidden: true },
@@ -131,6 +131,10 @@
      })
      this.apiGetBtnTask(this.processInstanceId)
    },
    formatterPass(row, value, column) {
      console.log('value',value)
      return value?'同意':'驳回'
    },
    async apiGetBtnTask(id) {
      const response = await getBtnTask({ processInstanceId: id })
      const res = response.data
@@ -145,7 +149,7 @@
      if (res.success) {
        this.$message.success(res.msg);
        this.$router.$avueRouter.closeTag();
        this.$router.push({ path: `/work/start` });
        this.$router.push({ path: `/work/todo` });
      } else {
        this.$message.error(res.msg || '提交失败');
      }
@@ -185,7 +189,7 @@
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  height: 70vh;
  height: 85vh;
  &_tab {
    width: 79%;