xiangpei
2025-02-12 807374eb2bd42eac7192d2a3d4581107b4305c3c
任务跳过加备注说明
3个文件已修改
24 ■■■■■ 已修改文件
src/components/Process/panel/PropertiesPanel.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/flowable/task/myProcess/send/index.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/projectProcess/components/RunProcess.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Process/panel/PropertiesPanel.vue
@@ -63,7 +63,6 @@
            this.propertyForm.name = name
            this.propertyForm.value = value
            this.saveAttribute()
            this.resetList()
          }
        },
        {
@@ -74,7 +73,6 @@
            this.propertyForm.name = name
            this.propertyForm.value = value
            this.saveAttribute()
            this.resetList()
          }
        },
        {
@@ -85,7 +83,6 @@
            this.propertyForm.name = name
            this.propertyForm.value = value
            this.saveAttribute()
            this.resetList()
          }
        }
      ], // 可以配置的属性列表
src/views/flowable/task/myProcess/send/index.vue
@@ -189,6 +189,7 @@
  props: {},
  data() {
    return {
      jumpDesc: '', // 跳过说明
      rejectLoading: false, // 驳回按钮加载
      submitLoading: false, // 提交按钮加载
      delegationButLoading: false, // 转办按钮加载
@@ -276,21 +277,29 @@
  methods: {
    // 跳过任务
    jumpTask() {
      this.$confirm('确定要跳过此任务吗?', '提示', {
      this.$prompt('备注说明', '确定要跳过此任务吗', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        inputType: 'textarea'
        // inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
        // inputErrorMessage: '邮箱格式不正确'
      }).then(({ value }) => {
        let jumpForm = {
          taskId: this.taskId,
          projectId: this.goBackParams.projectId,
          processInsId: this.procInsId
          processInsId: this.procInsId,
          desc: value
        }
        taskJump(jumpForm).then(res => {
          this.$message.success("操作成功")
          this.goBack()
        })
      })
      }).catch(() => {
        this.$message({
          type: 'info',
          message: '已取消跳过操作'
        });
      });
    },
    removeDept(dept) {
      let index = this.delegationDeptSelect.indexOf(dept);
src/views/projectProcess/components/RunProcess.vue
@@ -94,7 +94,7 @@
          :total="total"
          :page.sync="queryParams.currentPage"
          :limit.sync="queryParams.pageSize"
          page-sizes="8"
          :page-sizes="[8]"
          @pagination="getList"
        />
      </div>