xiangpei
2025-06-06 31d78dd4e988cfce8f0a16678f2041849cc0dce3
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>
@@ -130,6 +130,10 @@
      required: true,
      type: String
    },
    projectType: {
      required: true,
      type: String
    }
  },
  watch: {
    // 监听回显值
@@ -204,7 +208,12 @@
    // 启动流程
    startProcess() {
      this.startLoading = true
      startProcess(this.projectInfo.projectId, this.selectProcessDefId).then(res => {
      const data = {
        projectId: this.projectInfo.projectId,
        processDefId: this.selectProcessDefId,
        projectType: this.projectType
      }
      startProcess(data).then(res => {
        this.$message.success(res.msg);
        this.startLoading = false
        this.handleClose()
@@ -218,7 +227,8 @@
      }
      const data = {
        projectId: this.projectInfo.projectId,
        processDefId: this.selectProcessDefId
        processDefId: this.selectProcessDefId,
        projectType: this.projectType
      }
      this.setLoading = true
      projectSetProcess(data).then(res => {